LPIC-1 Exam 101 v5 (Linux Administrator) — Question 56
Which of the following statements are correct when comparing Linux containers with traditional virtual machines (e.g. LXC vs. KVM)? (Choose three.)
Answer options
- A. Containers are a lightweight virtualization method where the kernel controls process isolation and resource management.
- B. Fully virtualized machines can run any operating system for a specific hardware architecture within the virtual machine.
- C. Containers are completely decoupled from the host system's physical hardware and can only use emulated virtual hardware devices.
- D. The guest environment for fully virtualized machines is created by a hypervisor which provides virtual and emulated hardware devices.
- E. Containers on the same host can use different operating systems, as the container hypervisor creates separate kernel execution.
Correct answer: A, B, D
Explanation
Option A is correct because containers utilize the host kernel for process isolation and resource management, making them lightweight. Option B is also correct as fully virtualized machines can run any operating system that is compatible with the hardware architecture they emulate. Option D is accurate since a hypervisor is indeed responsible for providing virtualized hardware for VMs. Options C and E are incorrect; containers are not completely decoupled from the host's physical hardware and cannot run different operating systems on the same host since they share the same kernel.