Free Professional Cloud Developer Practice Questions
200 free questions · Answer explanations · No signup required
View examination details, outline and sourcesLoading selected examination banks…
Sample Practice Questions
Try these 10 sample questions from the Professional Cloud Developer practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.
1A Cloud Run API has sporadic traffic. Its design requires one idle instance to remain available between requests. Which setting directly meets that requirement?
- A. Set maximum instances to one.
- B. Set minimum instances to one.
- C. Set maximum concurrency to one.
- D. Set the request timeout to one minute.
Answer: B
Explanation: "To keep idle instances permanently available, use the min-instance setting." A minimum of one keeps one idle instance available. Maximum instances, concurrency, and timeout settings do not establish this floor.
Reference: About instance autoscaling in Cloud Run services — Idle instances and minimizing cold starts
2Which statement correctly describes the Cloud Shell development environment?
- A. It requires a local Docker installation before running any CLI command.
- B. It supplies a browser terminal with the gcloud CLI pre-installed and authenticated.
- C. It requires a user-managed Kubernetes cluster for every terminal session.
- D. It supplies only an editor and requires a separate local CLI installation.
3A developer is in a service's source directory and wants Cloud Run to build and deploy it using the standard source deployment flow. Which command fits?
- A. gcloud run deploy SERVICE --image .
- B. gcloud builds submit --no-source
- C. gcloud run deploy SERVICE --source .
- D. gcloud run services describe SERVICE
4An application opens a new Cloud SQL connection for every short request. It should reuse established connections across requests to reduce overhead. Which connection-management design provides that reuse?
- A. Create a fresh connection for every statement.
- B. Keep every request's connection permanently reserved.
- C. Use a connection pool and return borrowed connections after use.
- D. Create a new connection pool for each request and discard it afterward.
5A Cloud Run design proposes scaling out whenever memory utilization reaches a target. How should the developer assess this proposal?
- A. It works when memory utilization exceeds the CPU target.
- B. It works only when the maximum instance count is unlimited.
- C. It is unsupported by Cloud Run's built-in autoscaler.
- D. It becomes the default when request concurrency is one.
6A platform team wants reproducible Cloud Workstations environments defining VM type, container image, and persistent storage. Which resource acts as the template?
- A. A workstation cluster
- B. A workstation session
- C. A workstation configuration
- D. A Kubernetes Deployment
7A source directory contains a Dockerfile. When deploying it to Cloud Run with the source-with-build flow, how is the container built?
- A. The Dockerfile is ignored and buildpacks are always used.
- B. The deployment is rejected because source deployments forbid Dockerfiles.
- C. The Dockerfile and buildpacks run sequentially to create two separate images.
- D. The uploaded source is built using that Dockerfile.
Answer: D
Explanation: "If a Dockerfile is present in the source code directory, the uploaded source code is built using that Dockerfile." Buildpacks detect the language when no Dockerfile is present; they do not override a provided Dockerfile.
Reference: Deploy services from source code — Deploy services from source code
8Forty application instances may each open an equal-sized Cloud SQL pool. The application's total connection budget is 200, with no other connections using that budget. What is the highest per-instance pool limit that stays within it?
- A. 2 connections
- B. 4 connections
- C. 10 connections
- D. 5 connections
9A single-threaded CPU-bound Cloud Run application uses a multi-CPU instance. One CPU is busy, but the average CPU scaling signal is low. What explains this behavior?
- A. CPU utilization is averaged across the allocated CPUs.
- B. CPU utilization is measured only while instances are idle.
- C. CPU utilization is inferred from the configured memory limit.
- D. CPU utilization excludes threads that process HTTP requests.
Answer: A
Explanation: "When Cloud Run scales based on CPU utilization, it considers the average CPU utilization across all CPUs allocated to an instance." A single busy thread can be diluted by idle allocated CPUs, lowering the average scaling signal.
Reference: About instance autoscaling in Cloud Run services — Metrics-based scaling
10A Cloud Workstations administrator changes a configuration's machine type. When do associated workstations use the updated configuration?
- A. Only after each workstation is permanently deleted
- B. Immediately inside every running workstation process
- C. Only after its persistent home directory is erased
- D. When each workstation next restarts
Topics in this practice bank
These topics describe the available practice for Professional Cloud Developer. Review the examination outline and its sources for scope and allocation details.
Designing highly scalable, secure, and reliable cloud-native applications
- Designing high-performing applications and APIs
- Designing secure applications
- Storing and accessing data
Building and testing applications
- Setting up your development environment
- Building
- Testing
Configuring cloud-native applications for deployment
- Deploying applications to Cloud Run
- Deploying containers to GKE
Integrating applications with Google Cloud services
- Integrating applications with data and storage services
- Consuming Google Cloud APIs
- Troubleshooting and observability
How to use these free practice questions
Choose an answer, check the explanation, and review your progress by chapter. Practice questions and explanations are free to access without signing up.
These are independent study questions, not actual examination items. For examination requirements and official information, view Professional Cloud Developer details.