Security services and compliance
Recognize the main AWS security services by their purpose, and find compliance reports and audit logs when asked.
16 min
Security questions on this exam are almost always "which service does this job?". Learn the one-line purpose of each service and ignore the rest of the detail.
Watch the verbs. Prevent (Shield, WAF, security groups, Network Firewall). Detect (GuardDuty, Inspector, Macie, Security Hub). Record (CloudTrail, Config). Protect data (KMS, CloudHSM, Secrets Manager, Certificate Manager). Prove compliance (Artifact, Audit Manager).
Security services by purpose
AWS Shield
- One-line purpose
- Protects against DDoS attacks. Standard is free for everyone. Advanced adds extra protection and response support
AWS WAF
- One-line purpose
- Web application firewall: blocks common web exploits such as SQL injection and cross-site scripting (layer 7)
Amazon GuardDuty
- One-line purpose
- Threat detection: analyzes logs and network traffic for suspicious activity
Amazon Inspector
- One-line purpose
- Scans EC2, container images and Lambda for software vulnerabilities
Amazon Macie
- One-line purpose
- Finds sensitive data such as personal information in S3
AWS KMS
- One-line purpose
- Creates and controls encryption keys for AWS services and your applications
AWS CloudHSM
- One-line purpose
- Dedicated hardware security module that you control for keys
AWS Secrets Manager
- One-line purpose
- Stores and rotates secrets such as database passwords and API keys
AWS Certificate Manager (ACM)
- One-line purpose
- Provisions and manages TLS certificates
AWS CloudTrail
- One-line purpose
- Records API calls and account activity: who did what, when
AWS Config
- One-line purpose
- Tracks resource configuration and flags changes that break rules
AWS Security Hub
- One-line purpose
- Collects findings from many security services in one place
AWS Artifact
- One-line purpose
- On-demand access to AWS compliance reports and agreements
Amazon Cognito
- One-line purpose
- Sign-up and sign-in for your web and mobile app users
AWS Firewall Manager
- One-line purpose
- Manages firewall rules (WAF, Shield and others) across accounts
For the exam, a **security group** is a stateful firewall at the instance level that only allows traffic, and a **network ACL** is a stateless firewall at the subnet level that can allow and deny.
Easy to confuse: CloudTrail, Config, CloudWatch.
CloudTrail
- What it answers
- Who made which API call, and when?
- Example
- Who deleted that bucket?
Best for Auditing and investigation
AWS Config
- What it answers
- What does the resource look like, and did it change from the rule?
- Example
- Is every volume encrypted?
Best for Compliance and configuration history
Amazon CloudWatch
- What it answers
- How is it performing right now?
- Example
- CPU is high, send an alarm
Best for Metrics, logs and alarms
Match the need to the service.
A security officer needs a signed AWS compliance report (for example an ISO certification) for an auditor. Where do they get it?
“Encryption protects data only when it is stored.”
Disk and bucket encryption is the most talked about.
What is actually true
There are two states. At rest means stored (S3, EBS, RDS, with KMS). In transit means moving over a network (TLS). Good security covers both.
- Shield for DDoS, WAF for web exploits, GuardDuty for threats, Inspector for vulnerabilities, Macie for sensitive data in S3.
- KMS manages keys. Secrets Manager stores secrets. ACM manages certificates.
- CloudTrail answers who did what. Config answers what changed. CloudWatch shows performance.
- AWS Artifact is where compliance reports come from.
Which service?
Which service provides a log of API calls made in an AWS account, including who made them?
- AAmazon CloudWatch
- BAWS CloudTrail
- CAWS Config
- DAWS Trusted Advisor
A company wants managed protection against DDoS attacks at no additional cost for all customers. Which is it?
- AAWS Shield Advanced
- BAWS WAF
- CAWS Shield Standard
- DAmazon GuardDuty
Which service scans EC2 instances and container images for known software vulnerabilities?
- AAmazon GuardDuty
- BAmazon Macie
- CAWS Config
- DAmazon Inspector
Which TWO services help protect data with encryption keys or certificates?
- AAWS KMS
- BAWS Artifact
- CAmazon Inspector
- DAWS Certificate Manager
- EAWS Shield
Which firewall is stateless and applies at the subnet level?
- ASecurity group
- BNetwork ACL
- CAWS WAF
- DAWS Shield
Practise this lesson, not just read it
In BiliMind the questions above are marked when you answer, the flashcards come back on a schedule, and the rest of AWS Certified Cloud Practitioner (CLF-C02) is planned around your week. Free.