PROFESSIONAL-CLOUD-DEVELOPER · Question #58
PROFESSIONAL-CLOUD-DEVELOPER Question #58: Real Exam Question with Answer & Explanation
Sign in or unlock PROFESSIONAL-CLOUD-DEVELOPER to reveal the answer and full explanation for question #58. The question stem and answer options stay visible for context.
Question
Your application is deployed in a Google Kubernetes Engine (GKE) cluster. When a new version of your application is released, your CI/CD tool updates the spec.template.spec.containers[0].image value to reference the Docker image of your new application version. When the Deployment object applies the change, you want to deploy at least 1 replica of the new version and maintain the previous replicas until the new replica is healthy. Which change should you make to the GKE Deployment object shown below?
Options
- ASet the Deployment strategy to RollingUpdate with maxSurge set to 0, maxUnavailable set to 1.
- BSet the Deployment strategy to RollingUpdate with maxSurge set to 1, maxUnavailable set to 0.
- CSet the Deployment strategy to Recreate with maxSurge set to 0, maxUnavailable set to 1.
- DSet the Deployment strategy to Recreate with maxSurge set to 1, maxUnavailable set to 0.
Unlock PROFESSIONAL-CLOUD-DEVELOPER to see the answer
You've previewed enough free PROFESSIONAL-CLOUD-DEVELOPER questions. Unlock PROFESSIONAL-CLOUD-DEVELOPER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.