GCP Professional Cloud Security Engineer Practice Question

Your team maintains a Cloud Build pipeline that builds container images for a business-critical microservice, pushes them to Artifact Registry, and then deploys the image to Cloud Run. A new compliance policy states that any image containing HIGH or CRITICAL vulnerabilities must never be deployed. You need to implement automated enforcement without introducing third-party scanners or manual approval steps, and the build should fail as early as possible when disallowed vulnerabilities are detected. Which design meets these requirements while keeping operational overhead low?

  • Insert an open-source container scanner as an additional Jenkins stage after Cloud Build completes; have Jenkins delete the Cloud Run service when HIGH or CRITICAL issues are found.

  • Schedule a daily Cloud Scheduler job that exports vulnerability findings from Security Command Center; trigger a rollback of the Cloud Run service via Pub/Sub if HIGH or CRITICAL findings are present.

  • Configure Cloud Run with Binary Authorization in Dry Run mode so deployments containing HIGH or CRITICAL vulnerabilities are logged; allow the pipeline to proceed only after manual verification.

  • Enable Container Analysis vulnerability scanning on the Artifact Registry repository and add a Cloud Build step that runs "gcloud artifacts docker images list-vulnerabilities" for the just-built image, exiting with a non-zero status if any HIGH or CRITICAL findings are detected before the deploy step.

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