GCP Professional Cloud Architect Practice Question

Your organization is migrating on-prem CI/CD pipelines to Google Cloud for a microservices application running on GKE. The new process must:

  1. Use a managed Git repo for code pushes.
  2. Have a managed service that builds container images, runs unit tests, and stores artifacts in a private registry.
  3. Automatically scan images for vulnerabilities and licenses.
  4. Require human approval before production promotion.
  5. Minimize infrastructure maintenance. Which design meets these needs?
  • Run Jenkins on a Compute Engine instance to build Docker images, store them in Cloud Storage, scan them with a third-party plugin, and deploy using Deployment Manager templates.

  • Use Cloud Source Repositories with a Cloud Build trigger that builds and tests the code, stores the image in Artifact Registry with vulnerability scanning enabled, and delivers through Cloud Deploy with a manual approval gate before the production target.

  • Trigger a Cloud Function on each commit that builds the image locally, pushes it to Artifact Registry, and schedules a rollout to production using Cloud Scheduler without requiring manual approval.

  • Use Cloud Build to build and push images to Container Registry, then run a custom GKE job that invokes the open-source Clair scanner; after scanning, deploy to GKE automatically with kubectl.

GCP Professional Cloud Architect
Analyzing and optimizing technical and business processes
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