CompTIA Linux+ (XK0-004) — Question 149
A systems administrator wants to deploy several applications to the same server quickly. Each application should be abstracted from the host with its own dependencies and libraries and utilize a minimal footprint.
Which of the following would be BEST in this scenario?
Answer options
- A. Virtual machines
- B. Type 2 hypervisor
- C. Chroot jails
- D. Containers
Correct answer: D
Explanation
Containers are the best solution in this scenario because they provide lightweight isolation for applications, allowing them to run with their own dependencies while sharing the host OS kernel. In contrast, virtual machines and Type 2 hypervisors require more resources due to full OS installations, and chroot jails do not offer the same level of isolation and management capabilities as containers.