Amazon GuardDuty: Detect Unauthorized S3 Access Automatically
A security team needs to detect unauthorized attempts to access an S3 bucket that contains sensitive data. Which AWS service can automatically analyze S3 access logs and generate findings for suspicious activity?
Quick Answer
Amazon GuardDuty is the answer because it is a managed threat-detection service purpose-built to continuously analyze multiple AWS data sources for suspicious behavior without the security team having to build any detection logic themselves. Once S3 protection is enabled, GuardDuty can ingest S3 data events and related logs and apply its threat-intelligence and anomaly-detection models to spot patterns that indicate unauthorized or malicious activity, such as unusual access from an unfamiliar geography, requests consistent with data exfiltration, or access patterns that deviate from a bucket's normal usage, and it turns whatever it finds into a structured finding rather than raw log entries the team would have to comb through manually. The distinction that matters here is between raw log collection and actual analysis: plenty of AWS services can capture or store S3 access activity, but GuardDuty's role is specifically to interpret that activity against known threat patterns and behavioral baselines and surface only what looks suspicious, which is what lets those findings feed directly into automated remediation workflows. Whenever a scenario specifically asks for a service that can automatically analyze logs and generate findings for suspicious activity, rather than one that merely collects or stores the logs, that phrasing is pointing at a threat-detection service like GuardDuty rather than a logging or auditing service, since detection and interpretation is GuardDuty's specific job in the AWS security toolset.
⚠ Common exam trap
Many exam-takers confuse Amazon Macie's data classification and sensitive data discovery capabilities with GuardDuty's threat detection, mistakenly thinking Macie can analyze access logs for unauthorized activity, when in fact Macie focuses on data content and access control policies, not real-time log-based threat detection.
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 GuardDuty
Amazon GuardDuty is a threat detection service that continuously monitors for malicious activity and unauthorized behavior across AWS accounts and workloads. It can analyze VPC Flow Logs, AWS CloudTrail event logs, and DNS logs, and when S3 access logging is enabled, GuardDuty can ingest those logs to detect suspicious S3 access patterns, such as anomalous data exfiltration or access from unusual geographies. GuardDuty then generates security findings that can be automated for remediation.
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 Macie
Why it's wrong here
Macie discovers sensitive data, not analyzes access logs.
- ✓
Amazon GuardDuty
Why this is correct
GuardDuty analyzes S3 data events for suspicious activity.
- ✗
AWS Trusted Advisor
Why it's wrong here
Trusted Advisor provides recommendations, not threat detection.
- ✗
Amazon Detective
Why it's wrong here
Detective investigates incidents but does not automatically analyze S3 access logs.
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
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 →
Same concept, more angles
1 more way this is tested on SCS-C02
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 company is experiencing unauthorized access attempts to an S3 bucket. Which AWS service can be used to detect and alert on such events in real time?
easy- A.Amazon Macie
- B.AWS Config
- C.AWS CloudTrail
- ✓ D.Amazon GuardDuty
Why D: Amazon GuardDuty is a threat detection service that continuously monitors for malicious activity and unauthorized behavior across AWS accounts and workloads. It uses machine learning, anomaly detection, and integrated threat intelligence to analyze AWS CloudTrail management and data events, VPC Flow Logs, and DNS logs. When it detects unauthorized access attempts to an S3 bucket, such as suspicious API calls or anomalous data access patterns, it generates real-time security findings that can be sent to Amazon CloudWatch Events for alerting and automated response.
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.