Courseiva
Knowledge + Practice
CertificationsVendorsCareer RoadmapsLabs & ToolsStudy GuidesGlossaryPractice Questions
C
Courseiva

Free IT certification practice questions with explained answers for CCNA, CompTIA, AWS, Azure, Google Cloud, and more.

Certification Practice Questions

CCNA practice questionsSecurity+ SY0-701 practice questionsAWS SAA-C03 practice questionsAZ-104 practice questionsAZ-900 practice questionsCLF-C02 practice questionsA+ Core 1 practice questionsGoogle Cloud ACE practice questionsCySA+ CS0-003 practice questionsNetwork+ N10-009 practice questions
View all certifications →

Product

CertificationsCertification PathsExam TopicsPractice TestsExam Dumps vs Practice TestsStudy HubComparisons

Company

AboutContactEditorial PolicyQuestion Writing PolicyTrust Center

Legal

Privacy PolicyTerms of Service

Courseiva is a free IT certification practice platform offering original exam-style practice questions, detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics for Cisco, CompTIA, Microsoft, AWS, and other technology certifications.

© 2026 Courseiva. Courseiva is operated by JTNetSolutions Ltd. All rights reserved.

Courseiva is an independent certification practice platform and is not affiliated with, endorsed by, or sponsored by Cisco, Microsoft, AWS, CompTIA, Google, ISC2, ISACA, or any other certification vendor. Vendor names and certification marks are used only to identify the exams learners are preparing for.

← Optimizing service performance practice sets

PCDOE Optimizing service performance • Complete Question Bank

PCDOE Optimizing service performance — All Questions With Answers

Complete PCDOE Optimizing service performance question bank — all 0 questions with answers and detailed explanations.

113
Questions
Free
No signup
Certifications/PCDOE/Practice Test/Optimizing service performance/All Questions
Question 1mediummultiple choice
Read the full Optimizing service performance explanation →

Your team has deployed a microservices application on Google Kubernetes Engine (GKE). You notice that one service has high latency during peak hours. The service is CPU-bound and uses a HorizontalPodAutoscaler (HPA) based on CPU utilization. What is the most likely cause of the latency?

Question 2easymultiple choice
Study the full Python automation breakdown →

A Cloud Run service is experiencing increased cold start latency. The service is written in Python and uses several large dependencies. Which action would most effectively reduce cold start latency?

Question 3hardmultiple choice
Read the full Optimizing service performance explanation →

You are designing a globally distributed application using Cloud Spanner. The application has a write-heavy workload. You notice that write latency increases as the number of nodes increases. What is the most likely cause?

Question 4easymultiple choice
Read the full Optimizing service performance explanation →

A company runs a stateful workload on Compute Engine VMs with persistent disks. They observe that disk I/O latency spikes periodically. The workload is sensitive to latency. What should they do to improve performance?

Question 5mediummultiple choice
Read the full Optimizing service performance explanation →

Your GKE cluster runs a batch job that processes large files from Cloud Storage. The job uses CPUs inefficiently, with low utilization. You want to reduce cost while maintaining throughput. Which approach should you take?

Question 6hardmultiple choice
Read the full Optimizing service performance explanation →

You are using Cloud CDN with an external HTTPS load balancer. Users in Asia report slow load times for static assets. The origin is in us-central1. What should you do to improve performance?

Question 7easymultiple choice
Read the full Optimizing service performance explanation →

Your application uses Cloud SQL for MySQL and you notice that read replica lag is increasing. Which action would most likely reduce replica lag?

Question 8mediummultiple choice
Read the full Optimizing service performance explanation →

You are using Memorystore for Redis as a cache for a high-traffic web application. You observe that cache hit ratio is low, causing high database load. What is the most effective way to improve cache hit ratio?

Question 9mediummulti select
Read the full Optimizing service performance explanation →

Which TWO actions can reduce tail latency in a microservices architecture deployed on GKE? (Choose 2)

Question 10hardmulti select
Read the full NAT/PAT explanation →

Which THREE factors should you consider when designing a Cloud Run service for optimal performance under unpredictable traffic patterns? (Choose 3)

Question 11mediummulti select
Read the full Optimizing service performance explanation →

Which TWO metrics from Cloud Monitoring would best indicate that a GKE workload is experiencing CPU throttling due to a resource quota? (Choose 2)

Question 12hardmulti select
Read the full Optimizing service performance explanation →

Which THREE approaches can help reduce egress costs while improving performance for a multi-region application using Cloud Load Balancing? (Choose 3)

Question 13hardmultiple choice
Review the full routing breakdown →

