Question 783 of 1,000

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

Client DHCP Server 1 Discover (broadcast) 2 Offer (IP: 192.168.1.10) 3 Request (I accept) 4 Acknowledge (lease confirmed) DORA — the four-step DHCP lease process

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.

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 →

How Courseiva writes practice questions · Editorial policy

Keep practising

More PCA practice questions

Last reviewed: Jul 4, 2026

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.

Loading comments…

Sign in to join the discussion.

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.