Professional Cloud DevOps Engineer free question 3 / 10 · Domain 2: Building, implementing, and maintaining CI/CD pipelines, including continuous testing, for application, infrastructure, and ML workloads
A Cloud Deploy pipeline deploys to four production clusters in parallel through a multi-target. The release manager wants an approval before production deployment starts. Where is the approval configured?
- On the controller rollout after it is created, using a flag that marks it pending approval
- On the delivery pipeline, as a property that applies to the stages it contains
- On the multi-target, with requireApproval set to true on that target definition
- On the four child targets, so that the clusters get approvals of their own before deployment
Show the answer and explanation
Answer: C
Why this is correct
Parallel deployment uses a multi-target as the stage in the pipeline, and the multi-target references child targets that receive the application at the same time. The multi-target can be configured for approval, but the child targets cannot include requireApproval: true. The approval therefore gates the whole parallel deployment.
Why the other options are wrong
"On the four child targets, so that the clusters get approvals of their own before deployment" … Child targets cannot include requireApproval: true. Approval is set on the multi-target.
"On the delivery pipeline, as a property that applies to the stages it contains" … Approval is a property of a target. It is not set at the pipeline level.
"On the controller rollout after it is created, using a flag that marks it pending approval" … Whether a rollout waits for approval comes from the target it deploys to. The multi-target definition carries the requireApproval setting.
Key points
Put approvals on the multi-target, and keep runtime properties such as gke or run on the child targets.