All exams← All Google Associate Cloud Engineer notes

Planning & configuring a solution: Google Associate Cloud Engineer revision notes

Revision notes

Planning and configuring a GCP solution

Before you touch the console or gcloud, the ACE exam wants you to think about project structure, resource hierarchy, and billing. Everything in Google Cloud sits inside a hierarchy: Organization > Folders > Projects > Resources. Folders group projects (e.g. by department or environment) and IAM policies inherit downward. A resource always belongs to exactly one project, and every project has a unique Project ID (immutable, globally unique) plus a Project Number (auto-assigned) and a Project Name (editable, not unique).

Choosing compute

Part of planning is picking the right compute product: Compute Engine (VMs, full control), Google Kubernetes Engine (containers, orchestration), App Engine (fully managed PaaS, zero infra), Cloud Run (managed containers, scales to zero), and Cloud Functions (event-driven, single purpose). The exam loves scenario questions - match workload needs (stateful vs stateless, scaling to zero, custom runtime) to the right service.

Billing accounts and budgets

A billing account must be linked to a project before you can use most services. Billing accounts can be self-serve (credit card) or invoiced. Budgets and alerts are set per billing account or per project, with configurable threshold percentages (e.g. 50%, 90%, 100%) - alerts notify but do NOT automatically stop spending unless you build automation (e.g. a Cloud Function triggered by a Pub/Sub budget notification that disables billing).

Quotas

GCP enforces two types of quotas: rate quotas (reset after a time interval, e.g. API calls per 100 seconds) and allocation quotas (fixed resource counts, e.g. number of VPCs per project). Quotas are checked at project and region level. You can request quota increases via the console (IAM & Admin > Quotas) - some increases are automatic, others need Google approval and can take days.

Regions, zones, and resource scope

Resources are either global (e.g. images, snapshots, VPC networks), regional (e.g. subnets, static external IPs), or zonal (e.g. VM instances, persistent disks, GKE zonal clusters). A key planning mistake is placing a VM in one zone but its persistent disk in another - they must match. Choose regions based on latency to users, price, and compliance/data-residency needs.

Common exam traps

  • Confusing Project ID (immutable) with Project Name (editable).
  • Forgetting that deleting a project doesn't free the Project ID for reuse.
  • Assuming budget alerts stop spending automatically - they don't.
  • Mixing zonal and regional resources incorrectly.
  • Not knowing that Organization Policies constrain what resources CAN be created (allow/deny lists) regardless of IAM permissions.

Key facts

Flashcards

What is the correct order of the GCP resource hierarchy?
Organization > Folders > Projects > Resources
tap to reveal
Is a Project ID mutable or immutable?
Immutable - it is set at creation and can never be changed or reused, even after project deletion
tap to reveal
Do budget alerts automatically stop billing when a threshold is hit?
No - they only notify; automatic action (like disabling billing) requires custom automation via Pub/Sub and Cloud Functions
tap to reveal
What are the two types of GCP quotas?
Rate quotas (reset after a time interval) and allocation quotas (fixed resource counts)
tap to reveal
Name three examples of global resources in GCP.
Images, snapshots, and VPC networks
tap to reveal
Name two examples of zonal resources in GCP.
VM instances and persistent disks
tap to reveal
Must a VM and its persistent disk be in the same zone?
Yes, always
tap to reveal
Which compute product scales to zero and only bills while handling requests?
Cloud Run
tap to reveal
Which compute product is fully managed PaaS requiring zero infrastructure management?
App Engine
tap to reveal
What must be linked to a project before most paid GCP services can be used?
A billing account
tap to reveal
What do Organization Policies control, as distinct from IAM?
What resources CAN be created (allow/deny constraints), regardless of a user's IAM permissions
tap to reveal
What are the three parts of a GCP project's identity?
Project ID (unique, immutable), Project Number (auto-assigned), and Project Name (editable, not unique)
tap to reveal
What can Folders be used for in planning a solution?
Grouping projects by department, team, or environment, with IAM policy inheritance flowing down to contained projects
tap to reveal
Give an example of a regional (not zonal, not global) resource.
A subnet or a static external IP address
tap to reveal
Practice questions

Planning & configuring a solution: 5 practice questions

Q1. A team needs to deploy a stateless HTTP container that receives bursty traffic, must scale to zero when idle, and should require no cluster or server management. Which compute service best fits this requirement?
  • A.  Compute Engine managed instance group
  • B.  Cloud Run
  • C.  GKE Standard
  • D.  App Engine Standard
Show answer & explanation
✓ Answer: B. Cloud Run
Cloud Run runs stateless containers, scales automatically down to zero when there is no traffic, and requires no cluster management, making it ideal for bursty HTTP workloads. Compute Engine and GKE Standard require you to manage servers or nodes even when idle, and App Engine Standard is more restrictive on runtimes than a plain container.
Q2. A company is migrating an existing on-premises application to Google Cloud with minimal changes. The application requires full control over the operating system, custom kernel modules, and specific installed software. Which service should be planned for this migration?
  • A.  Compute Engine
  • B.  Cloud Functions
  • C.  App Engine Standard
  • D.  Cloud Run
Show answer & explanation
✓ Answer: A. Compute Engine
Compute Engine provides virtual machines with full OS-level control, letting you install custom kernel modules and software exactly as on-premises, making it the standard choice for lift-and-shift migrations. Cloud Run and Cloud Functions only run application code in managed containers or functions, and App Engine Standard restricts the runtime environment.
Q3. A platform team needs to run stateful workloads that require DaemonSets on every node, custom node-level networking configuration, and third-party CNI plugins. Which Kubernetes deployment option should be planned?
  • A.  App Engine Flexible
  • B.  Cloud Run
  • C.  GKE Standard
  • D.  GKE Autopilot
Show answer & explanation
✓ Answer: C. GKE Standard
GKE Standard gives full control over node pools and cluster configuration, allowing DaemonSets and custom networking or CNI plugins. GKE Autopilot manages nodes for you and restricts privileged workloads such as DaemonSets and custom node-level networking, so it cannot satisfy this requirement.
Q4. A development team wants to deploy an App Engine application packaged as a custom Docker image with SSH access to the underlying instances, accepting slower scaling and no scale-to-zero. Which App Engine environment should they plan for?
  • A.  App Engine Standard
  • B.  App Engine Flexible
  • C.  GKE
  • D.  Cloud Run
Show answer & explanation
✓ Answer: B. App Engine Flexible
App Engine Flexible runs applications in Docker containers on Compute Engine VMs, allowing custom runtimes and SSH access, but it scales more slowly and does not scale to zero. App Engine Standard restricts you to supported language runtimes and does not allow SSH access to instances.
Q5. An architect wants a function to run automatically whenever a new object is uploaded to a Cloud Storage bucket, without provisioning any servers. Which service should be planned for this trigger-based logic?
  • A.  Cloud Run
  • B.  GKE
  • C.  Compute Engine
  • D.  Cloud Functions
Show answer & explanation
✓ Answer: D. Cloud Functions
Cloud Functions is a fully managed, event-driven compute service that can be triggered directly by Cloud Storage events such as object finalization, with no servers to provision. Compute Engine and GKE require managing infrastructure, and while Cloud Run can be triggered via Eventarc, Cloud Functions is the simplest native fit for a single lightweight event handler.
Test yourself
See the Google Associate Cloud Engineer page

More Google Associate Cloud Engineer topics