5.3 Security Services Deep Dive

Key Takeaways

  • AWS IAM Identity Center (formerly AWS SSO) provides single sign-on access to multiple AWS accounts and business applications.
  • AWS Cognito provides authentication and authorization for web and mobile applications — supports user sign-up/sign-in and federation.
  • AWS Directory Service provides managed Microsoft Active Directory for Windows workloads on AWS.
  • Amazon GuardDuty analyzes CloudTrail, VPC Flow Logs, DNS logs, and EKS audit logs to detect threats using ML.
  • AWS Security Token Service (STS) provides temporary security credentials for IAM roles and federated users.
Last updated: June 2026

Quick Answer: This deep dive separates the identity services the exam confuses — IAM (AWS account access), IAM Identity Center (SSO across many accounts), and Cognito (your application's end users) — then covers encryption at rest and in transit, KMS key types, and the detective/compliance services (GuardDuty, Inspector, Macie, Config, CloudTrail, Security Hub).

Identity Services

AWS IAM Identity Center (formerly AWS SSO)

IAM Identity Center provides centralized single sign-on to multiple AWS accounts and business applications.

FeatureDetail
Single Sign-OnOne login across all accounts in your Organization
DirectoryBuilt-in, or integrate Active Directory, Okta, Microsoft Entra ID
Permission SetsDefine permissions once, assign to many accounts
Business AppsSSO to Salesforce, Slack, Microsoft 365, and more

Amazon Cognito

Amazon Cognito adds authentication and authorization to your web and mobile apps.

FeatureDetail
User PoolsSign-up/sign-in directory (username/password, social)
Identity PoolsIssue temporary AWS credentials to app users
FederationSign in with Google, Facebook, Apple, SAML, OIDC
MFABuilt-in multi-factor support
ScalingMillions of users

On the Exam: Cognito = authentication for your APPLICATION'S users. IAM = access control for your AWS ACCOUNT. This exact distinction is tested repeatedly.

AWS Directory Service

ServiceDescription
AWS Managed Microsoft ADFull Microsoft Active Directory in the cloud
AD ConnectorProxy redirecting requests to your on-premises AD
Simple ADBasic AD features powered by Samba

Encryption Deep Dive

Encryption at Rest

ServiceMethod
S3SSE-S3 (default), SSE-KMS, SSE-C; or client-side
EBSAES-256 via KMS; encrypt on creation
RDSKMS for storage, backups, snapshots, replicas
DynamoDBKMS (AWS-owned, AWS-managed, or customer-managed)
EFSKMS at file-system creation

Encryption in Transit

MethodDescription
TLS/SSLHTTPS to AWS service endpoints and APIs
VPNEncrypted tunnel between on-premises and AWS
AWS Certificate Manager (ACM)Free public SSL/TLS certificates for AWS services

AWS KMS Key Types

Key TypeDescriptionControl
AWS OwnedAWS owns and manages; sharedNone
AWS ManagedPer-service keys (aws/s3, aws/rds)View only; auto rotation
Customer ManagedYou create and manage in KMSFull control; policy + rotation

On the Exam: "Most control over keys" = Customer Managed Keys. For automatically rotating secrets like database passwords, the answer is AWS Secrets Manager (not KMS, which manages the encryption keys themselves).


Advanced Security Services

AWS WAF

A web application firewall with managed rules (OWASP Top 10, bot control), custom rules (IP, geo, string/regex match), and rate-based rules that auto-block IPs exceeding a request rate. WAF protects Layer-7 web traffic on CloudFront, ALB, and API Gateway.

Amazon GuardDuty

Intelligent threat detection that analyzes CloudTrail events, VPC Flow Logs, DNS logs, EKS audit logs, and more using ML to surface findings such as cryptomining, communication with command-and-control servers, and unusual API calls — with no agents to deploy.

AWS Network Firewall

A managed, stateful network firewall for VPCs with intrusion prevention, web filtering, and Suricata-compatible custom rules.

AWS Shield

Managed DDoS protection. Shield Standard is automatic and free; Shield Advanced adds enhanced protections, cost-protection guarantees, and DDoS response support.


Compliance and Detective Services

ServicePurpose
AWS ArtifactSelf-service compliance reports (SOC, PCI, ISO)
AWS Audit ManagerAutomate audit evidence collection
AWS ConfigEvaluate resource configurations against rules
AWS CloudTrailLog all API activity for auditing
Amazon InspectorScan workloads for software vulnerabilities
Amazon MacieDiscover and protect sensitive data (PII) in S3
AWS Security HubAggregate and prioritize security findings

On the Exam: Match the verb: detect threats = GuardDuty; scan for vulnerabilities = Inspector; find PII in S3 = Macie; log API calls = CloudTrail; download audit reports = Artifact; central security dashboard = Security Hub. These one-line mappings answer most Security-domain questions.


The Shared Responsibility Model in Practice

Every security question ultimately sits on the Shared Responsibility Model: AWS secures the cloud (hardware, the global infrastructure, the managed-service software), while the customer secures what is in the cloud (data, identity, configuration, and access). The line moves with the service. For EC2 (IaaS), the customer patches the guest OS, configures security groups, and manages encryption. For a managed service like RDS, AWS patches the OS and engine, but the customer still controls data, IAM access, and whether encryption is enabled.

For fully managed and serverless services like S3, DynamoDB, or Lambda, the customer's job narrows mostly to data, access policies, and configuration.

Three responsibilities are always the customer's, regardless of service: protecting the root user (enable MFA, avoid daily use), enforcing least-privilege IAM, and classifying and encrypting their own data. Many exam questions phrase this as "who is responsible for X?" — and the answer follows from whether X concerns the underlying infrastructure (AWS) or the data, identities, and configuration on top of it (customer). Reading each scenario through that lens turns a large share of Security-domain questions into quick, confident answers.

Test Your Knowledge

Which AWS service provides authentication and user management for web and mobile applications?

A
B
C
D
Test Your Knowledge

What is the difference between Amazon Cognito and AWS IAM?

A
B
C
D
Test Your Knowledge

Which AWS KMS key type gives you the MOST control over encryption key management?

A
B
C
D
Test Your Knowledge

Which AWS service provides centralized single sign-on (SSO) access across multiple AWS accounts in an Organization?

A
B
C
D