Courseiva

DOP-C02 Incident and Event Response Practice Question

A DevOps engineer receives a CloudWatch alarm for high CPU utilization on an EC2 instance. The engineer needs to investigate the cause. Which AWS service can provide a detailed analysis of the running processes and their resource consumption?

⚠ Common exam trap

DOP-C02 often tests whether candidates reach for monitoring/audit services (CloudWatch, CloudTrail, Config, Inspector) when the question actually asks for remote command execution — Run Command is the only option that gives OS-level process visibility.

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

✓

AWS Systems Manager Run Command

AWS Systems Manager Run Command lets you remotely execute commands on EC2 instances (via the SSM agent) without SSH or RDP, so you can run tools like top, ps, htop, or perf to inspect running processes and CPU/memory consumption in real time. This is the correct service for interactive, instance-level process investigation triggered by a CloudWatch CPU alarm.

Answer analysis

Option-by-option breakdown

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

  • ✗

    AWS Config

    Why it's wrong here

    AWS Config is a service that records the configuration state and changes of AWS resources, such as instance types, security groups, or tags, and evaluates those configurations against compliance rules. It captures control-plane metadata about resources but has no visibility into the guest OS, so it cannot report on running processes or their CPU consumption. At best, AWS Config might show that an instance type changed or a scaling policy was invoked, but it cannot help identify the specific process causing the high CPU utilization.

  • ✗

    AWS CloudTrail

    Why it's wrong here

    AWS CloudTrail is an audit service that records management-plane API activity in your AWS account, such as who launched or terminated an EC2 instance, modified an Auto Scaling group, or changed IAM policies. It captures JSON-formatted event history with identity, source IP, and timestamps, but it has no access to the guest OS of your instances and cannot report on OS-level performance counters or which specific process is consuming CPU. While CloudTrail might reveal a recent infrastructure change that coincided with the CPU spike, it is not a diagnostic tool for process-level performance issues.

  • ✓

    AWS Systems Manager Run Command

    Why this is correct

    AWS Systems Manager Run Command lets you securely execute commands on managed EC2 instances via the SSM Agent, without requiring SSH, RDP, or open inbound ports. To diagnose a high-CPU alarm, you can run an OS-level command such as `top -b -n1` or `ps aux --sort=-%cpu` to get a snapshot of per-process CPU and memory usage, and retrieve the output from the console, CLI, or an S3 bucket. This gives you process-level detail directly from the guest OS, making it the correct tool to determine the root cause of the CPU spike.

  • ✗

    Amazon Inspector

    Why it's wrong here

    Amazon Inspector is a vulnerability management service that automatically scans workloads for software vulnerabilities (CVEs), unintended network exposure, and deviations from security best practices. It relies on a security agent and network reachability analysis to produce findings about security risks, not about runtime CPU utilization or process behavior. As a result, it cannot tell you why CPU usage is high or identify a misbehaving process like `top` or `ps`; its purpose is security assessment, not performance troubleshooting.

About these practice questions

Courseiva writes every DOP-C02 question from scratch — 1,298 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Amazon Web Services exam blueprint

This DOP-C02 practice question is part of Courseiva's free Amazon Web Services 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 DOP-C02 exam.