Your company runs a multi-region e-commerce platform on Google Kubernetes Engine (GKE) with services in us-central1 and europe-west1. The application uses a global external HTTP(S) load balancer with Cloud CDN for static assets. Recently, users in Asia report that product images take 5-10 seconds to load, while users in the US and Europe experience sub-second load times. You check the Cloud CDN cache hit ratio and see it is 95% globally. You also notice that the images are served from a backend bucket in us-central1. The load balancer uses the default routing configuration. Your team has implemented client-side caching with Cache-Control headers set to public, max-age=3600. What is the most likely cause of the high latency for Asian users?

Question 14mediummultiple choice
Read the full Optimizing service performance explanation →

A team deploys a microservice on Google Kubernetes Engine (GKE) that processes user uploads. The service latency has increased over time. Monitoring shows that CPU utilization is low, but memory usage is high and garbage collection (GC) pauses are frequent. Which action is most likely to reduce latency?

Question 15hardmultiple choice
Read the full Optimizing service performance explanation →

A company runs a critical application on Compute Engine instances behind a TCP/UDP Network Load Balancer. They notice intermittent high latency for a subset of users. The application logs show no errors, and instance CPU is below 50%. Which next step is most effective to diagnose the latency?

Question 16easymultiple choice
Study the full Python automation breakdown →

A DevOps engineer is optimizing a Cloud Run service that experiences cold starts. The service is written in Python and uses several large libraries. Which change is most effective to reduce cold start latency?

Question 17mediummultiple choice
Read the full Optimizing service performance explanation →

A team uses Spanner for a global database. They notice increased read latency and high CPU utilization on some nodes. The workload is read-heavy with occasional writes. Which action is most likely to improve performance?

Question 18hardmultiple choice
Read the full Optimizing service performance explanation →

An organization uses Cloud CDN with an HTTP(S) Load Balancer to serve static content. They observe that cache hit ratio is lower than expected. The content is immutable and has long Cache-Control headers. What is the most likely cause?

Question 19mediummulti select
Read the full Optimizing service performance explanation →

A team is troubleshooting a slow response time on an App Engine standard environment application. The application uses Cloud SQL as its database. Which TWO actions should the team take to identify the bottleneck?

Question 20hardmulti select
Read the full Optimizing service performance explanation →

A company runs a stateful workload on Compute Engine with local SSDs. They need to improve disk I/O performance without changing the instance type. Which THREE actions should they take?

Question 21mediummultiple choice
Read the full Optimizing service performance explanation →

Refer to the exhibit. An App Engine application returns 504 errors. The application calls an external API and processes the result. Which change is most likely to resolve the errors?

Exhibit

Refer to the exhibit.

---
# Sample error from Cloud Logging
{
  "httpRequest": {
    "requestUrl": "https://example.com/data",
    "status": 504
  },
  "resource": {
    "type": "gae_app",
    "labels": {
      "module_id": "default",
      "version_id": "v2"
    }
  },
  "textPayload": "The request was terminated because it took longer than 60 seconds."
}
---
Question 22hardmultiple choice
Read the full Optimizing service performance explanation →

Refer to the exhibit. A payment microservice on GKE logs frequent 'connection closed' errors. The service connects to a backend database. Which approach is most effective to reduce these errors?

Exhibit

Refer to the exhibit.

---
# gcloud logging read output (partial)
insertId: abc123
resource: {
  type: "k8s_container"
  labels: {
    cluster_name: "prod-cluster"
    namespace_name: "payment"
    pod_name: "payment-svc-7df4b9c6f8-5k9j2"
    container_name: "payment"
  }
}
textPayload: "E0111 12:34:56.789012     123 main.go:45] rpc error: code = Unavailable desc = connection closed"
severity: ERROR
---
Question 23mediummultiple choice
Read the full Optimizing service performance explanation →

Your team deploys a microservice on Google Kubernetes Engine (GKE) that serves an API with low latency requirements. Users report that the API occasionally times out during peak hours. You check the GKE metrics and see that CPU utilization is below 50% but memory is near 100% on the nodes. What is the most likely cause and what should you do?

Question 24hardmultiple choice
Read the full Optimizing service performance explanation →

You created the above alert policy to detect high CPU utilization in your GKE cluster. However, you are receiving too many false positive alerts. What is the most likely reason?

Exhibit

Refer to the exhibit.

