Cloud & DevOps · Question 4 · Easy
How do containers differ from virtual machines?
- Each container runs its own full guest operating system kernel
- Containers can only run on a Type-1 hypervisor
- Containers cannot run on Linux hosts
- Containers share the host operating system's kernel and isolate processes, which makes them lighter than VMs
Answer and explanation
Answer: D. Containers share the host operating system's kernel and isolate processes, which makes them lighter than VMs
Explanation: Containers use OS-level virtualisation (on Linux, namespaces and cgroups) and share the host kernel. Each VM boots its own guest OS on a hypervisor.
Previous: Which Linux command lists all files in the current directory, including hidden… · Next: What does Continuous Integration (CI) mean in DevOps?
Practise cloud & devops
Try a fresh set of cloud & devops questions with an explanation after every answer, free and without signing up: Cloud & DevOps practice. Or sit a full placement mock test.
More cloud & devops questions
- In which cloud service model does the consumer get virtual machines, storage…
- A web-based email service that users simply open in a browser, with no…
- Which Linux command lists all files in the current directory, including hidden…
- What does Continuous Integration (CI) mean in DevOps?
- After running chmod 754 report.sh, what are the permissions of report.sh?
- In Docker, what is the relationship between an image and a container?
- Which command shows the last 20 lines of the file app.log?
- Adding two more identical application servers behind a load balancer to handle…
- In Kubernetes, what is a Pod?
- What is the difference between Continuous Delivery and Continuous Deployment?
More technical & programming practice
GenAI Basics · Pseudo-code · C Programming · Java · Python · Data Structures · Algorithms · Object-Oriented Programming
LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge