Interview practice plan

JC

Software Engineer III-Databricks, AI/ML, PySpark, Pythonn

JPMorgan Chase · Hyderabad

Data & AISenior31 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.

DatabricksSparkAgileSystem designSQLPythonETLCI/CDAWSShell scripting

Also named in the description, not covered below: AWS. 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 31 questions practised

Answer each one out loud, then tick it. Progress is saved in this browser only.

01Required skill0/3

ETL & data pipelines

This role asks for Databricks and ETL. These ETL & data pipelines questions cover the ground they share.

  • How do you design a pipeline that can be safely re-run for a past date?

    What good looks like

    Idempotent writes via partition overwrite or merge on keys, deterministic inputs, no side effects outside the target, and a backfill procedure.

  • How do you detect and handle bad data arriving from an upstream source?

    What good looks like

    Schema and data-quality checks (nulls, ranges, row counts, freshness), quarantining bad rows, alerting, and a data contract with the producer.

  • Batch or streaming: how do you decide for a new use case?

    What good looks like

    How fresh the data must be, cost and operational complexity, late data handling, and whether micro-batches are good enough.

02Required skill0/3

Spark

This role asks for Spark.

  • What causes a shuffle, and how do you reduce its cost?

    What good looks like

    Wide operations like joins and groupBy; reduce with broadcast joins for small tables, partitioning on join keys, filtering early and adaptive query execution.

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

  • Executors keep failing with out-of-memory errors. How do you investigate?

    What good looks like

    Check the Spark UI for skew and spill, large collects or broadcasts, partition sizes, memory overhead settings, and UDFs holding data.

03Required skill0/3

Agile

This role asks for Agile.

  • The team carries over stories every sprint. What do you do?

    What good looks like

    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 like

    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 like

    A shared roadmap and dependency view, joint planning on a regular cadence, clear ownership boundaries, and lightweight rituals rather than heavy process.

04Required skill0/3

SQL

This role asks for SQL.

  • Find users who were active on at least three consecutive days.

    What good looks like

    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 like

    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 like

    Dirty reads, non-repeatable reads and phantoms across read committed, repeatable read and serializable, and how MVCC databases implement them.

05Required skill0/3

Python

This role asks for Python.

  • Explain the GIL and how it affects threading, multiprocessing and asyncio.

    What good looks like

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

  • A Python data-processing script takes hours. How do you speed it up?

    What good looks like

    Profile first, replace row-by-row loops with vectorised NumPy or pandas operations, process in chunks, then consider multiprocessing or a distributed engine.

06Required skill0/3

CI/CD & IaC

This role asks for CI/CD.

  • Blue-green, canary or rolling deployment: how do you choose?

    What good looks like

    Blast radius, rollback speed, infrastructure cost and how good your metrics are for judging a canary. Give a case for each.

  • How do you manage infrastructure as code safely across environments and a team?

    What good looks like

    Remote state with locking, reusable modules, plans reviewed in pull requests, separate state per environment, drift detection and least-privilege CI credentials.

  • The build takes 40 minutes. How do you bring it down?

    What good looks like

    Measure where time goes, cache dependencies, parallelise and shard tests, only build what changed, and fix or quarantine the slowest tests.

07Role function0/3

Machine Learning

This is a data science / ML role. Expect questions on modelling choices, evaluation and production ML.

  • How do you detect and prevent data leakage?

    What good looks like

    Time-based splits, features computed after the label, target encoding outside cross-validation folds, and the same entity appearing in train and test.

  • How would you deploy a model, and how would you know it still works three months later?

    What good looks like

    Versioned models and features, shadow or canary rollout, monitoring input and prediction drift, tracking performance as labels arrive, and retraining triggers.

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

08Fundamentals0/3

Core programming

This role asks for Shell scripting. We do not have questions specific to it yet, so practise these fundamentals and answer them in that language.

  • Given an array of integers and a target, return the indices of two numbers that add up to the target. Then improve the complexity.

    What good looks like

    Start with the O(n^2) brute force, move to a single pass with a hash map for O(n), and talk through duplicates and the no-answer case before coding.

  • How would you find and fix a memory leak in a long-running service?

    What good looks like

    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 like

    Separate pure logic from I/O, inject dependencies instead of constructing them inside, and keep functions small with clear inputs and outputs.

09Design round0/3

System design

This role asks for System design, so expect an architecture round. State requirements and numbers first, then trade-offs.

  • Design a payment service that must never charge a customer twice.

    What good looks like

    Idempotency keys, a payment state machine, reconciliation with the provider, and at-least-once delivery with de-duplication rather than hoping for exactly-once.

  • How would you break a monolith into microservices? Where would you start?

    What good looks like

    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.

  • Your service's p99 latency doubled after a release. Walk me through how you investigate.

    What good looks like

    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.

10Every loop0/4

Behavioural

Every interview loop has a behavioural round. For senior roles, expect probing on influence without authority, judgement under pressure and raising the bar for others. 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 like

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

  • Tell me about a time you worked with unclear or changing requirements.

    What good looks like

    Show how you reduced ambiguity: clarifying questions, writing down assumptions, small experiments and getting explicit sign-off.

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

  • Tell me about a time a project you owned was at risk of missing its date.

    What good looks like

    Show early detection, honest escalation and the scope, sequencing or resourcing levers you pulled. Avoid stories that end with "we all worked weekends".

Company research brief: JPMorgan Chase

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

21

open roles

21

added in 30 days

5

in Data & AI

Banking & Financial ServicesGCC

Hiring most for

  • Engineering7
  • Data & AI5
  • Other5
  • Finance & Legal2

Cities

Bengaluru · 8Mumbai · 6Hyderabad · 6
See all 21 roles at JPMorgan Chase →

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 Databricks and Spark 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 done

Saved in this browser only.

Interview prep: Software Engineer III-Databricks, AI/ML, PySpark, Pythonn at JPMorgan Chase | LYDJ