Cloud Monitoring alert policy (YAML):
```yaml
alertPolicy:
  displayName: 'High CPU Utilization'
  combiner: OR
  conditions:
  - displayName: 'CPU utilization > 80% for 5 min'
    conditionThreshold:
      filter: 'metric.type="kubernetes.io/container/cpu/usage_time" AND resource.type="k8s_container" AND resource.labels.cluster_name="prod-cluster"'
      aggregations:
      - alignmentPeriod: 60s
        perSeriesAligner: ALIGN_RATE
      - crossSeriesReducer: REDUCE_SUM
        groupByFields:
        - resource.label.namespace_name
        - resource.label.container_name
      - conditionThreshold:
        thresholdValue: 0.8
        duration: 300s
        comparison: COMPARISON_GT
  notificationChannels:
  - 'projects/my-project/notificationChannels/12345'
```
Question 25easymultiple choice
Read the full Optimizing service performance explanation →

Your company runs a web application on Compute Engine behind a global HTTP(S) Load Balancer. You want to improve performance for users in Europe. You have already enabled Cloud CDN. What is the next best action to reduce latency?

Question 26mediummulti select
Read the full Optimizing service performance explanation →

Your team is running a high-traffic web application on Google Kubernetes Engine (GKE) and has configured Horizontal Pod Autoscaling (HPA) based on CPU utilization. Recently, the application experienced intermittent latency spikes during traffic bursts. You suspect that the HPA is not scaling quickly enough. Which TWO actions would most effectively improve the autoscaling responsiveness?

Question 27hardmultiple choice
Read the full Optimizing service performance explanation →

You are troubleshooting a performance issue with a Compute Engine instance that is part of a managed instance group serving a web application. Users report intermittent high latency. You run the command shown in the exhibit. Based on the output, what is the most likely cause of the performance issue?

Exhibit

Refer to the exhibit.

```
$ gcloud compute instances describe instance-1 --zone=us-central1-a
...
networkInterfaces:
- accessConfigs:
  - name: external-nat
    natIP: 34.123.45.67
    type: ONE_TO_ONE_NAT
  name: nic0
  network: https://www.googleapis.com/compute/v1/projects/my-project/global/networks/default
  subnetwork: https://www.googleapis.com/compute/v1/projects/my-project/regions/us-central1/subnetworks/default
...
disks:
- autoDelete: true
  boot: true
  deviceName: instance-1
  diskSizeGb: '100'
  interface: SCSI
  source: https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a/disks/instance-1
  type: PERSISTENT
...
serviceAccounts:
- email: 123456789-compute@developer.gserviceaccount.com
  scopes:
  - https://www.googleapis.com/auth/devstorage.read_only
  - https://www.googleapis.com/auth/logging.write
  - https://www.googleapis.com/auth/monitoring.write
  - https://www.googleapis.com/auth/servicecontrol
  - https://www.googleapis.com/auth/service.management.readonly
  - https://www.googleapis.com/auth/trace.append
```
Question 28easymultiple choice
Read the full Optimizing service performance explanation →

You are a DevOps engineer at a media streaming company. Your application runs on Google Kubernetes Engine (GKE) and serves video content to users worldwide. The application uses a microservices architecture with a frontend service that handles user requests and a backend transcoding service that converts video files. Recently, you noticed that the transcoding service is causing performance bottlenecks during peak hours, leading to increased latency for users. You have enabled Cloud Monitoring and Cloud Trace and observed that the transcoding service's CPU utilization is consistently above 90% during peak times, and the queue of video transcoding tasks is growing. The current deployment has 5 replicas of the transcoding service with no autoscaling. You need to optimize the performance of the transcoding service to reduce latency. Your company has a limited budget and wants to minimize costs. What should you do?

Question 29mediumdrag order
Read the full Optimizing service performance explanation →

Arrange the steps to implement a canary deployment for a Cloud Run service.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
Question 30mediummatching
Read the full Optimizing service performance explanation →

Match each monitoring concept to its purpose.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Verify external accessibility of a service

Time taken to respond to a request

Percentage of failed requests

Number of requests processed per second

Degree to which a resource is fully utilized

Question 31easymultiple choice
Read the full Optimizing service performance explanation →

A DevOps team is troubleshooting a web application that shows high latency during peak hours. The application runs on Google Kubernetes Engine (GKE). They want to identify which specific API calls are causing the delay. Which Google Cloud tool should they use?

Question 32easymultiple choice
Read the full Optimizing service performance explanation →

An e-commerce platform uses Cloud SQL for its database. The team notices that read queries are slow. They want to improve read performance without significant cost increase. Which action should they take?

Question 33easymultiple choice
Read the full Optimizing service performance explanation →

A company is using Cloud CDN to deliver static content globally. Some users in Asia report slow load times. Which configuration change would most likely improve performance for these users?

Question 34mediummultiple choice
Read the full Optimizing service performance explanation →

