Implementing Automation for Cisco Enterprise Solutions (ENAUTO) — Question 111
What is a benefit of using a Python virtual environment?
Answer options
- A. It allows easy module dependencies maintenance.
- B. It separates dependencies from the application.
- C. It improves runtime performance.
- D. It improves overall application security.
Correct answer: B
Explanation
The correct answer is B because a Python virtual environment isolates the dependencies required for a specific project, preventing conflicts with other projects. Option A, while true, does not capture the primary purpose of a virtual environment, and options C and D are incorrect as they do not directly relate to the main function of virtual environments.