LPIC-3 Exam 305 (Virtualization and Containerization) — Question 4
Which functionality is provided by Vagrant as well as by Docker? (Choose three.)
Answer options
- A. Both can share directories from the host file system to a guest.
- B. Both start system images as containers instead of virtual machines by default.
- C. Both can download required base images.
- D. Both can apply changes to a base image.
- E. Both start system images as virtual machines instead of containers by default.
Correct answer: A, C, D
Explanation
The correct answers A, C, and D highlight functionalities that both Vagrant and Docker provide, such as sharing directories, downloading base images, and applying changes. Option B is incorrect because Docker runs containers by default, while Vagrant typically runs virtual machines. Option E is also incorrect as it misrepresents Docker's default behavior of using containers.