nerdexam
EC-Council

312-50V10 · Question #769

Why containers are less secure that virtual machine?

The correct answer is D. A compromise container may cause a CPU starvation of the host.. Containers share the host OS kernel and resource pool without hardware-enforced isolation, allowing a compromised container to impact host-level resources such as CPU.

Cloud Computing

Question

Why containers are less secure that virtual machine?

Options

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

How the community answered

(21 responses)
  • A
    10% (2)
  • B
    5% (1)
  • D
    86% (18)

Why each option

Containers share the host OS kernel and resource pool without hardware-enforced isolation, allowing a compromised container to impact host-level resources such as CPU.

AHost OS on containers has a larger surface attack.

Containers actually shrink the OS attack surface relative to a full VM because they share the host kernel rather than running a separate complete operating system with its own services.

BContainers are attached to the same virtual network.

Container network isolation is configurable and containers can be placed on separate virtual networks, making shared networking a deployment choice rather than an inherent security weakness.

CContainers may fulfill disk space of the host.

Disk space exhaustion is a resource management concern that applies to both VMs and containers and is not the primary architectural security distinction between the two.

DA compromise container may cause a CPU starvation of the host.Correct

Unlike virtual machines, which use a hypervisor to enforce strict CPU, memory, and I/O partitioning at the hardware level, containers rely on OS-level namespaces and cgroups that can be exhausted or bypassed. A compromised container can consume unrestricted CPU cycles, causing starvation for other containers and the host itself, because there is no hypervisor layer enforcing resource boundaries.

Concept tested: Container vs VM isolation and resource security

Source: https://csrc.nist.gov/publications/detail/sp/800-190/final

Topics

#container security#virtual machines#hypervisor isolation#CPU starvation

Community Discussion

No community discussion yet for this question.

Full 312-50V10 Practice