Sample questions
Google Professional Cloud Developer practice questions
Your application uses Cloud Spanner with strong reads, but you are experiencing high latency for read requests. You don't need absolute consistency for every read; stale data up to…
A company wants to run hybrid transactional/analytical processing (HTAP) workloads on a PostgreSQL-compatible database with built-in columnar engine for faster analytical queries.…
An engineer notices high CPU utilization on a Cloud Spanner instance and wants to identify the queries consuming the most resources. Which tool should they use?
A company is designing a cloud-native application on Google Kubernetes Engine. They want to ensure high availability and scalability for their microservices. Which two best practic…
Designing highly scalable, available, and reliable cloud-native applicationsmediumSee the answer and why each option is right or wrong →A developer runs the command above. What is the effect of the --promote flag in this deployment?
An organization is migrating a Teradata data warehouse to BigQuery. They want to minimize manual SQL rewriting. Which approach is most effective for converting Teradata SQL to BigQ…
A team uses Cloud Endpoints to manage their API. They want to monitor API latency for each API method. What is the recommended approach?
Which TWO are best practices for setting up Cloud Monitoring alerting policies to minimize alert fatigue? (Select exactly 2.)
A developer wants to quickly test changes to a containerized web application that will run on Cloud Run, without building and deploying a new container. Which approach should they…
Refer to the exhibit. A company configured an HPA for their deployment. They notice that the HPA is not scaling based on the 'packets-per-second' metric. What is the most likely re…
Designing highly scalable, available, and reliable cloud-native applicationsmediumSee the answer and why each option is right or wrong →A company uses Cloud Run for a serverless application that processes user uploads. Users report that sometimes the first request after a period of inactivity takes very long (cold…
Designing highly scalable, available, and reliable cloud-native applicationshardSee the answer and why each option is right or wrong →A team is deploying a microservices application on Cloud Run and needs to implement canary deployments with traffic splitting. They are using Cloud Deploy. What is the correct conf…
A developer is writing unit tests for a Cloud Function that reads from Firestore. They want to avoid real Firestore calls in tests. Which approach is best?
A development team is using Cloud Build to deploy containerized applications to GKE. They want to ensure that only containers that have passed security scans and unit tests are dep…
Designing highly scalable, available, and reliable cloud-native applicationsmediumSee the answer and why each option is right or wrong →A company is migrating a stateful application to Google Cloud. They need high availability with automatic failover across zones within a region. Which compute option should they ch…
Designing highly scalable, available, and reliable cloud-native applicationseasySee the answer and why each option is right or wrong →A financial trading application on Compute Engine requires an RPO of 5 seconds and RTO of 1 minute for zone failures. Which architecture should they use?
Designing highly scalable, available, and reliable cloud-native applicationshardSee the answer and why each option is right or wrong →A company is using Cloud Deploy to manage canary deployments to GKE. They want to automatically promote a release to the 'production' target if the canary deployment in the 'stagin…
A company is migrating a monolithic application to microservices on Google Cloud. They have strict requirements for service-to-service communication: requests must be authenticated…
A developer is building a serverless application that processes user-uploaded images. The images are stored in Cloud Storage, and each upload should trigger a Cloud Function that p…
A company wants to trigger a Cloud Run job every time a new file is uploaded to a Cloud Storage bucket. Which integration should be used?
A company is using Cloud Functions (2nd gen) to process files uploaded to Cloud Storage. The function needs to access a Cloud SQL (PostgreSQL) database. What is the most secure way…
A company is building a data processing pipeline that needs to ingest events from multiple sources, process them in order, and handle failures with retry. They also need to schedul…
A company running a high-traffic e-commerce platform on Google Cloud experiences occasional data loss in their Cloud SQL database during failover events. The database is configured…
Designing highly scalable, available, and reliable cloud-native applicationshardSee the answer and why each option is right or wrong →A company is using Cloud Monitoring to track custom metrics published from an on-premises application using the Monitoring API. The metrics are published every 30 seconds. The team…