Interview practice plan

SG

Data Scientist

S&P Global · Gurugram

OtherMid level22 practice questions

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.

Machine LearningETLDatabricksSparkPythonPyTorchTensorFlowscikit-learnSQLGenerative AIRAGLangChainAzureAWSGCPSupply chain

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.

01Required skill0/3

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 like

    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 like

    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 like

    NDCG, MAP or recall@k depending on the use, aligned with a business metric, and awareness of the gap between offline and online results.

02Required skill0/3

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 like

    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 like

    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 like

    Load only new or changed rows using watermarks or log-based CDC, handle deletes and updates, and reconcile counts periodically.

03Required skill0/3

Spark

This role asks for Spark.

  • Explain transformations versus actions and lazy evaluation in Spark.

    What good looks like

    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 like

    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 like

    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.

04Required skill0/3

Python

This role asks for Python.

  • Explain the GIL and how it affects threading, multiprocessing and asyncio.

    What good looks like

    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 like

    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 like

    Profile first, replace row-by-row loops with vectorised NumPy or pandas operations, process in chunks, then consider multiprocessing or a distributed engine.

05Required skill0/3

SQL

This role asks for SQL.

  • Find users who were active on at least three consecutive days.

    What good looks like

    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 like

    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 like

    Build a calendar of dates, LEFT JOIN the sales, fill missing days with zero, then AVG over ROWS BETWEEN 6 PRECEDING AND CURRENT ROW.

06Required skill0/3

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 like

    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 like

    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 like

    Improve retrieval (chunking, hybrid search, reranking), instruct the model to answer only from sources with citations, allow it to abstain, and measure with evals.

07Every loop0/4

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 like

    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 like

    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 like

    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 like

    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

Banking & Financial ServicesGCC

Hiring most for

  • Other11
  • Engineering9
  • Operations6
  • Security3

Cities

Hyderabad · 17Gurugram · 8Noida · 4Ahmedabad · 1Chennai · 1
See all 32 roles at S&P Global →

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 done

Saved in this browser only.

Interview prep: Data Scientist at S&P Global | LYDJ