nerdexam
AmazonAmazon

DOP-C02 · Question #509

DOP-C02 Question #509: Real Exam Question with Answer & Explanation

Sign in or unlock DOP-C02 to reveal the answer and full explanation for question #509. The question stem and answer options stay visible for context.

Submitted by jaden.t· Mar 6, 2026Configuration Management and IaC

Question

A company frequently creates Docker images of an application. The company stores the images in Amazon Elastic Container Registry (Amazon ECR). The company creates both tagged images and untagged images. The company wants to implement a solution to automatically delete images that have not been updated for a long time and are not frequently used. The solution must retain at least a specified number of images. Which solution will meet these requirements with the LEAST operational overhead?

Options

  • AUse Amazon S3 Lifecycle policies on the ECR repository to automatically delete images based on
  • BUse Amazon ECR lifecycle policies to delete images based on age or the number of images that
  • CConfigure an AWS Lambda function to run a schedule to delete images based on age or the
  • DUse AWS Systems Manager to run a script by using the aws:executeScript action to automatically

Unlock DOP-C02 to see the answer

You've previewed enough free DOP-C02 questions. Unlock DOP-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#ECR#Image lifecycle#Container images#Cost optimization
Full DOP-C02 PracticeBrowse All DOP-C02 Questions