
Explanation:
Correct Answer: C
The command gcloud deployment-manager deployments update --config is the right choice because it updates an existing deployment without the need to create a new one, thus minimizing the risk of downtime.
Why not the others?
For more details, refer to the Create deployment and Update deployment documentation.
Imagine you're at a leading e-commerce company with thousands of users accessing your website every minute. You've set up a deployment using the Deployment Manager and have just updated the deployment definition file to include a new Compute Engine instance. Your goal is to update the deployment on Google Cloud Platform without causing any downtime for existing resources. Which command should you use?
A
gcloud deployment-manager resources update --config
B
gcloud deployment-manager deployments create --config
C
gcloud deployment-manager deployments update --config
D
gcloud deployment-manager resources create --config
No comments yet.