CompTIA A+ Core 1 (220-1201)Virtualization and Cloud ComputingMedium

A development team is working on a new application and needs to ensure that the application functions identically across different environments, from a developer's laptop to staging and production servers, without worrying about underlying operating system differences or library conflicts. Which technology provides this level of portability and consistency while being more lightweight than full virtual machines?

  1. AVirtual Desktop Infrastructure (VDI)
  2. BType 1 Hypervisor
  3. CContainers
  4. DBare-metal Servers
Show answer & explanation

Correct answer: C. Containers

Containers package an application and its dependencies, including libraries and configuration files, into a single, isolated unit. They share the host operating system's kernel, making them much lighter and faster to start than virtual machines, while ensuring consistent execution across environments.

Why the other options are wrong

  • A. VDI provides virtual desktops to users, not a solution for application portability across environments.
  • B. Type 1 hypervisors manage full virtual machines, which are heavier and less agile for application-level portability.
  • D. Bare-metal servers are physical hardware and offer no virtualization or portability benefits for applications.

Containers

A form of OS-level virtualization that packages an application and all its dependencies (code, runtime, system tools, libraries, settings) into an isolated unit that can run consistently across any environment.

  • Share the host OS kernel.
  • More lightweight and faster than VMs.
  • Ensures application portability and consistency.

Memory trick: VMs are houses, Containers are apartments.

More Virtualization and Cloud Computing questions