CS FundamentalsModerateIBM · Deloitte pattern
Why do containers usually start faster and use less memory than virtual machines?
- A. Containers share the host operating system's kernel instead of booting a full guest OS
- B. Containers are compiled to machine code ahead of time
- C. Containers always run on bare metal without isolation
- D. Containers run without any operating system at all
Correct answer: A. Containers share the host operating system's kernel instead of booting a full guest OS
A container is an isolated process group (namespaces, cgroups) on the host kernel, so there is no guest kernel to boot. A VM virtualises hardware and boots its own complete OS.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- Which of these is one of the four value statements of the Agile Manifesto?
- After a bug fix, the team re-runs previously passing tests to make sure nothing that used to work is now broken. This is:
- Which combination indicates a good modular design?
- A function takes two integer inputs, each valid in the range 1–100. Using standard (non-robust) boundary value analysis that varies one…
- What is the cyclomatic complexity of this function? python def grade(m): if m >= 90: return "A" elif m >= 75: return "B" elif m >= 50…
- A developer runs git reset --soft HEAD~1 on a branch. What happens?