CLF-C02 exam dumps

CLF-C02 practice question 238 of 342

AWS Certified Cloud Practitioner. Free level, Amazon Web Services. Free question with the correct answer and a full explanation.

CLF-C02 Question 238

Select 2

A company uses Amazon S3 to store large amounts of application log data. The logs are frequently accessed for the first 30 days but are rarely accessed afterward. The company wants to reduce storage costs while ensuring the data is still available if needed. Which of the following actions should the company take to meet this requirement?

  1. A

    Create an S3 lifecycle policy to transition the logs to S3 Standard-Infrequent Access (S3 Standard-IA) after 30 days.

  2. B

    Enable versioning on the S3 bucket to retain multiple versions of the logs.

  3. C

    Create an S3 lifecycle policy to transition the logs to S3 Glacier Deep Archive after 30 days.

  4. D

    Create an S3 lifecycle policy to delete the logs after 30 days.

  5. E

    Create an S3 lifecycle policy to transition the logs to S3 Glacier after 30 days and delete them after 90 days.

Show answer and explanation

Correct answers: A, E

Explanation

S3 lifecycle policies allow you to manage the cost of storing objects by transitioning them to more cost-effective storage classes or deleting them after a specified period. In this scenario, transitioning the logs to S3 Standard-IA after 30 days ensures cost efficiency while keeping the data accessible. Additionally, transitioning to S3 Glacier and deleting after 90 days provides a balance between cost reduction and retention requirements. Both actions meet the company's needs for cost management and data availability.

  • A. Correct.

    Correct. Transitioning the logs to S3 Standard-IA after 30 days aligns with the company's need to reduce costs for data that is infrequently accessed but still needs to be available.

  • B. Incorrect.

    Incorrect. While enabling versioning can be useful for data protection, it does not help reduce storage costs, which is the company's main goal in this scenario.

  • C. Incorrect.

    Incorrect. Transitioning to S3 Glacier Deep Archive is not ideal for data that may still need to be accessed occasionally, as retrieval times are significantly longer.

  • D. Incorrect.

    Incorrect. Deleting the logs after 30 days does not meet the requirement of ensuring the data is still available if needed.

  • E. Correct.

    Correct. Transitioning the logs to S3 Glacier after 30 days and deleting them after 90 days helps reduce costs while keeping the logs available for a defined period before cleanup.

Timed practice exam

Take a CLF-C02 practice test under exam conditions

65 questions in 90 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam