Cloud & DevOps · Question 4 · Easy

How do containers differ from virtual machines?

  1. Each container runs its own full guest operating system kernel
  2. Containers can only run on a Type-1 hypervisor
  3. Containers cannot run on Linux hosts
  4. Containers share the host operating system's kernel and isolate processes, which makes them lighter than VMs
Answer and explanation

Answer: D. Containers share the host operating system's kernel and isolate processes, which makes them lighter than VMs

Explanation: Containers use OS-level virtualisation (on Linux, namespaces and cgroups) and share the host kernel. Each VM boots its own guest OS on a hypervisor.

Previous: Which Linux command lists all files in the current directory, including hidden… · Next: What does Continuous Integration (CI) mean in DevOps?

Practise cloud & devops

Try a fresh set of cloud & devops questions with an explanation after every answer, free and without signing up: Cloud & DevOps practice. Or sit a full placement mock test.

More cloud & devops questions

More technical & programming practice

GenAI Basics · Pseudo-code · C Programming · Java · Python · Data Structures · Algorithms · Object-Oriented Programming

LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge