Google Cloud Associate Cloud Engineer (ACE) · 20% practice allocation

Google Cloud ACE: Ensuring successful operation Practice Questions

5 free sample questions from the Ensuring successful operation domain, with answers and explanations. The full ACE bank has 251 questions across 5 domains. Questions are scenario-based and written from the official Google Cloud exam guide.

1.

You have a GKE Autopilot cluster running production workloads. You notice that a Deployment's pods are in a Pending state and cannot be scheduled. The cluster appears to have available node capacity. What are the two most likely causes? (Select TWO)

  • A. The pod has a NodeSelector or affinity rule that doesn't match any available nodes✓ Correct
  • B. The GKE Autopilot cluster's quota limit has been reached and Autopilot cannot provision additional nodes✓ Correct
  • C. The pod's resource requests exceed the available node capacity in the cluster
  • D. The Deployment uses a PersistentVolumeClaim that doesn't have an available PersistentVolume
  • E. The pod's image is not cached on the cluster's nodes, causing scheduling delays
Explanation

The two correct answers are: (1) The pod has a NodeSelector or affinity rule that doesn't match any available nodes (pods won't schedule if their affinity constraints exclude available nodes), and (2) The GKE Autopilot cluster's quota limit has been reached and Autopilot cannot provision additional nodes (in Autopilot, even with apparent capacity, quota limits can prevent node creation). Option 0 is wrong because the user reported available node capacity, so resource constraints wouldn't typically cause pending state. Option 3 is wrong because image availability doesn't block scheduling; the image is pulled after a pod is scheduled, so missing images delay pod startup, not scheduling. Option 4 is wrong because PersistentVolume unavailability would cause pod creation errors, not scheduling delays; pods would typically fail to mount rather than remain pending indefinitely.

2.

You need to create a snapshot of a Compute Engine persistent disk used by a production database. The disk is currently mounted and in active use. What is the most important consideration before initiating the snapshot?

  • A. Stop all write operations to the disk and flush the filesystem cache to ensure data consistency✓ Correct
  • B. Ensure the instance has a public IP address so Google Cloud can access the disk during snapshotting
  • C. Unmount the disk from the instance before creating the snapshot
  • D. Create the snapshot during off-peak hours to minimize performance impact
Explanation

The most important consideration is to quiesce the disk—stop writes and flush the cache—to ensure the snapshot captures a consistent state, especially for databases. This prevents data corruption in the snapshot. Option 1 is the best answer because it directly addresses data integrity. Option 2 is incorrect; you don't need to unmount the disk to snapshot it; Compute Engine can snapshot mounted disks, and unmounting a database disk is risky. Option 3 is a practical consideration but not the 'most important' from a data integrity perspective. Option 4 is false—public IP is not required for snapshotting; it's an internal operation.

3.

You manage a Cloud SQL PostgreSQL instance that is experiencing high CPU utilization during peak hours. Your team has confirmed that the workload queries are optimized. Which action should you take first?

  • A. Review the instance's storage configuration and enable SSD disks for faster I/O
  • B. Enable read replicas and configure the application to route read queries to replicas✓ Correct
  • C. Scale up the machine type to a larger instance with more CPU and memory
  • D. Create a Cloud SQL database clone to distribute the workload across multiple instances
Explanation

The correct answer is to enable read replicas and configure the application to route read queries to replicas. Since queries are already optimized, the issue is likely read-heavy workload distribution. Read replicas offload read traffic without requiring instance upscaling. Option 0 is wrong because scaling up immediately increases costs; you should first consider distributing the load. Option 2 is wrong because storage configuration and SSD disks improve I/O latency but don't address CPU-bound compute workloads. Option 3 is wrong because database clones are point-in-time copies for backup/dev purposes, not for distributing live production workloads; that requires replication.

4.

You have a Compute Engine instance with an attached persistent disk. You need to create a machine image from this instance to use as a template for new instances. During the image creation process, the instance experiences a temporary reboot. How does this affect running applications on the instance?

  • A. The instance and all running applications are shut down cleanly during image creation; applications do not restart automatically
  • B. The instance does not reboot; image creation is a background operation that does not interrupt running applications
  • C. The instance reboots, but systemd restarts applications marked with 'Restart=always', minimizing downtime✓ Correct
  • D. The instance reboots with minimal interruption; running applications are terminated and must be manually restarted
Explanation

Option 3 is correct. When creating a machine image from an instance, a reboot occurs. However, systemd (or init systems) will automatically restart services configured with 'Restart=always' or similar policies, minimizing application downtime. Option 0 is partially true (shutdown occurs) but ignores automatic restart behavior. Option 1 is true about the reboot but doesn't account for automatic restarts. Option 2 is false—a reboot does occur during image creation. The key insight is understanding how systemd handles service restarts after a reboot.

5.

You need to rotate credentials for a Cloud Spanner instance that uses a custom VPC connector. Which of the following operations requires a restart or recreation of the instance?

  • A. Changing the Spanner instance's node count from 3 nodes to 5 nodes
  • B. Recreating the VPC connector associated with the instance✓ Correct
  • C. Updating the database encryption key in Cloud Spanner console
  • D. Updating IAM permissions for the service account that accesses the instance
Explanation

Recreating the VPC connector (option 2) will require re-establishing the connection and may necessitate instance-level changes or validation. Option 0 is incorrect—encryption key rotation in Cloud Spanner is handled transparently and doesn't require a restart. Option 1 is incorrect—scaling node count is a non-disruptive operation in Cloud Spanner. Option 3 is incorrect—IAM permission updates don't require instance changes; they apply immediately. The key distinction is that VPC connector recreation is infrastructure-level and can affect instance connectivity.

Test yourself across every ACE domain

The free ACE practice test mixes about 20 questions weighted like the exam. The full 251-question bank adds instant grading, flashcards and a timed mock exam.

Study this domain

Ensuring successful operation study guide (ACE) →

Other ACE domains

← All Google Cloud Associate Cloud Engineer study resources