CompTIA Server+ (SK0-005)Server AdministrationMedium

A server administrator is planning to deploy a new application that will run on a Linux server. The application's dependencies are complex and include specific library versions that conflict with other applications on existing servers. The administrator wants to package the application and its dependencies into a single, isolated unit that can be easily deployed and run consistently across different environments. Which technology best fits this requirement?

  1. AChroot jail
  2. BHardware-assisted virtualization
  3. CFull Virtual Machine (VM)
  4. DContainerization
Show answer & explanation

Correct answer: D. Containerization

Containerization (e.g., Docker) allows packaging an application and all its dependencies into an isolated unit, ensuring consistent execution across different environments without the overhead of a full VM, and perfectly addressing the dependency conflict issue.

Why the other options are wrong

  • A. A chroot jail provides basic process isolation but doesn't package dependencies or offer the same level of portability and management features as containers.
  • B. Hardware-assisted virtualization is a technology that enables VMs, not a solution for application dependency management itself.
  • C. A full VM would isolate the entire OS, which is overkill for just application dependencies and has higher resource overhead.

Containerization

A lightweight virtualization technology that packages an application and its dependencies into an isolated, portable unit called a container.

  • Shares the host OS kernel.
  • Provides process and resource isolation.
  • Ensures consistent execution across environments.

Memory trick: Containers pack light and run anywhere, VMs bring a whole house.

More Server Administration questions