Skip to content
tezvyn:

Data Science & Analytics

Analysis, notebooks, visualization, pandas, statistics

283 bites

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

Everything in Data Science & Analytics, page 2

intermediate1 min read

Risks of optimizing recommendations only for CTR

CTR-only invites clickbait, low satisfaction, and long-term churn; add counter-metrics like dwell time, satisfaction, retention, and diversity.

advanced2 min read

Federated learning architecture, risks, and defenses

Devices train locally and send updates not data, a server aggregates; gradients still leak, enabling inversion or membership inference; defend with secure aggregation and DP.

advanced2 min read

Differential privacy, epsilon, and noisy aggregates

Define DP as bounded output change when one record is added or removed, explain epsilon as the privacy-accuracy knob, add calibrated noise scaled to sensitivity.

intermediate2 min read

k-anonymity and its limits against linkage attacks

Define k-anonymity via indistinguishable quasi-identifier groups, apply generalization and suppression, then show homogeneity or linkage attacks break it.

intermediate2 min read

Right to be forgotten and machine unlearning

Delete raw data everywhere, then remove influence via full retraining, SISA sharded retraining, or approximate unlearning; note cost and verification.

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.

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.

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.

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

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

CPU versus GPU serving: cost, latency, throughput

GPUs win on throughput for batched parallel work but cost more; CPUs suit low-volume or small models.

intermediate1 min read

ML CI/CD versus traditional software CI/CD

Validates code plus data plus the model, auto-trains and evaluates, adds continuous training and monitoring.

intermediate1 min read

What a feature store solves: skew and consistency

Central repository of computed features, one definition serving training and inference, reuse across models.

intermediate1 min read

Detecting and responding to model and concept drift

Define drift, pick a metric like PSI or falling AUC against labels, then investigate, retrain, validate.

easy1 min read

Batch prediction versus online real-time prediction

Batch is scheduled bulk scoring, online is low-latency per-request scoring; contrast latency, freshness, cost; give a use case each.

easy1 min read

Deploy a saved model as a REST prediction service

Load the artifact, wrap it in a predict API, containerize, host with autoscaling, add monitoring.

intermediate1 min read

Explain k-means user segments to a marketing team

Name each segment, profile its defining traits, show size and value, recommend an action.

intermediate1 min read

Two ways accurate data can still mislead in a chart

Name distortions like truncated axes or cherry-picked ranges, give the fix for each, explain why each misleads.

intermediate1 min read

Reconcile rising sign-ups with falling revenue per user

Reconcile the metrics via total revenue and segment mix, frame the tradeoff, recommend an action.

easy1 min read

Visualizing long-term trend versus seasonality

A line chart over the full three years, often with a moving average, shows the long-term trend; a seasonal plot overlaying each year by month, or a month-of-year box plot, reveals…

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