가이드 연계 퀴즈 · 중간 레벨
ML 퀴즈를 위한 Python 종속성 관리
가상 환경, 잠금 파일, 패키지 관리자 역할 및 GPU 휠 선택을 대상 플랫폼에서 테스트해야 하는 이유를 이해합니다.
질문 1 의 8
What does a virtual environment primarily provide?
모든 질문 미리보기8 질문
퀴즈를 풀면 정답과 설명이 나타납니다.
- What does a virtual environment primarily provide?
- Isolation of project packages from other Python environments
- A compatible host GPU driver
- A guarantee of deterministic training
- A lock on external datasets
- What does a lockfile generally add beyond a dependency manifest?
- A copy of the training dataset
- A concrete resolved dependency set
- A host kernel driver
- A guarantee every wheel exists forever
- Why can a generic framework install command choose an unsuitable GPU build?
- Every machine has the same runtime libraries
- Python packaging always ignores CUDA versions
- Wheel variants depend on platform and accelerator compatibility
- A lockfile sets host driver versions
- What does a clean CI installation help detect?
- All package vulnerabilities permanently
- A model's causal validity
- Future GPU availability
- Undeclared dependencies available only on a developer machine
- Which layer does a Python lockfile generally not control?
- Transitive Python package versions
- The host NVIDIA kernel driver
- Some platform package markers
- Resolved package hashes when supported
- What should a team do when supporting both CPU and GPU installations?
- Store the driver inside requirements.txt
- Assume one wheel works identically on every platform
- Test each supported environment and document package constraints
- Avoid recording the framework version
- Why use package hashes where appropriate?
- They make dependency updates automatic
- They force every package to use a GPU
- They provide model accuracy estimates
- They help verify downloaded artifacts match expected content
- What does repeatable package resolution not guarantee by itself?
- Bitwise-identical training across hardware and data pipelines
- A recorded dependency graph
- A clean project environment
- A tested installation procedure