AWS Certified Solutions Architect S3 Storage Classes and Policies 2 — Questions and Answers
Question 1: A company stores infrequently accessed compliance logs that must be retrievable within 12 hours. Which S3 storage class minimizes cost while meeting this requirement?
- S3 Standard-IA
- S3 Glacier Flexible Retrieval (Correct answer)
- S3 Glacier Deep Archive
- S3 One Zone-IA
Correct answer: S3 Glacier Flexible Retrieval
S3 Glacier Flexible Retrieval offers bulk retrieval within 5-12 hours at the lowest cost for archives needing occasional access.
Question 2: Which S3 feature automatically moves objects between storage classes based on configurable time-based rules?
- S3 Replication
- S3 Lifecycle policies (Correct answer)
- S3 Intelligent-Tiering
- S3 Object Lock
Correct answer: S3 Lifecycle policies
S3 Lifecycle policies let you define rules that transition objects to cheaper storage classes or expire them after a set number of days.
Question 3: An architect needs to store primary copies of objects with the lowest possible latency. The objects are accessed multiple times a day. Which storage class is most appropriate?
- S3 Standard-IA
- S3 Glacier Instant Retrieval
- S3 Standard (Correct answer)
- S3 Intelligent-Tiering
Correct answer: S3 Standard
S3 Standard is designed for frequently accessed data with millisecond latency and high throughput.
Question 4: What is the minimum storage duration charge for objects stored in S3 Glacier Deep Archive?
- 30 days
- 90 days
- 180 days (Correct answer)
- 365 days
Correct answer: 180 days
S3 Glacier Deep Archive has a minimum storage duration of 180 days; deleting objects earlier still incurs the full 180-day charge.
Question 5: A lifecycle rule transitions objects from S3 Standard to S3 Standard-IA. What is the minimum age an object must be before it can be transitioned?
- 1 day
- 30 days (Correct answer)
- 60 days
- 90 days
Correct answer: 30 days
AWS requires objects to remain in S3 Standard for at least 30 days before a lifecycle rule can transition them to S3 Standard-IA.
Question 6: Which S3 storage class stores data in only a single Availability Zone and is best suited for easily re-creatable, infrequently accessed data?
- S3 Standard-IA
- S3 One Zone-IA (Correct answer)
- S3 Glacier Instant Retrieval
- S3 Reduced Redundancy Storage
Correct answer: S3 One Zone-IA
S3 One Zone-IA stores data in a single AZ, making it ~20% cheaper than Standard-IA but with lower durability guarantees.
Question 7: An S3 bucket policy uses the condition key 's3:prefix' to restrict access. What does this condition evaluate?
- The AWS account prefix of the requester
- The beginning of the object key name in the request (Correct answer)
- The storage class prefix assigned to the object
- The KMS key prefix used for encryption
Correct answer: The beginning of the object key name in the request
The s3:prefix condition key matches the leading characters of the requested object key, allowing path-based access control within a bucket.
A company stores infrequently accessed compliance logs that must be retrievable within 12 hours.
Which S3 storage class minimizes cost while meeting this requirement?