logo
Exam overview and study plan

Cloud Developer PCD Practice Questions

Google Cloud Certified - Professional Cloud Developer

Read questions, check verified answers and discuss the reasoning. Use reading options to shape your revision, or switch to the simulator for timed practice.

View 25 free questions

25 questions in this view

Page 1 of 5

Question 1

You work for an ecommerce company. You are developing a new application to be deployed globally with the following requirements:
  • The application must have access to the most up-to-date data at all times.
  • Data should be consistent across all regions.
  • Data older than 30 days must be automatically deleted.
You need to determine which service should host the database, and how to configure the data deletion. You want to use the most efficient solution. What should you do?

Select an answer above, then submit your vote. Reading or practicing does not cast a vote.

Question 2

You are migrating a legacy application from your on-premises environment to Cloud Run. The application processes images that are uploaded by application users. The application currently uses a cron job on an on-premises server to trigger image processing. You need to replace the cron job with a serverless solution that triggers the Cloud Run service as soon as a new image is uploaded to a Cloud Storage bucket. You want to implement a simple solution that follows Google-recommended practices. What should you do?

Select an answer above, then submit your vote. Reading or practicing does not cast a vote.

Question 3

You are developing a new ecommerce website for your company. You want customers to receive a customized email notification when they place an order. You need to configure this email service while minimizing deployment effort. What should you do?

Select an answer above, then submit your vote. Reading or practicing does not cast a vote.

Question 4

You are developing an application that will process a large number of image files stored in Cloud Storage. The application uses the Cloud Vision API to analyze each image and extract relevant information. You notice request quota errors from the Cloud Vision API. You need to optimize your application to avoid these errors and efficiently process all the images while following Google-recommended practices. What should you do?

Select an answer above, then submit your vote. Reading or practicing does not cast a vote.

Question 5

You are deploying a new version of your application to a GKE cluster using a rolling update of a Kubernetes Deployment named shopping-cart. After the rolling update completes, you observe that some users are experiencing errors and degraded performance, indicating an issue with the new version. You want to quickly and safely revert to the previous version of the application while minimizing the impact on users while following Google-recommended practices. What should you do?

Select an answer above, then submit your vote. Reading or practicing does not cast a vote.

Question 6

You recently developed an application that monitors a large number of stock prices. You need to configure Pub/Sub to receive a very high volume of messages and store the latest stock price in a single large in-memory database. The downstream service needs only the most up-to-date prices in the in-memory database to perform stock trading transactions. Each message contains three pieces of information:
  • Stock symbol
  • Stock price
  • Timestamp for the update
You need to set up your Pub/Sub subscription to process messages as quickly as possible and ignore older prices. What should you do?

Select an answer above, then submit your vote. Reading or practicing does not cast a vote.