A team is running a stateful application on Compute Engine VMs. They notice that the application performance degrades over time as the disk fills up. They want to proactively alert before performance degrades. Which metric should they monitor?

Question 35mediummultiple choice
Read the full Optimizing service performance explanation →

An organization uses Cloud Armor to protect their web application. After enabling the service, they notice increased latency on some requests. Which Cloud Armor feature is most likely causing this?

Question 36mediummultiple choice
Read the full Optimizing service performance explanation →

A gaming company runs a real-time multiplayer server on GKE. They want to minimize latency between players worldwide. Which approach should they use?

Question 37hardmultiple choice
Read the full Optimizing service performance explanation →

A financial services company uses Spanner for their core database. They notice that some transactions are taking longer than expected, especially during cross-region writes. They have set up Spanner with regional configuration. What is the most likely cause?

Question 38hardmultiple choice
Read the full Optimizing service performance explanation →

A DevOps team is using Cloud Build to build and push container images. The build times have increased significantly. They suspect that the build cache is not being used effectively. Which build configuration change would likely improve cache usage?

Question 39hardmultiple choice
Read the full Optimizing service performance explanation →

A company runs a microservices architecture on GKE with Istio service mesh. They observe that service-to-service latency has increased after enabling mTLS. What is the most likely cause?

Question 40mediummulti select
Read the full Optimizing service performance explanation →

A team is optimizing the performance of their application running on Cloud Run. They want to reduce cold starts. Which two actions would help? (Select TWO)

Question 41hardmulti select
Read the full Optimizing service performance explanation →

A company uses Cloud Monitoring to set up alerting for their production system. They want to reduce alert fatigue while ensuring critical issues are caught quickly. Which two strategies should they implement? (Select TWO)

Question 42mediummulti select
Read the full Optimizing service performance explanation →

A DevOps team is investigating performance issues in their GKE cluster. They want to use Cloud Profiler to identify the bottleneck. Which three steps are required to start profiling? (Select THREE)

Question 43easymultiple choice
Read the full Optimizing service performance explanation →

A company notices increased latency for their web application running on Compute Engine. They suspect a database bottleneck. Which Google Cloud service should they use to identify slow queries?

Question 44mediummultiple choice
Read the full Optimizing service performance explanation →

A DevOps team wants to autoscale a GKE Deployment based on a custom metric exposed by the application. The metric is available via an HTTP endpoint. Which approach should they use to integrate this metric with the Horizontal Pod Autoscaler (HPA)?

Question 45hardmultiple choice
Read the full NAT/PAT explanation →

A company's Cloud SQL for PostgreSQL instance is experiencing performance degradation. They observe a high number of idle connections and slow transaction commit times. Which combination of actions will most effectively address this issue?

Question 46easymultiple choice
Read the full Optimizing service performance explanation →

A web application serves static assets (images, CSS, JavaScript) from Compute Engine instances. Users in different geographic regions report slow page loads. Which Google Cloud service can be used to improve performance for these users?

Question 47mediummultiple choice
Read the full Optimizing service performance explanation →

A company is migrating a batch processing workload to Google Cloud. The workload is CPU-intensive and runs for a few hours each day. Which Compute Engine machine family should they choose to optimize performance and cost?

Question 48hardmultiple choice
Read the full Optimizing service performance explanation →

A Cloud Run service experiences high latency during cold starts. The service is memory-intensive. Which configuration change will most effectively reduce cold start latency?

Question 49easymultiple choice
Read the full NAT/PAT explanation →

A DevOps team wants to serve static content from a Cloud Storage bucket with low latency globally. They also need TLS termination. Which load balancer type should they use?

Question 50mediummultiple choice
Read the full Optimizing service performance explanation →

An application on GKE frequently reads the same data from a Cloud Storage bucket. The data changes rarely. Which solution will best improve read performance and reduce costs?

Question 51hardmultiple choice
Read the full VPN explanation →

A company is transferring large datasets from on-premises to Google Cloud using a VPN. They notice high latency due to packet loss. What is the most effective way to improve throughput?

Question 52mediummulti select
Read the full Optimizing service performance explanation →

Which TWO practices should be implemented to optimize query performance in Cloud Spanner?

Question 53hardmulti select
Read the full Optimizing service performance explanation →

Which THREE strategies can reduce API latency in Apigee?

Question 54easymulti select
Read the full Optimizing service performance explanation →

Which TWO actions can reduce startup latency for a Cloud Run service?

Question 55mediummultiple choice
Read the full Optimizing service performance explanation →

Refer to the exhibit. A DevOps engineer notices that instance-1 runs on older CPU platform. The application is sensitive to CPU features that are only available on Skylake or newer. Which action should be taken to optimize performance?

