Skip to content
Sharp

Microservice Architecture · interview question

Why are Docker images considered lightweight compared to virtual machines?

Multiple choiceMediumchapter-18-curatedpremiummicroservice-architecturedocker-containerization
Choose one answer
Answer and explanation

Correct answer

B. They share the host OS kernel.

Why

Docker images are lightweight because they share the host operating system's kernel, unlike virtual machines, which contain a full guest OS. This reduces resource consumption and makes Docker more efficient.

Test yourself on Microservice Architecture

A free test with instant, explained results. No account needed.

Start free test
All Microservice Architecture questions →