CS FundamentalsModerateIBM · Deloitte pattern

Why do containers usually start faster and use less memory than virtual machines?

  1. A. Containers share the host operating system's kernel instead of booting a full guest OS
  2. B. Containers are compiled to machine code ahead of time
  3. C. Containers always run on bare metal without isolation
  4. D. Containers run without any operating system at all

Correct answer: A. Containers share the host operating system's kernel instead of booting a full guest OS

A container is an isolated process group (namespaces, cgroups) on the host kernel, so there is no guest kernel to boot. A VM virtualises hardware and boots its own complete OS.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic