Deployment, Provisioning, and Automation

A team stores release container images in an Amazon ECR private repository. Which setting should it enable to reject pushes that reuse an existing release tag?

Show the answer

Correct answerD. Tag immutability

AWhy not this: Replication copies images to other registries; it does not prevent source tags from being overwritten.

BWhy not this: Scan on push checks images for vulnerabilities rather than preventing tag replacement.

CWhy not this: Lifecycle policies expire images according to rules; they do not reject pushes that reuse tags.

DWhy this is right: Tag immutability rejects attempts to overwrite existing tags when no applicable exclusion permits the update.

Tag immutability prevents an existing image tag from being overwritten by another push. An image lifecycle policy controls image expiration rather than protecting tags from replacement.