Google Cloud Professional Cloud DevOps Engineer — Question 72
You are ready to deploy a new feature of a web-based application to production. You want to use Google Kubernetes Engine (GKE) to perform a phased rollout to half of the web server pods.
What should you do?
Answer options
- A. Use a partitioned rolling update.
- B. Use Node taints with NoExecute.
- C. Use a replica set in the deployment specification.
- D. Use a stateful set with parallel pod management policy.
Correct answer: A
Explanation
The correct answer is A, as a partitioned rolling update allows you to gradually roll out changes to a specified portion of your pods, which matches the requirement for a phased rollout. Options B, C, and D do not facilitate a phased rollout of features; instead, they pertain to pod scheduling or types of deployment that do not support the gradual update of features.