Exhibit

Command: gcloud compute instances list --format="value(name,zone,cpuPlatform,status)" Output: instance-1 us-central1-a Intel Haswell RUNNING instance-2 us-central1-a Intel Skylake RUNNING instance-3 us-central1-b Intel Broadwell RUNNING
Question 56hardmultiple choice
Read the full Optimizing service performance explanation →

Refer to the exhibit. After applying the shown firewall rule, users report increased latency to a web application. What is the most likely cause?

Exhibit

Firewall rule JSON:
{
  "name": "deny-high-latency",
  "network": "default",
  "priority": 1000,
  "direction": "INGRESS",
  "sourceRanges": ["0.0.0.0/0"],
  "allow": [{"protocol": "tcp", "ports": ["80","443"]}],
  "deny": [{"protocol": "tcp", "ports": ["80","443"]}],
  "logConfig": {"metadata": "INCLUDE_ALL_METADATA"}
}
Question 57easymultiple choice
Read the full Optimizing service performance explanation →

Refer to the exhibit. What does the alert condition indicate?

Exhibit

Cloud Monitoring alert policy configuration:
Condition type: Metric threshold
Resource type: Cloud Run Revision
Metric: request_count
Condition: Any time series violates
Threshold: > 1000
Duration: 1m
Question 58easymultiple choice
Read the full Optimizing service performance explanation →

A company wants to reduce the response time of a globally distributed web application. Which Google Cloud service can cache static content at edge locations to improve performance?

Question 59mediummultiple choice
Read the full Optimizing service performance explanation →

A team is using Cloud Run for a containerized application. They notice that requests have high latency due to cold starts. Which configuration change would most effectively reduce cold start latency?

Question 60hardmultiple choice
Read the full Optimizing service performance explanation →

A team wants to optimize a batch processing job that is CPU-bound. Which Compute Engine machine family should they use?

Question 61mediummultiple choice
Read the full Optimizing service performance explanation →

A DevOps team wants to optimize resource utilization for their GKE deployment. Which built-in Kubernetes resource can automatically adjust CPU and memory requests based on historical usage?

Question 62easymultiple choice
Read the full Optimizing service performance explanation →

Which service should be used to monitor the health of HTTP endpoints from multiple locations?

Question 63mediummultiple choice
Read the full Optimizing service performance explanation →

Which Cloud Run setting controls the maximum number of requests a container can handle concurrently?

Question 64hardmultiple choice
Read the full Optimizing service performance explanation →

Which tool can be used to capture and analyze latency spikes in a distributed application?

Question 65mediummultiple choice
Read the full Optimizing service performance explanation →

Which storage class provides the lowest cost for data accessed less than once a year?

Question 66easymultiple choice
Read the full Optimizing service performance explanation →

Which service is commonly used for time-series data and real-time analytics?

Question 67mediummulti select
Read the full Optimizing service performance explanation →

A team is optimizing a Cloud Run service. Which two actions can reduce request latency? (Select TWO.)

Question 68hardmulti select
Read the full Optimizing service performance explanation →

A company runs a high-traffic web application on GKE. Which three practices can help optimize performance under load? (Select THREE.)

Question 69easymulti select
Read the full Optimizing service performance explanation →

A DevOps team wants to monitor the performance of a Cloud SQL database. Which two metrics should they track? (Select TWO.)

Question 70mediummultiple choice
Read the full Optimizing service performance explanation →

Refer to the exhibit. A DevOps engineer observes that a GKE cluster's node performance is degraded during high I/O workloads. Based on the exhibit, which change would most likely improve disk I/O performance?

Network Topology
zone us-central1format="json""machineType": "n1-standard-4","diskSizeGb": 100,"diskType": "pd-standard","imageType": "COS","serviceAccount": "default","oauthScopes": ["https://www.googleapis.com/auth/cloud-platform"]
Question 71hardmultiple choice
Read the full Optimizing service performance explanation →

Refer to the exhibit. A team is troubleshooting a pod crash loop. Based on the exhibit, which infrastructure change should be prioritized to resolve the issue and optimize service performance?

Exhibit

{
  "textPayload": "ERROR: ENOENT: no such file or directory, open '/app/data/config.txt'",
  "resource": {
    "type": "k8s_container",
    "labels": {
      "cluster_name": "prod-cluster",
      "namespace_name": "default",
      "pod_name": "api-pod-xyz"
    }
  },
  "severity": "ERROR",
  "timestamp": "2023-10-01T12:00:00Z"
}
Question 72easymultiple choice
Read the full Optimizing service performance explanation →

