Architecture Design and Implementation Built for the Cloud

An ECR repository contains an old multi-architecture manifest list that references untagged architecture-specific images. A lifecycle rule selects those untagged images, but they remain; what must happen before ECR can expire them?

Show the answer

Correct answerC. The referencing manifest list must be deleted.

AWhy not this: Adding tags does not remove the manifest list's references and may stop the images from matching the untagged rule.

BWhy not this: Vulnerability scan completion does not control whether a manifest-referenced image can expire.

CWhy this is right: Deleting the referencing manifest list removes the dependency that prevents expiration of its referenced images.

DWhy not this: Tag immutability prevents tag overwrites; it does not remove manifest references.

ECR cannot expire an image referenced by a manifest list until that manifest list is deleted. Adding architecture-specific tags changes lifecycle matching but does not remove the manifest reference.