ExamDumpster

Free PCD sample questions

Try these free PCD sample questions, which come with answers and explanations. They cover Cloud Run releases, API design and testing code on Google Cloud. Use the explanations to learn why the other options fall short.

Try them in the simulator Same questions, with study, timed and flashcard modes.

Showing 10 of 20 free sample questions.

Question 1Choose one

An e-commerce application experiences performance degradation during peak traffic. Analysis with Cloud Profiler reveals that a significant amount of CPU time is spent serializing and deserializing JSON payloads for service-to-service communication. The development team wants to replace the existing REST/JSON communication with a more efficient, high-performance alternative suitable for internal microservices. What should they use?

Question 2Choose one

A batch processing job running on a GKE cluster frequently fails with a `429 Too Many Requests` error when writing a high volume of small files to a Cloud Storage bucket. The application code currently has no retry logic. To make the uploads more reliable, you need to implement a retry strategy. According to Google Cloud best practices, what is the proper way to handle these errors?

Question 3Choose one

You are designing a data pipeline that processes user-uploaded images. The raw images are stored in a Cloud Storage bucket. You need a solution that automatically resizes these images into several different thumbnail sizes as soon as they are uploaded. The solution should be serverless, cost-effective for sporadic workloads, and scale to zero when there are no new uploads. Which service is the best fit for this task?

Question 4Choose 2

A developer needs to provide a third-party CI/CD platform (e.g., GitHub Actions) with the ability to deploy an application to Cloud Run. The security team has forbidden the use of long-lived JSON service account keys. Which combination of Google Cloud features should be used to provide secure, keyless authentication for the external platform? (Select TWO).

Question 5Choose one

You are setting up a local development environment to build a Go application that interacts with Cloud Spanner. You want to test your application's database logic locally without incurring costs or affecting the production Spanner instance. What is the recommended tool for this purpose?

Question 6Choose one

A logistics company has a monolithic Java application responsible for tracking shipments. They want to break it down into microservices running on GKE. The first step is to externalize session state, which is currently stored in-memory, to a managed service to allow the new shipment status service to be stateless and horizontally scalable. The session data is small but needs to be accessed with very low latency (sub-millisecond). Which service should they use for session management?

Question 7Choose one

You are managing a GKE cluster and need to configure autoscaling for a stateless web application. The application's load is directly proportional to the number of incoming HTTP requests per second. You want the number of pods to scale up when the request rate exceeds 100 requests per second per pod. Which type of metric should you configure in your HorizontalPodAutoscaler (HPA) definition?

Question 8Choose one

A developer is writing an application that needs to grant users temporary, read-only access to specific, private objects in a Cloud Storage bucket. The users do not have Google accounts. The access needs to be time-limited and secure. What is the most appropriate mechanism to provide this access?

Question 9Choose one

You are tasked with deploying a containerized web application to GKE that requires a persistent, read-write filesystem accessible by multiple pods simultaneously. The data is primarily unstructured files, and the storage needs to be a managed service. Which storage solution should you configure for the pods' PersistentVolumeClaim?

Question 10Choose one

An application is being developed to run in three different environments: on a developer's local machine, in a staging GKE cluster, and in a production Cloud Run environment. The developer wants to write a single authentication logic that works seamlessly across all three environments without requiring manual management of service account keys. Which authentication strategy should be used? flowchart TD subgraph Local Machine A[gcloud auth application-default login] end subgraph GKE Cluster B[Workload Identity] end subgraph Cloud Run C[Attached Service Account] end AppCode[Application Code] -->|Uses ADC Library| D{ADC Logic} D --> |Finds User Creds| A D --> |Finds GKE Metadata| B D --> |Finds Compute Metadata| C

10 more free samples are waiting

Create a free account to unlock the whole PCD sample bank, or get full access to all 445 practice questions in the simulator.

Create account