Refer to the exhibit. A team runs a batch processing job on these instances. The job is CPU-bound and can tolerate interruptions. Which instance is the most cost-effective for this workload?

Exhibit

NAME        ZONE           MACHINE_TYPE   PREEMPTIBLE
instance-1  us-central1-a  n1-standard-2  yes
instance-2  us-central1-a  n1-highcpu-16  no
instance-3  us-central1-b  n1-highmem-8   no
Question 73easymultiple choice
Read the full Optimizing service performance explanation →

A company serves static assets (images, CSS) to global users. Users in distant regions experience slow load times. Which service should they use to optimize delivery?

Question 74easymultiple choice
Read the full Optimizing service performance explanation →

An application running on GKE experiences high latency during traffic spikes. The team wants to scale pods based on request latency. Which metric should they use in the HorizontalPodAutoscaler?

Question 75mediummultiple choice
Read the full Optimizing service performance explanation →

A team notices that a Cloud Run service occasionally has high latency. They suspect a memory leak or excessive CPU usage. Which tool should they use to identify the bottleneck during those periods?

Question 76mediummultiple choice
Read the full Optimizing service performance explanation →

A web application frequently reads the same set of reference data from Cloud SQL. This causes high database load and slow responses. Which design change would most improve performance?

Question 77hardmultiple choice
Read the full Optimizing service performance explanation →

A team uses Cloud Spanner for a global application. Query performance degrades as data grows. They notice that most queries filter on a column 'customer_id' but the primary key is a UUID. What is the best approach to optimize performance?

Question 78easymultiple choice
Read the full Optimizing service performance explanation →

A backend service receives bursts of requests that cause timeouts. The team wants to smooth out the load while ensuring all requests are processed eventually. Which strategy should they use?

Question 79hardmultiple choice
Read the full Optimizing service performance explanation →

A data engineering team runs frequent aggregation queries on a large BigQuery table. Query performance is slow and costs are high. Which optimization technique would best improve performance and reduce cost?

Question 80easymultiple choice
Read the full Optimizing service performance explanation →

A team deploys a Cloud Function that processes user requests. They notice cold starts cause high latency for the first request after a period of inactivity. What is the most effective way to reduce cold starts?

Question 81mediummultiple choice
Read the full Optimizing service performance explanation →

A team wants to simulate real-world user traffic to identify performance bottlenecks before a launch. Which tool should they use to generate load from multiple regions?

Question 82mediummulti select
Read the full Optimizing service performance explanation →

A team is running a stateful application on Compute Engine with high disk I/O. They want to optimize disk performance. Which TWO actions should they take? (Choose two.)

Question 83hardmulti select
Read the full Optimizing service performance explanation →

An application running on GKE experiences high tail latency. The team is optimizing performance. Which THREE techniques should they consider? (Choose three.)

Question 84mediummulti select
Read the full Optimizing service performance explanation →

A company uses Cloud SQL for their transactional database. They are experiencing slow read performance. Which THREE actions can improve read throughput? (Choose three.)

Question 85hardmultiple choice
Read the full Optimizing service performance explanation →

Refer to the exhibit. The team observes that some requests are fast while others are slow. Both requests have identical payload and response. What is the most likely cause of the latency difference?

Exhibit

httpRequest: {
  requestMethod: "POST"
  requestUrl: "https://example.com/api/orders"
  status: 200
  responseSize: "4521"
  latency: "2.345s"
  remoteIp: "203.0.113.100"
  cacheHit: false
}
httpRequest: {
  requestMethod: "POST"
  requestUrl: "https://example.com/api/orders"
  status: 200
  responseSize: "4521"
  latency: "0.012s"
  remoteIp: "203.0.113.101"
  cacheHit: true
}
Question 86easymultiple choice
Read the full Optimizing service performance explanation →

Refer to the exhibit. A GKE node shows MemoryPressure condition. What should the team do to improve performance of pods scheduled on this node?

Exhibit

kubectl describe node gke-cluster-default-pool-12345678-ab
...
Capacity:
  cpu: 8
  memory: 32768Mi
  ephemeral-storage: 100Gi
Allocatable:
  cpu: 7
  memory: 30720Mi
  ephemeral-storage: 90Gi
...
Conditions:
  Type                 Status  Message
  ----                 ------  -------
  MemoryPressure       True    Node is experiencing memory pressure
  DiskPressure         False
  PIDPressure          False
  Ready                True
...
Question 87hardmultiple choice
Read the full Optimizing service performance explanation →

Refer to the exhibit. The team wants to reduce the service's p50 latency from 2 seconds to under 500ms. Which optimization would have the most impact?

Exhibit

