exam questions

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 346 discussion

Actual exam question from Google's Professional Cloud Developer
Question #: 346
Topic #: 1
[All Professional Cloud Developer Questions]

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?

  • A. Rebuild the Docker image for each environment, and tag it with the specific environment name.
  • B. Build a separate Docker image for each new version of the application, and tag it with the version number.
  • C. Implement Helm charts to manage your container deployments.
  • D. Use a Docker registry to store the container images, and create separate repositories for each version of the application.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Pime13
3 weeks, 6 days ago
Selected Answer: B
https://labex.io/tutorials/docker-how-to-optimize-docker-image-versioning-and-tagging-392568 https://dev.to/shricodev/effortless-app-rollbacks-with-docker-and-version-control-3ld2
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...