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

Google Cloud ACE: Planning and configuring a cloud solution Practice Questions

5 free sample questions from the Planning and configuring a cloud solution 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 need to run a containerized microservices application where different services have different scaling requirements. Some services need to scale to zero, others require GPU acceleration, and the team wants the ability to use advanced Kubernetes features like custom resource definitions (CRDs) and DaemonSets. Which compute platform should you choose?

  • A. Cloud Run
  • B. App Engine Flexible
  • C. Google Kubernetes Engine (GKE) Autopilot
  • D. Google Kubernetes Engine (GKE) Standard✓ Correct
Explanation

GKE Standard is the correct choice. It provides full Kubernetes API compatibility, including CRDs and DaemonSets, full node-level control required for GPU node pools, and the flexibility to configure different scaling policies per deployment — including scale-to-zero with KEDA or custom HPA configurations. Cloud Run supports scale-to-zero and GPU (in preview), but it does not support Kubernetes-native constructs like CRDs or DaemonSets since it is not a Kubernetes platform. GKE Autopilot manages the underlying node infrastructure for you and supports most Kubernetes workloads, but it restricts certain privileged operations and DaemonSets are managed by Google, not users — making it incompatible with the requirement for custom DaemonSets. App Engine Flexible runs containerized workloads but does not expose Kubernetes primitives and has no support for CRDs, DaemonSets, or GPU node pools.

2.

A financial services company needs a relational database that can scale to handle millions of transactions per second across multiple continents while maintaining strong consistency and supporting ACID transactions. Which Google Cloud database service should they choose?

  • A. Cloud Spanner✓ Correct
  • B. Cloud SQL for PostgreSQL with read replicas in each region
  • C. Firestore in Datastore mode
  • D. BigQuery
Explanation

Cloud Spanner is correct because it is Google's globally distributed, strongly consistent, ACID-compliant relational database purpose-built for horizontally scalable, multi-region transactional workloads — exactly the described requirements. Cloud SQL for PostgreSQL with read replicas improves read scalability but write operations remain limited to a single primary instance, and it does not natively provide multi-region strong consistency at millions of TPS. Firestore in Datastore mode is a NoSQL document database; while it supports transactions, it is not relational and is not designed for the high-volume financial transaction use case described. BigQuery is an analytics data warehouse optimized for OLAP queries, not OLTP transactional workloads.

3.

A company is reviewing its current cost structure: it runs 100 n2-standard-4 Compute Engine instances with variable utilization (never below 70%, peaks at 90%). Instances run 24/7 year-round with consistent patterns. The finance team is interested in any available discounts. Which discount strategy saves the most money?

  • A. 1-year Commitment discount (Reserve Instances) provides ~25% savings; combine with sustained use discounts for additional savings
  • B. Preemptible VMs save 70-80% but require workload redesign to handle interruptions
  • C. 3-year Commitment discount provides ~52% savings; prioritize this over shorter terms✓ Correct
  • D. Sustained use discounts (automatically applied by Google) save 25-30% for year-round continuous usage
Explanation

3-year Commitment (option 2) saves the most (~52% compared to on-demand). Given consistent 24/7 year-round usage and known infrastructure plans, maximizing discount depth is optimal. However, option 1 is also a valid answer; 1-year commitments (~25%) are safer if plans are uncertain. For this scenario, option 2 maximizes savings given predictable, continuous usage. Option 0 (sustained use discounts alone) applies automatically but is minimal (10-30%) compared to commitments. Option 3 (preemptible) requires architecture changes and is unsuitable for 24/7 services (not mentioned as interruptible). Note: Options 1 and 2 both use commitments; 3-year is deeper savings if commitment risk is acceptable.

4.

Your organization is planning to migrate a large, on-premises PostgreSQL database (2 TB, 1000s of transactions/sec) to Google Cloud. The application requires zero-downtime migration and the ability to fall back to on-premises if needed during the transition period. Which approach best addresses these requirements?

  • A. Use Cloud Spanner with DMS to automatically handle schema translation and logical replication
  • B. Manually export data using pg_dump and restore to Cloud SQL, accepting minimal downtime
  • C. Set up Cloud SQL with read replicas in the on-premises datacenter via VPN for bidirectional replication
  • D. Use Database Migration Service (DMS) with Cloud SQL and enable binary log replication for fallback✓ Correct
Explanation

Database Migration Service (DMS) with Cloud SQL and binary log replication (option 0) is correct. DMS automates schema conversion, full data transfer, and ongoing replication without downtime. Binary log replication enables rollback to on-premises if issues occur post-migration. Option 1 is infeasible; Cloud SQL does not support on-premises read replicas (replication is one-direction: on-prem to Cloud). Option 2 (pg_dump) requires stopping the source database, violating the zero-downtime requirement. Option 3 confuses tools; Cloud Spanner is not a drop-in PostgreSQL replacement (requires schema redesign for distributed architecture), and DMS doesn't automatically handle Spanner's different data model.

5.

A gaming company is building a player profile service that needs to store semi-structured data (user profiles with nested attributes), scale horizontally to tens of millions of users, and support low-latency lookups by user ID. ACID transactions across multiple documents are occasionally required. Which database service is the best fit?

  • A. Firestore✓ Correct
  • B. Cloud Bigtable
  • C. Cloud SQL for MySQL
  • D. BigQuery
Explanation

Firestore is the correct choice. It is a fully managed, serverless NoSQL document database that natively stores semi-structured data with nested fields, scales horizontally to support tens of millions of documents, provides single-digit millisecond lookups by document ID, and supports multi-document ACID transactions. BigQuery is an analytical data warehouse optimized for batch SQL queries over large datasets — not for low-latency, per-user lookups in an operational serving context. Cloud Bigtable is a petabyte-scale, low-latency key-value/wide-column store that excels at time-series and high-throughput analytical workloads; it does not natively support ACID transactions across multiple rows and is operationally more complex for this use case. Cloud SQL for MySQL is a fully managed relational database that supports ACID transactions but uses a fixed schema and scales vertically (with limited horizontal read scaling), making it less suitable for semi-structured, horizontally scalable profile storage at the scale described.

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

Planning and configuring a cloud solution study guide (ACE) →

Other ACE domains

← All Google Cloud Associate Cloud Engineer study resources