Implementing Automation for Cisco Data Center Solutions (DCAUTO) — Question 11

A set of automation scripts work with no issue from a local machine, but an experiment needs to take place with a new package found online.
How is this new package isolated from the main code base?

Answer options

Correct answer: D

Explanation

The correct answer is D because creating a new virtual environment allows for the isolation of dependencies, ensuring that the new package does not interfere with the main code base. Options A and B do not provide the necessary isolation, while option C installs the package globally, which could lead to conflicts with existing packages.