nerdexam
LPI

305-300 · Question #42

How do containers share the host OS kernel?

The correct answer is B. Containers share the kernel but run isolated user spaces. Containers operate by sharing the host operating system's kernel while running in isolated user spaces. According to containerization documentation, Linux kernel features such as namespaces and cgroups provide process isolation, resource control, and security boundaries between…

Containerization

Question

How do containers share the host OS kernel?

Options

  • AContainers have their own full OS
  • BContainers share the kernel but run isolated user spaces
  • CContainers run directly on the host kernel
  • DContainers do not use a kernel

How the community answered

(26 responses)
  • A
    8% (2)
  • B
    73% (19)
  • C
    15% (4)
  • D
    4% (1)

Explanation

Containers operate by sharing the host operating system's kernel while running in isolated user spaces. According to containerization documentation, Linux kernel features such as namespaces and cgroups provide process isolation, resource control, and security boundaries between Each container has its own filesystem, process tree, and network stack, but all containers rely on the same underlying kernel. This design makes containers lightweight and efficient compared to virtual machines, which require separate guest kernels.

Topics

#container kernel sharing#user space isolation#OS kernel#container architecture

Community Discussion

No community discussion yet for this question.

Full 305-300 Practice