Professional Cloud Developer Exam QuestionsBrowse all questions from this exam

Professional Cloud Developer Exam - Question 158


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?

Show Answer
Correct Answer: CD

To prevent the deployment of containers with known critical vulnerabilities in a Google Kubernetes Engine environment, the most effective approach involves using Google's container security tools. First, enable the Container Scanning API to automatically perform vulnerability scanning of your container images stored in the Container Registry. Then, programmatically review the vulnerability reports generated by the Container Scanning API to ensure that the containers are free from critical vulnerabilities. Finally, implement Binary Authorization, which enforces a policy requiring an attestation that the container is free of known critical vulnerabilities before it can be deployed. This method ensures a systematic and automated approach to maintaining secure container deployments.

Discussion

8 comments
Sign in to comment
xiaofeng_0226Option: C
Nov 12, 2023

i think c is correct

zellckOption: D
Dec 16, 2022

D is the answer. https://cloud.google.com/binary-authorization/docs/creating-attestations-kritis

TNT87Option: D
Dec 25, 2022

https://cloud.google.com/container-analysis/docs/automated-scanning-howto#view-code https://cloud.google.com/binary-authorization/docs Answer D

RajanOption: D
Sep 23, 2023

D is correct.

KlaasvROption: D
Dec 14, 2022

I would go for D https://cloud.google.com/container-analysis/docs/os-overview

telpOption: D
Jan 8, 2023

Answer is D, use the default tools provided by google like container analysis.

purushiOption: D
Aug 6, 2023

Using container scanning API is a better choice.

d_ella2001Option: D
Jul 12, 2024

D is correct