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).
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)- A92% (46)
- C2% (1)
- D6% (3)
Why each option
The question asks about the primary function of garbage collection within Docker Trusted Registry (DTR).
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.
Garbage collection in DTR is focused on registry content, not on managing exited containers on cluster nodes.
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.
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
Community Discussion
No community discussion yet for this question.