Google
PROFESSIONAL-CLOUD-DEVELOPER · Question #270
You are reviewing and updating your Cloud Build steps to adhere to best practices. Currently, your build steps include: 1. Pull the source code from a source repository. 2. Build a container image 3.
Sign in or unlock PROFESSIONAL-CLOUD-DEVELOPER to reveal the answer and full explanation for question #270. The question stem and answer options stay visible for context.
Implementing Security
Question
You are reviewing and updating your Cloud Build steps to adhere to best practices. Currently, your build steps include: 1. Pull the source code from a source repository. 2. Build a container image 3. Upload the built image to Artifact Registry. You need to add a step to perform a vulnerability scan of the built container image, and you want the results of the scan to be available to your deployment pipeline running in Google Cloud. You want to minimize changes that could disrupt other teams' processes. What should you do?
Options
- AEnable Binary Authorization, and configure it to attest that no vulnerabilities exist in a container
- BUpload the built container images to your Docker Hub instance, and scan them for vulnerabilities.
- CEnable the Container Scanning API in Artifact Registry, and scan the built container images for
- DAdd Artifact Registry to your Aqua Security instance, and scan the built container images for
Unlock PROFESSIONAL-CLOUD-DEVELOPER to see the answer
You've previewed enough free PROFESSIONAL-CLOUD-DEVELOPER questions. Unlock PROFESSIONAL-CLOUD-DEVELOPER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Container Security#Artifact Registry#Vulnerability Scanning#CI/CD