CompTIA Linux+ (XK0-004) — Question 30

Which of the following BEST describes containers running on a Linux system?

Answer options

Correct answer: D

Explanation

The correct answer is D because containers rely on both cgroups and namespaces to effectively isolate processes and manage resource allocation. Option A is incorrect as namespaces alone are insufficient for container functionality. Option B is false since containers do not require a hypervisor to operate. Option C is also wrong because it mistakenly claims that namespaces aren't needed, when they are essential for container management.