MLOps Engineer question bank
552 questions. Filter by level and skill, track what you've solved, and see how many people get each one right.
- What a model registry is for
- Why version data
- Why put a model in a container
- What experiment tracking records
- What data drift is
- When batch inference fits
- Same code, different results
- Canary deployment
- Data used to tune hyperparameters
- Recall from prediction counts
- What concept drift is
- Blue-green deployment
- A/B test versus canary
- What CI should check for a model
- Image versus container
- Traffic before the model has loaded
- What a pipeline DAG is
- Reading a cron schedule
- Where API keys belong
- What p99 latency means
- Throughput of four replicas
- Memory for 7B parameters in fp16
- Why quantise a model
- Why export a model to ONNX
- Logging a metric every epoch
- Making a training run repeatable
- What training-serving skew is
- What a model card is for
- Scaling a stateless model API
- Bad data reached training
- Protocol for internal inference calls
- Pod stuck in CrashLoopBackOff
- What a vector database does
- Cost of a GPU training job
- Why deep learning runs on GPUs
- Where GPU tensors live
- Size of a warp
- What a CUDA kernel is
- What an SM is
- What tensor cores do
- Quick check of GPU state
- Tensors on different devices
- Reading a CUDA OOM error
- First thing to try after OOM
- Memory during evaluation
- pin_memory in the DataLoader
- GPU waits for each batch
- Driver and CUDA version check
- Training runs on CPU by mistake
- What data parallelism does
- DataParallel or DistributedDataParallel
- Purpose of all-reduce in DDP
- Backend for multi-GPU training
- Launching a multi-GPU job
- Rank and world size
- Every process uses GPU 0
- NVLink versus PCIe
- Network between training nodes
- What mixed precision means
- What autocast does
- Largest FP16 value
- Layout of BF16
- Eight copies of the same checkpoint
- Each GPU sees the same batches
- Asking Kubernetes for a GPU
- GPU nodes show zero GPUs
- GPU metrics in Prometheus
- Sharing one GPU by time-slicing
- GPU bill keeps rising
- Choosing a container base image
- Where to write checkpoints
- Cost of an 8-GPU node for a day
- Matching the GPU to the job
- Securing GPUs for a 3-month run
- Memory on common data-centre GPUs
- Running many tiny GPU processes
- Why pipelines are DAGs
- What a Kubeflow component is
- MLflow logging calls
- What mlflow.autolog() does
- What a .dvc file holds
- Training broke after a fresh install
- Bundling preprocessing with the model
- Feast basic objects
- Two teams, same feature
- Hard-coded settings in scripts
- Testing feature code
- What continuous training is
- Manual process maturity
- Batch or online scoring
- Splitting a rare-event dataset
- Cron jobs for a training pipeline
- Who approves a production model
- Documenting a registered model
- Moving notebook code to production
- Running notebooks with parameters
- Versioning a model’s interface
- Training pod keeps getting evicted
- Database password in config.yaml
- What Vertex AI Pipelines runs
- How many fits in a grid search
- What label shift means
- Common PSI thresholds
- Drift test for payment method
- Watching prediction distribution
- Missing values jump overnight
- A new category appears
- Average latency looks fine
- Service health basics
- Running a model in shadow
- Fraud flags tripled
- Joining predictions to labels
- Different tokenizer at serving
- Features from three days ago
- Half the rows went missing
- Tracking model age
- Inputs to an Evidently report
- Agreeing on input data
- Champion and challenger
- What a drift runbook gives
- Nobody owns the alert
- Which prompt caused it
- Watching the safety filter
- Counts doubled after a retry fix
- Green job, empty output
- Mixing versions in metrics
- Too many charts on the dashboard
- Paging for minor drift
- Nightly run on a golden set
- Drift that comes back
- New phones, worse OCR
- GPU mostly idle
- Pods restart every few hours
- Requests suddenly 10x larger
- Weekly chart looks calm
- Simple image drift stats
- Why track time to first token
- Known requests sent on a timer
- Planning monitoring early
- After a model incident
- Latency and throughput
- What TTFT measures
- Gap between streamed tokens
- Two phases of LLM generation
- Requests that take five minutes
- Knowing which model is live
- Rolling out a new model safely
- Testing on live traffic invisibly
- Requests hang forever
- What vLLM is used for
- Purpose of Triton Inference Server
- Limiting output length
- Setting temperature to 0
- Same question asked again
- Hardware for a small tree model
- Loading weights from an unknown source
- Same code, different outputs after rebuild
- Why blue-green suits model releases
- One client floods the endpoint
- Logging prompts in production
- Dashboard for an LLM service
- Running a model on a laptop
- Huge inputs crash the server
- Serverless GPU for low traffic
- Model inside the web app process
- When a GPU is worth it
- Health check passes but model fails
- Shadow deployment
- Scheduling a GPU pod
- When to retrain
- Slow image builds
- Online and offline feature stores
- Low GPU use under load
- Safe retries in pipelines
- Labels arrive weeks later
- Computing PSI for two bins
- KV cache size for one long request
- Joining features to training labels
- Old start date with catchup on
- Pod killed while loading the model
- Autoscaling a GPU inference service
- Concurrent requests at peak
- Reading a KS drift statistic
- Serving many fine-tuned variants
- Smaller model with similar quality
- Switching embedding models in RAG
- Purpose of a multi-stage build
- Deploying by alias, not version
- Automatic gate before promotion
- Training on spot GPUs
- Speeding up training on 8 GPUs
- Why bf16 is easier than fp16
- Splitting requests into batches
- What to log for each LLM call
- Fleet-wide p99 from many pods
- Online features stopped updating
- CPU pods filling GPU nodes
- Silent wrong predictions from bad input
- Cost per 1,000 predictions
- Instructions hidden in a document
- p99 doubled right after a release
- Allocated and reserved memory
- empty_cache does not help
- Memory grows each training step
- Timing a GPU operation
- Memory coalescing
- If-else inside a warp
- Purpose of shared memory
- Low occupancy in a kernel
- Why GELU and adds are memory-bound
- What kernel fusion saves
- What torch.compile does
- torch.backends.cudnn.benchmark
- Memory format for CNNs
- TF32 on Ampere and newer
- Odd layer sizes run slowly
- Finding the slow part of a step
- Gaps in the GPU timeline
- OOM with plenty of reserved memory
- Logging slows the training loop
- Writing a custom fused kernel
- Same order every epoch
- Gradient accumulation with DDP
- How DDP hides communication
- Traffic in ring all-reduce
- Building all-reduce from parts
- What ZeRO stage 1 saves
- From ZeRO stage 1 to stage 2
- How FSDP runs a layer
- Offloading optimizer state to CPU
- BatchNorm with 2 images per GPU
- Learning rate when adding GPUs
- Gradient clipping with FSDP
- Training hangs with no error
- DDP error about unused parameters
- Strong and weak scaling
- GradScaler skipped a step
- Why keep FP32 master weights
- Training in FP8
- Ops autocast keeps in FP32
- How tensor parallelism splits a layer
- Training data on a slow network share
- Millions of tiny image files
- Distributed job stuck half-started
- Same GPUs, slower job
- GPU nodes take long to appear
- Compute-optimal data size
- Cost of a pretraining run
- Cheaper GPU or faster GPU
- Memory bandwidth by GPU generation
- What NVSwitch adds
- What GPUDirect RDMA does
- Training pauses while saving
- Catching GPU faults early
- Scaling efficiency on 8 GPUs
- Bigger global batch stops helping
- Slow first CUDA call on bare metal
- Unpausing a DAG with catchup on
- MLflow pyfunc flavor
- Why log a model signature
- Tracing a production model
- Running dvc repro twice
- Purpose of dvc.lock
- DVC or Git LFS
- Random split for a sales forecast
- A suspiciously strong feature
- Scaling before splitting
- Unseen category at predict time
- Loading the online store
- Features that need request data
- Organising a tuning sweep
- Two runs, two test sets
- Which config was actually used
- Gating a new model
- Why export to ONNX
- Artifact was overwritten
- Reading a table as it was
- Processing only new data
- Pinning an Iceberg table
- Which data trained this model
- Starting before data lands
- Too many tasks hit the database
- Assets instead of tasks
- Resuming a failed flow
- SageMaker Pipelines step cache
- Training cost on spot GPUs
- Spot instance reclaimed
- SQL offline, Java online
- Tumbling or sliding window
- Label logic changed quietly
- Testing the whole pipeline in CI
- Rebuilding the model for production
- Commit hash with uncommitted edits
- Stopping weak trials early
- Covariate shift or concept drift
- PSI with an empty bin
- Swapping PSI inputs
- KL divergence direction
- Why teams like Jensen-Shannon
- Wasserstein distance for a shift
- Choosing the reference window
- Hourly drift checks are noisy
- Drift during Diwali sales
- Amount sent in paise
- Fraud metrics once labels land
- Reading a reliability diagram
- Brier score by hand
- Proxy signals for fraud
- Comparing a canary fairly
- Predictions getting less certain
- One bad minute pages on-call
- Sampling logs to save cost
- Aadhaar numbers in logs
- Measuring skew directly
- MAPE for three forecasts
- Residuals moving one way
- Reading a PromQL latency query
- Error budget for a 99.9% SLO
- Profiling instead of storing rows
- SageMaker Model Monitor setup
- Skew vs drift in Vertex AI
- When to roll back a model
- Scoring LLM answers at scale
- Daily LLM bill
- More refusals after an update
- RAG answers without context
- Fraudsters change tactics
- Approval rates across groups
- Hour of day shifted by 5.5
- Monitoring a model on phones
- Replaying production inputs
- Which input caused the score shift
- Gini from AUC
- Precision moved, AUC did not
- Launching in a new city
- Drift jobs costing too much
- Counting distinct users cheaply
- Monitoring with no labels at all
- Real or virtual drift
- Ensemble members disagree more
- Which samples to label first
- Sampling for human review
- How precise is 90% accuracy
- Newest month looks great
- NDCG for a short ranking
- Hourly batch or streaming drift
- Feature updates running late
- Missing encoded two ways
- Inputs far outside training range
- How useful are the alerts
- More unknown tokens
- Answers getting longer
- Spike in injection attempts
- Reusing a shared system prompt
- Long prompts stall other users
- Concurrent requests from Little's law
- Total output tokens per second
- vLLM gpu_memory_utilization
- What AWQ and GPTQ quantise
- FP8 for serving
- Quantising the KV cache
- Prefix cache hit rate is low
- Guaranteeing valid JSON
- Model keeps writing extra turns
- What top_p=0.9 means
- Beam search in a chat API
- Setting a latency SLO
- KV cache fills during a burst
- GPU idle while CPU is maxed
- TensorRT engine fails on new GPUs
- Streaming arrives all at once
- Retry storm after an outage
- Primary model keeps timing out
- Embedding one document at a time
- Cross-encoder reranker is slow
- First requests after deploy are slow
- Variable input lengths in TensorRT
- Triton max_queue_delay setting
- Small model leaves the GPU idle
- Many small models on one A100
- Many adapters on one vLLM server
- Cost per million tokens on own GPU
- GPU hours for an offline job
- vLLM fails to start: KV too small
- KV cache with sliding-window layers
- Accuracy slips months after launch
- Same model, worse online scores
- Request rejected for context length
- Users switch models mid-session
- Pre-processing on the client is slow
- p99 latency spikes during traffic bursts
- Rollback that made things worse
- Why LLM servers use continuous batching
- Same seed, different results
- Drift alerts firing all the time
- Hundreds of low-traffic models
- Model affects its own training data
- Loading a model from a public hub
- Where to use tensor parallelism
- KV cache with grouped-query attention
- Memory to fully fine-tune 7B with Adam
- Shadow model sent real emails
- Drift check with a classifier
- Canary that cannot catch quality drops
- Daily batch missing late events
- Pipeline reused yesterday output
- Offline and online scores disagree
- Batches of mixed text lengths
- Accuracy fell after int8 quantisation
- Same tag, different image
- Tail latency at low CPU usage
- More threads, no extra throughput
- State leaking between requests
- Streaming counts that run high
- Retries that make an outage worse
- Error budget for 99.9%
- Retrieval got worse as the index grew
- User asks for data deletion
- Semantic cache returns wrong answers
- GPU shows 100% but is underused
- High drift, stable performance
- Loss spike after resuming training
- Arithmetic intensity of c = a + b
- Arithmetic intensity of a big matmul
- Time for one elementwise pass
- Time for a 4K matmul
- Computing MFU for a training run
- Estimating total training time
- What grows activation memory
- Xid errors in the kernel log
- One GPU is slower than its peers
- Slow transfers between some GPU pairs
- Error points to the wrong line
- Device-side assert in cross-entropy
- GPU use swings between 0 and 100%
- OOM late in a long evaluation
- Overlapping host-to-device copies
- Time to all-reduce 7B gradients
- Per-GPU state for 13B with ZeRO-3
- Idle time in pipeline parallelism
- Why 1F1B beats GPipe on memory
- Training on 128K-token sequences
- Placing TP, PP and DP on a cluster
- One slow rank in a 256-GPU job
- Accumulated gradients too large
- Pure BF16 training stalls
- Choosing the FSDP wrapping unit
- Saving a 70B FSDP checkpoint
- Keep training when a node dies
- Multi-node job runs at PCIe speed
- Memory saver with the biggest slowdown
- Rings versus trees at large scale
- How often to checkpoint
- Failures in a 1,000-GPU job
- Splitting a fixed compute budget
- One node's link runs at half speed
- H200 or H100 for long-context serving
- Pending row remapping on an A100
- Data prep and compute in sequence
- Expected loss from spot reclaims
- Tensor parallel size beyond 8
- Capping GPU power in a hot data centre
- Bug appears only on some nodes
- Filtering by now() in a task
- Passing a dataframe through XCom
- Image tag now points elsewhere
- One customer, both splits
- Feature TTL in point-in-time joins
- Building a step cache key
- Loading an old pickle
- Time travel stopped working
- How long a feature backfill takes
- Sample changes on every run
- Hash split differs between runs
- SMOTE before cross-validation
- Same seed, different data order
- Different GPU count, different result
- Mixing embeddings from two models
- Late events missing from counts
- Crash after committing offsets
- Deletion request vs reproducibility
- Daily full copies of training data
- Hashing 50 TB every run
- Old run cannot be rebuilt
- Downstream steps never cache
- Bug fixed offline only
- Every feature fails the test
- Chance alarms over 200 features
- Drift on an unimportant feature
- Computing ECE
- Stable overall, bad in one city
- Drift for free-text inputs
- What MMD measures
- Confident on strange inputs
- Catching a small steady shift
- How ADWIN works
- Mean and std did not move
- AUC steady, losses rising
- Timeouts turned into zeros
- user_id as a metric label
- Weekly accuracy by the wrong date
- Detecting a smaller drop
- Auto-retrain made it worse
- Judge prefers the first answer
- New embedding model, old index
- Trusting thumbs-up ratings
- Recommender CTR falls after redesign
- Attributions shifted to one feature
- Labels changed, not users
- Combining quantiles across servers
- Canary looked perfect
- Drift job silently stopped
- Judge upgrade moved the scores
- Alerts from tiny segments
- Correcting for covariate shift
- Updating a score for a new base rate
- Estimating new class mix without labels
- Prediction sets cover less
- Labels for a ±2 point margin
- Outcomes only for approved loans
- Setting alert thresholds
- Drift on 19,000 pincodes
- Comparing forecast errors fairly
- Each feature fine, model not
- Last month’s accuracy changed
- Upper bound on single-stream speed
- Why batching raises decode throughput
- Estimating prefill time
- How many 8K chats fit
- Tokens gained per verify step
- Speculative decoding under heavy load
- Where 4-bit weights speed things up
- Separate prefill and decode GPUs
- Why servers capture CUDA graphs
- Same prompt, temperature 0, different text
- Autoscaling an LLM deployment
- New replicas take four minutes
- Splitting a model across two nodes
- Slow first token for Dubai users
- Savings from cached prompt tokens
- When decode stops being memory-bound
- Throughput versus goodput
- How SmoothQuant enables INT8
- Speculation without a separate draft model
- Why a 100K prompt is so slow
- Rolling update stuck in Pending
- Spot GPUs for an online service
- Errors only on very long documents
- Sizing for RAG versus chat
- Placing experts on many GPUs
- Latency explodes near full load
- Overload during a sale event