D2: Building with Cloud Build
Google Cloud Professional Cloud Developer exam practice questions · 10 flashcards
Question
What is Cloud Build?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Building with Cloud Build practice questions and answers
- What is Cloud Build?Serverless CI/CD service that runs build steps in containers.
- What file defines a build?cloudbuild.yaml (or a Dockerfile for simple builds).
- What is a build step?A container image (builder) running commands, e.g. docker, gcloud, npm.
- How do you build and push an image quickly?gcloud builds submit --tag REGION-docker.pkg.dev/PROJECT/REPO/IMAGE.
- What are build triggers?Start builds on repository events (push, PR, tags).
- What are substitutions?Variables like $PROJECT_ID, $SHORT_SHA or custom _VARS.
- What is the images field?Lists images to push to Artifact Registry after the build.
- What are private pools?Dedicated workers with private network access.
- How to use secrets in builds?availableSecrets referencing Secret Manager.
- How to speed up builds?Kaniko cache or Docker layer caching, larger machine types.