Implementing Automation for Cisco Security Solutions (SAUTO) — Question 54
What are two advantages of Python virtual environments? (Choose two.)
Answer options
- A. Virtual environments can move compiled modules between different platforms.
- B. Virtual environments permit non-administrative users to install packages.
- C. The application code is run in an environment that is destroyed upon exit.
- D. Virtual environments allow for stateful high availability.
- E. Virtual environments prevent packaging conflicts between multiple Python projects.
Correct answer: C, E
Explanation
The correct answers, C and E, highlight that virtual environments create isolated spaces where the environment is discarded after use and prevent conflicts between different projects. Options A, B, and D are incorrect because they do not accurately describe the primary functionalities and advantages of Python virtual environments.