Google Cloud Professional Cloud Architect · 12% practice allocation

Google Cloud Professional Cloud Architect: Ensure solution and operations reliability Practice Questions

5 free sample questions from the Ensure solution and operations reliability domain, with answers and explanations. The full Professional Cloud Architect bank has 251 questions across 6 domains. Questions are scenario-based and written from the official Google Cloud exam guide.

1.

A DevOps engineer needs to schedule automated nightly snapshots of a 2 TB Persistent Disk attached to a GCE instance running a stateful database. The snapshots must be retained for 14 days and then automatically deleted. What is the SIMPLEST GCP-native approach?

  • A. Use gcloud compute disks snapshot in a startup script on a separate management VM that runs nightly via an instance schedule.
  • B. Enable automatic backups on the Cloud SQL instance associated with the Persistent Disk and set the backup retention to 14 days.
  • C. Create a snapshot schedule resource in Compute Engine, attach it to the Persistent Disk, and set the retention policy to 14 days. Compute Engine will automatically create and delete snapshots according to the schedule.✓ Correct
  • D. Write a Cloud Scheduler job that triggers a Cloud Run service, which calls the Compute Engine API to create a snapshot, and a separate Cloud Scheduler job that calls a Cloud Function to list and delete snapshots older than 14 days.
Explanation

Option C is correct: Compute Engine Snapshot Schedules are a native, fully managed feature that automates both creation and deletion of disk snapshots on a configurable schedule with a built-in retention policy — exactly what is needed with zero custom code. Option D (Cloud Scheduler + Cloud Run + Cloud Functions) achieves the same result but requires building and maintaining custom application code, IAM bindings, and multiple resources — far more operational overhead than a snapshot schedule. Option B is wrong: Cloud SQL automated backups apply only to Cloud SQL instances and their managed storage, not to arbitrary Persistent Disks. Option A (startup script on a management VM) is fragile, requires managing the VM lifecycle, and introduces unnecessary complexity compared to the native snapshot schedule feature.

2.

An operations team is building runbooks for their on-call rotation. A senior SRE recommends that each runbook for a production alerting policy should include a specific field that links back to the alerting policy. Which Cloud Monitoring feature allows you to embed a direct URL or contextual information into alert notifications so on-call engineers can immediately access the alerting policy and relevant dashboards?

  • A. Alert policy documentation field✓ Correct
  • B. Log-based metric labels
  • C. Notification channel labels
  • D. Cloud Monitoring uptime check annotations
Explanation

Option A is correct: Cloud Monitoring alerting policies have a documentation field (sometimes called 'Documentation' or 'Alert policy documentation') where you can embed Markdown-formatted text, including URLs to runbooks, dashboards, and the alerting policy itself. This documentation is included in alert notifications sent to on-call engineers. Option C (notification channel labels) are metadata tags on the notification channel configuration (e.g., a PagerDuty channel) and are not the right place for per-policy contextual documentation. Option D (uptime check annotations) does not exist as a feature — uptime checks have names and resource labels but not free-text annotation fields for runbook links. Option B (log-based metric labels) are used to extract dimension values from log entries for metric segmentation, not for embedding operational documentation.

3.

A company's Cloud SQL for PostgreSQL instance in us-central1 is experiencing a complete regional outage. They have a read replica in us-east1. The on-call team needs to promote the read replica to a standalone primary to restore write capability. What are the implications of this action that the team MUST understand? (Select TWO)

  • A. The promoted replica may have a replication lag, meaning some recent transactions committed on the primary before the outage may not be present on the newly promoted primary.✓ Correct
  • B. After the outage, GCP automatically re-establishes the replication link between the recovered original primary and the promoted replica.
  • C. After promotion, the replica becomes an independent Cloud SQL instance and is NO longer linked to the original primary — if the original primary recovers, data written to both instances during the outage will need to be manually reconciled.✓ Correct
  • D. Promoting a read replica automatically triggers point-in-time recovery (PITR) on the original primary to ensure no data loss before the failover.
  • E. Cloud SQL read replicas can be promoted without any downtime; all connections to the replica are automatically rerouted to the new primary IP address.
Explanation

