Q12 — AWS SAA-C03 Ch.5
Question 12 of 65 | ← Chapter 5
Q312. A company wants to build a logging solution for its multiple AWS accounts.The company currently stores the logs from all accounts in a centralized account.The company has created an Amazon S3 bucket in the centralized account to store the VPC flow logs and AWS CloudTrail logs. All logs must be highly available for 30 days for frequent analysis. retained for an additional 60 days for backup purposes. and deleted 90 days after creation.Which solution will meet these requirements MOST cost_effectively?
- A. Transition objects to the S3 Standard storage class 30 days after creation. Write an expiration action that directs Amazon S3 to delete objects after 90 days
- B. Transition objects to the S3 Standard-Infrequent Access (S3 Standard-IA) storage class 30 days after creation. Move all objects to the S3 Glacier Flexible Retrieval storage class after 90 days. Write an expiration action that directs Amazon S3 to delete objects after 90 days
- C. Transition objects to the S3 Glacier Flexible Retrieval storage class 30 days after creation. Write an expiration action that directs Amazon S3 to delete objects after 90 days ✓
- D. Transition objects to the S3 One Zone-Infrequent Access(S3 One Zone-IA) storage class 30 da ys after creation.Move all objects to the S3 Glacier Flexible Retrieval storage class after 90 days. Write an expiration action that directs Amazon S3 to delete objects after 90 days
Correct Answer: C. Transition objects to the S3 Glacier Flexible Retrieval storage class 30 days after creation. Write an expiration action that directs Amazon S3 to delete objects after 90 days
Explanation
Transitioning objects to the S3 Glacier Flexible Retrieval storage class after 30 days of creation and writing an expiration action that directs Amazon S3 to delete objects after 90 days meets the company's requirements. This option ensures that logs are highly available for frequent analysis for 30 days and then moved to a lower-cost storage class with slower access times. Additionally, the expiration action ensures that objects are deleted after 90 days of creation, which meets the company's retention policy. Option A is also a valid solution because transitioning objects to the S3 Standard storage class after 30 days of creation and writing an expiration action that directs Amazon S3 to delete objects after 90 days meets the company's requirements. However, this option may not be as cost-effective as transitioning objects to the S3 Glacier Flexible Retrieval storage class. Option B is not the ideal solution because moving all objects to the S3 Glacier Flexible Retrieval storage class after 90 days can result in additional retrieval costs if the data needs to be accessed frequently. This option may also incur additional costs associated with moving objects between different storage classes. Option D is not the best solution because transitioning objects to the S3 One Zone-Infrequent Access (S3 One Zone-IA) storage class after 30 days only provides data durability in a single availability zone, which can be risky if the data is lost due to an event that affects the availability zone.