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 Architect · Google Cloud
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
A is correct. The command kubectl set image deployment/echo-deployment <new-image> updates the container image in the deployment. Kubernetes will handle the rolling update for you, ensuring that some pods are always running during the update process.
A is ok.
The correct answer is: A. Use kubectl set image deployment/echo-deployment <new-image> Explanation: Rolling Updates: Kubernetes deployments support rolling updates by default. This means that when you update the deployment, Kubernetes will gradually replace the old pods with new ones, ensuring minimal downtime. Why A is Correct: The command kubectl set image deployment/echo-deployment <new-image> updates the container image in the deployment. Kubernetes will handle the rolling update for you, ensuring that some pods are always running during the update process.