Interview practice plan

N

Analyst- Data Science

Novartis

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 LearningStatisticsGenerative AILLMsDeep LearningPythonSparkNLPPandasSQL

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, Deep Learning and NLP. These Machine Learning questions cover the ground they share.

  • Your classifier has 98% accuracy but the business says it is useless. What might be going on?

    What good looks like

    Class imbalance. Look at precision, recall, PR-AUC and the confusion matrix, the cost of each error type, and threshold tuning.

  • How do gradient-boosted trees work, and when would you prefer them over a neural network?

    What good looks like

    Sequential trees fitting residuals; strong on tabular data with modest size, fast to train and easier to explain. Neural nets win on images, text and huge datasets.

  • 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

Data analysis

This role asks for Statistics. These Data analysis questions cover the ground it builds on.

  • Daily active users dropped 15% yesterday. How do you investigate?

    What good looks like

    Rule out tracking or pipeline issues first, segment by platform, region, version and channel, check releases and external events, then size and communicate.

  • Explain a p-value and a confidence interval in plain language.

    What good looks like

    A p-value is how surprising the data would be if there were no real effect; a confidence interval is a range of plausible effect sizes. Neither is the chance the hypothesis is true.

  • Explain Simpson's paradox with an example, and how you guard against it.

    What good looks like

    A trend in every subgroup reverses in the aggregate because group sizes differ; segment by likely confounders before drawing conclusions.

03Required skill0/3

LLMs & GenAI

This role asks for Generative AI and LLMs. 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.

04Required skill0/3

Python

This role asks for Python and Pandas. These Python questions cover the ground they share.

  • What are generators, and when would you use one instead of building a list?

    What good looks like

    Lazy evaluation with yield, constant memory for large or infinite streams, and pipelines of generators; note they can only be iterated once.

  • Explain decorators. Write one that retries a function with exponential backoff.

    What good looks like

    A function that wraps another, functools.wraps to keep metadata, configurable retries and delays, and only retrying exceptions that are actually transient.

  • How do you structure a Python codebase so a team can work on it safely?

    What good looks like

    Locked dependencies, pyproject-based packaging, type hints checked in CI, pytest with fixtures, linting and formatting, and clear module boundaries.

05Required skill0/3

Spark

This role asks for Spark.

  • One task in a Spark stage runs far longer than the rest. What is happening and how do you fix it?

    What good looks like

    Data skew on a key. Salt the hot keys, enable adaptive skew-join handling, or process the hot keys separately.

  • 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.

06Required skill0/3

SQL

This role asks for SQL.

  • Write a query that returns the second-highest salary in each department.

    What good looks like

    Use DENSE_RANK() over a partition by department, and say how you treat ties, NULLs and departments with a single employee.

  • A query that used to take 2 seconds now takes 2 minutes. How do you debug it?

    What good looks like

    Read the execution plan, check stale statistics, missing or unused indexes, data growth and skew, parameter-sensitive plans, and locking.

  • 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.

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.

  • Describe a piece of feedback that changed how you work.

    What good looks like

    State the feedback, your honest first reaction and the concrete behaviour you changed. Close with evidence that the change stuck.

  • Describe a time you had several urgent priorities at once. How did you decide what to do first?

    What good looks like

    Explain your criteria (impact, deadlines, dependencies), how you communicated the trade-offs, and what you deliberately dropped or delayed.

  • Give an example of when you went beyond your role to fix a problem for your team or a customer.

    What good looks like

    Pick something with real impact, explain why it mattered, and how you involved the owner rather than quietly working around them.

  • Why do you want this role, and why now?

    What good looks like

    Connect two or three specific requirements of the role to your experience and to a direction you are deliberately moving in. Generic praise of the company scores poorly.

Company research brief: Novartis

From the roles we track on LYDJ, refreshed daily from the official careers page.

99

open roles

39

added in 30 days

51

in Other

Pharma & HealthcareGCC

Hiring most for

  • Other51
  • Sales & Marketing31
  • Data & AI9
  • Operations7

Cities

Hyderabad · 61Mumbai · 7Delhi · 3Bengaluru · 2
See all 99 roles at Novartis →

Read before the interview

Questions to ask them

  • ›There are several open Other roles at Novartis right now. How is the team growing, and where does this role fit?
  • ›The company hires in Hyderabad, Mumbai, Delhi. How do teams across locations work together day to day?
  • ›How does the team use Machine Learning and Statistics 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: Analyst- Data Science at Novartis | LYDJ