nerdexam
EC-Council

312-50V13 · Question #190

Why containers are less secure that virtual machines?

The correct answer is A. Host OS on containers has a larger surface attack.. This question explores the fundamental reason why containers are generally considered less secure than virtual machines.

Submitted by amina.ke· Mar 6, 2026Cloud Computing

Question

Why containers are less secure that virtual machines?

Options

  • AHost OS on containers has a larger surface attack.
  • BContainers may full fill disk space of the host.
  • CA compromise container may cause a CPU starvation of the host.
  • DContainers are attached to the same virtual network.

How the community answered

(63 responses)
  • A
    89% (56)
  • B
    2% (1)
  • C
    6% (4)
  • D
    3% (2)

Why each option

This question explores the fundamental reason why containers are generally considered less secure than virtual machines.

AHost OS on containers has a larger surface attack.Correct

Containers share the host operating system's kernel, meaning a vulnerability or misconfiguration in that shared kernel can be exploited by any container, potentially affecting all other containers and the host itself. This shared kernel constitutes a larger, single point of failure and attack surface at the host OS level compared to virtual machines, which each run their own isolated kernel.

BContainers may full fill disk space of the host.

While containers can consume excessive disk space leading to denial of service, this is a resource management issue rather than a fundamental security vulnerability related to the isolation model itself, which is the primary concern when comparing container and VM security.

CA compromise container may cause a CPU starvation of the host.

A compromised container causing CPU starvation is a resource exhaustion issue, which can lead to denial of service, but it's not the primary architectural reason why containers offer weaker isolation and are considered less secure than virtual machines.

DContainers are attached to the same virtual network.

Containers being attached to the same virtual network is a network configuration choice; virtual machines can also be configured with shared virtual networks, so this is not a unique or fundamental reason for containers being less secure than VMs.

Concept tested: Container vs. VM security isolation

Source: https://learn.microsoft.com/en-us/azure/container-instances/container-instances-faq#what-is-the-difference-between-a-container-and-a-vm

Topics

#Container security#Virtualization#Host OS#Attack surface

Community Discussion

No community discussion yet for this question.

Full 312-50V13 Practice