nerdexam
CompTIA

XK0-005 · Question #10020

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

The correct answer is D. Containers use the cgroups and namespaces functionalities to isolate processes and assign hardware. Linux containers rely on two core kernel features working together: cgroups (control groups) and namespaces. Cgroups limit and account for resource usage (CPU, memory, disk I/O) per process group, while namespaces isolate processes so they have their own view of system…

Scripting, Containers, and Automation

Question

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

Options

  • AContainers only need the namespaces functionally to run on a Linux system available since kernel 2.6.
  • BContainers need a hypervisor to run a Linux system. Cgroups namespaces are functionalities used for
  • CContainers only need the cgroups functionality for running on a Linux system. Namespaces is not a
  • DContainers use the cgroups and namespaces functionalities to isolate processes and assign hardware

How the community answered

(39 responses)
  • A
    8% (3)
  • B
    3% (1)
  • C
    3% (1)
  • D
    87% (34)

Explanation

Linux containers rely on two core kernel features working together: cgroups (control groups) and namespaces. Cgroups limit and account for resource usage (CPU, memory, disk I/O) per process group, while namespaces isolate processes so they have their own view of system resources (PID space, network interfaces, mount points, etc.). Together, these two features provide the isolation and resource control that define a container - no hypervisor is required. Option A is wrong because cgroups are also needed. Option B is wrong because containers do not require a hypervisor. Option C is wrong because namespaces are essential for isolation.

Topics

#Containers#Linux Kernel#cgroups#Namespaces

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice