Associate Cloud Engineer Cheat Sheet
Google Cloud Associate Cloud Engineer — Quick reference for the exam
CLI Commands
51gcloud config configurations create prod && gcloud config configurations activate prodTOPNamed configurations group account, project, region, and zone so you can switch environments with one command
gcloud config set project PROJECT_IDSets the default project for the active configuration
gcloud services enable compute.googleapis.com container.googleapis.comTOPEnables APIs in the project. Typical error: "API not enabled" when creating a resource
gcloud billing projects link PROJECT_ID --billing-account=XXXXXX-XXXXXX-XXXXXXTOPLinks the project to a billing account. Requires Billing Account User on the account
gcloud projects undelete PROJECT_IDRestores a deleted project while it is still in its recovery period (about 30 days)
gcloud components install kubectlInstalls kubectl in the local SDK. It comes preinstalled in Cloud Shell
Comparisons
7| Service | What you manage | When to choose it |
|---|---|---|
| Compute Engine | The whole VM: OS, patches, scaling (with MIGs) | Specific OS or drivers, legacy apps, full control |
| GKE Standard | Nodes and node pools (Google manages the control plane) | Kubernetes with node control (GPUs, special configurations) |
| GKE Autopilot | Only Pods and their resource requests | Kubernetes without managing nodes; you pay per Pod |
| Cloud Run | The container | Stateless containers with variable traffic; scales to zero |
| Cloud Run functions | Only the function code | Small code reacting to events (Cloud Storage, Pub/Sub, HTTP) |
| Agent Runtime | The AI agent | Deploying agents on Gemini Enterprise Agent Platform without infrastructure |
Quick Reference
32D1 · Setting up the environment (~20%)
Organization > folders > projects > resources. IAM and policies are inherited downward
Union of the resource’s policy and its ancestors’. To subtract: deny policies
IAM = who can. Org Policy = which configurations are allowed (gcp.resourceLocations, vmExternalIpAccess)
iam.allowedPolicyMemberDomains blocks granting roles to accounts outside the company
Only alert (actual or forecasted). To cut spend: Pub/Sub plus a function
To BigQuery: standard or detailed cost and pricing. Labels let you group costs
Per-project and per-region limits; request increases in the console. Spot VMs consume them too
A scoping project sees several projects’ metrics in Cloud Monitoring
D2 · Planning and implementing (~30%)
Global; regional subnets. Implied rules: deny ingress, allow egress
Lower number = higher priority. At equal priority, deny beats allow
Premium (default, Google’s network) vs. Standard (cheaper, regional only)
Big discount, no 24-hour limit, reclaimable at any time
Regional PD / Hyperdisk Balanced HA survive a zone. Local SSD is ephemeral
Control plane and nodes across zones. Zonal = a single control plane
Terraform, Fabric FAST, Config Connector, and Helm
Gemini CLI, Google Antigravity, Gemini Cloud Assist, and Application Design Center
D3 · Operations (~30%)
Incremental; restored by creating a new disk, not onto the existing one
HPA = replicas. VPA = each Pod’s requests. Cluster autoscaler = nodes
Minimum instances avoid cold starts; the maximum protects the database
Cloud Storage keeps deleted objects for 7 days by default, even without versioning
Locked retention policy: nobody deletes early (WORM)
Creates a clone of the instance at a point in time
Discard entries before storage and cut cost
Trace = latency per service. Profiler = CPU per function. Query Insights = SQL queries
D4 · Access and security (~20%)
Basic (avoid), predefined (preferred), and custom (organization or project, not folder)
Evaluated before allow policies and inherited
Limit by date (request.time) or resource name (resource.name)
Attach a service account to a resource (actAs)
Impersonate an account and create short-lived credentials (1 hour by default)
Avoid them: iam.disableServiceAccountKeyCreation; use federation or attached accounts
Legacy mechanism; use cloud-platform and control access with IAM
Temporary elevated access, requested and approved (just in time)
Ready to practice?
Put what you learned to the test with original Associate Cloud Engineer exam questions.
Start Associate Cloud Engineer mock examUnlimited mock exams with the Pro plan