SCS-C02 Threat Detection and Incident Response Practice Question
A security engineer needs to detect and alert on suspicious API calls made from a compromised EC2 instance. The instance is associated with an IAM role that has permissions to call various AWS APIs. Which AWS service should the engineer use to monitor API calls and trigger alerts?
⚠ Common exam trap
Watch out — candidates often confuse GuardDuty's threat detection capabilities with the need for custom alerting on specific API calls, overlooking that CloudTrail combined with CloudWatch Events (EventBridge) is the correct service pair for granular, user-defined monitoring and alerting.
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 CloudTrail combined with Amazon CloudWatch Events
AWS CloudTrail records all API calls made by or on behalf of the EC2 instance's IAM role. By sending these logs to Amazon CloudWatch Events (now Amazon EventBridge), you can create rules that match specific API actions (e.g., 'ec2:TerminateInstances') and trigger alerts via SNS, Lambda, or other targets. This combination provides real-time monitoring and alerting for suspicious API activity from a compromised instance.
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 GuardDuty
Why it's wrong here
Amazon GuardDuty is a continuous security monitoring service that uses machine learning, anomaly detection, and threat intelligence to identify malicious activity and unauthorized behavior. While it can detect many types of threats from CloudTrail and VPC Flow Logs, it does not allow you to define custom, real-time alert rules for every specific API call pattern. Its focus is on known threat signatures and behavioral anomalies, not on providing granular, per-API-call alerting that an engineer might need for suspicious activity.
- ✓
AWS CloudTrail combined with Amazon CloudWatch Events
Why this is correct
AWS CloudTrail records every API call made to AWS services, capturing details such as the identity, time, source IP, and request parameters. By sending these event logs to Amazon CloudWatch Events (or Amazon EventBridge), you can create custom rules to match specific API activity, such as unusual calls or attempts from unexpected regions, and trigger alerts via SNS or AWS Lambda. This combination gives you direct, real-time, and customizable detection and alerting on the API calls themselves, making it the correct choice.
- ✗
AWS Config
Why it's wrong here
AWS Config is designed to assess, audit, and evaluate the configurations of AWS resources against desired policies and compliance standards. It records resource configuration changes and can trigger rules based on those configurations, but it does not capture or analyze the API calls that caused those changes. Because the requirement is to detect suspicious API activity, AWS Config lacks the necessary visibility into the actual API call event stream and cannot generate alerts for suspicious API actions.
- ✗
VPC Flow Logs
Why it's wrong here
VPC Flow Logs capture metadata about IP traffic entering and leaving network interfaces in a VPC, including source and destination IP addresses, ports, protocols, and packet/byte counts. They are invaluable for analyzing network-level behavior, such as unusual traffic patterns or potential network reconnaissance, but they do not log AWS API calls or identify user actions. Since the security engineer needs to detect suspicious API activity rather than network traffic, VPC Flow Logs are unsuitable for this specific requirement.
Quick reference
Cloud Service Model Comparison
| Model | You Manage | Provider Manages | Examples |
|---|---|---|---|
| IaaS | OS, runtime, apps, data | Hardware, hypervisor, networking | EC2, Azure VMs, GCP Compute Engine |
| PaaS | Apps and data | OS, runtime, middleware, hardware | Elastic Beanstalk, Azure App Service |
| SaaS | Data and settings only | Everything else | Microsoft 365, Salesforce, Workday |
| FaaS / Serverless | Function code only | Infra, scaling, runtime | Lambda, Azure Functions, Cloud Run |
| CaaS | Containers and apps | Kubernetes, OS, hardware | EKS, AKS, GKE |
Go deeper
Related to this question
About these practice questions
This SCS-C02 question is part of Courseiva's 376-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SCS-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 SCS-C02 exam.