305-300 · Question #85
Which of the following statements are true about container-based virtualization? (Choose two.)
The correct answer is B. Different containers may use different distributions of the same operating system. D. All containers run within the operating system kernel of the host system. Container-based virtualization is a method of operating system-level virtualization that allows multiple isolated user spaces (containers) to run on the same host system. Each container shares the same operating system kernel as the host, but has its own file system, libraries…
Question
Options
- AEach container runs its own operating system kernel.
- BDifferent containers may use different distributions of the same operating system.
- CContainer-based virtualization relies on hardware support from the host system's CPU.
- DAll containers run within the operating system kernel of the host system.
- ELinux does not support container-based virtualization because of missing kernel APIs.
How the community answered
(43 responses)- A14% (6)
- B79% (34)
- C2% (1)
- E5% (2)
Explanation
Container-based virtualization is a method of operating system-level virtualization that allows multiple isolated user spaces (containers) to run on the same host system. Each container shares the same operating system kernel as the host, but has its own file system, libraries, and processes. Therefore, the statements A and C are false, as containers do not run their own kernels or rely on hardware support from the CPU. The statement E is also false, as Linux does support container-based virtualization through various technologies, such as cgroups, namespaces, LXC, Docker, etc. The statement B is true, as different containers may use different distributions of the same operating system, such as Debian, Ubuntu, Fedora, etc., as long as they are compatible with the host kernel. The statement D is also true, as all containers run within the operating system kernel of the host system, which provides isolation and resource management
Topics
Community Discussion
No community discussion yet for this question.