Skip to content

Building and testing applications Questions

Practice questions for Building and testing applications topic in Google Professional Cloud Developer. 48 questions covering this domain.

48 questions12 easy25 medium11 hard
Q1
easy

In Cloud Build, how are individual build steps executed?

Q2
easy

A developer wants a browser-based shell with gcloud already installed and a persistent home directory between sessions. Which environment should they ...

Q3
medium

A developer needs a local ADC file in the well-known location for client libraries during development. Which command should they run?

Q4
hard

New hires take too long to bootstrap local environments, and platform engineers want one centrally managed development template that updates workstati...

Q5
easy

Which Google Cloud service is the recommended place to store Docker images and packages for builds and deployments?

Q6
hard

A release engineering team wants builds to happen in a trusted ephemeral environment instead of on developer laptops, and they also want provenance th...

Q7
medium

A repository should automatically build whenever code is pushed to the main branch. Which Cloud Build feature should the team configure?

Q8
medium

A supply-chain team wants verifiable metadata showing which source, toolchain, and image digests were involved in a build. What Cloud Build capability...

Q9
medium

A developer wants IDE support for GKE and Cloud Run, integrated authentication, and local feedback with tools like Skaffold and kubectl. Which tool be...

Q10
hard

A developer needs to create, debug, and deploy Cloud Run and GKE applications from the IDE, using explorers, samples, and continuous local feedback. W...

Q11
medium

A developer runs gcloud run deploy --source on a directory that has no Dockerfile. What does Google Cloud use by default to build the container image?

Q12
medium

A platform team wants preconfigured cloud development environments that developers can access from a browser or local IDE, with a persistent home dire...

Q13
easy

Which Google Cloud service is the recommended secure store for source code with integration to Cloud Build and other Google Cloud services?

Q14
hard

A regulated team needs verifiable build provenance for every artifact (source, builder, materials) that downstream policies and auditors can consume. ...

Q15
medium

A developer wants to run unit tests as part of the Cloud Build pipeline before building the container image. Which approach is most idiomatic?

Q16
easy

In Cloud Build, what file declares build steps and is committed to a repository?

Q17
easy

Which capability lets developers run Cloud Build steps inside their Google Cloud project network with private worker VMs?

Q18
medium

A developer wants Cloud Build pipelines to populate metadata that downstream Binary Authorization policies can verify before deployment. Which artifac...

Q19
hard

A developer needs to build and push container images securely from a CI system that runs outside Google Cloud, without storing service account JSON ke...

Q20
medium

A developer wants Cloud Build to push a built image to Artifact Registry only when the build succeeds. Which configuration approach is appropriate?

Sign in to see all 48 questions

Create a free account to browse all questions — completely free during our launch phase.