Interview practice plan
Analyst- Data Science
Novartis
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.
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, 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 likeHide hint
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 likeHide hint
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 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.
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 likeHide hint
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 likeHide hint
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 likeHide hint
A trend in every subgroup reverses in the aggregate because group sizes differ; segment by likely confounders before drawing conclusions.
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 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.
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 likeHide hint
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 likeHide hint
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 likeHide hint
Locked dependencies, pyproject-based packaging, type hints checked in CI, pytest with fixtures, linting and formatting, and clear module boundaries.
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 likeHide hint
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 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.
SQL
This role asks for SQL.
Write a query that returns the second-highest salary in each department.
What good looks likeHide hint
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 likeHide hint
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 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.
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 likeHide hint
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 likeHide hint
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 likeHide hint
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 likeHide hint
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
Hiring most for
- Other51
- Sales & Marketing31
- Data & AI9
- Operations7
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 doneSaved in this browser only.