Virtualization and Cloud Computing

How do containers differ from virtual machines in their use of the host operating system?

Show the answer

Correct answerD. Containers share the host's kernel rather than a guest OS

AWhy not this: A full guest OS per instance describes a virtual machine, not a container.

BWhy not this: Streaming a hosted desktop describes VDI, not containers.

CWhy not this: Hardware emulation through a hypervisor is how VMs work; containers do not emulate hardware.

DWhy this is right: Containers share the host kernel and isolate only the app and its dependencies, so they are lightweight.

Containers isolate applications while sharing the host OS kernel, which makes them lighter than VMs. VMs are the ones that each run a full guest OS on emulated hardware provided by a hypervisor.