DVA-C02 exam dumps

DVA-C02 practice question 108 of 399

AWS Certified Developer - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

DVA-C02 Question 108

Select 2

Your company stores a large volume of log files in an Amazon S3 bucket. These logs are accessed frequently for the first 30 days, but their access frequency drops significantly afterward. To optimize storage costs, you want to automatically transition these objects to a lower-cost storage tier after 30 days and delete them entirely after 365 days. Which combination of actions should you take to achieve this using Amazon S3?

  1. A

    Set up an S3 Lifecycle policy to transition objects to the S3 Standard-IA storage class after 30 days.

  2. B

    Set up an S3 Lifecycle policy to transition objects to the S3 Glacier Instant Retrieval storage class after 30 days.

  3. C

    Configure an S3 Lifecycle policy to delete objects after 365 days.

  4. D

    Manually move objects to the S3 Glacier Deep Archive storage class after 30 days.

  5. E

    Set up an S3 Lifecycle policy to transition objects to the S3 One Zone-IA storage class after 30 days.

Show answer and explanation

Correct answers: A, C

Explanation

To optimize costs and manage the lifecycle of log files, you can use S3 Lifecycle policies. Transitioning the logs to S3 Standard-IA after 30 days reduces costs for infrequently accessed data while maintaining availability. Deleting the objects after 365 days ensures unused data does not incur costs. Manual transitions or less durable storage classes like S3 One Zone-IA are not recommended for most use cases.

  • A. Correct.

    Correct: Transitioning the objects to the S3 Standard-IA (Infrequent Access) storage class after 30 days optimizes costs while maintaining quick access for infrequent retrieval.

  • B. Incorrect.

    Incorrect: The S3 Glacier Instant Retrieval storage class is suitable for archival storage but is not ideal for objects still accessed within 30 days. Additionally, it is more expensive than S3 Standard-IA for short-term infrequent access.

  • C. Correct.

    Correct: Configuring a lifecycle policy to delete objects after 365 days ensures unnecessary data is removed, reducing ongoing storage costs.

  • D. Incorrect.

    Incorrect: Manually moving objects between storage classes is not scalable or automated, and lifecycle rules are preferred for these tasks.

  • E. Incorrect.

    Incorrect: S3 One Zone-IA stores data in a single availability zone and is less durable than S3 Standard-IA. It is not the best choice for critical log data unless you are sure of the durability trade-offs.

Timed practice exam

Take a DVA-C02 practice test under exam conditions

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

Start timed exam