Free Cloud Engineer practice questions: 20

Updated November 23, 2026

Twenty questions across the four sections of the Associate Cloud Engineer exam guide, split in proportion to the published weights of about 20%, 30%, 30% and 20%: four on setting up the environment, six on planning and implementing, six on ensuring successful operation and four on access and security. They are original scenario questions written at the level of the exam guide, not copies of real exam content. Read the goal and the constraint in each scenario before the options, and aim for 16 or more correct. Every question has one correct answer; the real exam also has multiple-select items, which are covered in the exam format guide. The study plan explains how to turn missed questions into review time.

Section 1: Setting up a cloud solution environment

Question 1. The finance team wants to analyze Google Cloud spend per service and per project with SQL queries. What should you configure?

  • A. A budget with alert thresholds
  • B. A billing export to BigQuery
  • C. A quota override on each project
  • D. A Cloud Asset Inventory export
Show answer

Answer: B

Billing export to BigQuery writes detailed cost data to a dataset that you can query with SQL. A budget only sends alerts at thresholds, a quota limits resource use and does not report cost, and a Cloud Asset Inventory export lists resources rather than their costs.

Want more questions like this? Full Cloud Engineer practice tests →

Question 2. Twelve contractors need read-only access to every project in the Contractors folder, and the team changes often. What is the best approach?

  • A. Grant each contractor the Owner role on every project
  • B. Share one account’s password with the whole team
  • C. Grant a read-only predefined role to a Google group on the folder
  • D. Grant a role to allUsers at the organization level
Show answer

Answer: C

Granting a suitable read-only predefined role to a Google group on the folder applies to all current and future projects below it and lets you manage membership in one place. Owner on every project breaks least privilege, sharing one account removes accountability, and granting access to allUsers makes the resources public.

Want more questions like this? Full Cloud Engineer practice tests →

Question 3. A new deployment fails with an error saying a Google Cloud API has not been used in the project or is disabled. What do you do?

  • A. Enable the API in the project
  • B. Request a quota increase for the project
  • C. Create a second billing account
  • D. Grant yourself Owner at the organization level
Show answer

Answer: A

Most services must be enabled per project before they can be used, so enabling the API in that project fixes the error. A quota request addresses usage limits rather than a disabled API, a new billing account does not enable APIs, and the Owner role at the organization is far broader than needed.

Want more questions like this? Full Cloud Engineer practice tests →

Question 4. Employees sign in to the company's external identity provider and must reach the Google Cloud console without separate Google accounts being created for each person. Which feature fits?

  • A. Workload Identity Federation
  • B. Create a Google account for every employee manually
  • C. Distribute service account keys to employees
  • D. Workforce Identity Federation
Show answer

Answer: D

Workforce Identity Federation lets people from an external identity provider access Google Cloud without individual Google accounts. Workload Identity Federation is for applications and automated workloads, not people, creating and syncing accounts by hand is exactly what the scenario avoids, and service account keys are credentials for workloads.

Want more questions like this? Full Cloud Engineer practice tests →

Section 2: Planning and implementing a cloud solution

Question 5. A team has a stateless containerized web service with spiky traffic. It must scale to zero when idle, and the team does not want to manage clusters or servers. Which product fits best?

  • A. A managed instance group of Compute Engine VMs
  • B. Cloud Run
  • C. A GKE Standard cluster with node pools
  • D. One Compute Engine VM running Docker
Show answer

Answer: B

Cloud Run runs containers without cluster management and can scale to zero. A managed instance group keeps at least one VM by design for typical setups and needs OS management, a standard GKE cluster means managing node pools, and a single VM with Docker has no autoscaling.

Want more questions like this? Full Cloud Engineer practice tests →

Question 6. A fault-tolerant batch job can be restarted at any time and must run at the lowest possible cost. Which compute option is the best fit?

  • A. Spot VMs
  • B. Sole-tenant nodes
  • C. Regional persistent disks
  • D. Larger on-demand VMs
Show answer

Answer: A

Spot VMs are heavily discounted capacity that Google can reclaim, which suits restartable batch work. Sole-tenant nodes cost more and exist for isolation or licensing, regional persistent disks provide storage replication rather than cheaper compute, and larger on-demand VMs raise cost.

