CV0-004 practice question 21 of 30

A company wants to optimize cloud resources and lower the overhead caused by managing multiple operating systems. Which of the following compute resources would be best to help to achieve this goal?

Full set: 254 questions
Answer options
A: VM
B: Containers Correct answer
C: Remote desktops
D: Bare-metal servers
Correct Answer:
B. Containers
Explanation

Containers are the best choice to meet the company's goals. They provide operating-system-level virtualization where multiple containerized applications share the host operating system's kernel. This design significantly lowers the overhead associated with managing multiple operating systems because there is only one host OS to patch, license, and maintain. Furthermore, because containers do not bundle a full guest OS, they are more lightweight and consume fewer resources (CPU, RAM, storage) than virtual machines, directly contributing to the optimization of cloud resources.

Why Incorrect

A. VM: A virtual machine (VM) encapsulates a full guest operating system, which increases management overhead and resource consumption, directly contradicting the stated goals.
C. Remote desktops: Remote desktop solutions are typically deployed on top of VMs, inheriting the same high overhead for OS management and resource usage.
D. Bare-metal servers: While eliminating hypervisor overhead, this option does not inherently optimize resource usage for multiple workloads and still requires managing a separate OS for each server.

References

1. Microsoft Azure Documentation. (n.d.). What are containers? Microsoft Docs. Retrieved from https://docs.microsoft.com/en-us/azure/container-apps/containers. In the section "Containers vs. virtual machines," it states, "Unlike virtual machines, containers don't include a guest operating system in each instance. Instead, they use the features and resources of the host operating system... This makes containers more lightweight and portable."

2. Amazon Web Services (AWS) Documentation. (n.d.). What is a Container? AWS. Retrieved from https://aws.amazon.com/containers/. The documentation explains, "Unlike VMs, containers do not bundle a full operating system—only the libraries and settings required to make the software work. This makes them efficient, lightweight, portable, and scalable."

3. Red Hat Documentation. (n.d.). Chapter 1. Introduction to containers. Red Hat Customer Portal. Retrieved from https://access.redhat.com/documentation/en-us/redhatenterpriselinux/8/html/buildingrunningandmanagingcontainers/procunderstanding-containersbuilding-running-and-managing-containers. Section 1.1, "Understanding Containers," contrasts containers with VMs, noting, "Instead of virtualizing the underlying hardware, containers virtualize the operating system... Because containers share a single operating system kernel, they are much more lightweight than virtual machines."

4. University of California, Berkeley, EECS Courseware. Kubiatowicz, J. (2022). CS 162: Operating Systems and System Programming, Lecture 19: Virtual Machines. Slide 45, "Containers: Lightweight Virtualization." The slide deck compares VMs and containers, highlighting that containers "Share kernel with host" and have "Lower overhead," which directly supports the reasoning for selecting containers for resource optimization and reduced management.

Scroll to Top