Question 101 of 503
Monitor and optimize database performancemediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is to add read replicas, as this is the most effective optimization for reducing CPU load on Cloud SQL for PostgreSQL during read-heavy peaks. By directing SELECT traffic to replicas, you offload the primary instance from processing these queries, which directly lowers its CPU utilization and preserves resources for writes and critical operations. On the Google Professional Cloud Database Engineer exam, this scenario tests your understanding of horizontal read scaling versus vertical scaling or caching—a common trap is choosing to increase machine size, which only masks the problem without addressing the root cause of read contention. Remember the memory tip: “Replicas read, primary writes,” so when you see high CPU from read-heavy workloads, think replicas first, not bigger hardware.

PCDE Monitor and optimize database performance Practice Question

This PCDE practice question tests your understanding of monitor and optimize database performance. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company has a Cloud SQL for PostgreSQL instance that experiences high CPU usage during peak hours due to read-heavy queries. Which optimization is most effective for reducing CPU load?

Question 1mediummultiple choice
Full question →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Add read replicas

Adding read replicas offloads read-heavy queries from the primary Cloud SQL for PostgreSQL instance, distributing the query load and reducing CPU utilization on the primary. This is the most direct and effective optimization for read-heavy workloads because replicas handle SELECT traffic while the primary focuses on writes and critical operations.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Use connection pooling

    Why it's wrong here

    Connection pooling reduces overhead but not the CPU cost of query execution.

  • Increase memory size

    Why it's wrong here

    More memory can help caching but does not directly reduce query processing CPU.

  • Add read replicas

    Why this is correct

    Read replicas distribute read queries, reducing CPU on the primary instance.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Enable automatic storage increase

    Why it's wrong here

    Automatic storage increase addresses storage capacity, not CPU load.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the misconception that connection pooling or memory increases are universal performance fixes, but for read-heavy CPU spikes, offloading reads to replicas is the targeted solution.

Detailed technical explanation

How to think about this question

Cloud SQL read replicas use PostgreSQL's streaming replication (WAL-based) to maintain an almost real-time copy of the primary database. When read replicas are configured, applications can route SELECT queries to the replica's endpoint, which has its own CPU and memory resources, thereby isolating the primary from read load. In a real-world scenario, a reporting dashboard hitting the primary with complex aggregations could be redirected to a replica, reducing primary CPU from 95% to 30% without any query changes.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related PCDE practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free PCDE practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this PCDE question test?

Monitor and optimize database performance — This question tests Monitor and optimize database performance — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Add read replicas — Adding read replicas offloads read-heavy queries from the primary Cloud SQL for PostgreSQL instance, distributing the query load and reducing CPU utilization on the primary. This is the most direct and effective optimization for read-heavy workloads because replicas handle SELECT traffic while the primary focuses on writes and critical operations.

What should I do if I get this PCDE question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more ways this is tested on PCDE

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. You are monitoring a Cloud SQL for PostgreSQL instance and notice that the CPU utilization is consistently above 90% during peak hours. What is the most cost-effective initial action to reduce CPU load?

easy
  • A.Remove unnecessary indexes to reduce write overhead
  • B.Reduce the max_connections parameter to limit concurrent users
  • C.Add a read replica to offload read traffic
  • D.Increase the machine type (e.g., go to a higher vCPU count)

Why C: Adding a read replica is the most cost-effective initial action because it offloads read queries from the primary instance, reducing CPU contention without incurring the cost of upgrading the entire instance. Cloud SQL for PostgreSQL replicas use native streaming replication, so they handle read traffic while the primary focuses on writes, directly addressing high CPU utilization from read-heavy workloads.

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This PCDE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCDE exam.