A development team is building a microservice-based application and needs each microservice to run in an isolated environment that shares the host operating system kernel but includes all the libraries and dependencies the service requires. The solution must start quickly and run identically on a developer's laptop, the company's on-premises test server, and a public-cloud VM. Which of the following virtualization technologies BEST meets these requirements?
Containers provide process-level isolation by packaging an application with its dependencies while sharing the host's OS kernel. This makes them lightweight, portable across environments, and extremely fast to start-ideal for microservices.
Type 1 and Type 2 hypervisors run full guest operating systems, adding more overhead than necessary for this scenario.
Virtual Desktop Infrastructure (VDI) delivers entire desktop sessions to users and is not designed for packaging individual microservices.
Therefore, containers are the best fit.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
Can you explain what a container is in this context?
Open an interactive chat with Bash
How do containers differ from traditional virtual machines (VMs)?
Open an interactive chat with Bash
Why are containers a better fit for microservices than hypervisors or VMs?