Want more questions like this? Full Cloud Engineer practice tests →

Question 7. You need a group of identical VMs that grows and shrinks with CPU utilization. What must you create before you can create the autoscaled managed instance group?

  • A. A snapshot schedule
  • B. A static route
  • C. An instance template
  • D. A Cloud DNS zone
Show answer

Answer: C

A managed instance group is built from an instance template that defines machine type, image and settings. A snapshot schedule backs up disks, a startup script is optional configuration inside a template, and a static route affects network paths rather than VM creation.

Want more questions like this? Full Cloud Engineer practice tests →

Question 8. An application needs a relational database with SQL and strongly consistent transactions that scale horizontally across several regions. Which product fits?

  • A. Cloud SQL
  • B. Bigtable
  • C. BigQuery
  • D. Spanner
Show answer

Answer: D

Spanner is a relational database designed for horizontal scale and strong consistency, including multi-region configurations. Cloud SQL scales mainly vertically with read replicas, Bigtable is a NoSQL wide-column store without relational joins, and BigQuery is an analytics warehouse rather than a transactional database.

Want more questions like this? Full Cloud Engineer practice tests →

Question 9. A central network team must own subnets and firewall rules while several project teams deploy VMs into those shared subnets. Which design fits?

  • A. VPC Network Peering between every project
  • B. Shared VPC with a host project and service projects
  • C. Cloud NAT in every project
  • D. A separate default VPC in each project
Show answer

Answer: B

Shared VPC has a host project that holds the network and service projects that use its subnets, so network administration stays central. VPC Network Peering connects separately administered networks and does not centralize control, Cloud NAT only provides outbound address translation, and a separate default VPC per project is the opposite of central management.

Want more questions like this? Full Cloud Engineer practice tests →

Question 10. Users around the world must reach one HTTPS application served from several regions through a single anycast IP address. Which load balancer do you deploy?

  • A. A global external Application Load Balancer
  • B. A regional internal Application Load Balancer
  • C. Cloud NAT
  • D. Cloud Router
Show answer

Answer: A

A global external Application Load Balancer fronts backends in several regions behind one anycast IP address. A regional internal Application Load Balancer serves only internal clients in one region, Cloud NAT is not a load balancer, and Cloud Router exchanges routes for hybrid connectivity.

Want more questions like this? Full Cloud Engineer practice tests →

Section 3: Ensuring the successful operation of a cloud solution

Question 11. Compliance data in a Cloud Storage bucket is rarely read after one year. You want it moved to the Archive storage class automatically at that point. What do you configure?

  • A. A Pub/Sub notification on the bucket
  • B. Object versioning
  • C. A lifecycle rule that sets the storage class to Archive at age 365 days
  • D. A firewall rule on the bucket
Show answer

Answer: C

An object lifecycle rule with a SetStorageClass action and an age condition changes the class automatically. A Pub/Sub notification only reports events, object versioning keeps old versions and does not change class, and a firewall rule does not apply to object storage classes.

Want more questions like this? Full Cloud Engineer practice tests →

Question 12. You deploy a new revision of a Cloud Run service and want only 10% of requests to reach it while you watch for errors. What do you do?

  • A. Delete the old revision
  • B. Create a second service in another region
  • C. Create an instance template
  • D. Split traffic between the two revisions by percentage
Show answer

Answer: D

Cloud Run lets you split traffic between revisions by percentage, so you can send 10% to the new revision and raise it later. Deleting the old revision sends everything to the new one, a new service in another region is a separate endpoint, and an instance template belongs to Compute Engine.

Want more questions like this? Full Cloud Engineer practice tests →

Question 13. A deployment on GKE needs more Pod replicas when CPU usage rises and fewer when it falls. Which feature should you configure?

  • A. The Vertical Pod Autoscaler
  • B. The Horizontal Pod Autoscaler
  • C. A larger node boot disk
  • D. A custom static route
Show answer

Answer: B

The Horizontal Pod Autoscaler changes the number of Pod replicas based on metrics such as CPU. The Vertical Pod Autoscaler adjusts the resource requests of each Pod instead of the count, growing a boot disk does nothing for load, and a static route is a networking setting.

