nerdexam
Docker

DCA · Question #52

Which statement is true about DTR garbage collection?

The correct answer is A. Garbage collection removes unreferenced image layers from DTR's backend storage.. The question asks about the primary function of garbage collection within Docker Trusted Registry (DTR).

Submitted by emma.c· Apr 18, 2026Image Creation, Management, and Registry

Question

Which statement is true about DTR garbage collection?

Options

  • AGarbage collection removes unreferenced image layers from DTR's backend storage.
  • BGarbage collection removes exited containers from cluster nodes.
  • CGarbage collection removes DTR images that are older than a configurable of days
  • DGarbage collection removes unused volumes from cluster nodes

How the community answered

(50 responses)
  • A
    92% (46)
  • C
    2% (1)
  • D
    6% (3)

Why each option

The question asks about the primary function of garbage collection within Docker Trusted Registry (DTR).

AGarbage collection removes unreferenced image layers from DTR's backend storage.Correct

DTR garbage collection specifically identifies and removes image layers from its backend storage that are no longer referenced by any image manifest or tag, thereby reclaiming disk space.

BGarbage collection removes exited containers from cluster nodes.

Garbage collection in DTR is focused on registry content, not on managing exited containers on cluster nodes.

CGarbage collection removes DTR images that are older than a configurable of days

While retention policies might exist, the core function of DTR garbage collection is to remove *unreferenced* layers, not simply images older than a configurable number of days, as an old image might still be referenced.

DGarbage collection removes unused volumes from cluster nodes

DTR garbage collection is for registry storage, not for managing unused volumes on Docker cluster nodes.

Concept tested: DTR garbage collection function

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

Topics

#DTR#Image Registry#Garbage Collection#Storage Management

Community Discussion

No community discussion yet for this question.

Full DCA Practice