GPCD

Google Professional Cloud Developer (GPCD) practice exams

240 questions in 5 timed practice tests. Each test has about 50 questions and a 120-minute limit. The pass mark is 70%. Results are split across the 4 exam domains.

Exam at a glance

GPCD practice exam settings
Practice tests 5
Questions in total 240
Questions per test About 50
Time limit per test 120 minutes
Pass mark 70%
Question types Single answer and multiple answer (20 multiple-answer questions)
Level Professional
Category Cloud

These are the settings of our practice tests. Check the official Google Cloud exam page for the current exam format before you book.

Domains and weights

GPCD exam domains, weights and question counts
Domain Weight Weight bar Questions in our bank
Designing highly scalable, secure, and reliable cloud-native applications 32% 77
Building and testing applications 23% 56
Configuring cloud-native applications for deployment 24% 57
Integrating applications with Google Cloud services 21% 50

Sample questions

Question 1 of 3

A developer must store database passwords and third-party API tokens for a Cloud Run service. Security requires automatic version history, IAM-controlled access per secret, and audit logs of every access. What should the developer use?

  1. A Cloud Storage, storing the credentials in a bucket that uses CMEK and uniform bucket-level access for every object
  2. B Secret Manager, granting only the service's own service account the Secret Accessor role on each secret (correct answer)
  3. C Runtime environment variables set in the Cloud Run service YAML and restricted with the Cloud Run Developer role
  4. D Cloud KMS, encrypting each credential with a key and storing the ciphertext as a Cloud Run environment variable
Why: Secret Manager versions every secret, supports IAM bindings on individual secrets, and records access in Cloud Audit Logs; granting the Secret Accessor role only to the service's own service account follows least privilege. Cloud KMS manages keys rather than storing secrets, so the team would have to build versioning and distribution themselves. A CMEK bucket encrypts objects but is not designed for secret versioning and per-secret access workflows. Plain environment variables are visible to anyone who can view the service configuration and have no per-access audit trail.

Question 2 of 3

A payments API exposed to partners must enforce per-partner quotas, verify API keys, transform legacy SOAP requests into REST calls, and give product managers analytics and a developer portal for onboarding. Which solution should the developer recommend?

  1. A API Gateway, with an OpenAPI specification that defines API keys and a quota per consumer project
  2. B Apigee, with API products that carry quotas, key verification, and SOAP-to-REST mediation policies (correct answer)
  3. C An external Application Load Balancer with Cloud Armor rate-limiting rules keyed on a partner header
  4. D Cloud Endpoints with the Extensible Service Proxy V2 deployed as a sidecar next to each backend
Why: Apigee is the full API management platform: API products bundle quotas and key verification, policies can mediate SOAP to REST, and it provides analytics and an integrated developer portal. API Gateway supports API keys and simple quotas but has no protocol mediation or partner-facing developer portal. Cloud Endpoints with ESPv2 offers authentication and monitoring but also lacks mediation and portal capabilities. Cloud Armor rate limiting throttles traffic but does not manage API keys, transform payloads, or provide API analytics.

Question 3 of 3

A service on GKE calls a Cloud SQL for PostgreSQL instance that has only a private IP. Security requires IAM-based authorization for database connections and encryption in transit, without managing SSL certificates in the application. What should the developer do?

  1. A Run the Cloud SQL Auth Proxy as a sidecar using Workload Identity Federation for GKE and IAM database authentication (correct answer)
  2. B Expose the instance through a Private Service Connect endpoint and connect with the built-in postgres user and password
  3. C Add the GKE node IP ranges to the instance's authorized networks and require SSL connections
  4. D Connect directly to the private IP with a database password stored in a Kubernetes Secret
Why: The Cloud SQL Auth Proxy authorizes connections with IAM, encrypts traffic with TLS automatically, and with Workload Identity Federation for GKE uses the pod's mapped identity; IAM database authentication removes static passwords. A direct private IP connection with a password lacks IAM authorization and automatic TLS. Authorized networks apply to public IP and would require managing certificates. A Private Service Connect endpoint provides private reachability but not IAM-based authorization or automatic encryption by itself.

What your score report looks like

Example attempt, GPCD practice test 3

77%

Passed
Pass mark 70%

Score by exam domain
DomainWeightYour score%
Designing highly scalable, secure, and reliable cloud-native applications 32%
88
Building and testing applications 23%
81
Configuring cloud-native applications for deployment 24%
76
Integrating applications with Google Cloud services 21%
58

Study next: Integrating applications with Google Cloud services. It is below the pass mark and carries 21% of the exam.

Domains and pass mark from our GPCD practice tests. Scores are an example attempt.

Study plans

Two weeks

  1. Day 1: take practice test 1 in exam mode to get a baseline.
  2. Days 2 to 5: domain mode on Designing highly scalable, secure, and reliable cloud-native applications and Configuring cloud-native applications for deployment, the two most heavily weighted domains.
  3. Day 6: practice test 2 in exam mode, then the mistakes quiz.
  4. Days 7 to 12: practice tests 3 to 5, one every other day, each followed by its mistakes quiz.
  5. Days 13 and 14: final mode. Book the exam when your readiness stays above the pass mark.

Four weeks

  1. Week 1: one practice test in practice mode, reading every explanation. Note your two lowest domains.
  2. Week 2: domain mode on those two domains, then a second practice test in exam mode.
  3. Week 3: practice tests 3 and 4 in exam mode, with the mistakes and flagged quizzes after each.
  4. Week 4: practice test 5 and final mode until your readiness holds above the pass mark.

Questions about the GPCD practice exams

Are these real GPCD exam questions?
No. We write every question ourselves and map it to the published GPCD exam objectives. We do not use leaked or recalled questions.
Do the time limit and pass mark match the official exam?
They match the settings of our practice tests. Exam providers change their format from time to time, so check the official exam page before you book.
Can I try it before I pay?
Yes. The free mini exam has 15 questions with full explanations and needs no account.
How long do I keep access?
A single-exam purchase gives you 12 months of access. All-Access includes this exam for as long as your subscription runs.
What happens after I finish a test?
You get a score, a pass or fail against the pass mark, a score per domain and every answer with its explanation.

Last updated November 2026. Written and reviewed by the DevOpsCode Lab team.

DevOpsCode Lab is not affiliated with Google Cloud. GPCD and related names are trademarks of their owners.

Related exams
Exam Vendor Level Questions Minutes Price
GCDLGoogle Cloud Digital Leader Google Cloud Foundational 250 90 $9.99
GGALGoogle Generative AI Leader Google Cloud Foundational 251 90 $9.99
1Z0-1085-26OCI Foundations 1Z0-1085-26 Oracle Foundational 200 60 $9.99
AZ-900Microsoft Azure AZ-900 Microsoft Foundational 225 45 $9.99
CLF-C02AWS Cloud Practitioner CLF-C02 AWS Foundational 326 90 $9.99
FOCPFinOps Certified Practitioner (FOCP) FinOps Foundation Foundational 300 72 $9.99