Want more questions like this? Full Cloud Engineer practice tests →

Question 14. You need memory utilization and application log files from Compute Engine VMs to appear in Cloud Monitoring and Cloud Logging. What should you install on the VMs?

  • A. The Ops Agent
  • B. Cloud NAT
  • C. The Cloud Trace API
  • D. A snapshot schedule
Show answer

Answer: A

The Ops Agent collects system metrics such as memory and disk, plus logs, and sends them to Cloud Monitoring and Cloud Logging. Cloud NAT is a networking service, the Cloud Trace API is for latency traces, and a snapshot schedule backs up disks.

Want more questions like this? Full Cloud Engineer practice tests →

Question 15. An auditor asks who deleted a production VM last week. Where do you look first?

  • A. Data Access audit logs
  • B. VPC Flow Logs
  • C. Admin Activity audit logs
  • D. The billing export
Show answer

Answer: C

Admin Activity audit logs record actions that change resource configuration, such as creating or deleting VMs, and they are always written. Data Access logs record data reads and are mostly off by default, VPC Flow Logs record network flows, and a billing export shows cost data.

Want more questions like this? Full Cloud Engineer practice tests →

Question 16. VMs in a private subnet have no external IP addresses by policy but must download operating system updates from the internet. What should you set up?

  • A. An external IP address on every VM
  • B. Cloud Interconnect
  • C. VPC Network Peering with another VPC
  • D. Cloud NAT
Show answer

Answer: D

Cloud NAT gives VMs without external IP addresses outbound access to the internet and allows only responses to connections they started. Assigning external IPs breaks the policy, Cloud Interconnect connects to on-premises networks, and peering with another VPC does not provide internet egress by itself.

Want more questions like this? Full Cloud Engineer practice tests →

Section 4: Configuring access and security

Question 17. An analyst must read objects in a single Cloud Storage bucket and nothing else. Which grant follows least privilege?

  • A. Project Editor on the project
  • B. Storage Object Viewer on that bucket
  • C. Storage Admin on the project
  • D. Owner on the organization
Show answer

Answer: B

The predefined Storage Object Viewer role granted on that one bucket gives read access to its objects only. Project Editor, Storage Admin on the project and Owner on the organization all give far more access than needed.

Want more questions like this? Full Cloud Engineer practice tests →

Question 18. An application on a Compute Engine VM needs to write to Cloud Storage. How do you give it access without handling key files?

  • A. Attach a service account with the required role to the VM
  • B. Embed a downloaded service account key in the application code
  • C. Use a developer’s personal credentials on the VM
  • D. Make the bucket public
Show answer

Answer: A

Attaching a user-managed service account with the needed role to the VM lets the application obtain short-lived credentials automatically. Embedding a downloaded key creates a secret to protect and rotate, using a developer’s personal credentials ties the app to a person, and making the bucket public exposes the data.

Want more questions like this? Full Cloud Engineer practice tests →

Question 19. A developer needs to run gcloud commands as a service account for testing, without downloading a key. What do you grant?

  • A. Service Account Key Admin and a downloaded key by email
  • B. Service Account User only
  • C. Service Account Token Creator on that service account
  • D. Owner on the project
Show answer

Answer: C

The Service Account Token Creator role on the service account lets the developer create short-lived credentials and use the gcloud impersonation flag. Service Account User only lets someone attach the account to resources, a key emailed around is the practice you want to avoid, and Owner on the project is far too broad.

Want more questions like this? Full Cloud Engineer practice tests →

Question 20. A job needs exactly four permissions that no predefined role bundles together without many extras. What is the best way to grant them?

  • A. The basic Editor role
  • B. Ask Google to add the permissions to a predefined role
  • C. Share a service account key among the team
  • D. Create a custom IAM role with those permissions
Show answer

Answer: D

A custom role contains exactly the permissions you list, which keeps access at least privilege. The basic Editor role is much broader, Google does not edit predefined roles on request, and sharing a service account key adds a secret without solving the permission problem.

Want more questions like this? Full Cloud Engineer practice tests →

After the test

Count misses per section. A low score in section 2 or 3 deserves more hours because together they carry about 60% of the exam. The setup, planning, operations and access and security guides explain each section, and the sample questions show five more in the same style.