Interview Prep
Interview questions, roadmaps and practice sets
Tutorials
Free tutorials on 30+ topics
Blog
Career guides, skills and interview tips
Free PDFs
Notes, cheat sheets and question banks
Certificates
Free skill tests and course certificates
Tools & Whiteboard
Free tools you can use right in the browser
Practice Tests
Mock tests, MCQs and quick Q&A
Free LMS
Learn on the Uncodemy LMS
Choose the best training program according to your career.
Improve the performance of your business with our innovative Industrial Training Program.
Read More →
Our instructor-led training classes are designed to make you an expert.
Read More →
Real-life case studies are a great way to demonstrate your practical knowledge.
Read More →
Explore blogs, latest technologies and industry updates with practical examples.
Read More →Browse all available training programs and choose the right one for your career.
Read More →Know more about who we are and what we stand for.
Discover our mission to equip individuals with essential IT skills and industry expertise.
Read More →
Free tutorials, interview questions, tools and calculators to help you learn.
Explore →Learn, practice and plan your career — bilkul free.
Book a free video counselling session and pick the right course for you.
Read More →To prepare for an AI engineer interview in India, get ready for four kinds of rounds: a coding round (Python and data structures), an ML and deep learning fundamentals round, an LLM / generative AI and system design round (RAG, evaluation, deployment), and a project deep dive plus HR discussion. Most candidates fail not on hard theory but on explaining their own projects and trade-offs clearly. Build two solid projects you can defend line by line, revise the fundamentals below, and practise answering aloud.
The title covers two overlapping roles. In many Indian product companies, startups and GCCs (global capability centres), an AI engineer now mostly builds applications on top of large language models: retrieval-augmented generation (RAG), agents, prompt and evaluation pipelines, APIs and deployment. In other teams, especially at IT services firms and older ML teams, the role is closer to an ML engineer: training, tuning and serving models. Read the job description and weight your preparation towards whichever it describes.
| Round | What is tested | How to prepare |
|---|---|---|
| Online assessment / coding | Python, arrays, strings, hashing, two pointers, basic graphs and dynamic programming; sometimes SQL | Regular timed practice on common patterns |
| ML fundamentals | Bias-variance, regularisation, metrics, model choice, feature engineering | Revise concepts and explain each with an example |
| Deep learning and LLMs | Neural network training, transformers and attention, embeddings, fine-tuning vs RAG, hallucination | Know how things work, not just names |
| System design (AI) | Design a chatbot, recommender or document QA system end to end | Practise a fixed structure (below) |
| Project deep dive | Why you made each choice, what failed, how you measured results | Prepare a 2-minute and a 10-minute version of each project |
| HR / managerial | Motivation, teamwork, handling ambiguity, notice period, expectations | Prepare honest, specific stories |
Bias is error from a model too simple to capture the pattern (underfitting); variance is error from a model so flexible it learns noise (overfitting). Increasing complexity lowers bias but raises variance; regularisation, more data and cross-validation help find the balance.
When missing a positive is costly, such as fraud or disease screening: you accept more false alarms to catch more true cases. Prefer precision when false alarms are costly, such as auto-blocking user accounts.
Use metrics that reflect it (precision, recall, F1, PR-AUC rather than accuracy), try class weights or resampling, tune the decision threshold, and make sure validation splits keep the class ratio (stratified splits).
Each token is projected into query, key and value vectors. Attention weights are softmax(QKT / √dk), showing how much each token should look at every other token, and the output is those weights applied to V. Multiple heads learn different relationships in parallel.
RAG when the model needs facts that change or are private (company documents), because you update the index, not the model, and can cite sources. Fine-tuning when you need a consistent style, format or a narrow skill. Many systems use both.
Ground answers in retrieved sources, ask the model to quote them and to say when it does not know, constrain output formats, evaluate on a test set of real questions, and add human review where errors are costly.
Interviewers often ask you to implement something small from ML, such as cosine similarity, which is used to compare embeddings:
import numpy as np
def cosine(a, b):
return float(np.dot(a, b) / (np.linalg.norm(a) * np.linalg.norm(b)))
print(round(cosine(np.array([1, 2, 3]), np.array([2, 4, 6])), 4))
print(round(cosine(np.array([1, 0]), np.array([0, 1])), 4))
1.0
0.0
Be ready for the follow-ups: what happens with a zero vector (division by zero, so check the norms first), and how you would find the most similar of a million vectors (a vector index such as FAISS, or a vector database, using approximate nearest neighbour search).
For "Design a chatbot that answers employees' HR policy questions", walk through:
| Weeks | Focus |
|---|---|
| 1–2 | Python and DSA patterns daily; revise statistics and ML basics |
| 3–4 | Deep learning and transformers; finish or polish the ML project |
| 5–6 | LLM topics (embeddings, RAG, evaluation, fine-tuning); build or improve the LLM project |
| 7 | AI system design practice; mock interviews with a friend or mentor |
| 8 | Company research, project storytelling, HR answers, revision |
For more practice, read how to prepare for machine learning interviews and DSA problems asked at MNCs. To choose the right track, see AI engineer vs ML engineer and how much maths AI engineers really need, and for portfolio ideas, machine learning projects for your resume.