Google Professional Cloud Developer Practice Exams
Last updated on Oct 22,2026- Exam Code: Professional Cloud Developer
- Exam Name: Professional Cloud Developer
- Certification Provider: Google
- Latest update: Oct 22,2026
Your website is deployed on Compute Engine. Your marketing team wants to test conversion rates between 3 different website designs.
Which approach should you use?
- A . Deploy the website on App Engine and use traffic splitting.
- B . Deploy the website on App Engine as three separate services.
- C . Deploy the website on Cloud Functions and use traffic splitting.
- D . Deploy the website on Cloud Functions as three separate functions.
A
Explanation:
Reference: https://cloud.google.com/appengine/docs/standard/python/splitting-traffic
You developed a JavaScript web application that needs to access Google Drive’s API and obtain permission from users to store files in their Google Drives. You need to select an authorization approach for your application.
What should you do?
- A . Create an API key.
- B . Create a SAML token.
- C . Create a service account.
- D . Create an OAuth Client ID.
D
Explanation:
Reference: https://developers.google.com/drive/api/v3/about-auth
You configured your Compute Engine instance group to scale automatically according to overall CPU usage. However, your application’s response latency increases sharply before the cluster has finished adding up instances. You want to provide a more consistent latency experience for your end users by changing the configuration ot the instance group autoscaler.
Which two configuration changes should you make? (Choose two.)
- A . Add the label “AUTOSCALE” to the instance group template.
- B . Decrease the cool-down period for instances added to the group.
- C . Increase the target CPU usage for the instance group autoscaler.
- D . Decrease the target CPU usage for the instance group autoscaler.
- E . Remove the health-check for individual VMs in the instance group.
Before promoting your new application code to production, you want to conduct testing across a variety of different users. Although this plan is risky, you want to test the new version of the application with production users and you want to control which users are forwarded to the new version of the application based on their operating system. If bugs are discovered in the new version, you want to roll back the newly deployed version of the application as quickly as possible.
What should you do?
- A . Deploy your application on Cloud Run. Use traffic splitting to direct a subset of user traffic to the new version based on the revision tag.
- B . Deploy your application on Google Kubernetes Engine with Anthos Service Mesh. Use traffic splitting to direct a subset of user traffic to the new version based on the user-agent header.
- C . Deploy your application on App Engine. Use traffic splitting to direct a subset of user traffic to the new version based on the IP address.
- D . Deploy your application on Compute Engine. Use Traffic Director to direct a subset of user traffic to the new version based on predefined weights.
You have an application that uses an HTTP Cloud Function to process user activity from both desktop browser and mobile application clients. This function will serve as the endpoint for all metric submissions using HTTP POST.
Due to legacy restrictions, the function must be mapped to a domain that is separate from the domain requested by users on web or mobile sessions. The domain for the Cloud Function is https://fn.example.com. Desktop and mobile clients use the domain https://www.example.com. You need to add a header to the function’s HTTP response so that only those browser and mobile sessions can submit metrics to the Cloud Function.
Which response header should you add?
- A . Access-Control-Allow-Origin: *
- B . Access-Control-Allow-Origin: https://*.example.com
- C . Access-Control-Allow-Origin: https://fn.example.com
- D . Access-Control-Allow-origin: https://www.example.com
Your company uses Cloud Logging to manage large volumes of log data. You need to build a real-time log analysis architecture that pushes logs to a third-party application for processing.
What should you do?
- A . Create a Cloud Logging log export to Pub/Sub.
- B . Create a Cloud Logging log export to BigQuery.
- C . Create a Cloud Logging log export to Cloud Storage.
- D . Create a Cloud Function to read Cloud Logging log entries and send them to the third-party application.
Your company uses Cloud Logging to manage large volumes of log data. You need to build a real-time log analysis architecture that pushes logs to a third-party application for processing.
What should you do?
- A . Create a Cloud Logging log export to Pub/Sub.
- B . Create a Cloud Logging log export to BigQuery.
- C . Create a Cloud Logging log export to Cloud Storage.
- D . Create a Cloud Function to read Cloud Logging log entries and send them to the third-party application.
You have an application running in a production Google Kubernetes Engine (GKE) cluster. You use Cloud Deploy to automatically deploy your application to your production GKE cluster. As part of your development process: you are planning to make frequent changes to the applications source code and need to select the tools to test the changes before pushing them to your remote source code repository.
Your toolset must meet the following requirements:
• Test frequent local changes automatically.
• Local deployment emulates production deployment.
Which tools should you use to test building and running a container on your laptop using minimal resources’?
- A . Terraform and kubeadm
- B . Docker Compose and dockerd
- C . Minikube and Skaffold
- D . kaniko and Tekton
You have an application in production. It is deployed on Compute Engine virtual machine instances controlled by a managed instance group. Traffic is routed to the instances via a HTTP(s) load balancer. Your users are unable to access your application. You want to implement a monitoring technique to alert you when the application is unavailable.
Which technique should you choose?
- A . Smoke tests
- B . Stackdriver uptime checks
- C . Cloud Load Balancing – heath checks
- D . Managed instance group – heath checks
B
Explanation:
Reference: https://medium.com/google-cloud/stackdriver-monitoring-automation-part-3-uptime-checks-476b8507f59c
You migrated some of your applications to Google Cloud. You are using a legacy monitoring platform deployed on-premises for both on-premises and cloud-deployed applications. You discover that your notification system is responding slowly to time-critical problems in the cloud applications.
What should you do?
- A . Replace your monitoring platform with Cloud Monitoring.
- B . Install the Cloud Monitoring agent on your Compute Engine instances.
- C . Migrate some traffic back to your old platform. Perform A/B testing on the two platforms concurrently.
- D . Use Cloud Logging and Cloud Monitoring to capture logs, monitor, and send alerts. Send them to your existing platform.