Docker Certified Associate (DCA) — Question 26
In Docker Trusted Registry, is this how a user can prevent an image, such as ‘nginx:latest’, from being overwritten by another user with push access to the repository?
Use the DTR web UI to make all tags in the repository immutable.
Answer options
- A. Yes
- B. No
Correct answer: B
Explanation
The correct answer is B because making tags immutable in Docker Trusted Registry does not prevent other users from pushing new tags or versions of the image; it only protects existing tags from being overwritten. Therefore, users still have the ability to overwrite the image with a new tag if they have the necessary permissions.