Topic 1 Question 324
A DevOps administrator is configuring a repository to store a company's container images. The administrator needs to configure a lifecycle rule that automatically deletes container images that have a specific tag and that are older than 15 days.
Which solution will meet these requirements with the MOST operational efficiency?
Create a repository in Amazon Elastic Container Registry (Amazon ECR). Add a lifecycle policy to the repository to expire images that have the matching tag after 15 days.
Create a repository in AWS CodeArtifact. Add a repository policy to the CodeArtifact repository to expire old assets that have the matching tag after 15 days.
Create a bucket in Amazon S3. Add a bucket lifecycle policy to expire old objects that have the matching tag after 15 days
Create an EC2 Image Builder container recipe. Add a build component to expire the container that has the matching tag after 15 days.
ユーザの投票
コメント(2)
The requirement is to automatically manage container images based on a specific tag and age. Amazon Elastic Container Registry (Amazon ECR) supports lifecycle policies, which are specifically designed to automate the management of image lifecycle events like expiration. Lifecycle policies in ECR allow you to define rules for expiring or retaining images based on criteria like image tags and age, providing an efficient solution with minimal operational overhead.
👍 3uncledana2024/11/18- 正解だと思う選択肢: A
A. Create a repository in Amazon Elastic Container Registry (Amazon ECR).
👍 3matt2002024/12/24
シャッフルモード