Containers are a lightweight form of virtualization that enable the deployment of applications in
isolated environments. Let’s analyze each statement:
A . Containers contain executables, libraries, configuration files, and an operating system.
Incorrect: Containers do not include a full operating system. Instead, they share the host system's
kernel and only include the application and its dependencies (e.g., libraries, binaries, and
configuration files).
B . Containers package the entire runtime environment of an application, including its dependencies.
Correct: Containers bundle the application code, runtime, libraries, and configuration files into a
single package. This ensures consistency across different environments and eliminates issues caused
by differences in dependencies.
C . Containers can only run on a system with a Type 2 hypervisor.
Incorrect: Containers do not require a hypervisor. They run directly on the host operating system and
share the kernel. Hypervisors (Type 1 or Type 2) are used for virtual machines, not containers.
D . Containers share the use of the underlying system’s kernel.
Correct: Containers leverage the host operating system's kernel, which allows them to be lightweight
and efficient. Each container has its own isolated user space but shares the kernel with other
containers.
Why These Statements?
Runtime Environment Packaging: Containers ensure portability and consistency by packaging
everything an application needs to run.
Kernel Sharing: By sharing the host kernel, containers consume fewer resources compared to virtual
machines, which require separate operating systems.
JNCIA Cloud Reference:
The JNCIA-Cloud certification emphasizes understanding containerization technologies, including
Docker and Kubernetes. Containers are a fundamental component of modern cloud-native
architectures.
For example, Juniper Contrail integrates with Kubernetes to manage containerized workloads,
leveraging the lightweight and portable nature of containers.
Reference:
Docker Documentation: Container Basics
Juniper JNCIA-Cloud Study Guide: Containerization