GCP Professional Cloud Security Engineer Practice Question

Your security team needs an end-to-end control that automatically scans every container image built by Cloud Build as soon as it is pushed to Artifact Registry, and blocks deployment of any image that contains HIGH or CRITICAL CVEs from reaching the production GKE clusters. The solution must rely solely on managed Google Cloud services, avoid custom scanning steps in Cloud Build, and surface findings centrally in Security Command Center. What should you do?

  • Migrate images to Container Registry, enable its legacy vulnerability scanning feature, and configure Cloud Build to query the Container Analysis API; if any HIGH or CRITICAL vulnerability is reported, tag the image with "do-not-deploy" and push it back to the registry.

  • Add a Cloud Build step that runs the gcloud artifacts docker images scan command for each image and fails the build if any HIGH or CRITICAL vulnerability is found before pushing the image to Artifact Registry.

  • Deploy an open-source scanning DaemonSet such as Trivy on each GKE cluster, configure it to poll images pulled from Artifact Registry, and create Cloud Monitoring alerts for HIGH or CRITICAL findings.

  • Enable vulnerability scanning on the Artifact Registry repository and turn on Binary Authorization vulnerability-based admission with a maximum allowed severity of MEDIUM, then enforce Binary Authorization on the production GKE clusters.

GCP Professional Cloud Security Engineer
Managing operations
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot