AWS - Security Specialty Study Guide

    5: Data Protection

    This chapter is the data-protection layer for AWS workloads, covering encryption in transit through TLS and AWS Certificate Manager, encryption at rest through AWS KMS and CloudHSM, secrets and certificate lifecycles, data discovery and classification with Amazon Macie, and the integrity, lifecycle, and retention controls that make data tamper-evident and recoverable. It assumes the identity, infrastructure, and detection foundations from Chapters 1 through 4 and focuses on the configuration decisions, policy edge cases, and failure modes that distinguish a passing answer from a plausible distractor.

    Learning Objectives

    By the end of this chapter, you will be able to:

    • Design secure data-transit solutions using TLS, AWS Certificate Manager (ACM), and AWS Private CA, and implement secure replication and backup with AWS Backup, Amazon Data Lifecycle Manager, AWS DataSync, and ransomware-protection patterns.
    • Implement secure access to AWS services and resources through AWS PrivateLink, VPC endpoints, AWS Client VPN, and AWS Verified Access, and design key-management strategies covering KMS key policies, grants, multi-Region keys, rotation, aliases, external key stores (XKS), and imported key material (BYOK).
    • Implement encryption in transit between AWS resources for Amazon EMR, Amazon EKS, Amazon SageMaker AI, and AWS Nitro instances, and implement controls for managing confidential data including masking with Amazon CloudWatch Logs data-protection policies and Amazon SNS message data protection.
    • Manage TLS certificate lifecycles in ACM and AWS Private CA, including automated renewal, and manage secrets through AWS Secrets Manager rotation and AWS Systems Manager Parameter Store SecureString.
    • Design and implement encryption at rest using customer-managed KMS keys, AWS CloudHSM, envelope encryption, client-side encryption, and server-side encryption, and manage certificates across single and multiple Regions.
    • Implement encryption at rest for Amazon S3 (SSE-S3, SSE-KMS, DSSE-KMS, SSE-C), Amazon EBS, Amazon RDS, and Amazon EFS, and implement data discovery and classification with Amazon Macie.
    • Implement data-integrity controls including Amazon S3 Object Lock, Amazon S3 Glacier Vault Lock, S3 versioning, digital code signing, and file validation.
    • Implement data lifecycle and retention policies through Amazon S3 Lifecycle, Amazon EFS Lifecycle policies, and Amazon FSx for Lustre backup policies.

    Executive Summary

    • Data in transit is protected by negotiating modern TLS at every termination point (ALB, NLB, CloudFront, API Gateway, custom endpoints), pinning a security policy that disables weak ciphers, and using ACM for public-trust certificates with automated renewal or AWS Private CA for internal-trust hierarchies.
    • Data at rest is protected through envelope encryption: AWS KMS issues data keys that are used to encrypt object bytes, KMS itself never sees the plaintext, and a key policy plus grant model decides who can call Encrypt, Decrypt, and GenerateDataKey on the customer-managed key.
    • The right Amazon S3 server-side mode (SSE-S3, SSE-KMS, DSSE-KMS, SSE-C) is dictated by who controls the key, whether a single layer or dual layer of encryption is required, and whether bucket keys are needed to suppress KMS API cost.
    • Data integrity is enforced through versioning combined with S3 Object Lock or Glacier Vault Lock for WORM behavior, plus digital code signing via AWS Signer and file validation through CloudTrail log file digests and S3 object checksums.
    • Lifecycle and retention controls reduce risk and cost together: S3 Lifecycle moves cold data to Glacier tiers, EFS Lifecycle moves cold files to IA or Archive, FSx for Lustre backup policies bound RPO, and AWS Backup vault lock plus immutable replicas defend against ransomware paths that would otherwise erase the recovery surface.

    Assumptions

    • Region names and account IDs in code samples are placeholders (us-east-1, 111122223333); replace them with values from your landing zone.
    • The reader has read Chapter 4 and is fluent with permission boundaries, SCPs, RCPs, the aws:PrincipalOrgID and aws:ResourceOrgID conditions, the explicit-deny precedence rule, and the data perimeter pattern.
    • Configuration snippets target the latest stable AWS CLI and the latest stable API revisions documented in the official AWS service docs; the AWS Management Console screens are not reproduced.
    • KMS keys are symmetric SYMMETRIC_DEFAULT (AES-256-GCM) unless the prose explicitly names asymmetric RSA_* or ECC_* key specs.

    Sections in this chapter

    1. Free
    2. Free with account
    3. Free with account
    4. Free with account
    5. Free with account
    6. Free with account
    7. Free with account
    8. Free with account
    9. Free with account