Separate archival, expiry and recovery
An archive has a ninety-day online window and a contractual deletion deadline.
Separate archival, expiry and recovery
An archive has a ninety-day online window and a contractual deletion deadline. Inventory current objects, noncurrent versions, replicas and exports before setting policies. Calculate restore delay and verify a recovery by reading restored data. DynamoDB TTL is asynchronous, so applications enforcing an exact deadline must also filter expired records.
Decisions to rehearse
- S3 lifecycle transition
- A transition changes storage class according to age while preserving the object.
- Noncurrent-version expiration
- In a versioned bucket, retiring current keys alone leaves older versions stored.
- DynamoDB TTL
- TTL schedules eventual deletion of items carrying an epoch expiration attribute.
- Redshift UNLOAD
- UNLOAD exports a query result from Redshift to S3 for retention or downstream use.
Practise each AWS skill
These references use the skill numbers in the AWS guide.
- 2.3.1 · Design a Redshift COPY from several balanced files and an UNLOAD of a filtered result. Reconcile both directions.
- 2.3.2 · Estimate storage and restore impact when changing a prefix's lifecycle transition to a colder class.
- 2.3.3 · Select an expiration age, test it on a scoped prefix and verify the affected current object versions.
- 2.3.4 · Compare noncurrent object version cleanup with eventual DynamoDB TTL removal under the retention contract.
- 2.3.5 · Inventory primary, historical, replicated and backed-up copies before attesting to a deletion request.
- 2.3.6 · Restore a representative retained object and verify both its age and the elapsed recovery time.
Official skills for this topic
Work through the decision
A customer deletes a versioned object. A month later retained bytes remain high, and an auditor still finds an older version. Which evidence should you inspect before declaring deletion complete?
Check your reasoning
Read the version listing, delete markers, noncurrent expiration, replication destinations and protected backups. Apply the agreed retention policy to each copy and verify the resulting version inventory.
Related lesson in Data Engineer Associate · Delta Lake.
Separate archival, expiry and recovery quiz
Answer 3 questions. Check each answer for an explanation.