AWS Cloud Certify · Practice exams

Security Specialty

GuardDuty vs Inspector vs Macie vs Security Hub vs Detective: Which AWS Security Service Does What?

Updated October 2026 · 3 min read · Based on official AWS documentation

Quick answer

GuardDuty detects threats, Inspector finds software vulnerabilities and network exposure, Macie finds sensitive data in S3, Security Hub CSPM aggregates findings and checks security standards, Detective investigates root cause, and Security Lake centralizes security data.

The six services in one table

AWS security services compared
ServiceWhat it doesWhat it looks at
Amazon GuardDutyThreat detection. Continuously monitors, analyzes and processes AWS data sources and logs, using threat intelligence feeds and machine learning to find suspicious activity.CloudTrail management events, VPC Flow Logs and Route 53 Resolver DNS logs by default, plus optional protections.
Amazon InspectorVulnerability management. Discovers workloads and continually scans them for software vulnerabilities and unintended network exposure.Amazon EC2 instances, container images in Amazon ECR and Lambda functions.
Amazon MacieSensitive data discovery. Uses machine learning and pattern matching to find sensitive data, and evaluates the security of your buckets.Amazon S3 buckets and objects.
AWS Security Hub CSPMPosture management. Gives a comprehensive view of your security state and assesses it against standards such as AWS FSBP, CIS, PCI DSS and NIST. Also receives findings from other AWS services and partners.Security data and findings across accounts and services.
Amazon DetectiveInvestigation. Helps you analyze, investigate and identify the root cause of security findings or suspicious activity.Findings, finding groups and entities, for example from GuardDuty and Inspector.
Amazon Security LakeSecurity data lake. Centralizes security data from AWS, SaaS, on-premises and third-party sources into a data lake in your account, in Parquet and the OCSF schema.Log and event data from many sources.

Source: docs.aws.amazon.com/guardduty/latest/ug/what-is-guardduty.html

Sources for each row: the "What is" pages for GuardDuty, Inspector, Macie, Security Hub CSPM, Detective and Security Lake.

Which one fits the scenario?

Exam-style scenarios and the matching service
ScenarioService
Compromised or exfiltrated credentials, cryptomining or malware on EC2 or containersGuardDuty
Find known software vulnerabilities in EC2 instances, ECR images or Lambda functionsInspector
Find sensitive data such as personal information in S3, or a bucket that became publicMacie
See findings from many services in one place and check against CIS or PCI DSSSecurity Hub CSPM
Work out which systems and users were affected and where an attack beganDetective
Keep security logs in a normalized data lake you ownSecurity Lake

How they work together

  1. GuardDuty, Inspector and Macie generate findings.
  2. Security Hub CSPM collects findings from those services and checks your environment against security standards.
  3. Detective takes a finding and helps you triage, scope and find the root cause.
  4. Amazon EventBridge can route findings, for example from Macie, to Lambda or SNS to automate a response.

Study the detection side in GuardDuty, CloudTrail and Config notes and Macie notes. See Domain 1: Detection and Domain 2: Incident Response for the exam tasks.

Common confusions

Frequently asked questions

What is the difference between GuardDuty and Inspector?

GuardDuty is threat detection that monitors logs and data sources for suspicious activity. Inspector is vulnerability management that scans EC2 instances, ECR container images and Lambda functions for software vulnerabilities and unintended network exposure.

Does GuardDuty require CloudTrail to be enabled?

No. GuardDuty consumes CloudTrail management events, VPC Flow Logs and Route 53 Resolver DNS logs through independent, duplicated streams.

What does CSPM stand for in Security Hub?

Cloud Security Posture Management.

Which service investigates the root cause of a finding?

Amazon Detective.

Sources

AWS updates its programs and documentation. Check the linked official pages for the latest details before you decide or pay.

Practice for your AWS exam

Free practice tests with instant explanations and spaced repetition. No sign-up.

Start a practice test Security Specialty hub

Keep reading