SCS-C02 Threat Detection and Incident Response Practice Question
A security engineer is investigating a potential data exfiltration from an S3 bucket that is configured to allow public access. The engineer wants to determine who accessed the bucket and from which IP addresses. Which AWS capability should be used?
⚠ Common exam trap
A common mix-up: candidates confuse S3 server access logs (which also log IPs and request details) with CloudTrail data events, but server access logs lack IAM user identity information and are not integrated with AWS CloudTrail's centralized audit trail, making CloudTrail the correct choice for identity-aware investigation.
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 data events for S3
AWS CloudTrail data events for S3 capture detailed API activity at the object level, including GetObject, PutObject, and DeleteObject calls. This allows the security engineer to identify exactly who accessed the bucket (via the user identity) and from which IP address (via the sourceIPAddress field in the CloudTrail event). Unlike management events, data events must be explicitly enabled and provide the granularity needed for this investigation.
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 S3 server access logs
Why it's wrong here
S3 server access logs capture object-level requests (e.g., GET, PUT) along with requester, bucket, key, and response status, but they are delivered to a target bucket on a best-effort basis with delays that can stretch to hours. This makes them inappropriate for investigating a potential exfiltration in near real time, because the attacker's activity may not appear until long after the incident, and the logs often require additional parsing or ETL to correlate with other security signals.
- ✗
AWS IAM Access Analyzer
Why it's wrong here
AWS IAM Access Analyzer is a policy-analysis tool that inspects resource policies (such as S3 bucket policies or KMS key policies) to identify resources shared with external principals, but it does not record or inspect data-plane activity. It can only reveal that a bucket is potentially accessible from outside, not whether an object was actually read or copied. Therefore, it cannot provide evidence that exfiltration occurred; it merely flags exposure that could be exploited, which is a fundamentally different type of signal than operation logs.
- ✓
AWS CloudTrail data events for S3
Why this is correct
CloudTrail data events for S3 capture object-level API calls such as GetObject, PutObject, and ListBucket, recording the IAM principal, source IP address, timestamp, and specific request parameters. Unlike management events, data events require explicit enablement on the trail or bucket, but once enabled they provide queryable, near real-time records of exactly the operations an attacker would perform to extract data. This gives investigators the necessary combination of user identity, network origin, and object-level action to confirm or refute exfiltration, making it the correct choice.
- ✗
Amazon VPC Flow Logs
Why it's wrong here
VPC Flow Logs record network metadata at the elastic network interface level, including source and destination IP addresses, ports, protocol, and byte counts. When S3 is accessed via a gateway endpoint, interface endpoint, or public internet, flow logs will show connections to S3's IP ranges and data transfer sizes, but they cannot identify which API operation was invoked or which object was requested. An investigator might see a large volume of outbound bytes, but without object-level detail they cannot attribute it to a specific user or confirm that a download occurred, so these logs alone are insufficient to prove data exfiltration.
Quick reference
AWS S3 Storage Class Comparison
| Storage Class | Min Duration | Retrieval | Use Case |
|---|---|---|---|
| S3 Standard | None | Immediate | Frequently accessed data |
| S3 Standard-IA | 30 days | Immediate | Infrequent access, rapid retrieval |
| S3 One Zone-IA | 30 days | Immediate | Non-critical infrequent data |
| S3 Intelligent-Tiering | None | Immediate–hours | Unknown or changing access patterns |
| S3 Glacier Instant | 90 days | Milliseconds | Archive with instant retrieval |
| S3 Glacier Flexible | 90 days | Minutes–hours | Archive, flexible retrieval |
| S3 Glacier Deep Archive | 180 days | Hours | Long-term compliance archive |
Go deeper
Related to this question
About these practice questions
Courseiva writes every SCS-C02 question from scratch — 376 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 →
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.