Interview practice plan
Data Scientist
S&P Global · Gurugram
Practice content written by LYDJ for interview preparation. These are common questions for this kind of role, not this employer's actual interview questions.
What this role asks for
Skills we found in the job description. The plan below is built around them.
Also named in the description, not covered below: Azure, AWS, GCP, Supply chain. Review these on your own.
Sign in to see your gap areas first. We compare this role with the skills on your profile.
0 of 22 questions practised
Answer each one out loud, then tick it. Progress is saved in this browser only.
Machine Learning
This role asks for Machine Learning, PyTorch, TensorFlow and scikit-learn. These Machine Learning questions cover the ground they share.
Explain the bias-variance trade-off with an example from a model you built.
What good looks likeHide hint
Underfitting versus overfitting, how you diagnosed it from training and validation curves, and what you changed (features, regularisation, data).
How do you detect and prevent data leakage?
What good looks likeHide hint
Time-based splits, features computed after the label, target encoding outside cross-validation folds, and the same entity appearing in train and test.
How do you choose evaluation metrics for a ranking or recommendation problem?
What good looks likeHide hint
NDCG, MAP or recall@k depending on the use, aligned with a business metric, and awareness of the gap between offline and online results.
ETL & data pipelines
This role asks for ETL and Databricks. These ETL & data pipelines questions cover the ground they share.
How do you design a pipeline that can be safely re-run for a past date?
What good looks likeHide hint
Idempotent writes via partition overwrite or merge on keys, deterministic inputs, no side effects outside the target, and a backfill procedure.
Batch or streaming: how do you decide for a new use case?
What good looks likeHide hint
How fresh the data must be, cost and operational complexity, late data handling, and whether micro-batches are good enough.
What is incremental loading, and how would you implement change data capture?
What good looks likeHide hint
Load only new or changed rows using watermarks or log-based CDC, handle deletes and updates, and reconcile counts periodically.
Spark
This role asks for Spark.
Explain transformations versus actions and lazy evaluation in Spark.
What good looks likeHide hint
Transformations build a plan, actions trigger execution, which lets the optimiser combine steps; know narrow versus wide transformations.
When would you use repartition versus coalesce?
What good looks likeHide hint
repartition does a full shuffle to increase or rebalance partitions; coalesce merges partitions without a full shuffle, useful before writing fewer files.
How do you choose file format and partitioning for a large data lake table?
What good looks likeHide hint
Columnar formats such as Parquet or Delta, partition by commonly filtered low-cardinality columns, avoid small files with compaction, and use clustering for selective filters.
Python
This role asks for Python.
Explain the GIL and how it affects threading, multiprocessing and asyncio.
What good looks likeHide hint
Threads help I/O-bound work but not CPU-bound Python code; multiprocessing sidesteps the GIL at a memory and IPC cost; asyncio suits many concurrent I/O tasks.
What goes wrong with def add(item, items=[])?
What good looks likeHide hint
Default arguments are evaluated once, so the list is shared across calls. Use None as the default and create the list inside.
A Python data-processing script takes hours. How do you speed it up?
What good looks likeHide hint
Profile first, replace row-by-row loops with vectorised NumPy or pandas operations, process in chunks, then consider multiprocessing or a distributed engine.
SQL
This role asks for SQL.
Find users who were active on at least three consecutive days.
What good looks likeHide hint
A gaps-and-islands pattern: subtract ROW_NUMBER() from the activity date, group by user and that difference, and count.
What is an index, how does a B-tree index speed up a query, and when does adding an index hurt?
What good looks likeHide hint
Sorted structure enabling seeks instead of scans; costs on writes and storage; low-selectivity columns and functions on columns can stop it being used.
Compute a 7-day rolling average of daily revenue, including days with no sales.
What good looks likeHide hint
Build a calendar of dates, LEFT JOIN the sales, fill missing days with zero, then AVG over ROWS BETWEEN 6 PRECEDING AND CURRENT ROW.
LLMs & GenAI
This role asks for Generative AI, RAG and LangChain. These LLMs & GenAI questions cover the ground they share.
Explain retrieval-augmented generation. When does it beat fine-tuning?
What good looks likeHide hint
RAG grounds answers in fresh, citable documents without retraining; fine-tuning changes style or format behaviour. Many systems use both.
How would you evaluate an LLM-powered feature before launch?
What good looks likeHide hint
A golden dataset of real tasks, rubric-based and automated checks, human review of samples, a regression suite for prompt changes, and live feedback.
How do you reduce hallucinations in a question-answering system over company documents?
What good looks likeHide hint
Improve retrieval (chunking, hybrid search, reranking), instruct the model to answer only from sources with citations, allow it to abstain, and measure with evals.
Behavioural
Every interview loop has a behavioural round. At mid level, expect questions on delivering independently, handling ambiguity and working through disagreement. Use the STAR structure.
Tell me about a time you had to learn something new quickly to deliver on a deadline.
What good looks likeHide hint
Name the specific gap, show how you learned (sources, people, practice) and quantify what you shipped. Interviewers want a repeatable learning method, not heroics.
Walk me through a project you are proud of and your specific role in it.
What good looks likeHide hint
Separate "we" from "I". Cover the problem, the decisions you personally made, the trade-offs, and a measurable result.
Tell me about a time you disagreed with a teammate or your manager. How did it resolve?
What good looks likeHide hint
Show that you disagreed on substance with evidence, listened properly, and committed once a decision was made, even if it went the other way.
Tell me about a time a project you owned was at risk of missing its date.
What good looks likeHide hint
Show early detection, honest escalation and the scope, sequencing or resourcing levers you pulled. Avoid stories that end with "we all worked weekends".
Company research brief: S&P Global
From the roles we track on LYDJ, refreshed daily from the official careers page.
32
open roles
15
added in 30 days
11
in Other
Hiring most for
- Other11
- Engineering9
- Operations6
- Security3
Read before the interview
Questions to ask them
- ›There are several open Other roles at S&P Global right now. How is the team growing, and where does this role fit?
- ›The company hires in Hyderabad, Gurugram, Noida. How do teams across locations work together day to day?
- ›How does the team use Machine Learning and ETL today, and what would you like to change?
- ›What does success look like in this role after six months?
- ›What is the biggest challenge the team is facing this year?
Preparation checklist
0/7 doneSaved in this browser only.