- A
Set an automatic rollback policy in the delivery pipeline definition
Correct. The delivery pipeline definition supports a `rollback_policy` that automatically rolls back on deploy failure.
- B
Use a Cloud Build post-deploy hook to check the rollout status and roll back if needed
Why wrong: Incorrect. While a Cloud Build post-deploy hook could be used, it is unnecessary because Cloud Deploy provides a native rollback policy.
- C
Configure the approval gate to reject the deployment if it fails
Why wrong: Incorrect. Approval gates are for manual approval and do not trigger automatic rollbacks.
- D
Enable the 'rollback on failure' flag in the pipeline
Why wrong: Incorrect. There is no 'rollback on failure' flag in the pipeline definition.
Google PCA Cloud Deploy rollback policy Practice Question
This PCA practice question tests your understanding of managing and provisioning a solution infrastructure. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. A key principle to apply: cloud Deploy rollback policy. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
You have a Cloud Deploy delivery pipeline with an approval gate. You want to automatically roll back a release if the rollout fails during the deploy step. How should you configure the pipeline?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
Set an automatic rollback policy in the delivery pipeline definition
Cloud Deploy does have a built-in automatic rollback feature via the `rollback_policy` in the delivery pipeline definition. Setting this policy automatically rolls back a release if the rollout fails during the deploy step. Option B describes a custom solution that is unnecessary because the native policy exists. Option C is incorrect because approval gates are for manual approval and cannot automatically trigger a rollback. Option D is incorrect because no such global flag exists. Therefore, option A is correct.
Key principle: Cloud Deploy rollback policy
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Set an automatic rollback policy in the delivery pipeline definition
Why this is correct
Correct. The delivery pipeline definition supports a `rollback_policy` that automatically rolls back on deploy failure.
Related concept
Cloud Deploy rollback policy
- ✗
Use a Cloud Build post-deploy hook to check the rollout status and roll back if needed
Why it's wrong here
Incorrect. While a Cloud Build post-deploy hook could be used, it is unnecessary because Cloud Deploy provides a native rollback policy.
- ✗
Configure the approval gate to reject the deployment if it fails
Why it's wrong here
Incorrect. Approval gates are for manual approval and do not trigger automatic rollbacks.
- ✗
Enable the 'rollback on failure' flag in the pipeline
Why it's wrong here
Incorrect. There is no 'rollback on failure' flag in the pipeline definition.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Candidates may assume Cloud Deploy lacks automated rollback, but it actually supports it via a pipeline-level rollback policy.
Detailed technical explanation
How to think about this question
Treat this as a scenario question. Identify the problem, the constraint, and the best action. Then compare each option against those facts.
KKey Concepts to Remember
- Cloud Deploy rollback policy
- Delivery pipeline definition
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Cloud Deploy rollback policy
Real-world example
How this comes up in practice
A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Cloud Deploy rollback policy Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.
Visual reference
What to study next
Got this wrong? Here's your next step.
Review cloud Deploy rollback policy, then practise related PCA questions on the same topic to reinforce the concept.
- →
Managing and Provisioning a Solution Infrastructure — study guide chapter
Learn the concepts, then practise the questions
- →
Managing and Provisioning a Solution Infrastructure practice questions
Targeted practice on this topic area only
- →
All PCA questions
1,000 questions across all exam domains
- →
Google Professional Cloud Architect study guide
Full concept coverage aligned to exam objectives
- →
PCA practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related PCA practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Managing Implementation and Ensuring Solution and Operations Reliability practice questions
Practise PCA questions linked to Managing Implementation and Ensuring Solution and Operations Reliability.
Designing and Planning a Cloud Solution Architecture practice questions
Practise PCA questions linked to Designing and Planning a Cloud Solution Architecture.
Managing and Provisioning a Solution Infrastructure practice questions
Practise PCA questions linked to Managing and Provisioning a Solution Infrastructure.
Designing for Security and Compliance practice questions
Practise PCA questions linked to Designing for Security and Compliance.
Analysing and Optimising Technical and Business Processes practice questions
Practise PCA questions linked to Analysing and Optimising Technical and Business Processes.
Design and plan a cloud solution architecture practice questions
Practise PCA questions linked to Design and plan a cloud solution architecture.
Manage and provision cloud infrastructure practice questions
Practise PCA questions linked to Manage and provision cloud infrastructure.
Design for security and compliance practice questions
Practise PCA questions linked to Design for security and compliance.
Analyze and optimize technical and business processes practice questions
Practise PCA questions linked to Analyze and optimize technical and business processes.
Manage implementation of cloud architecture practice questions
Practise PCA questions linked to Manage implementation of cloud architecture.
Ensure solution and operations reliability practice questions
Practise PCA questions linked to Ensure solution and operations reliability.
PCA fundamentals practice questions
Practise PCA questions linked to PCA fundamentals.
Practice this exam
Start a free PCA practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this PCA question test?
Managing and Provisioning a Solution Infrastructure — This question tests Managing and Provisioning a Solution Infrastructure — Cloud Deploy rollback policy.
What is the correct answer to this question?
The correct answer is: Set an automatic rollback policy in the delivery pipeline definition — Cloud Deploy does have a built-in automatic rollback feature via the `rollback_policy` in the delivery pipeline definition. Setting this policy automatically rolls back a release if the rollout fails during the deploy step. Option B describes a custom solution that is unnecessary because the native policy exists. Option C is incorrect because approval gates are for manual approval and cannot automatically trigger a rollback. Option D is incorrect because no such global flag exists. Therefore, option A is correct.
What should I do if I get this PCA question wrong?
Review cloud Deploy rollback policy, then practise related PCA questions on the same topic to reinforce the concept.
What is the key concept behind this question?
Cloud Deploy rollback policy
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Keep practising
More PCA practice questions
- A company has a requirement to store application logs for 7 years for compliance. They are using Cloud Logging. What is…
- A company is migrating a legacy monolithic application to Google Cloud. The application runs on a single VM and uses a l…
- A financial services company is designing a multi-tier application on Google Cloud. The application must meet PCI DSS co…
- A company is migrating its on-premises workloads to Google Cloud. They have strict compliance requirements that all data…
- A company wants to optimize their cloud spending on Google Cloud. They have a mix of workloads including batch processin…
- An organization wants to enforce that all Compute Engine VMs are created with specific disk encryption keys. Which polic…
Last reviewed: Jul 4, 2026
This PCA practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCA exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.