Courseiva

PCDOE · topic practice

Optimizing performance and cost practice questions

Practise Google Professional Cloud DevOps Engineer Optimizing performance and cost practice questions — original exam-style scenarios with answer choices, explanations, and analysis of common mistakes.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Reviewed byJohnson Ajibi· MSc IT Security
20 questionsDomain: Optimizing performance and cost

What the exam tests

What to know about Optimizing performance and cost

QoS questions usually test traffic classification (DSCP/CoS), queuing strategies, policing vs shaping and where each mechanism is applied.

DSCP and CoS marking and trust boundaries.

Queuing mechanisms: FIFO, WFQ, CBWFQ, LLQ.

Policing (drops excess) vs shaping (delays excess).

Where QoS is applied: ingress, egress, LAN, WAN.

Watch out for

Common Optimizing performance and cost exam traps

  • Policing drops traffic; shaping buffers it — they solve different problems.
  • DSCP EF (46) is for voice; AF classes are for data tiers.
  • QoS must be configured end-to-end to be effective.
  • CoS values are Layer 2; DSCP is Layer 3.

Practice set

Optimizing performance and cost questions

20 questions · select your answer, then reveal the explanation

A company runs a batch processing workload on Compute Engine that runs for 3 hours every night. They want to minimize costs while ensuring the job completes reliably. Which recommendation should they follow?

A company wants to control costs by limiting the maximum number of Compute Engine instances a project can create. Which TWO methods can achieve this? (Choose two.)

A company stores historical log data in Cloud Storage. The logs are accessed rarely after 30 days. They want to reduce storage costs while maintaining immediate access for occasional audits over the next year. What should they use?

A company has a steady-state workload of 100 vCPUs running 24/7. They want to get the maximum discount possible without long-term commitment. What discount should they expect?

Refer to the exhibit. A budget alert has fired for project dev-123 indicating that the cost has exceeded the budget of $1000. What should the team do next to investigate the cost overrun?

Exhibit

{
  "budgetName": "projects/my-project/budgets/my-budget",
  "costAmount": 1500.00,
  "budgetAmount": 1000.00,
  "alertThresholdExceeded": 1.0,
  "budgetFilter": {
    "projects": ["projects/dev-123"],
    "creditTypesTreatment": "INCLUDE_ALL_CREDITS"
  }
}

A company is using Google Kubernetes Engine (GKE) with multiple node pools. They notice that their monthly costs are higher than expected. Upon review, they find that several preemptible VMs are being recreated frequently, leading to sustained usage costs. What is the most cost-effective solution to reduce costs?

A company uses Cloud Storage to store archival data. They want to minimize storage costs while maintaining availability. Which storage class should they use?

A company is using BigQuery for analytics and wants to control costs. They have many queries that scan large amounts of data. Which approach is most effective in reducing query costs?

A company uses Cloud CDN to deliver content globally. They notice increasing egress costs. Which change will most effectively reduce egress costs?

A company is using Google Cloud and wants to monitor and control costs. Which TWO actions should they take? (Choose two.)

A company runs a web application on Google Kubernetes Engine (GKE) with multiple services. They want to reduce costs without impacting performance. Which THREE actions should they take? (Choose three.)

You are a DevOps engineer at a large e-commerce company that runs its production workloads on Google Kubernetes Engine (GKE) in the us-central1 region. The cluster has 500 nodes, each with 8 vCPUs and 32 GB of memory, and uses preemptible VMs for cost savings. Over the past month, the monthly GKE cost has increased by 30% unexpectedly. Upon reviewing the billing reports, you notice a significant spike in Compute Engine costs, specifically for 'Sustained Use Discount' line items, but the total cost is higher than expected. You also observe that the cluster's node utilization is inconsistent, with some nodes running at 90% CPU and memory while others are below 20%. Your team has been deploying stateless microservices and using Cluster Autoscaler with default settings. The application traffic is variable but predictable, with peaks on weekends. You need to reduce the GKE costs without impacting performance. What should you do?

A company runs a critical application on Google Kubernetes Engine (GKE) with 3 nodes (e2-standard-4). To reduce costs, the team is considering right-sizing the nodes. The application is latency-sensitive and experiences periodic traffic spikes. What is the most cost-effective approach that maintains performance during spikes?

A DevOps team is analyzing Google Cloud costs and notices that spending on BigQuery has increased significantly. They want to reduce costs without impacting ongoing analytical workloads. Which TWO actions should they take? (Choose two.)

Refer to the exhibit. The output shows a recommendation from the Cloud Cost Optimization recommender for an instance in us-central1-a. The instance is a production web server that consistently runs at 25% CPU utilization during peak hours. What should the DevOps engineer do to implement this recommendation with minimal risk?

Network Topology
project=my-projectlocation=us-central1recommender=google.cloudcosts.Recommenderformat=jsonRefer to the exhibit.```"primaryImpact": {"costProjection": {"cost": {"currencyCode": "USD","units": "-104","nanos": 640000000},"duration": "2592000s""recommenderSubtype": "CHANGE_MACHINE_TYPE","content": {"overview": {"targetResources": ["//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/instance-1"],"recommendedMachineType": "n2-standard-4","currentMachineType": "n2-standard-8"

Arrange the steps to troubleshoot a high latency issue on a Google Cloud HTTP(S) Load Balancer.

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

Order the steps to respond to a Google Cloud security incident involving a compromised service account key.

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

Match each SRE term to its description.

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

Concepts
Matches

Actual measured service performance

Target reliability level for a service

Contractual commitment to customers

Allowed downtime before SLO breach

Manual, repetitive operational work

Match each cost optimization practice to its description.

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

Concepts
Matches

Discount for 1- or 3-year resource commitment

Automatic discounts for running instances most of month

Short-lived, low-cost instances for batch jobs

Adjusting machine type to match workload needs

Notifications when spending exceeds thresholds

A company uses Compute Engine with committed use discounts for 1-year. They need to reduce costs further. What should they do?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Optimizing performance and cost sessions

Start a Optimizing performance and cost only practice session

Every question in these sessions is drawn from the Optimizing performance and cost domain — nothing else.

Related practice questions

Related PCDOE topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the PCDOE exam test about Optimizing performance and cost?
QoS questions usually test traffic classification (DSCP/CoS), queuing strategies, policing vs shaping and where each mechanism is applied.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Optimizing performance and cost questions in a focused session?
Yes — the session launcher on this page draws every question from the Optimizing performance and cost domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other PCDOE topics?
Use the topic links above to move to related areas, or go back to the PCDOE question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the PCDOE exam covers. They are not copied from any real exam or dump site.