nerdexam
CompTIACompTIA

XK0-005 · Question #573

XK0-005 Question #573: Real Exam Question with Answer & Explanation

Sign in or unlock XK0-005 to reveal the answer and full explanation for question #573. The question stem and answer options stay visible for context.

Scripting, Containers, and Automation

Question

A cloud engineer needs to remove all dangling images and delete all the images that do not have an associated container. Which of the following commands will help to accomplish this task?

Options

  • Adocker images prune -a
  • Bdocker push images -a
  • Cdocker rmi -a images
  • Ddocker images rmi --all

Unlock XK0-005 to see the answer

You've previewed enough free XK0-005 questions. Unlock XK0-005 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Docker#Container images#Image cleanup#Container management
Full XK0-005 PracticeBrowse All XK0-005 Questions