
CompTIALinux+
Domain 2Objective 6
Containers XK0-006 Practice Questions (Page 3)
Part of the Services and User Management domain, which accounts for 20% of the XK0-006 exam. CompTIA does not publish an official question count, but from its 90-minute exam (~35–60 total, ~7–12 in this domain), expect 1–2 from this objective — we provide 22 practice questions to prepare you well beyond it. (estimate)
22questions here
5free pages
5concepts
20%of the exam
Questions 11–15
- 11
Which Docker network driver provides the default networking for containers and allows them to communicate with each other on the same host?
Select an answer first - 12
Which instruction in a Dockerfile specifies the base image for the container image being built?
Select an answer first - 13
A developer needs to run a containerized application on a Linux server that does not have a container runtime installed. The server is managed by a system administrator who prefers to avoid installing Docker due to its daemon architecture. The developer wants to run containers as a regular user without requiring root privileges. Which command-line tool should the administrator install to meet these requirements?
Select an answer first - 14
A system administrator is managing a Docker host with limited disk space. The administrator needs to remove all unused images, but must keep images that are currently used by running containers. The administrator also wants to remove any stopped containers and unused volumes to free up space. Which command should the administrator use to accomplish all of these tasks?
Select an answer first - 15
Which command creates a new user-defined bridge network in Docker?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by CompTIA. “XK0-006” is a trademark of its owner, used for identification only.