Google Cloud Professional Cloud Developer — Question 11

Your company's development teams want to use Cloud Build in their projects to build and push Docker images to Container Registry. The operations team requires all Docker images to be published to a centralized, securely managed Docker registry that the operations team manages.
What should you do?

Answer options

Correct answer: B

Explanation

Option B is correct because it allows the operations team to manage a centralized Docker registry while ensuring that development teams have appropriate access through permissions. Option A fails to provide a centralized registry, which is a requirement. Option C complicates the process with unnecessary service accounts and key management. Option D does not use the managed Container Registry, which is less secure and more complex to manage.