Function                          CPU Time (ms)   %
getCustomerData()                  1200           60%
processOrder()                     400            20%
saveToDatabase()                   300            15%
other                              100            5%
Total                              2000
Question 88mediummultiple choice
Read the full Optimizing service performance explanation →

A team uses Cloud Load Balancing with backend NEGs. Users report intermittent high latency. How should they diagnose the root cause effectively?

Question 89hardmultiple choice
Read the full Optimizing service performance explanation →

A microservices application on GKE with Istio service mesh experienced performance degradation after a recent update. Which optimization technique is most effective for improving inter-service communication performance?

Question 90easymultiple choice
Read the full Optimizing service performance explanation →

An application running on App Engine standard environment has high instance startup latency, leading to slow first requests. What is the most effective configuration change to reduce cold starts?

Question 91mediummultiple choice
Read the full Optimizing service performance explanation →

A Cloud Spanner database is experiencing slow query performance. Which approach should be taken to optimize read performance without compromising consistency?

Question 92hardmultiple choice
Read the full Optimizing service performance explanation →

A Cloud Run service experiences high cold start latency. The team has already set min-instances to 1. Which additional optimization can further reduce cold start impact?

Question 93easymultiple choice
Read the full Optimizing service performance explanation →

A latency-sensitive web application uses Cloud CDN. What configuration change would most directly reduce cache miss rates?

Question 94mediummultiple choice
Read the full Optimizing service performance explanation →

A team notices that Cloud SQL read replicas are not handling read traffic efficiently, causing high latency for read-heavy queries. What is the best approach to improve read performance?

Question 95hardmultiple choice
Read the full Optimizing service performance explanation →

A large stateful service running on Compute Engine experiences variable performance due to CPU throttling from noisy neighbors. Which solution provides the most consistent performance?

Question 96easymultiple choice
Read the full Optimizing service performance explanation →

A batch data processing job on Cloud Dataflow is running slower than expected. Which action will most directly increase throughput?

Question 97mediummulti select
Read the full Optimizing service performance explanation →

A web application experiences high latency during peak hours. Which TWO actions should the team take to optimize performance?

Question 98hardmulti select
Read the full Optimizing service performance explanation →

A company runs a microservices architecture on GKE and notices high network latency between services. Which THREE actions can improve inter-service communication performance?

Question 99easymulti select
Read the full Optimizing service performance explanation →

A DevOps team wants to optimize the performance of a Cloud Run service that experiences sporadic traffic. Which TWO strategies should they implement?

Question 100hardmultiple choice
Read the full Optimizing service performance explanation →

A financial services company runs a real-time trading application on GKE with 10 microservices. The application uses Cloud Spanner as the database. Recently, the team noticed increased latency during peak trading hours. Cloud Monitoring shows high CPU utilization on the Spanner nodes (averaging 80%) and increased locking contention. The team has already added secondary indexes and tuned queries. The application's latency budget is 50ms for writes and 20ms for reads. The team must reduce latency while maintaining strong consistency and meeting the budget. What should they do?

Question 101mediummultiple choice
Read the full NAT/PAT explanation →

An e-commerce platform uses Cloud Load Balancing with backend services running on Compute Engine managed instance groups. During Black Friday sales, the application experiences high latency and some 503 errors. The team uses autoscaling based on average CPU utilization, but scaling is too slow—Cloud Monitoring shows CPU rises to 90% before new instances are added. The team needs to reduce latency and eliminate 503 errors. What should they do?

Question 102easymultiple choice
Read the full Optimizing service performance explanation →

A startup runs a mobile app backend on App Engine standard environment. They recently added new features, and the app's response time increased significantly. The team suspects instance startup time is causing cold starts for new users. They have already reduced code size and enabled warmup requests. What is the best next step to improve performance?

Question 103mediummultiple choice
Read the full Optimizing service performance explanation →

A company runs a microservices application on GKE. The checkout service has high tail latency. Using Cloud Profiler, the team finds that most time is spent in database queries. Which action should they take to improve performance?

Question 104hardmulti select
Read the full Optimizing service performance explanation →

Which TWO actions should a DevOps engineer take to reduce latency for a global user base accessing a web application hosted on Compute Engine?

Question 105easymultiple choice
Read the full Optimizing service performance explanation →

A company runs a web application on Compute Engine behind a regional HTTP Load Balancer. Users report slow page load times during peak hours. CPU utilization on instances is under 60%, but network egress is near the instance's bandwidth limit. Which action should the engineer take?

Question 106mediummultiple choice
Read the full Optimizing service performance explanation →