Option C is correct: promoting a read replica severs the replication relationship permanently. The original primary and the promoted instance become two independent databases. Any data written to both after promotion creates a split-brain scenario requiring manual reconciliation. Option A is correct: asynchronous replication means the replica may be seconds to minutes behind the primary at the time of the outage. Transactions in that gap are lost on the promoted replica, resulting in RPO > 0. Option D is wrong: promoting a replica does not trigger PITR on the original primary — these are independent operations. Option E is wrong: promotion does involve a brief period where the instance reconfigures itself, and client applications must be updated to use the new instance connection string — connections are NOT automatically rerouted. Option B is wrong: GCP does NOT automatically re-establish replication after a recovery — the team must manually recreate a new replica from the promoted instance if desired.

4.

A team is performing a blameless postmortem after a 90-minute production outage caused by a misconfigured Terraform deployment that deleted and recreated a Cloud SQL instance, wiping its data. The postmortem facilitator asks the team to identify contributing factors. Which of the following would BEST represent systemic findings appropriate for a blameless postmortem? (Select TWO)

  • A. Cloud SQL automated backups were configured with a 1-day retention period, limiting the team's ability to recover data beyond the most recent backup.✓ Correct
  • B. The engineer who applied the Terraform plan did not carefully review the plan output showing resource destruction.
  • C. The database administrator should have more experience with Terraform to avoid such mistakes.
  • D. The team should use a different cloud provider with better IaC tooling to prevent similar incidents.
  • E. The CI/CD pipeline did not enforce a policy requiring manual approval for Terraform plans that include resource deletions (-/+ or - actions) in production environments.✓ Correct
Explanation

Options A and E are correct systemic findings. Option E identifies a process/tooling gap: the lack of a mandatory approval gate for destructive infrastructure changes is a systemic failure — a policy requiring human review of plans with deletions would have caught this regardless of which engineer ran it. Option A identifies a recovery capability gap: a 1-day backup retention limited the blast radius recovery options; extending retention is a systemic improvement. Option B is wrong in the context of blameless postmortems: pointing to an individual engineer's lack of attention is blame-based and does not lead to systemic improvement. Option C is explicitly blame-based and focuses on individual skill rather than systemic factors. Option D is not a realistic or actionable systemic finding — it is not grounded in the actual contributing factors.

5.

A globally distributed SaaS application uses Cloud DNS with a public managed zone to route users to the nearest regional endpoint. After a regional outage, the team notices that users in affected regions continue to attempt connections to the failed endpoint for several minutes despite the team having updated the DNS record to point to a healthy region. The team wants to minimize this delay in future failover scenarios. Which TWO configuration changes will MOST effectively reduce the time for DNS changes to propagate to affected clients during a failover? (Choose TWO)

  • A. Reduce the TTL of the DNS records to a low value (e.g., 30–60 seconds) under normal operating conditions so clients refresh DNS more frequently.✓ Correct
  • B. Switch from A records to CNAME records, as CNAMEs propagate faster than A records during updates.
  • C. Use Cloud DNS routing policies with health checks to automatically switch traffic to a healthy endpoint without requiring manual record updates.✓ Correct
  • D. Increase the TTL to 3600 seconds so that DNS resolvers cache the record longer and reduce query load on Cloud DNS.
  • E. Enable DNSSEC on the managed zone to reduce propagation latency through cryptographic validation shortcuts.
Explanation

Option A is correct because DNS TTL (Time To Live) controls how long resolvers and clients cache a record before re-querying. Pre-setting a low TTL (30–60 seconds) ensures that after a failover DNS update, clients will pick up the new record quickly. This is a best practice: lower TTL before anticipated maintenance, though it applies continuously here for disaster scenarios. Option C is correct because Cloud DNS routing policies with health checks allow Cloud DNS to automatically detect that a regional endpoint is unhealthy and serve an alternate record—this eliminates the need for manual record updates entirely and provides near-instant failover at the DNS level. Option B is wrong because the record type (A vs. CNAME) has no bearing on propagation speed; propagation is governed by TTL and resolver cache behavior. Option D is wrong because increasing TTL to 3600 seconds would make the propagation problem far worse—clients would continue using the stale (failed) IP address for up to an hour. Option E is wrong because DNSSEC provides cryptographic authentication of DNS responses for security purposes and has no mechanism to reduce propagation latency; it does not affect TTL or caching behavior.

Test yourself across every Professional Cloud Architect domain

The free Professional Cloud Architect 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

Ensure solution and operations reliability study guide (Professional Cloud Architect) →

Other Professional Cloud Architect domains

← All Google Cloud Professional Cloud Architect study resources