CLF-C02 ยท Security services and resources
GuardDuty, Inspector and Detective
Amazon GuardDuty for threat detection, Amazon Inspector for vulnerability scanning of workloads, and Amazon Detective for investigating findings.
Key points
- Amazon GuardDuty (threat detection): analyzes CloudTrail management events, VPC flow logs and DNS logs with threat intelligence and machine learning; no agents.
- Amazon Inspector (vulnerability management): keeps scanning EC2, ECR container images and Lambda for CVEs and network exposure.
- Amazon Detective (investigation): behavior graph to find a finding's root cause.
- None of them fixes the problem for you.
Source: https://docs.aws.amazon.com/guardduty/latest/ug/what-is-guardduty.html
Practice questions
Which AWS service scans EC2 instances and container images for known software vulnerabilities?
- Amazon GuardDuty
- Amazon Detective
- AWS WAF
- Amazon Inspector
Show answer
Answer: D. Amazon Inspector
Amazon Inspector continually scans EC2 instances, ECR container images and Lambda functions for software vulnerabilities and network exposure. GuardDuty looks for malicious activity in logs, Detective supports investigations, and WAF filters web traffic.
Which data sources does Amazon GuardDuty analyze automatically as soon as it is enabled, without extra setup?
- AWS CloudTrail management events
- Application log files stored on EC2 disks
- VPC flow logs
- DNS logs
- The text inside every S3 object
Show answer
Answer: A. AWS CloudTrail management events, C. VPC flow logs, D. DNS logs
GuardDuty's foundational sources are CloudTrail management events, VPC flow logs from EC2 and DNS logs; you do not need to turn them on yourself. It does not read application log files on disk or the contents of S3 objects as part of foundational detection.
Amazon Detective is the service that first detects threats in your account; GuardDuty is only used afterwards to investigate them.
Show answer
Answer: False
False, it is the other way round. GuardDuty detects suspicious activity and produces findings. Detective ingests those findings together with CloudTrail and VPC flow log data and helps you investigate their root cause.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
