Google Cloud Professional Cloud Developer — Question 193

You are running a containerized application on Google Kubernetes Engine. Your container images are stored in Container Registry. Your team uses CI/CD practices. You need to prevent the deployment of containers with known critical vulnerabilities. What should you do?

Answer options

Correct answer: D

Explanation

Option D is correct because it allows for programmatic review of vulnerability reporting through the Container Scanning API, ensuring that vulnerabilities can be systematically identified and addressed before deployment. Options A and B focus on using the Web Security Scanner, which is not the primary method for achieving the goal of programmatically preventing deployment based on critical vulnerabilities. Option C, while it mentions the Container Scanning API, does not include the programmatic aspect that is crucial for CI/CD practices.