nerdexam
Google

PROFESSIONAL-CLOUD-DEVELOPER · Question #363

You maintain a CI/CD pipeline for an application running on GKE. You use Cloud Build to create container images and push the images to Artifact Registry. When you build the image, you use the latest t

Sign in or unlock PROFESSIONAL-CLOUD-DEVELOPER to reveal the answer and full explanation for question #363. The question stem and answer options stay visible for context.

Deploying Applications

Question

You maintain a CI/CD pipeline for an application running on GKE. You use Cloud Build to create container images and push the images to Artifact Registry. When you build the image, you use the latest tag in your pipeline. You recently had to roll back a deployment 24 hours after rollout. The rollback process was difficult because the latest tag had been overwritten. You need to prevent this issue in the future. You want to use the most efficient approach. What should you do?

Options

  • ARebuild the Docker image for each environment, and tag it with the specific environment name.
  • BBuild a separate Docker image for each new version of the application, and tag it with the version
  • CImplement Helm charts to manage your container deployments.
  • DUse a Docker registry to store the container images, and create separate repositories for each

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.

Topics

#CI/CD#Container Image Tagging#Artifact Registry#Deployment Management
Full PROFESSIONAL-CLOUD-DEVELOPER Practice