Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Cisco 300-635 Exam - Topic 2 Question 106 Discussion

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?
D) Create a new virtual environment and perform a pip install of the new package
A) Add the new package to your requirements txt file.
B) Create a new virtual machine and perform a pip install of the new package
C) Perform a pip install of the new package when logged into your local machine as root

Cisco 300-635 Exam - Topic 2 Question 106 Discussion

Actual exam question for Cisco's 300-635 exam
Question #: 106
Topic #: 2
[All 300-635 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

0/2000 characters
Blondell
4 days ago
Right, D is lightweight and effective.
upvoted 0 times
...
Ceola
9 days ago
B is too heavy. A VM is overkill for this.
upvoted 0 times
...
Deane
14 days ago
A could work, but it mixes dependencies.
upvoted 0 times
...
Kayleigh
20 days ago
Agreed! D isolates the package perfectly.
upvoted 0 times
...
Blondell
25 days ago
I think D is the best choice. Virtual environments keep things clean.
upvoted 0 times
...
Elmira
30 days ago
Definitely D, virtual environments are the way to go!
upvoted 0 times
...
Lemuel
1 month ago
Wait, can you really install packages as root? Sounds sketchy!
upvoted 0 times
...
Leontine
1 month ago
A just adds it to the main project, right? That's risky!
upvoted 0 times
...
Roosevelt
2 months ago
I think B could work too, but it's more resource-heavy.
upvoted 0 times
...
Vicky
2 months ago
D is the best option for isolation!
upvoted 0 times
...
Lettie
2 months ago
I feel like installing it as root could cause issues later on, so maybe we should avoid that option.
upvoted 0 times
...
Keena
2 months ago
Adding it to the requirements file seems too risky if we want to keep it separate.
upvoted 0 times
...
Huey
2 months ago
I remember practicing with virtual environments in a similar question, and I think option D is the right choice.
upvoted 0 times
...
Bernardine
2 months ago
I think isolating the package is important, but I'm not sure if creating a new virtual machine is the best way.
upvoted 0 times
...

Save Cancel