A DevOps team uses Cloud Run for a containerized application that processes real-time financial data. The service has a concurrency setting of 80, and instances are scaled based on CPU usage. During market volatility, the service experiences high latency and some requests timeout. Cloud Monitoring shows that the average CPU utilization is 40%, but the instance count spikes to the maximum allowed. What is the most likely cause?

Question 107mediummultiple choice
Read the full Optimizing service performance explanation →

A company has a stateful application deployed on a GKE cluster with stateful sets using persistent volumes. The application is experiencing higher than expected latency for write operations. The team uses SSDs for persistent disks. Cloud Monitoring shows high disk queue depth on the nodes where the stateful pods are scheduled. Which of the following is the most effective optimization?

Question 108hardmultiple choice
Read the full Optimizing service performance explanation →

A media streaming service uses Cloud Storage to store video files and serves them via Cloud CDN. Users in Asia report buffering issues. The team notices that the cache hit ratio is low in that region. The origin is a single Cloud Storage bucket in us-central1. Which set of actions would best improve performance for Asian users?

Question 109hardmultiple choice
Read the full Optimizing service performance explanation →

A company runs a batch processing pipeline on Dataflow that reads from Pub/Sub and writes to BigQuery. The pipeline is falling behind due to high volume, and messages are backing up in Pub/Sub. Autoscaling is enabled and workers are running but utilization is only 30%. The streaming engine is off. What should the engineer do to increase throughput?

Question 110mediummultiple choice
Read the full Optimizing service performance explanation →

A company deploys a microservices application on Google Kubernetes Engine (GKE). They notice increased latency during peak hours. The application uses a Cloud SQL database for state. The team wants to optimize service performance. What should they do first?

Question 111easymulti select
Read the full Optimizing service performance explanation →

A company serves static content using a global HTTP(S) load balancer with Cloud CDN. They want to maximize the cache hit ratio. Which two actions should they take?

Question 112hardmultiple choice
Read the full Optimizing service performance explanation →

Refer to the exhibit. A team uses these Compute Engine instances to run a batch processing job. The job frequently gets killed on instance-3. What is the most likely cause?

Exhibit

NAME        ZONE          MACHINE_TYPE   PREEMPTIBLE  INTERNAL_IP   EXTERNAL_IP    STATUS
instance-1  us-central1-c  n1-standard-2  false        10.128.0.2    34.67.89.100   RUNNING
instance-2  us-central1-c  n1-highmem-4   false        10.128.0.3    34.67.89.101   RUNNING
instance-3  us-central1-c  n1-standard-2  true         10.128.0.4    34.67.89.102   RUNNING
Question 113mediummultiple choice
Read the full Optimizing service performance explanation →

A company runs a production web application on Google Compute Engine behind an HTTP(S) load balancer. The application is deployed across multiple managed instance groups in three regions (us-east1, europe-west1, asia-east1). Recently, users report slow page load times. Monitoring shows that CPU utilization on instances is consistently low (around 30%) but memory usage is high (over 80%). The application uses a self-managed in-memory cache per instance to store session data and frequently accessed objects. The team is considering adding more instances to the instance groups to distribute the load. However, they notice that the load balancer's latency is spiking and the cache hit ratio is low. What is the most likely issue and what should the engineer do?

Practice tests

Scored 10-question sessions with instant feedback and explanations.

PCDOE Practice Test 1 — 10 Questions→PCDOE Practice Test 2 — 10 Questions→PCDOE Practice Test 3 — 10 Questions→PCDOE Practice Test 4 — 10 Questions→PCDOE Practice Test 5 — 10 Questions→PCDOE Practice Exam 1 — 20 Questions→PCDOE Practice Exam 2 — 20 Questions→PCDOE Practice Exam 3 — 20 Questions→PCDOE Practice Exam 4 — 20 Questions→Free PCDOE Practice Test 1 — 30 Questions→Free PCDOE Practice Test 2 — 30 Questions→Free PCDOE Practice Test 3 — 30 Questions→PCDOE Practice Questions 1 — 50 Questions→PCDOE Practice Questions 2 — 50 Questions→PCDOE Exam Simulation 1 — 100 Questions→

Practice by domain

Each domain maps to a weighted exam section. Focus on the domain where you are weakest.

Bootstrapping a Google Cloud organization for DevOpsManaging service incidentsManaging Google Cloud costsBuilding and implementing CI/CD pipelinesImplementing service monitoring strategiesOptimizing service performance

Practice by scenario

Filter questions by type — troubleshooting, exhibit, drag-and-drop, PBQ, ACLs, OSPF, and more.

Browse scenarios→

Continue studying

All Optimizing service performance setsAll Optimizing service performance questionsPCDOE Practice Hub