Google Cloud Digital Leader — Question 59
Your company's development team is building an application that will be deployed on Cloud Run. You are designing a CI/CD pipeline so that any new version of the application can be deployed in the fewest number of steps possible using the CI/CD pipeline you are designing. You need to select a storage location for the images of the application after the CI part of your pipeline has built them.
What should you do?
Answer options
- A. Create a Compute Engine image containing the application
- B. Store the images in Container Registry
- C. Store the images in Cloud Storage
- D. Create a Compute Engine disk containing the application
Correct answer: B
Explanation
Storing the images in Container Registry (Option B) is the best choice because it is specifically designed for managing Docker images and integrates seamlessly with Cloud Run. Options A and D involve Compute Engine, which is not optimal for containerized applications, while Option C, Cloud Storage, is not tailored for storing and managing container images effectively.