Project Tooling · interview question
Which move is the best default when virtual environments becomes part of this workflow?
Multiple choiceMediumchapter-6-curatedpremiumproject-toolingvirtual-environments
Answer and explanation
Correct answer
D. Use virtual environments so dependency resolution and execution are not hostage to whatever happens to be installed globally.
Why
Use virtual environments so dependency resolution and execution are not hostage to whatever happens to be installed globally. That is the stronger engineering move because this is a professional habit interviewers expect because it shows environment discipline. Global-package drift creates confusing machine-specific bugs that look like code problems.
Test yourself on Project Tooling
A free test with instant, explained results. No account needed.
More Project Tooling questions
- What does a strong engineer do when reasoning through package layout code?
- Which boundary choice best fits package layout in a maintainable Python system?
- What production risk should you worry about most if package layout is handled lazily?
- Which boundary choice best fits project metadata in a maintainable Python system?
- What is the healthiest performance judgment around package layout?
- A bug appears around project metadata. What is the strongest first debugging move?