CS FundamentalsHardIBM · Deloitte pattern
How many of the following statements comparing containers and virtual machines are correct? 1. A Linux container can run directly on a Windows kernel without any Linux VM or compatibility layer. 2. Containers on one host share the host kernel, so a kernel vulnerability can affect all of them. 3. Each container boots its own guest kernel, just as each VM does. 4. A container image is a read-only template; a container is a running (or stopped) instance with a writable layer on top.
- A. Only one
- B. Only two
- C. Only three
- D. All four
Correct answer: B. Only two
2 and 4 are correct. 1 is wrong: Linux containers need a Linux kernel, so Docker Desktop on Windows runs them inside a lightweight Linux VM (WSL 2 or Hyper-V). 3 is wrong: only VMs boot a guest kernel; containers are processes on the shared host kernel. So two are correct.
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
- A Dockerfile reads: FROM python:3.12 COPY . /app RUN pip install -r /app/requirements.txt Every small code edit makes the build reinstall…
- How many of the following statements about Kubernetes are correct? 1. A Pod is the smallest deployable unit and can never hold more than…
- Match each project situation with the most suitable SDLC model. P. Requirements fixed and well understood, short project Q. Large…
- How many of the following statements about Scrum are correct? 1. A sprint may be extended by a few days when the sprint goal has not yet…
- In top-down integration testing, the top-level module is ready but the lower-level modules it calls are not. What must the testers write…
- Mutation testing creates 50 mutants of a program. 5 of them are equivalent mutants (they behave identically to the original). The test…