nerdexam
Docker

DCA · Question #57

Will this sequence of steps completely delete an image from disk in the Docker Trusted Registry? Solution: Delete the image and delete the image repository from Docker Trusted Registry

The correct answer is A. Yes. This question evaluates if deleting an image and its repository from DTR results in complete deletion from disk.

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

Question

Will this sequence of steps completely delete an image from disk in the Docker Trusted Registry? Solution: Delete the image and delete the image repository from Docker Trusted Registry

Options

  • AYes
  • BNo

How the community answered

(20 responses)
  • A
    85% (17)
  • B
    15% (3)

Why each option

This question evaluates if deleting an image and its repository from DTR results in complete deletion from disk.

AYesCorrect

When an image is deleted and its containing repository is also deleted in Docker Trusted Registry, all metadata references to the image's layers are removed, making those layers eligible for physical removal from disk during a subsequent garbage collection run, thus achieving complete deletion.

BNo

Deleting both the image and its repository removes all high-level references within DTR's metadata, which is the necessary precursor for garbage collection to physically reclaim the associated disk space.

Concept tested: DTR image and repository deletion

Source: https://docs.mirantis.com/docker-enterprise/v3.1/dtr/admin/configure-dtr/run-garbage-collection.html

Topics

#Docker Trusted Registry#Image deletion#Repository management#DTR storage

Community Discussion

No community discussion yet for this question.

Full DCA Practice