Google Cloud Associate Cloud Engineer — Question 37

You need to update a deployment in Deployment Manager without any resource downtime in the deployment. Which command should you use?

Answer options

Correct answer: B

Explanation

The correct command to update a deployment without downtime is 'gcloud deployment-manager deployments update --config <deployment-config-path>' (Option B). Options A and C are for creating new deployments and resources, respectively, which would not achieve the goal of updating an existing deployment. Option D pertains to updating resources directly, which does not provide the same level of deployment management as Option B.