Skip to content
$ lynuxpro

INTERVIEW PREP

Interview questions

570 questions from real DevOps, SRE, platform engineering and MLOps interviews, with the answer an interviewer wants to hear. Try answering out loud first, then open the model answer.

Showing 1–4 of 4 questions

Learn AI Infrastructure & GPUs →
1.Why are GPUs used for AI instead of CPUs?Beginner

AI work is huge amounts of similar maths. A GPU has thousands of small workers that do it in parallel, so it is far faster than a CPU for this job.

2.What is the difference between training and inference?Beginner

Training teaches a model using lots of data and GPU time. Inference uses the trained model to answer requests. Most teams spend most of their effort on inference because every user request uses it.

3.How do you estimate whether a model fits on a GPU?Beginner

Multiply the number of parameters by the bytes per parameter (2 for FP16). A 7B model in FP16 needs about 14 GB. Add 20 to 50 percent for the KV cache and working space.

4.Where does the NVIDIA driver live when you run GPU containers?Beginner

On the host. The NVIDIA Container Toolkit passes the GPU into containers, and each container brings its own CUDA libraries. The host driver must be new enough for the container's CUDA.