# Google Professional Cloud Developer (GPCD) practice exams

> Google Professional Cloud Developer practice exams: 240 questions in 5 timed tests, every answer explained.

Page: https://devopscodelab.com/exams/google-professional-cloud-developer/

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

| Setting | Value |
| --- | --- |
| 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 format before you book.

## Domains and weights

| Domain | Weight | 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 |

## Price and access

- GPCD practice exams: $14.99 for 12 months of access.
- Free mini exam: 15 questions with explanations (free account): https://devopscodelab.com/app/exams/google-professional-cloud-developer/mini/
- All-Access subscription includes every exam: https://devopscodelab.com/pricing/
- 10 free questions with answers: https://devopscodelab.com/exams/google-professional-cloud-developer/free-practice-questions/

## 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?

- A. Cloud Storage, storing the credentials in a bucket that uses CMEK and uniform bucket-level access for every object
- B. Secret Manager, granting only the service's own service account the Secret Accessor role on each secret
- C. Runtime environment variables set in the Cloud Run service YAML and restricted with the Cloud Run Developer role
- D. Cloud KMS, encrypting each credential with a key and storing the ciphertext as a Cloud Run environment variable

**Answer:** B

**Explanation:** 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?

- A. API Gateway, with an OpenAPI specification that defines API keys and a quota per consumer project
- B. Apigee, with API products that carry quotas, key verification, and SOAP-to-REST mediation policies
- C. An external Application Load Balancer with Cloud Armor rate-limiting rules keyed on a partner header
- D. Cloud Endpoints with the Extensible Service Proxy V2 deployed as a sidecar next to each backend

**Answer:** B

**Explanation:** 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?

- A. Run the Cloud SQL Auth Proxy as a sidecar using Workload Identity Federation for GKE and IAM database authentication
- B. Expose the instance through a Private Service Connect endpoint and connect with the built-in postgres user and password
- C. Add the GKE node IP ranges to the instance's authorized networks and require SSL connections
- D. Connect directly to the private IP with a database password stored in a Kubernetes Secret

**Answer:** A

**Explanation:** 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.


## 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.

DevOpsCode Lab is not affiliated with Google Cloud. GPCD and related names are trademarks of their owners. We write every question ourselves; these are not real exam questions.
