Home / Google / GCP-PCD
Google · GCP-PCD

GCP-PCD Exam Practice Questions

Google Professional Cloud Developer

GCP-PCD English PDF practice questions: 379 questions with answers and available explanations. Access covers this exam only. One-time payment; no automatic renewal.

Exam overview

For developers designing, testing and deploying cloud-native applications and integrating Google Cloud services.

Exam code
GCP-PCD
Official exam / credential
Google Professional Cloud Developer
Exam format
50–60 single-answer and multiple-select questions (standard exam)
Exam duration
120 minutes
Official exam languages
English, Japanese

Official exam languages and practice-question file languages are listed separately. Confirm the exam version and available languages when booking with the provider.

Official sources: Provider reference
Information checked: 2026-10-20

How to prepare for GCP-PCD

Start with the provider’s current objectives as a checklist, then test whether you can explain each topic and apply it in a practical setting. Use the free sample questions as a diagnostic for finding the areas that need review.

  1. Attempt the question before opening its answer and explanation.
  2. For every missed question, verify the underlying concept with official documentation or hands-on practice instead of memorising an answer.
  3. Before booking, recheck the exam code, version and available test languages on the provider’s official page.

View the free sample questions · Build a PDF study plan

Supported languages

  • English
  • Simplified Chinese
Try before you buy

First 20 practice questions

379 total questions

Questions follow the source order. Expand each answer to see its explanation.

Disclaimer: All questions on ExamPico are compiled from internet sources and are provided for study reference only.

Question 1

You want to upload files from an on-premises virtual machine to Google Cloud Storage as part of a data migration. These files will be consumed by Cloud
DataProc Hadoop cluster in a GCP environment.
Which command should you use?

  1. A. gsutil cp [LOCAL_OBJECT] gs://[DESTINATION_BUCKET_NAME]/
  2. B. gcloud cp [LOCAL_OBJECT] gs://[DESTINATION_BUCKET_NAME]/
  3. C. hadoop fs cp [LOCAL_OBJECT] gs://[DESTINATION_BUCKET_NAME]/
  4. D. gcloud dataproc cp [LOCAL_OBJECT] gs://[DESTINATION_BUCKET_NAME]/
Show answer and explanation

Answer

A

Explanation

The gsutil cp command allows you to copy data between your local file. storage. boto files generated by running 'gsutil config'

Question 2

You migrated your applications to Google Cloud Platform and kept your existing monitoring platform. You now find that your notification system is too slow for time critical problems.
What should you do?

  1. A. Replace your entire monitoring platform with Stackdriver.
  2. B. Install the Stackdriver agents on your Compute Engine instances.
  3. C. Use Stackdriver to capture and alert on logs, then ship them to your existing platform.
  4. D. Migrate some traffic back to your old platform and perform AB testing on the two platforms concurrently.
Show answer and explanation

Answer

C

Explanation

The task does not indicate that we should get rid of the old software. The pain point is slowness for time critical problems only. Thus we would use Stackdriver for the time critical alerts and still utilize the old platform for further analysis/storing of logs or whatever its business case is.

Question 3

You are planning to migrate a MySQL database to the managed Cloud SQL database for Google Cloud. You have Compute Engine virtual machine instances that will connect with this Cloud SQL instance. You do not want to whitelist IPs for the Compute Engine instances to be able to access Cloud SQL.
What should you do?

  1. A. Enable private IP for the Cloud SQL instance.
  2. B. Whitelist a project to access Cloud SQL, and add Compute Engine instances in the whitelisted project.
  3. C. Create a role in Cloud SQL that allows access to the database from external instances, and assign the Compute Engine instances to that role.
  4. D. Create a CloudSQL instance on one project. Create Compute engine instances in a different project. Create a VPN between these two projects to allow internal access to CloudSQL.
Show answer and explanation

Answer

A

Explanation

Enabling private IP allows your Cloud SQL instance to be accessed via internal IP addresses within your Virtual Private Cloud (VPC) network. This way, your Compute Engine instances can connect to the Cloud SQL instance without the need to whitelist external IPs, ensuring secure and private communication within your GCP environment.

Question 4

You have deployed an HTTP(s) Load Balancer with the gcloud commands shown below.
Question illustration
Health checks to port 80 on the Compute Engine virtual machine instance are failing and no traffic is sent to your instances. You want to resolve the problem.
Which commands should you run?

  1. A. gcloud compute instances add-access-config ${NAME}-backend-instance-1
  2. B. gcloud compute instances add-tags ${NAME}-backend-instance-1 --tags http-server
  3. C. gcloud compute firewall-rules create allow-lb --network load-balancer --allow tcp --source-ranges 130.211.0.0/22,35.191.0.0/16 --direction INGRESS
  4. D. gcloud compute firewall-rules create allow-lb --network load-balancer --allow tcp --destination-ranges 130.211.0.0/22,35.191.0.0/16 --direction EGRESS
Show answer and explanation

Answer

C

Explanation

Reference:
https://cloud.google.com/vpc/docs/special-configurations

Question 5

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?

  1. A. Deploy the website on App Engine and use traffic splitting.
  2. B. Deploy the website on App Engine as three separate services.
  3. C. Deploy the website on Cloud Functions and use traffic splitting.
  4. D. Deploy the website on Cloud Functions as three separate functions.
Show answer and explanation

Answer

A

Explanation

Reference:
https://cloud.google.com/appengine/docs/standard/python/splitting-traffic

Downloads and personal use

  • Purchase this exam question set separately with 1, 3, 6 or 12 months of download access.
  • After payment confirmation, My Library shows the generation status. We will email you when your PDF is ready to download.
  • Download again during your term. Purchase a new term after expiry.
  • PDFs are licensed for personal study only and must not be resold or shared publicly.
  • Files already saved to your device are not remotely deleted when access expires.
How to choose your certification