Skip to main content

Professional Cloud Architect practice question · Managing implementation of cloud architecture

A platform team manages Google Cloud infrastructure with Terraform. Leadership requires that every production change be…

A platform team manages Google Cloud infrastructure with Terraform. Leadership requires that every production change be reviewed by a second engineer, and that reviewers see exactly which resources will be added, changed, or destroyed before anything is applied. Which workflow meets this requirement?

  • ARun terraform plan in CI for each pull request, have a reviewer approve the plan output, and let the pipeline apply after merge
  • BHave engineers run terraform apply locally against a shared Cloud Storage backend that has state locking enabled
  • CRun terraform validate and a linter in CI for each pull request, and let the pipeline apply after merge
  • DHave the pipeline run terraform apply -auto-approve on merge and review the changes in Cloud Audit Logs
Show the answer and explanation

Correct answer: A) Run terraform plan in CI for each pull request, have a reviewer approve the plan output, and let the pipeline apply after merge

Google recommends always generating a Terraform plan, having it approved, and running Terraform through an automated CI/CD pipeline that links the plan to pull requests. This gives reviewers the exact change before the gated apply runs.

Why each option is right or wrong

  • A) Correct. The plan output in the pull request shows reviewers exactly what will be added, changed, or destroyed. Because the apply is gated on approval and merge, nothing reaches production unreviewed, and every apply runs in a consistent, auditable pipeline context.
  • B) Incorrect. State locking stops concurrent applies from corrupting state, but there is no second-person review and no shared preview of the change before it is applied.
  • C) Incorrect. validate and linters check syntax and style only. They don't compare the configuration with real infrastructure, so reviewers can't see what will actually change.
  • D) Incorrect. Cloud Audit Logs record changes after they happen. The requirement is to review the exact effect before the change is applied to production.
Exam domain
Managing implementation of cloud architecture · ~12.5% of Professional Cloud Architect
Question type
Multiple choice (one answer)

Practise the full Professional Cloud Architect exam

This question is one of a small free sample from the CertRidge Professional Cloud Architect bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with Google Cloud; never copied from the real exam.