Google Cloud Professional Cloud DevOps Engineer — Question 179

You use Artifact Registry to store container images built with Cloud Build. You need to ensure that all existing and new images are continuously scanned for vulnerabilities. You also want to track who pushed each image to the registry. What should you do?

Answer options

Correct answer: A

Explanation

Option A is correct because it ensures continuous scanning of both existing and new images while also using Cloud Audit Logs to track the user who uploaded each image. Options B and C do not provide a complete solution for tracking uploads, and option D only focuses on new image tags without addressing existing images or comprehensive tracking.