Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Google Cloud Certified Professional Cloud Developer · Google Cloud
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
B. Set the Deployment strategy to RollingUpdate with maxSurge set to 1, maxUnavailable set to 0: maxSurge set to 1 allows the Deployment to exceed the desired number of Pods by one, permitting the creation of an additional new Pod before terminating the old ones, which aligns with the requirement. maxUnavailable set to 0 ensures that all existing Pods must remain available during the update, which again meets the requirement.
"maxSurge=1" means that at least one VM has to stay up during the RU process.
Option B is the correct one.