You will deploy many Linux container images to GKE and need alerts for known OS vulnerabilities before deployment. Following Google best practices, what should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Enable Container Analysis and push new container images to Artifact Registry; review vulnerability results before each deployment..
Why this is the answer
The correct answer is to enable Container Analysis and push new container images to Artifact Registry, then review vulnerability results before each deployment. This aligns with Google's recommended best practices for securing container images. Container Analysis automatically scans images pushed to Artifact Registry for known vulnerabilities and provides detailed insights. Reviewing these results before deployment ensures that only secure images are promoted to production. Using the gcloud CLI or the REST API to invoke Container Analysis directly for each image is less efficient and prone to manual error compared to the automated scanning provided by integrating with Artifact Registry. While reviewing only critical vulnerabilities might seem efficient, it increases risk by ignoring medium or low-severity issues that could still be exploited. A comprehensive review of all vulnerability results is crucial for maintaining a strong security posture.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed