Keep data readable, private and recoverable
Select key policies, transport security, retention controls and independent recovery points from a data classification.
Task 1.3 · Keep data readable, private and recoverable
Classify before copying
Record sensitivity, authorized readers, jurisdictions, immutability period, recovery point objective and restore deadline. Each replica, export and backup needs a compatible Region, access model and retention plan. Separate people who manage encryption keys from people who can decrypt records. Enable CloudTrail auditing for relevant management and data events. Discovery tools such as Macie can surface sensitive S3 data for review.
Follow an encrypted read
S3 can encrypt with service-managed keys or SSE-KMS. Choose a customer managed KMS key when you require your own policy, auditable key use or authorized cross-account use. An application reading SSE-KMS data needs the S3 permission and authorization to decrypt with that key. An envelope-encryption design encrypts data with a data key and protects that key under KMS. Automatic KMS key rotation preserves the ability to decrypt older ciphertext under retained key material. Check permissions and key availability in the recovery account.
Protect transit and retention
Use TLS between clients and trusted endpoints, validate hostnames and renew certificates before expiry. Eligible ACM-issued certificates can renew automatically when renewal conditions, including validation, remain satisfied. Enforce secure transport on S3 with a bucket policy. Versioning preserves older versions, Object Lock can enforce retention on versions, and lifecycle rules manage transitions and expiration. Test restoring from separately controlled recovery points. Replication alone can faithfully copy a damaging change.
Verify the historical inventory
A policy applied to new writes does not prove that older objects or their recovery copies meet the same requirements. Inventory versions, storage classes, encryption keys, retention dates and destination status. For existing objects that qualify, plan a controlled backfill such as S3 Batch Replication. Compare a version count and representative checksums, then restore and decrypt a selected old version using the recovery identity. Preserve any legal holds while replacing or copying data.
A regulator requests last quarter’s file
A billing export is overwritten daily. It must be recoverable as it stood on any day for seven years, even if a platform administrator attempts to shorten retention. Legal staff may need to extend a particular record’s retention.
Choose a retention mode and describe a recovery test that proves the entire chain works.
Compare your design with the worked answer
Enable versioning and S3 Object Lock in compliance mode for the required retention. Use a legal hold on versions subject to an additional hold. Restrict deletion and KMS key administration. Restore a selected version into an isolated account with authorized key access and compare its checksum with the archived evidence.
Governance mode can suit internal retention when authorized users need a bypass. A seven-year lifecycle by itself schedules storage actions and does not enforce the regulatory restriction.
Apply the video example
Follow the key as well as the file. Draw one path for reading an encrypted object and another for decrypting its data key. Then repeat the drawing with a recovery-account role. A valid object copy with an unusable key fails this recovery test.
freeCodeCamp at 46:24:58 · KMS envelope encryption
AWS exam guide for this domain · Return to the objective map
Keep data readable, private and recoverable quiz
Answer 5 questions. Check each answer for an explanation.