0
0
MLOpsdevops~20 mins

Hardware and framework version tracking in MLOps - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Hardware and Framework Version Tracking Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Why track hardware and framework versions in MLOps?

Which of the following is the main reason to track hardware and framework versions in an MLOps pipeline?

ATo reduce the size of the trained model files
BTo speed up the training by using older hardware versions
CTo ensure model reproducibility and consistent performance across environments
DTo avoid using any version control system
Attempts:
2 left
💡 Hint

Think about why knowing exact versions helps when running the same model again.

💻 Command Output
intermediate
2:00remaining
Output of hardware info command

What is the output of the following Linux command used to check GPU info?

nvidia-smi --query-gpu=name,memory.total --format=csv,noheader
ASyntaxError: invalid command
BTesla V100, 16160 MiB
CNo GPUs found
DTesla V100 16160
Attempts:
2 left
💡 Hint

The command queries GPU name and total memory in CSV format without header.

Configuration
advanced
2:30remaining
Correct YAML snippet for framework version tracking

Which YAML snippet correctly specifies TensorFlow version 2.12.0 and CUDA version 11.8 for an MLOps environment config?

A
framework:
  name: tensorflow
  version: 2.12.0
hardware:
  cuda_version: 11.8
B
framework:
  name: tensorflow
  version: 'tensorflow-2.12.0'
hardware:
  cuda: 11.8
C
framework:
  tensorflow_version: 2.12.0
hardware:
  cuda_version: 11.8
D
framework:
  name: tensorflow
  version: 2.12
hardware:
  cuda_version: 11.8
Attempts:
2 left
💡 Hint

Look for correct keys and exact version strings.

Troubleshoot
advanced
2:30remaining
Why does model training fail after framework upgrade?

You upgraded TensorFlow from 2.11 to 2.12 on your training server. Suddenly, your model training script fails with an error about missing attributes. What is the most likely cause?

AThe CUDA version was downgraded accidentally
BThe GPU hardware is incompatible with TensorFlow 2.12
CYour Python version is too new for TensorFlow 2.12
DThe new TensorFlow version changed or removed some APIs your code uses
Attempts:
2 left
💡 Hint

Think about what changes between framework versions can break code.

🔀 Workflow
expert
3:00remaining
Best workflow to track hardware and framework versions automatically

Which workflow best automates tracking hardware and framework versions during model training in an MLOps pipeline?

AUse a script that logs GPU info and framework version at training start, saving to experiment metadata
BOnly track framework version in code comments
CManually write hardware and framework versions in a text file before training
DIgnore hardware info and rely on cloud provider defaults
Attempts:
2 left
💡 Hint

Automation and metadata logging are key for reliable tracking.