Courseiva
Monitoring and Logging →easyMultiple Choice

DOP-C02 Monitoring and Logging Practice Question

A company wants to receive real-time notifications when their Auto Scaling group launches or terminates EC2 instances. Which AWS service should they use?

⚠ Common exam trap

Many candidates confuse CloudWatch alarms (threshold-based, aggregate metrics) with native ASG lifecycle notifications (event-based, per-instance) — candidates often pick CloudWatch because it 'feels' like the monitoring answer.

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

✓

Amazon SNS notifications from the Auto Scaling group.

Auto Scaling groups natively support lifecycle hooks and notification configurations that publish events (EC2 Instance-launch, EC2 Instance-terminate, EC2 Instance-launch-lifecycle-action, etc.) directly to an Amazon SNS topic. This is the built-in, real-time mechanism designed specifically for launch/terminate notifications, requiring no polling or metric evaluation.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Amazon CloudWatch alarm on the GroupTotalInstances metric.

    Why it's wrong here

    CloudWatch alarms evaluate the GroupTotalInstances metric over a period (e.g., 5-minute averages) and only trigger ALARM after a threshold is breached. This is polling/threshold-based, not event-driven, so there is no immediate notification at the exact moment an instance launches or terminates. Additionally, an alarm would not provide details about which instance was affected or the lifecycle event type, making it unsuitable for real-time event notifications.

  • ✗

    AWS Config rules to detect changes in Auto Scaling groups.

    Why it's wrong here

    AWS Config operates by recording configuration history of resources like Auto Scaling group settings and evaluating rules periodically or on configuration changes. Instance launch and termination events do not change the Auto Scaling group's configuration item (the group's desired/min/max capacity may even remain unchanged), so Config would not even record these transient events. While Config rules can trigger SNS notifications for noncompliance, they are not designed for low-latency, per-event notifications and typically run with evaluation delays.

  • ✗

    AWS CloudTrail to monitor Auto Scaling API calls.

    Why it's wrong here

    CloudTrail captures API calls made to the Auto Scaling service, such as SetDesiredCapacity or CreateAutoScalingGroup, but it delivers log files for auditing and security analysis, not real-time event notifications. To get any notification, you'd have to build a separate pipeline: create a CloudWatch Events rule matching CloudTrail events, attach a Lambda function, then publish to SNS — that is a custom integration, not the direct notification mechanism. CloudTrail itself does not emit notifications when instances launch or terminate.

  • ✓

    Amazon SNS notifications from the Auto Scaling group.

    Why this is correct

    Auto Scaling groups have a built-in notification feature that publishes messages to an SNS topic on lifecycle events like ec2-instance-launch and ec2-instance-terminate. This provides immediate, event-driven delivery of the instance ID, the Auto Scaling group name, and the event type to all subscribers (email, SMS, Lambda, HTTP endpoints). It is the simplest native way to receive real-time notifications for the exact scaling actions the company cares about.

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.