Skip to content
tezvyn:

Data Science & Analytics

Analysis, notebooks, visualization, pandas, statistics

32 bites

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

Advanced interview questions in Data Science & Analytics, page 2

advanced2 min read

K-Means vs DBSCAN: which for geospatial hotspots?

Tests matching algorithmic assumptions to data structure. K-Means needs K and assumes spheres; DBSCAN discovers arbitrary density shapes and labels noise. Choose DBSCAN for geospatial hotspots because density is irregular.

advanced1 min read

Interpreting a black-box gradient boosting model

Global tools like permutation importance or aggregated SHAP rank overall feature influence; local tools like per-instance SHAP or LIME explain one prediction; SHAP unifies both via additive…

advanced2 min read

How would you estimate causal impact using a quasi-experimental method?

DiD with Canada versus Australia; assert parallel trends; validate with pre-period plots and placebo tests.

advanced2 min read

Explain Regression Discontinuity Design and propose a real-world scenario

Compare units just above and below a threshold for local effects; propose scenario with forcing variable.

advanced2 min read

Exploration versus exploitation: epsilon-greedy and UCB

Exploit current best to earn reward, explore to discover better options; epsilon-greedy explores randomly with probability epsilon; UCB explores by an uncertainty bonus…

advanced1 min read

Why Transformers use multi-head attention

A single head averages into one representation subspace; multiple heads attend in parallel to different subspaces, letting the model capture diverse relations like syntax and coreference at once, then…

advanced1 min read

Mode collapse in GANs and how to fix it

Mode collapse is the generator producing few similar outputs, missing data diversity to fool the discriminator; fixes include Wasserstein loss, minibatch discrimination, unrolled GANs, and feature…

advanced2 min read

Diagnosing Spark executor OutOfMemoryError

Check the Spark UI for skew and spills, inspect executor memory and partition count, find culprits like wide collect, huge shuffles, or skewed keys, and fix via more partitions, memory tuning, or…

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.

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

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.

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.

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