Professional Cloud Architect practice question · Analyzing and optimizing technical and business processes
A team's releases are slow because, after every commit, an engineer compiles the code, runs unit tests and builds a…
A team's releases are slow because, after every commit, an engineer compiles the code, runs unit tests and builds a container image by hand. The team wants these steps to run automatically whenever code is pushed to the repository. Which Google Cloud service should run them?
- ACloud Build, with a trigger on the repository that runs the build config on each push
- BCloud Deploy, with a delivery pipeline that promotes releases through each target
- CCloud Scheduler, with a cron job that calls a build script every few minutes
- DArtifact Registry, with a repository that stores each new container image version
Show the answer and explanation
Correct answer: A) Cloud Build, with a trigger on the repository that runs the build config on each push
Cloud Build triggers run build, test and image steps automatically on each push, so they replace the manual CI work. Cloud Deploy covers release promotion (CD), and Artifact Registry only stores the artifacts.
Why each option is right or wrong
- A) Correct. Cloud Build is Google Cloud's managed CI/CD platform. A build trigger starts a build whenever changes are pushed, and the build config's steps can compile code, run tests, build images and deploy them.
- B) Incorrect. Cloud Deploy handles continuous delivery: it promotes an existing release through target environments. It doesn't compile source or run unit tests, and it is usually invoked at the end of a CI process such as Cloud Build.
- C) Incorrect. Cloud Scheduler fires on a time schedule, not on repository push events, and it doesn't provide a build environment. Polling on a timer adds delay and doesn't remove the need for a build service.
- D) Incorrect. Artifact Registry stores and versions build outputs such as container images. It doesn't run compilation or test steps.
- Exam domain
- Analyzing and optimizing technical and business processes · ~15% of Professional Cloud Architect
- Question type
- Multiple choice (one answer)
Related Professional Cloud Architect questions
- Several times a day at fixed times, operations staff export records from an order system, reformat them, and load them…Analyzing and optimizing technical and business processes
- A media site serves large, frequently requested static files to a global audience directly from a Standard-class…Analyzing and optimizing technical and business processes
- Whenever a specific Cloud Monitoring alert fires, the on-call engineer runs the same three gcloud commands to fix the…Analyzing and optimizing technical and business processes
- Every night, a company exports a multi-terabyte Cloud SQL for PostgreSQL database and fully rebuilds a date-partitioned…Analyzing and optimizing technical and business processes
All 49 free Professional Cloud Architect questions by domain · 15 sample questions on one page
Practise the full Professional Cloud Architect exam
This question is one of a small free sample from the CertRidge Professional Cloud Architect bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with Google Cloud; never copied from the real exam.