Google Cloud Professional Cloud Architect · Domain 1 of 6 · 25% of the exam

Google Cloud Professional Cloud Architect Domain 1: Designing and Planning a Cloud Solution Architecture

50 free practice questions for Designing and Planning a Cloud Solution Architecture in the Google Cloud Professional Cloud Architect (PCA) exam. Try each question first, then open "Show answer" for the correct option and explanation.

Designing and Planning a Cloud Solution Architecture practice questions

  1. Question 1. A retailer expects traffic to jump 20x during a two-day sale and wants to pay only for what it uses. Its web tier is stateless and containerized. Which design fits BEST?

    1. A fixed pool of large Compute Engine VMs sized for the peak
    2. Cloud Run services with autoscaling and concurrency tuned
    3. A single GKE Standard node pool with autoscaling disabled
    4. Bare Metal Solution servers reserved for the whole year
    Show answer

    Answer: B. Cloud Run services with autoscaling and concurrency tuned

    Cloud Run scales from zero to many instances per request load and bills per use, which suits bursty stateless containers.

  2. Question 2. A company must migrate a monolithic Java app to Google Cloud in 3 months with minimal code change, then modernize later. What is the best first step?

    1. Rewrite it as microservices on Cloud Run before moving
    2. Convert it to Cloud Functions one method at a time
    3. Wait until a full redesign on GKE Autopilot is finished
    4. Rehost it on Compute Engine VMs, then refactor in phases
    Show answer

    Answer: D. Rehost it on Compute Engine VMs, then refactor in phases

    Lift-and-shift meets the deadline, and modernization can follow in later phases with lower risk.

  3. Question 3. A global mobile game needs a relational database with strong consistency across continents and horizontal write scaling. Which service fits?

    1. Cloud SQL for MySQL with cross-region replicas
    2. Bigtable with replication in two clusters
    3. Spanner with a multi-region configuration
    4. Firestore in Datastore mode in one region
    Show answer

    Answer: C. Spanner with a multi-region configuration

    Spanner provides external consistency, SQL, and horizontal scaling across regions with a 99.999% SLA.

  4. Question 4. An IoT platform stores billions of time-series sensor readings and needs single-digit millisecond reads by device and time. Which database fits?

    1. Cloud SQL for PostgreSQL with one large table
    2. BigQuery with streaming inserts only
    3. Bigtable with a row key of device ID and reversed timestamp
    4. Memorystore for Redis as the system of record
    Show answer

    Answer: C. Bigtable with a row key of device ID and reversed timestamp

    Bigtable handles massive, low-latency key-based workloads, and good row key design avoids hotspots.

  5. Question 5. Analysts need to run SQL over petabytes of historical sales data without managing infrastructure. What should the architect recommend?

    1. BigQuery with partitioned and clustered tables
    2. Cloud SQL with read replicas for reporting
    3. Bigtable with a SQL client on Compute Engine
    4. Filestore with CSV files and a scripting VM
    Show answer

    Answer: A. BigQuery with partitioned and clustered tables

    BigQuery is a serverless data warehouse. Partitioning and clustering reduce the data scanned and cost.

  6. Question 6. A healthcare startup needs a document database with offline sync for mobile clients and real-time listeners. Which service fits?

    1. Cloud SQL for MySQL
    2. Firestore in Native mode
    3. Bigtable with a single cluster
    4. BigQuery with BI Engine
    Show answer

    Answer: B. Firestore in Native mode

    Firestore Native mode has mobile and web SDKs with offline persistence and real-time updates.

  7. Question 7. A business requires an RPO near zero and an RTO of minutes for a regional database outage. Which design meets this with the least operational work?

    1. Spanner multi-region, or Cloud SQL with a cross-region replica
    2. Nightly Cloud SQL exports to a bucket in another region
    3. A single-zone Cloud SQL instance with automated backups
    4. Weekly persistent disk snapshots copied to another region
    Show answer

    Answer: A. Spanner multi-region, or Cloud SQL with a cross-region replica

    Synchronous or near-synchronous replication across regions is needed for near-zero RPO. Backups alone can't meet it.

  8. Question 8. Which statement best describes the difference between regional and zonal managed instance groups?

    1. Regional MIGs spread VMs across zones to survive a zone outage
    2. Zonal MIGs spread VMs across several regions automatically
    3. Regional MIGs can only hold a single VM per zone
    4. Zonal MIGs replicate disks across zones synchronously
    Show answer

    Answer: A. Regional MIGs spread VMs across zones to survive a zone outage

    A regional MIG distributes instances across up to three zones, improving availability.

  9. Question 9. A company needs a hybrid design where on-premises apps reach Google Cloud privately with 10 Gbps and a 99.99% SLA. What should be used?

    1. A single Cloud VPN tunnel over the internet
    2. One Partner Interconnect VLAN attachment in one zone
    3. Dedicated Interconnect with four connections in two metro areas
    4. Public IP access with firewall rules only
    Show answer

    Answer: C. Dedicated Interconnect with four connections in two metro areas

    The 99.99% topology needs redundant connections across two metropolitan areas and Cloud Routers in two regions.

  10. Question 10. Small branch offices need encrypted connectivity to a VPC at low cost, with a 99.99% SLA. What fits?

    1. HA VPN with two tunnels to redundant peer gateways
    2. Classic VPN with a single static-routed tunnel
    3. Dedicated Interconnect in each branch office
    4. Cloud NAT on each branch's subnet
    Show answer

    Answer: A. HA VPN with two tunnels to redundant peer gateways

    HA VPN provides a 99.99% SLA when configured with two interfaces and redundant tunnels using BGP.

  11. Question 11. Several teams in separate projects need to share one centrally managed network while keeping their own billing and IAM. What should be designed?

    1. Shared VPC with a host project and service projects
    2. VPC Network Peering between every pair of projects
    3. One project for all teams with separate subnets
    4. Cloud VPN tunnels between all the project VPCs
    Show answer

    Answer: A. Shared VPC with a host project and service projects

    Shared VPC lets a central network team manage subnets and firewall rules while teams deploy in service projects.

  12. Question 12. Two companies after a merger need private connectivity between their VPCs, which have non-overlapping ranges, with no central admin. What is simplest?

    1. Shared VPC with one company as the host
    2. VPC Network Peering between the two VPCs
    3. Public IPs and firewall allowlists
    4. Cloud Interconnect between the VPCs
    Show answer

    Answer: B. VPC Network Peering between the two VPCs

    Peering connects VPCs privately across organizations, and each side keeps its own administration.

  13. Question 13. A global HTTPS app must route users to the closest healthy backend in several regions with one anycast IP. Which load balancer fits?

    1. Regional internal passthrough Network Load Balancer
    2. Global external Application Load Balancer
    3. Regional external proxy Network Load Balancer
    4. Internal Application Load Balancer in one region
    Show answer

    Answer: B. Global external Application Load Balancer

    The global external Application Load Balancer uses a single anycast IP and routes to the nearest healthy backend.

  14. Question 14. A gaming backend uses UDP and needs to preserve client source IPs in one region. Which load balancer fits?

    1. Global external Application Load Balancer
    2. Internal Application Load Balancer
    3. Classic HTTP(S) Load Balancer
    4. External passthrough Network Load Balancer
    Show answer

    Answer: D. External passthrough Network Load Balancer

    Passthrough Network Load Balancers support UDP and pass client IPs directly to backends.

  15. Question 15. Static assets for a global website should be cached close to users to reduce latency and egress costs. What should be enabled?

    1. Cloud NAT on the backend subnets
    2. Cloud CDN on the external Application Load Balancer
    3. Private Google Access on the VPC
    4. A regional internal load balancer
    Show answer

    Answer: B. Cloud CDN on the external Application Load Balancer

    Cloud CDN caches content at Google's edge locations for backends behind the global load balancer.

  16. Question 16. A company wants the lowest cost for batch jobs that can tolerate interruption and restart. What compute option fits?

    1. Sole-tenant nodes with reservations
    2. Committed use discounts on large VMs
    3. Memory-optimized VMs with local SSD
    4. Spot VMs in a managed instance group
    Show answer

    Answer: D. Spot VMs in a managed instance group

    Spot VMs offer deep discounts but can be preempted at any time, which suits fault-tolerant batch work.

  17. Question 17. A workload runs steadily 24/7 for the next 3 years on Compute Engine. How can compute costs be reduced most?

    1. Spot VMs for all instances
    2. Sustained use discounts only
    3. Moving to sole-tenant nodes
    4. Committed use discounts for 3 years
    Show answer

    Answer: D. Committed use discounts for 3 years

    Committed use discounts give the largest savings for predictable long-term usage.

  18. Question 18. A team wants Kubernetes without managing nodes, paying per pod resource requests. What should be recommended?

    1. GKE Autopilot
    2. GKE Standard with manual node pools
    3. Self-managed Kubernetes on Compute Engine
    4. Cloud Run jobs with one task
    Show answer

    Answer: A. GKE Autopilot

    Autopilot manages nodes, scaling, and security settings and bills by pod resource requests.

  19. Question 19. An event-driven image-resize function should run whenever a file is uploaded to Cloud Storage. Which option is simplest?

    1. A Compute Engine VM polling the bucket every minute
    2. A GKE CronJob listing the bucket every hour
    3. A Dataflow streaming pipeline running all day
    4. A Cloud Run function triggered by an Eventarc Cloud Storage event
    Show answer

    Answer: D. A Cloud Run function triggered by an Eventarc Cloud Storage event

    Eventarc routes Cloud Storage events to Cloud Run functions, which scale to zero when idle.

  20. Question 20. A system needs reliable asynchronous messaging between microservices with at-least-once delivery and fan-out to many subscribers. What fits?

    1. Pub/Sub topics with multiple subscriptions
    2. Cloud Tasks with a single queue
    3. Cloud Scheduler jobs for each service
    4. Memorystore lists polled by consumers
    Show answer

    Answer: A. Pub/Sub topics with multiple subscriptions

    Pub/Sub decouples publishers and subscribers, supports fan-out, and scales globally.

  21. Question 21. Each HTTP request to a downstream service must be rate-limited and retried with explicit per-task control. Which service fits?

    1. Cloud Tasks
    2. Pub/Sub with a push subscription only
    3. Cloud Scheduler
    4. Eventarc
    Show answer

    Answer: A. Cloud Tasks

    Cloud Tasks gives explicit control over dispatch rate, retries, and scheduling of individual tasks.

  22. Question 22. A multi-step business process calls several APIs, waits for callbacks, and needs retries and error handling without custom servers. What fits?

    1. Cloud Scheduler
    2. Workflows
    3. Pub/Sub with dead-letter topics only
    4. A single Cloud Run service with sleeps
    Show answer

    Answer: B. Workflows

    Workflows orchestrates services and APIs with steps, conditions, retries, and callbacks.

  23. Question 23. Streaming clickstream events must be transformed and loaded into BigQuery in near real time with autoscaling. What should be used?

    1. Dataflow streaming pipeline reading from Pub/Sub
    2. Dataproc cluster running nightly Spark jobs
    3. Cloud Composer DAG that runs once a day
    4. Storage Transfer Service scheduled hourly
    Show answer

    Answer: A. Dataflow streaming pipeline reading from Pub/Sub

    Dataflow runs Apache Beam pipelines with autoscaling and exactly-once processing for streams.

  24. Question 24. An enterprise already has many Spark and Hadoop jobs and wants to move them with little change. Which service fits?

    1. Dataflow templates only
    2. BigQuery scheduled queries
    3. Dataproc
    4. Cloud Data Fusion only
    Show answer

    Answer: C. Dataproc

    Dataproc runs managed Spark and Hadoop clusters, often ephemeral per job, with little code change.

  25. Question 25. A company needs complex batch pipelines with dependencies between tasks across many services, using Apache Airflow. What fits?

    1. Cloud Composer
    2. Cloud Scheduler with cron jobs
    3. Workflows with a single step
    4. Pub/Sub with ordering keys
    Show answer

    Answer: A. Cloud Composer

    Cloud Composer is managed Airflow for authoring, scheduling, and monitoring DAGs.

  26. Question 26. A business wants to train and serve custom ML models with managed pipelines, a feature store, and model monitoring. Which platform fits?

    1. Dataproc with custom scripts
    2. Vertex AI
    3. Cloud Run with manual scaling
    4. BigQuery BI Engine
    Show answer

    Answer: B. Vertex AI

    Vertex AI covers training, pipelines, feature management, deployment, and monitoring.

  27. Question 27. Business analysts want to build simple ML models using SQL on data already in the warehouse. What should be recommended?

    1. Vertex AI custom training in containers
    2. Dataproc with Spark MLlib
    3. TensorFlow on Compute Engine GPUs
    4. BigQuery ML
    Show answer

    Answer: D. BigQuery ML

    BigQuery ML trains and runs models with SQL statements inside BigQuery.

  28. Question 28. An app needs a generative AI chatbot grounded in the company's own documents with minimal custom ML work. What fits?

    1. Training a new language model from scratch on TPUs
    2. A rules engine on Cloud Run with keyword matching
    3. Gemini models on Vertex AI with retrieval over company data
    4. BigQuery ML linear regression on the documents
    Show answer

    Answer: C. Gemini models on Vertex AI with retrieval over company data

    Using a foundation model with grounding or retrieval (RAG) avoids training from scratch.

  29. Question 29. A company must keep an on-premises VMware estate running in Google Cloud with the same tools and no refactoring. What fits?

    1. Migrate to Virtual Machines only
    2. GKE Enterprise on bare metal
    3. Google Cloud VMware Engine
    4. App Engine flexible environment
    Show answer

    Answer: C. Google Cloud VMware Engine

    VMware Engine runs native VMware stacks in Google Cloud, keeping vSphere tools and processes.

  30. Question 30. Specialized Oracle workloads need certified bare-metal hardware close to Google Cloud services. What should be used?

    1. Sole-tenant nodes with Windows images
    2. Bare Metal Solution
    3. Cloud SQL for PostgreSQL
    4. Spanner with the PostgreSQL interface
    Show answer

    Answer: B. Bare Metal Solution

    Bare Metal Solution provides dedicated hardware for specialized workloads with low-latency access to Google Cloud.

  31. Question 31. Which design choice increases availability for a Cloud SQL instance within a region?

    1. Configure it for high availability with a standby in another zone
    2. Add more read replicas in the same zone only
    3. Increase the machine type of the primary
    4. Store backups in a single-region bucket
    Show answer

    Answer: A. Configure it for high availability with a standby in another zone

    HA configuration uses synchronous replication to a standby in another zone with automatic failover.

  32. Question 32. An application reads far more than it writes to Cloud SQL, and reads are slowing it down. What should be added?

    1. A larger disk on the primary only
    2. A second primary in another zone
    3. Read replicas, with the app sending reads to them
    4. Memorystore as the only database
    Show answer

    Answer: C. Read replicas, with the app sending reads to them

    Read replicas offload read traffic. A cache such as Memorystore can also reduce repeated reads.

  33. Question 33. A session store needs sub-millisecond access and high availability for a web app. What fits?

    1. Cloud Storage objects per session
    2. Memorystore for Redis (Standard tier or Cluster)
    3. BigQuery tables per user
    4. Filestore Basic HDD share
    Show answer

    Answer: B. Memorystore for Redis (Standard tier or Cluster)

    Memorystore is managed in-memory storage, and the Standard tier replicates for availability.

  34. Question 34. Files must be shared over NFS by many Compute Engine and GKE workloads with consistent performance. What should be used?

    1. Filestore
    2. Cloud Storage with gcsfuse as the primary store
    3. Local SSDs on each VM
    4. Persistent disks attached read-write to many VMs
    Show answer

    Answer: A. Filestore

    Filestore provides managed NFS file shares for VMs and GKE.

  35. Question 35. Data in Cloud Storage is accessed often for 30 days, then rarely, and must be kept for 7 years at the lowest cost. What should be configured?

    1. Keeping all objects in Standard storage forever
    2. Lifecycle rules moving objects to Nearline, then Coldline, then Archive
    3. Copying the objects to persistent disks each month
    4. Deleting objects after 30 days and relying on backups
    Show answer

    Answer: B. Lifecycle rules moving objects to Nearline, then Coldline, then Archive

    Lifecycle management changes storage class by age. Archive is cheapest for rarely read data kept for years.

  36. Question 36. Objects in a bucket should move to cheaper classes automatically based on actual access patterns, without writing rules. What should be enabled?

    1. Object versioning
    2. Retention policy lock
    3. Requester pays
    4. Autoclass on the bucket
    Show answer

    Answer: D. Autoclass on the bucket

    Autoclass moves objects between classes based on access, with no retrieval or early-deletion fees.

  37. Question 37. A company needs a bucket that survives a regional outage with no application changes and an RPO of 15 minutes for new writes. What fits?

    1. A regional bucket with object versioning
    2. A dual-region bucket with turbo replication
    3. A single-zone persistent disk with snapshots
    4. A multi-region bucket with requester pays
    Show answer

    Answer: B. A dual-region bucket with turbo replication

    Turbo replication provides a 15-minute RPO for dual-region buckets.

  38. Question 38. A stateful web session layer is blocking horizontal scaling of the app. What is the recommended change?

    1. Use sticky sessions and never add instances
    2. Store sessions on each VM's local SSD
    3. Externalize session state to a shared store like Memorystore or Firestore
    4. Increase VM size so one instance serves all users
    Show answer

    Answer: C. Externalize session state to a shared store like Memorystore or Firestore

    Stateless app servers can scale out and be replaced freely when state lives elsewhere.

  39. Question 39. An architect must choose between Cloud Run and GKE for a set of microservices. Which factor favors GKE?

    1. Need for custom Kubernetes operators, DaemonSets, or node-level control
    2. Desire for scale-to-zero with no cluster management
    3. Very simple HTTP services with low traffic
    4. Wanting to pay only per request
    Show answer

    Answer: A. Need for custom Kubernetes operators, DaemonSets, or node-level control

    GKE gives full Kubernetes control. Cloud Run is simpler when that control isn't needed.

  40. Question 40. A company wants to run the same Kubernetes-based platform on Google Cloud, on-premises, and in another cloud with central policy. What should be recommended?

    1. Separate unmanaged clusters in each environment
    2. GKE Enterprise (fleets) with Config Sync and Policy Controller
    3. Cloud Run only in each environment
    4. App Engine standard in each environment
    Show answer

    Answer: B. GKE Enterprise (fleets) with Config Sync and Policy Controller

    GKE Enterprise manages fleets of clusters across environments with consistent configuration and policy.

  41. Question 41. A web app must survive the loss of an entire region with minimal downtime. What design is required?

    1. Use a regional MIG with three zones in one region
    2. Deploy in at least two regions behind a global load balancer with replicated data
    3. Take hourly snapshots and store them in the same region
    4. Use a larger machine type in a single zone
    Show answer

    Answer: B. Deploy in at least two regions behind a global load balancer with replicated data

    Multi-region deployment with data replication and global load balancing protects against regional failure.

  42. Question 42. Which availability target is typically the MOST expensive to achieve and should be justified by business needs?

    1. 99.5% in a single zone
    2. 99.999% across regions
    3. 99.9% in a single region
    4. 99% with manual recovery
    Show answer

    Answer: B. 99.999% across regions

    Each extra nine usually needs more redundancy, automation, and cost, so it should match business impact.

  43. Question 43. A company must estimate the monthly cost of a proposed Google Cloud architecture before approval. What should be used?

    1. Cloud Monitoring dashboards
    2. Active Assist recommendations only
    3. The Cloud Billing export of last month
    4. The Google Cloud Pricing Calculator
    Show answer

    Answer: D. The Google Cloud Pricing Calculator

    The pricing calculator estimates costs for planned services and configurations.

  44. Question 44. Which Google Cloud framework helps architects evaluate designs across reliability, security, cost, performance, and operations?

    1. The Cloud Adoption Framework for Azure
    2. ITIL 4 service value chain
    3. The OSI reference model
    4. The Google Cloud Architecture Framework (Well-Architected)
    Show answer

    Answer: D. The Google Cloud Architecture Framework (Well-Architected)

    The framework gives principles and recommendations across these pillars.

  45. Question 45. A new app must store user-uploaded images and serve them globally to authenticated users with signed access. What is a good design?

    1. Persistent disks shared between all web servers
    2. BigQuery tables with base64-encoded images
    3. Cloud Storage with signed URLs, served through Cloud CDN
    4. Filestore shares mounted by every client device
    Show answer

    Answer: C. Cloud Storage with signed URLs, served through Cloud CDN

    Signed URLs give time-limited access, and Cloud CDN caches content near users.

  46. Question 46. A regional service uses an internal HTTP API consumed only by other services in the VPC. Which load balancer fits?

    1. Global external Application Load Balancer
    2. External passthrough Network Load Balancer
    3. Cloud CDN with a public backend bucket
    4. Internal Application Load Balancer
    Show answer

    Answer: D. Internal Application Load Balancer

    The internal Application Load Balancer provides layer 7 routing on private IPs inside the VPC.

  47. Question 47. A company wants private access from its VPC to a SaaS vendor's service hosted in another Google Cloud organization. What should be used?

    1. VPC Network Peering with transitive routing
    2. Cloud NAT with public IP allowlisting
    3. Private Service Connect endpoint to the vendor's service attachment
    4. Shared VPC with the vendor as a service project
    Show answer

    Answer: C. Private Service Connect endpoint to the vendor's service attachment

    Private Service Connect exposes producer services privately to consumers, even with overlapping IP ranges.

  48. Question 48. Which Google Cloud network topology feature lets a single VPC span all regions without extra configuration?

    1. Each VPC is regional and needs peering between regions
    2. VPCs are zonal and need Cloud VPN between zones
    3. VPC networks are global, with regional subnets
    4. Subnets are global and span all regions
    Show answer

    Answer: C. VPC networks are global, with regional subnets

    A single VPC can have subnets in any region, and routing between them is built in.

  49. Question 49. Hybrid DNS is needed so on-premises clients resolve private Cloud DNS zones, and VMs resolve on-premises names. What should be configured?

    1. Public DNS zones in Cloud DNS for both environments
    2. Hosts files maintained on every VM and server
    3. A Cloud DNS inbound server policy and outbound forwarding zones
    4. Cloud NAT with DNS logging enabled on each subnet
    Show answer

    Answer: C. A Cloud DNS inbound server policy and outbound forwarding zones

    Inbound policies accept queries from on-premises, and forwarding zones send queries to on-premises DNS.

  50. Question 50. An architect is choosing between Cloud SQL and AlloyDB for PostgreSQL. Which requirement favors AlloyDB?

    1. High-performance transactional and analytical queries on PostgreSQL
    2. A small development database with low traffic
    3. A MySQL-compatible engine for a legacy app
    4. A document model with offline mobile sync
    Show answer

    Answer: A. High-performance transactional and analytical queries on PostgreSQL

    AlloyDB is PostgreSQL-compatible with higher performance and a columnar engine for analytics.

Google Cloud is a trademark of Google LLC. These questions are original study material, not questions from the real exam.