Interview practice plan
AI Engineer
Novartis · Hyderabad
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: Observability, Java, React, Next.js, AWS, Cloud security, Databricks, Snowflake. 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 25 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.
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 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 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.
LLMs & GenAI
This role asks for Generative AI, RAG, LangChain 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.
Product management
This role asks for Product management.
How would you improve the job search experience for first-time job seekers?
What good looks likeHide hint
Pick a clear user segment, find a real pain point, propose a few solutions, prioritise one with reasoning, and define how you would measure success.
How do you define success metrics for a new feature?
What good looks likeHide hint
Link to the product's north-star metric, choose a leading indicator you can move, add guardrail metrics, and make sure it can be measured and attributed.
Engineering estimates a feature at three times what you expected. What do you do?
What good looks likeHide hint
Understand what drives the estimate, look for a smaller version that tests the core value, revisit priority, and decide together rather than pushing back on the number.
Python
This role asks for Python.
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.
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.
JavaScript
This role asks for JavaScript.
Explain the event loop. In what order do setTimeout, a resolved Promise and code after await run?
What good looks likeHide hint
Call stack, microtask queue (promises) drained before the next macrotask (timers), and how await splits a function into a microtask continuation.
Implement debounce, and explain when you would use debounce versus throttle.
What good looks likeHide hint
Debounce waits for a pause (search input), throttle limits the rate (scroll handlers). Handle this, arguments and clearing the timer.
How do you handle errors in async code? What happens to an unhandled promise rejection?
What good looks likeHide hint
try/catch around await, .catch on chains, Promise.allSettled when partial failure is fine, and a global handler for logging unhandled rejections.
TypeScript
This role asks for TypeScript.
Explain generics with constraints. Write a typed function that picks a set of keys from an object.
What good looks likeHide hint
Use <T, K extends keyof T> returning Pick<T, K>, and explain how the constraint keeps callers from passing keys that do not exist.
What are discriminated unions, and how do they help with exhaustive checks?
What good looks likeHide hint
A shared literal field narrows the type in a switch; assigning the default case to never makes the compiler flag any unhandled variant.
When is using any or a type assertion acceptable, and how do you keep a large codebase strictly typed?
What good looks likeHide hint
Prefer unknown plus narrowing, enable strict mode, validate external data at the boundary, and tighten gradually with lint rules.
System design
This role asks for REST APIs, so expect an architecture round. State requirements and numbers first, then trade-offs.
Design a rate limiter for a public API.
What good looks likeHide hint
Compare token bucket, fixed and sliding windows; decide where it lives (gateway or service), how counters are shared across nodes, and how clients learn they are limited.
Design an upload and processing pipeline for large documents such as resumes.
What good looks likeHide hint
Direct-to-storage uploads with signed URLs, async processing through a queue, retries and a dead-letter queue, malware scanning, and status updates for the user.
Design the REST API for a multi-tenant SaaS product.
What good looks likeHide hint
Resource modelling, versioning, pagination, authentication and tenant isolation, idempotent writes, and a consistent error contract.
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 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.
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.
Tell me about a time you worked closely with a team in another time zone or culture.
What good looks likeHide hint
Mention concrete practices (async updates, overlap hours, written decisions) and a moment where a misunderstanding was caught and fixed.
What is a goal you set for yourself in the last year, and how did you track it?
What good looks likeHide hint
Pick a measurable goal, describe the system you used to track it, and be honest about where you fell short.
Company research brief: Novartis
From the roles we track on LYDJ, refreshed daily from the official careers page.
98
open roles
39
added in 30 days
12
in Data & AI
Hiring most for
- Other47
- Sales & Marketing29
- Data & AI12
- Operations6
Read before the interview
Questions to ask them
- ›There are several open Data & AI 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 Generative AI and Product management 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/8 doneSaved in this browser only.