Courseiva

Google PCA Practice Question: Managing Implementation and Ensuring Solution and Operations Reliability

Your team uses Cloud Deploy to manage canary deployments on GKE. You want to automatically roll back a release if the error rate increases by more than 5% within 10 minutes after the canary receives 10% of traffic. Which approach meets this requirement?

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

Use the Cloud Deploy rollout strategy with a canary phase and set the 'failurePolicy' to 'ROLLBACK' with a metric threshold.

Cloud Deploy supports canary deployments with automatic rollback based on Cloud Monitoring metrics. You can define a rollout strategy with a canary phase and attach an alert policy that triggers a rollback. Cloud Deploy integrates with Cloud Monitoring to watch metrics. Manual verification or Cloud Build does not provide automatic rollback based on metrics.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Configure a Cloud Build trigger to run a script that checks logs and rolls back if error rate exceeds threshold.

    Why it's wrong here

    Cloud Build is for CI/CD, not for real-time monitoring and automatic rollback during canary.

  • Use the Cloud Deploy rollout strategy with a canary phase and set the 'failurePolicy' to 'ROLLBACK' with a metric threshold.

    Why this is correct

    Cloud Deploy supports automatic rollback based on metric thresholds during canary phases.

  • Set up a Cloud Monitoring alert with a notification to the SRE team and have them manually roll back.

    Why it's wrong here

    Manual rollback does not meet the automatic requirement and is slower.

  • Use GKE blue-green deployment with a manual verification step before switching traffic.

    Why it's wrong here

    Blue-green deployments require manual verification; no automatic rollback on error rate increase.

About these practice questions

This PCA question is part of Courseiva's 955-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.