nerdexam
Docker

DCA · Question #48

In Docker Trusted Registry, how would a user prevent an image, for example 'nginx:latest' from being overwritten by another user with push access to the repository?

The correct answer is C. Use the DTR web UI to make the tag immutable. Docker Trusted Registry (DTR) provides a specific feature to make image tags immutable, preventing them from being overwritten once pushed to a repository.

Submitted by andres_qro· Apr 18, 2026Image Creation, Management, and Registry

Question

In Docker Trusted Registry, how would a user prevent an image, for example 'nginx:latest' from being overwritten by another user with push access to the repository?

Options

  • ATag the image with 'nginx:immutable'
  • BRemove push access from all other users.
  • CUse the DTR web UI to make the tag immutable.
  • DKeep a backup copy of the image on another repository.

How the community answered

(26 responses)
  • B
    4% (1)
  • C
    92% (24)
  • D
    4% (1)

Why each option

Docker Trusted Registry (DTR) provides a specific feature to make image tags immutable, preventing them from being overwritten once pushed to a repository.

ATag the image with 'nginx:immutable'

Simply tagging an image with a descriptive name like 'nginx:immutable' does not automatically confer immutability properties; it requires a registry-level configuration.

BRemove push access from all other users.

Removing push access from all other users is too restrictive as it would prevent them from pushing any new tags or images to the repository.

CUse the DTR web UI to make the tag immutable.Correct

Docker Trusted Registry (DTR) allows users to configure repositories to make specific image tags immutable via its web UI. Once a tag (e.g., 'nginx:latest') is marked immutable, no user, even with push access, can overwrite or delete the image associated with that tag, guaranteeing its integrity and preventing accidental or malicious changes.

DKeep a backup copy of the image on another repository.

Keeping a backup copy of the image on another repository is a good backup strategy but does not prevent the original tag from being overwritten on the source DTR repository.

Concept tested: Docker Trusted Registry (DTR) immutable tags

Source: https://docs.mirantis.com/docker-enterprise/v3.2/dtr/manage/create-repositories/configure-repository-tags.html

Topics

#Docker Trusted Registry#Image immutability#Tag management#Registry features

Community Discussion

No community discussion yet for this question.

Full DCA Practice