
Explanation:
Option C is the correct answer because AWS Data Lifecycle Manager allows you to create a policy that moves container images to Glacier after a specified period (in this case, 1 year) and retains them for the required retention period (3 years). This ensures compliance with the organization's policy. Option A only prevents deletion but does not ensure the images are retained for 3 years. Option B does not meet the 3-year retention requirement as it deletes images after 3 years. Option D deletes images after 1 year, which is not compliant with the retention policy.
Ultimate access to all questions.
No comments yet.
You are responsible for managing the lifecycle of container images in your AWS environment. Your organization has a policy that requires container images to be retained for a minimum of 3 years. Which of the following actions should you take to ensure compliance with this policy?
A
Enable S3 Object Lock on the container images to prevent deletion for 3 years.
B
Create a lifecycle policy for the container images to transition them to Glacier after 2 years and then delete them after 3 years.
C
Use AWS Data Lifecycle Manager to create a policy that moves container images to Glacier after 1 year and retains them for 3 years.
D
Configure the container image lifecycle policy to automatically delete images after 1 year.