Planning and implementing on Google Cloud
Section 2, planning and implementing a cloud solution, carries about 30% of the Associate Cloud Engineer exam and is the largest block together with section 3. It asks you to choose the right product for a workload and to know how to deploy it: compute, storage and data, networking and infrastructure tooling.
Compute choices
| Need | Usual choice |
|---|---|
| Full control of the OS, lift-and-shift | Compute Engine |
| Containers with Kubernetes features | Google Kubernetes Engine |
| Stateless containers, scale to zero | Cloud Run |
| Small event-driven code | Cloud Run functions |
| Agent workloads | Agent Runtime on the Gemini Enterprise Agent Platform |
For Compute Engine, know availability policy, SSH keys and OS Login, VM Manager for patching, and the choice of disk: zonal or regional Persistent Disk, or Hyperdisk. An autoscaled managed instance group is built from an instance template. Spot VMs are cheap but can be reclaimed, so they suit fault-tolerant batch work, and custom machine types fit workloads that need an unusual CPU-to-memory ratio. Be able to say when GPUs or TPUs are the right accelerator for machine learning.
For GKE, the guide names Autopilot, regional clusters and private clusters, plus installing kubectl and deploying a containerized app. Autopilot manages nodes for you and bills per Pod request; Standard gives node-level control. Serverless deployments include event processing with Pub/Sub, Cloud Storage notifications and Eventarc.
Storage and data products
Map the workload to the product.
- Relational, regional, modest scale: Cloud SQL. Globally consistent relational at scale: Spanner. PostgreSQL-compatible high performance: AlloyDB.
- Document data for apps: Firestore. Wide-column, low-latency, huge throughput: Bigtable.
- Analytics with SQL: BigQuery. Streaming or batch pipelines: Dataflow. Messaging: Pub/Sub, and Managed Service for Apache Kafka. Caching: Memorystore.
- Objects: Cloud Storage with Standard, Nearline, Coldline and Archive classes. Shared files: Filestore, NetApp Volumes, Managed Lustre.
Also know loading data (command-line upload, from Cloud Storage, Storage Transfer Service) and keeping multi-region redundancy.
Networking
A custom-mode VPC with chosen subnets is the production default. Compare Shared VPC (central network, service projects) with VPC Network Peering (private connection between VPCs, not transitive). Firewall rules and Cloud NGFW policies take ingress and egress rules with action, source, destination, targets, protocols and ports, and can use secure tags or service accounts as targets. Connectivity options are Cloud VPN, Interconnect and peering. Know the difference between load balancer types and the Premium and Standard Network Service Tiers.
Tooling
Infrastructure as code appears by name: Terraform, Config Connector, Helm and Fabric FAST. The guide also lists AI-assisted planning with Gemini CLI, Gemini Cloud Assist and Application Design Center.
Practice questions
Question 1. A batch job can restart safely if interrupted and the business wants the lowest possible VM cost. Which option fits?
- A. Standard on-demand VMs
- B. Spot VMs
- C. A sole-tenant node
- D. A VM with a regional Persistent Disk
Show answer
Answer: B
Spot VMs are heavily discounted and can be preempted, which is acceptable for restartable batch work. Standard on-demand VMs cost more, a sole-tenant node adds cost for isolation that is not needed, and a regional disk does not reduce compute price.
Want more questions like this? Full Cloud Engineer practice tests →
Question 2. An application needs a globally consistent relational database with horizontal scaling across regions. Which product should you pick?
- A. Cloud SQL
- B. Bigtable
- C. Memorystore
- D. Spanner
Show answer
Answer: D
Spanner is the relational service built for global consistency and horizontal scale. Cloud SQL is regional with vertical scaling, Bigtable is a non-relational wide-column store, and Memorystore is an in-memory cache.
Want more questions like this? Full Cloud Engineer practice tests →
Question 3. Two projects in the same organization need private IP connectivity and one team wants central control of the network and firewall. Which design fits?
- A. Shared VPC with a host project
- B. VPC Network Peering between separately managed networks
- C. Cloud VPN over the internet
- D. External IP addresses on every VM
Show answer
Answer: A
Shared VPC lets a host project own the network while service projects attach to it, giving central control. VPC Peering links separate networks but each side keeps its own administration, Cloud VPN is for hybrid links, and public IP addresses give no private connectivity.
Want more questions like this? Full Cloud Engineer practice tests →
Next, section 3 is covered in ensuring successful operation.