Question 422 of 500
Managing application performance monitoringeasyMultiple ChoiceObjective-mapped

Quick Answer

The answer is Cloud Profiler, the correct Google Cloud tool for automatically capturing CPU and memory profiling from a production application on Compute Engine. It uses statistical sampling to continuously gather resource consumption data with minimal overhead, identifying exactly which functions or methods are causing performance bottlenecks without requiring code changes or adding significant latency. On the Google Professional Cloud Developer exam, this question tests your ability to distinguish between monitoring tools like Cloud Monitoring, which tracks metrics, and profiling tools like Cloud Profiler, which digs into code-level resource usage. A common trap is confusing Cloud Profiler with Cloud Trace, but remember that Trace handles latency for individual requests, while Profiler focuses on CPU and memory usage across the entire application. Memory tip: Profiler = "Profile" the CPU and memory, not the request path.

PCD Managing application performance monitoring Practice Question

This PCD practice question tests your understanding of managing application performance monitoring. 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 developer wants to automatically capture CPU and memory profiles from a production application running on Compute Engine to identify performance bottlenecks. Which Google Cloud tool should they use?

Question 1easymultiple 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

Cloud Profiler

Cloud Profiler is the correct tool because it continuously gathers CPU and memory usage data from production applications with minimal overhead, using statistical sampling to identify which functions or methods consume the most resources. This allows developers to pinpoint performance bottlenecks without adding significant latency or requiring code changes.

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.

  • Cloud Logging

    Why it's wrong here

    Cloud Logging captures logs, not performance profiles.

  • Cloud Monitoring

    Why it's wrong here

    Cloud Monitoring collects time-series metrics, not profiling data.

  • Cloud Trace

    Why it's wrong here

    Cloud Trace focuses on request latency, not resource profiling.

  • Cloud Profiler

    Why this is correct

    Captures CPU and memory profiles for analysis.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates confuse Cloud Profiler with Cloud Monitoring or Cloud Trace, mistakenly thinking that metrics or tracing alone can identify CPU/memory bottlenecks, but only Profiler provides code-level profiling data.

Detailed technical explanation

How to think about this question

Cloud Profiler uses a statistical sampling approach (e.g., Wall Time and Heap profiling) that collects stack traces at a configurable rate (default 10 Hz) to build a flame graph of resource consumption. It supports multiple languages (Java, Python, Go, Node.js) and can run in production with less than 1% overhead, making it suitable for always-on profiling. A real-world scenario is identifying a memory leak in a Java application by observing heap allocation patterns over time in the Profiler UI.

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

An e-commerce site experiences heavy traffic on Black Friday and near-zero traffic during off-peak weeks. Rather than provisioning permanent large VMs, the team uses auto-scaling groups that add capacity automatically under load and reduce it overnight. Questions like this test whether you understand elasticity, availability zones, and cloud compute scaling patterns.

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 PCD 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 PCD 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 PCD question test?

Managing application performance monitoring — This question tests Managing application performance monitoring — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Cloud Profiler — Cloud Profiler is the correct tool because it continuously gathers CPU and memory usage data from production applications with minimal overhead, using statistical sampling to identify which functions or methods consume the most resources. This allows developers to pinpoint performance bottlenecks without adding significant latency or requiring code changes.

What should I do if I get this PCD 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

2 more ways this is tested on PCD

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. A developer needs to view detailed performance profiles of a Java application running on Compute Engine to identify CPU hotspots. Which Google Cloud service should they use?

easy
  • A.Cloud Monitoring
  • B.Cloud Trace
  • C.Cloud Profiler
  • D.Cloud Logging

Why C: Cloud Profiler is the correct service because it provides continuous, low-overhead CPU and heap profiling for Java applications running on Compute Engine. It uses statistical sampling to identify which methods consume the most CPU time, enabling developers to pinpoint hotspots without requiring code changes or redeployment.

Variation 2. A developer wants to profile their application's CPU and memory usage to identify performance bottlenecks. Which TWO Google Cloud services should they use?

easy
  • A.Cloud Logging
  • B.Cloud Debugger
  • C.Cloud Profiler
  • D.Cloud Trace
  • E.Cloud Monitoring

Why C: Cloud Profiler (Option C) is the correct service for profiling CPU and memory usage because it continuously gathers and analyzes call stacks and resource consumption across your application, identifying the functions that consume the most resources. This directly addresses the developer's goal of pinpointing performance bottlenecks in CPU and memory.

Last reviewed: Jun 25, 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 PCD 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 PCD exam.