Skip to content
tezvyn:

🤖AI & ML

Artificial intelligence, machine learning, and data science

546 bites

Test yourself: Top 30 AI & ML interview questionsMultiple choice, with the correct answer and why it is correct on every question. Free, no sign-in.

Interview questions in AI & ML, page 22

intermediate1 min read

What is shadow deployment for ML models?

New model receives mirrored live traffic but its predictions are logged, not served; validates real-world behavior and latency without user risk.

intermediate1 min read

Preprocessing conversations to protect privacy before fine-tuning

Detect and redact PII with NER plus regex, choose redaction versus pseudonymization, and validate recall.

intermediate1 min read

Why version data and model artifacts, not just code

Code alone cannot reproduce a model; data and artifact versioning enable rollback, debugging, audit.

intermediate1 min read

How is an HDR radiance map constructed from exposures?

Recover the inverse camera response function from corresponding pixels, linearize each exposure to radiance, then merge with confidence weights into a floating-point radiance map.

intermediate1 min read

Measuring fairness in an embedding-based text classifier

Define group definitions, apply demographic parity and equalized odds, and address noisy labels and implicit group membership.

advanced2 min read

Zero-downtime model updates with blue-green or canary

Blue-green swaps full traffic after validation, canary ramps a small slice; both need health, latency, and quality monitoring plus instant rollback.

intermediate1 min read

Feature detector vs feature descriptor.

A detector finds where interesting points are, a descriptor encodes the local appearance around each so points can be matched.

Compare Canary and Blue/Green ML deployments and model-specific metrics
intermediate2 min read

Compare Canary and Blue/Green ML deployments and model-specific metrics

Contrast Canary gradual shift vs Blue/Green instant swap; highlight silent failures, data drift, prediction distribution; cite accuracy and calibration.

intermediate1 min read

Practical explainability for an LLM loan summary

Use attribution-by-design with grounded citations, structured rationales, and a deterministic rules layer instead of slow per-token SHAP.

advanced2 min read

Minimizing model prediction latency end to end

Shrink the model via quantization, pruning, distillation, compilation; cut infra latency via caching, edge, faster runtimes.

intermediate1 min read

Why learn detection and description jointly like SuperPoint?

A shared backbone jointly optimizes detection and description for matching, sharing computation and learning data-driven robustness instead of hand-crafted heuristics.

Design a multi-tenant GPU serving system for hundreds of fine-tuned models
intermediate2 min read

Design a multi-tenant GPU serving system for hundreds of fine-tuned models

Tests GPU memory tradeoffs versus cold-start latency in multi-tenant serving. Strong answers propose tiered CPU staging, predictive pre-warming, and disaggregated prefill and decode. Red flag: keeping all models GPU-resident or ignoring transfer overhead.

intermediate1 min read

What is a model registry and how does it enable CD?

A registry versions models with metadata, lineage, and stage tags; CD watches stage transitions to trigger deploys.

intermediate1 min read

Data lineage and machine unlearning for a fine-tuned LLM

Version and fingerprint datasets, record transforms and which checkpoint saw what, and enable unlearning via retraining, data sharding, or approximate gradient methods.

easy2 min read

Programmatically detect and redact PII in text

Regex for structured PII plus NER for names and places, redact or tokenize, then validate recall.

intermediate1 min read

What is Bundle Adjustment and why is it tractable?

Jointly refine 3D points and camera poses by minimizing reprojection error, expensive due to many coupled parameters; sparsity of the Jacobian and the Schur complement make it tractable.

intermediate2 min read

Designing an autonomous research-and-report agent

Planner that decomposes goals, short-term scratchpad plus long-term vector memory, structured tool calls, and a reflect-retry loop for error correction.

easy2 min read

Quantifying performance disparity across subgroups

Compute per-group precision, recall, FPR, FNR, compare via fairness metrics; visualize with grouped bars or per-group confusion matrices.

intermediate1 min read

Improving small object detection

Raise input resolution and tile, use feature pyramids for high-res features, tune anchors and copy-paste augmentation.

Explain dynamic batching in inference servers and its trade-off
intermediate2 min read

Explain dynamic batching in inference servers and its trade-off

Dynamic batching launches when a time window or max size is met, improving throughput over static batching, but short ones wait for the slowest.

We are hiring for this. Every open role lists the topics its interview covers, so you can prepare for the real thing rather than guessing.

See open roles