Interview practice plan
Lead Software Engineer- Python , AWS , AI
JPMorgan Chase · Bengaluru
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: Data warehousing, ETL, Databricks, Kubernetes, IAM, Spark. 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 33 questions practised
Answer each one out loud, then tick it. Progress is saved in this browser only.
Python
This role asks for Python.
Explain the GIL and how it affects threading, multiprocessing and asyncio.
What good looks likeHide hint
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.
How does Python manage memory, and why might a long-running process keep growing?
What good looks likeHide hint
Reference counting plus a cyclic garbage collector, fragmentation, unbounded caches or globals, and using tracemalloc to find the growth.
A Python data-processing script takes hours. How do you speed it up?
What good looks likeHide hint
Profile first, replace row-by-row loops with vectorised NumPy or pandas operations, process in chunks, then consider multiprocessing or a distributed engine.
AWS
This role asks for AWS.
How would you design a highly available web application on AWS across multiple availability zones?
What good looks likeHide hint
Load balancer across AZs, auto-scaling stateless compute, a multi-AZ database, externalised sessions, health checks and a tested failover plan.
When would you choose Lambda, ECS on Fargate or EC2 for a workload?
What good looks likeHide hint
Execution time limits, cold starts, steady versus spiky traffic cost, packaging and operational overhead. Tie the choice to the workload's shape.
The AWS bill has grown 40% in six months. How do you bring it under control?
What good looks likeHide hint
Tagging and cost allocation first, then rightsizing, savings plans, storage lifecycle rules, data transfer review, and budgets with alerts.
Agile
This role asks for Agile.
The team carries over stories every sprint. What do you do?
What good looks likeHide hint
Look at story size, work in progress, interruptions and dependencies, agree retro actions with owners, and track flow metrics such as cycle time.
How do you make retrospectives actually lead to change?
What good looks likeHide hint
Vary the format, focus on one or two actions with owners and dates, review last retro's actions first, and make it safe to speak honestly.
How do you coordinate several agile teams working on one product?
What good looks likeHide hint
A shared roadmap and dependency view, joint planning on a regular cadence, clear ownership boundaries, and lightweight rituals rather than heavy process.
Risk management
This role asks for Risk management.
How do you identify, assess and prioritise operational risks for a business unit?
What good looks likeHide hint
Risk and control self-assessments, likelihood and impact scoring, key risk indicators, loss event data, and clear owners for each action.
What is Value at Risk, and what are its limitations?
What good looks likeHide hint
A loss threshold at a confidence level over a horizon; it says nothing about losses beyond the threshold and depends on model assumptions, so pair it with stress tests.
How would you design a stress test or scenario analysis for a portfolio?
What good looks likeHide hint
Choose plausible severe scenarios, map them to risk drivers, model the impact on losses and capital, and turn results into limits and actions.
CI/CD & IaC
This role asks for CI/CD, Jenkins and Git. These CI/CD & IaC questions cover the ground they share.
Design a CI/CD pipeline for a service with many contributors. Which gates would you put before production?
What good looks likeHide hint
Fast unit tests on every PR, integration and security scans, build once and promote the same artifact, staged environments, and automated rollback.
Blue-green, canary or rolling deployment: how do you choose?
What good looks likeHide hint
Blast radius, rollback speed, infrastructure cost and how good your metrics are for judging a canary. Give a case for each.
The build takes 40 minutes. How do you bring it down?
What good looks likeHide hint
Measure where time goes, cache dependencies, parallelise and shard tests, only build what changed, and fix or quarantine the slowest tests.
SQL
This role asks for SQL.
Find users who were active on at least three consecutive days.
What good looks likeHide hint
A gaps-and-islands pattern: subtract ROW_NUMBER() from the activity date, group by user and that difference, and count.
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.
Explain transaction isolation levels and an anomaly each one prevents.
What good looks likeHide hint
Dirty reads, non-repeatable reads and phantoms across read committed, repeatable read and serializable, and how MVCC databases implement them.
Machine Learning
This is a data science / ML role. Expect questions on modelling choices, evaluation and production ML.
Design a recommendation system for a job site.
What good looks likeHide hint
Candidate generation then ranking, content and behavioural signals, cold start for new users and jobs, implicit feedback, and offline metrics validated by A/B tests.
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.
How would you explain a model's predictions to a non-technical stakeholder or a regulator?
What good looks likeHide hint
Global versus local explanations (feature importance, SHAP values), plain-language examples, documented limitations and how decisions can be reviewed.
Core programming
This role asks for Scala. We do not have questions specific to it yet, so practise these fundamentals and answer them in that language.
How would you find and fix a memory leak in a long-running service?
What good looks likeHide hint
Confirm with memory metrics over time, take and compare heap snapshots, look for unbounded caches, listeners and global collections, then add a regression check.
What makes code testable? Show how you would refactor a function to make it easier to test.
What good looks likeHide hint
Separate pure logic from I/O, inject dependencies instead of constructing them inside, and keep functions small with clear inputs and outputs.
System design
This role asks for REST APIs and Microservices, so expect an architecture round. State requirements and numbers first, then trade-offs.
How would you break a monolith into microservices? Where would you start?
What good looks likeHide hint
Start from domain boundaries and the parts that change most, use a strangler approach, plan for shared data and distributed transactions, and invest in observability first.
Design a real-time chat system with one-to-one and group messages.
What good looks likeHide hint
Connection handling (WebSockets), ordering and delivery receipts, offline storage and sync, fan-out for groups, and presence.
Your service's p99 latency doubled after a release. Walk me through how you investigate.
What good looks likeHide hint
Check what changed, compare dashboards and traces, isolate by endpoint and dependency, roll back first if users are hurting, then find the root cause with profiling.
Behavioural
Every interview loop has a behavioural round. For lead and manager roles, the focus is on people decisions, prioritisation and leading through change. 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.
Tell me about a time you influenced an important decision without having formal authority.
What good looks likeHide hint
Cover how you built the case (data, prototypes, allies), handled objections and what changed. Strong answers show patience and shared credit.
Tell me about a time a project you owned was at risk of missing its date.
What good looks likeHide hint
Show early detection, honest escalation and the scope, sequencing or resourcing levers you pulled. Avoid stories that end with "we all worked weekends".
Describe a time you had to deliver bad news to a stakeholder.
What good looks likeHide hint
Show that you told them early, came with options and a recommendation rather than just the problem, and kept their trust.
Leadership
The title marks this as a lead or manager role. Expect questions on hiring, developing people and setting priorities.
How do you handle a team member who is consistently underperforming?
What good looks likeHide hint
Diagnose first (skills, motivation or context), set clear written expectations, support with a time-boxed plan, and be ready to make a fair hard call.
Tell me about someone you mentored or developed. What changed for them?
What good looks likeHide hint
Describe their starting point, what you specifically did (stretch work, feedback, sponsorship) and their measurable growth.
How do you keep a hybrid or distributed team aligned and engaged?
What good looks likeHide hint
Name concrete rituals (written plans, demos, regular 1:1s), how you spot disengagement early, and one thing you changed based on team feedback.
Company research brief: JPMorgan Chase
From the roles we track on LYDJ, refreshed daily from the official careers page.
47
open roles
47
added in 30 days
12
in Data & AI
Hiring most for
- Other13
- Data & AI12
- Engineering12
- Finance & Legal4
Read before the interview
Questions to ask them
- ›There are several open Data & AI roles at JPMorgan Chase right now. How is the team growing, and where does this role fit?
- ›The company hires in Bengaluru, Mumbai, Hyderabad. How do teams across locations work together day to day?
- ›How does the team use Python and AWS 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/9 doneSaved in this browser only.