Google Cloud Professional Cloud Architect Domain 2: Managing and Provisioning a Solution Infrastructure
36 free practice questions for Managing and Provisioning a Solution Infrastructure in the Google Cloud Professional Cloud Architect (PCA) exam. Try each question first, then open "Show answer" for the correct option and explanation.
Managing and Provisioning a Solution Infrastructure practice questions
-
Question 1. Infrastructure must be provisioned repeatedly across dev, test, and prod with code review and drift visibility. What should the architect recommend?
Show answer
Answer: C. Terraform with remote state in Cloud Storage, run through CI/CD
Infrastructure as code makes changes reviewable and repeatable, and Infrastructure Manager can run Terraform as a service.
-
Question 2. A team wants Google Cloud to run Terraform deployments and store state without managing its own runners. What service fits?
Show answer
Answer: B. Infrastructure Manager
Infrastructure Manager runs Terraform with Cloud Build and manages state and revisions.
-
Question 3. A GKE cluster must scale nodes automatically when pods can't be scheduled. What should be enabled?
Show answer
Answer: C. Cluster autoscaler on the node pools
The cluster autoscaler adds nodes for pending pods and removes underused nodes.
-
Question 4. A deployment's pods should scale by CPU usage between 3 and 30 replicas. What should be configured?
Show answer
Answer: C. A HorizontalPodAutoscaler with min 3 and max 30
HPA changes replica counts based on metrics such as CPU, memory, or custom metrics.
-
Question 5. During GKE node upgrades, at least two replicas of a critical service must always stay running. What protects this?
Show answer
Answer: B. A PodDisruptionBudget with minAvailable set to 2
PDBs limit voluntary disruptions such as drains during upgrades.
-
Question 6. GKE upgrades must happen only on weekends in a controlled way. What should be configured?
Show answer
Answer: C. Maintenance windows and exclusions on the cluster
Maintenance windows limit when automatic upgrades happen, and exclusions block them for set periods.
-
Question 7. A regional managed instance group must replace VMs that stop responding to HTTP health checks. What should be configured?
Show answer
Answer: A. Autohealing with a health check on the MIG
Autohealing recreates instances that fail application health checks.
-
Question 8. A new VM image must be rolled out to a MIG gradually with no more than one instance down at a time. What should be used?
Show answer
Answer: C. A rolling update with maxUnavailable 1 on the MIG
Rolling updates replace instances in batches, and maxSurge and maxUnavailable control the pace.
-
Question 9. Compute Engine VMs need a standard hardened OS image built and patched on a schedule. What should be designed?
Show answer
Answer: C. A pipeline that builds custom images and publishes them to an image family
Image families point to the latest image, so new instances use the current hardened version.
-
Question 10. A company must patch the OS of hundreds of VMs on a schedule and report compliance. What should be used?
Show answer
Answer: C. VM Manager OS patch management
VM Manager runs patch jobs, schedules deployments, and reports patch compliance.
-
Question 11. Which Compute Engine feature keeps a VM running during host maintenance?
Show answer
Answer: C. Live migration on host maintenance
Live migration moves VMs to another host without rebooting during maintenance events.
-
Question 12. A data processing app needs very high IOPS scratch space that doesn't need to survive VM stops. What should be attached?
Show answer
Answer: C. Local SSD
Local SSDs are physically attached for high performance, but data is lost when the VM stops.
-
Question 13. A database VM needs block storage with performance set independently of capacity. Which disk type fits?
Show answer
Answer: A. Hyperdisk Balanced or Extreme
Hyperdisk lets IOPS and throughput be provisioned separately from size.
-
Question 14. A zonal persistent disk is a single point of failure for a stateful app. What improves availability?
Show answer
Answer: D. A regional persistent disk replicated across two zones
Regional disks replicate synchronously, so the disk can be attached to a VM in the other zone after a failure.
-
Question 15. VM disk backups must be taken daily and kept for 30 days automatically. What should be configured?
Show answer
Answer: D. A snapshot schedule attached to the disks
Snapshot schedules create and delete snapshots based on the retention policy.
-
Question 16. Backups of Compute Engine, GKE, and databases must be managed centrally with immutable backup vaults. What should be used?
Show answer
Answer: C. Google Cloud Backup and DR Service
Backup and DR Service manages backup plans and backup vaults that can enforce retention.
-
Question 17. A container image repository with vulnerability scanning and regional replication is needed. What should be used?
Show answer
Answer: C. Artifact Registry with scanning enabled
Artifact Registry stores containers and packages, and Artifact Analysis scans for vulnerabilities.
-
Question 18. A company needs to provision new projects with standard IAM, networking, and logging for every team. What pattern fits?
Show answer
Answer: B. A project factory using Terraform with organization policies
Automated project creation gives consistent guardrails, labels, and billing setup.
-
Question 19. Resources must be organized so that policies apply to all projects of the finance department. How should the hierarchy be designed?
Show answer
Answer: D. A Finance folder under the organization, with projects inside
Folders group projects, and IAM and organization policies set on a folder are inherited.
-
Question 20. Which Cloud Storage feature protects against accidental overwrites or deletion by keeping older versions?
Show answer
Answer: B. Object versioning (or soft delete)
Versioning keeps noncurrent versions. Soft delete keeps deleted objects for a retention period.
-
Question 21. A company needs to copy 200 TB from another cloud's object storage into Cloud Storage on a schedule. What fits?
Show answer
Answer: D. Storage Transfer Service
Storage Transfer Service moves data from other clouds, HTTP sources, and on-premises at scale.
-
Question 22. A data center has 1 PB to move with limited bandwidth and a tight deadline. What should be recommended?
Show answer
Answer: C. Transfer Appliance
Transfer Appliance is a physical device for large offline data migration.
-
Question 23. An on-premises MySQL database must move to Cloud SQL with minimal downtime using continuous replication. What should be used?
Show answer
Answer: B. Database Migration Service
DMS sets up continuous replication and a short cutover for supported databases.
-
Question 24. VMs from VMware and AWS must be migrated to Compute Engine with testing before cutover. What should be used?
Show answer
Answer: B. Migrate to Virtual Machines
Migrate to Virtual Machines replicates VMs and supports test clones before cutover.
-
Question 25. Outbound internet access is needed for private VMs without external IPs, for downloading updates. What should be configured?
Show answer
Answer: C. Cloud NAT on a Cloud Router in that region
Cloud NAT provides outbound connectivity for private instances without allowing inbound connections.
-
Question 26. Private VMs without external IPs must reach Google APIs such as Cloud Storage. What should be enabled on the subnet?
Show answer
Answer: C. Private Google Access
Private Google Access lets instances with internal IPs reach Google APIs and services.
-
Question 27. Which approach lets a firewall rule apply only to VMs running a specific workload, independent of IPs?
Show answer
Answer: A. Target by service account or secure tag
Rules can target service accounts or tags, which move with the workload.
-
Question 28. Network firewall rules must be managed once and applied to many VPCs across projects. What should be used?
Show answer
Answer: B. Hierarchical firewall policies at the organization or folder level
Hierarchical policies are evaluated before VPC rules and apply across all projects under the node.
-
Question 29. A GKE cluster's nodes must not have public IPs, and the control plane must be reachable only from internal networks. What should be created?
Show answer
Answer: A. A private cluster with authorized networks for the control plane
Private nodes use only internal IPs, and control plane access can be restricted to specific ranges.
-
Question 30. A company wants to separate network administration from project administration for many projects. Which roles belong to the network team in a Shared VPC?
Show answer
Answer: A. Shared VPC Admin in the host, Network User for service projects
The host project team controls networks, and service project users get Network User on specific subnets.
-
Question 31. A Compute Engine VM must be placed on dedicated hardware for licensing reasons. What should be used?
Show answer
Answer: B. Sole-tenant nodes
Sole-tenant nodes are physical servers dedicated to one project's VMs.
-
Question 32. An app needs guaranteed GPU capacity in a zone for a planned training run next month. What should be done?
Show answer
Answer: D. Create a future reservation for the GPU VMs
Reservations guarantee capacity. Quota alone doesn't ensure resources are available in the zone.
-
Question 33. A MIG must scale based on the number of undelivered messages in a Pub/Sub subscription. What should be configured?
Show answer
Answer: A. Autoscaling on the Pub/Sub backlog metric
MIGs can autoscale on Cloud Monitoring metrics, including per-instance backlog targets.
-
Question 34. A workload running on Cloud Run needs to reach a Cloud SQL instance using a private IP. What should be configured?
Show answer
Answer: B. Direct VPC egress (or a Serverless VPC Access connector)
Cloud Run needs a VPC egress path to reach private IP resources in the VPC.
-
Question 35. A company wants all provisioning done only through CI/CD service accounts, not by people in the console. What helps enforce this?
Show answer
Answer: B. Viewer roles for humans; deployer roles only for pipeline service accounts
Least-privilege roles for humans push changes through reviewed pipelines.
-
Question 36. Which statement about labels and tags in Google Cloud is correct?
Show answer
Answer: D. Labels organize costs; tags can also drive IAM and firewall conditions
Tags are organization-level resources that support policy conditions. Labels are key-value metadata for filtering and billing.
Google Cloud is a trademark of Google LLC. These questions are original study material, not questions from the real exam.