Interview practice plan

JC

Security Engineer III - Java/Python, Kubernetes, AI

JPMorgan Chase · Bengaluru

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

JavaPythonKubernetesCybersecurityMachine LearningLLMsRAGAWSAzureGCPPandasTensorFlowPyTorchscikit-learnFlaskReact

Also named in the description, not covered below: AWS, Azure, GCP, React, Docker, Jenkins, Git, MongoDB. 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.

01Required skill0/3

Machine Learning

This role asks for Machine Learning, TensorFlow, PyTorch and scikit-learn. These Machine Learning questions cover the ground they share.

  • Design a recommendation system for a job site.

    What good looks like

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

  • How would you explain a model's predictions to a non-technical stakeholder or a regulator?

    What good looks like

    Global versus local explanations (feature importance, SHAP values), plain-language examples, documented limitations and how decisions can be reviewed.

02Required skill0/3

Java

This role asks for Java.

  • Explain the Java Memory Model. What do volatile and synchronized actually guarantee?

    What good looks like

    Visibility versus atomicity, happens-before, and why a volatile counter++ is still not thread-safe (use atomics or locks).

  • When would you use CompletableFuture, a bounded ExecutorService, or virtual threads?

    What good looks like

    Virtual threads for blocking I/O-heavy code, CompletableFuture for composing async steps, bounded pools for CPU-bound work, and the pinning caveats of virtual threads.

  • Your Java service throws OutOfMemoryError in production about once a week. How do you investigate?

    What good looks like

    Heap dump on OOM, analyse retained sizes and dominators, check caches and unbounded collections, and correlate with traffic or batch jobs.

03Required skill0/3

Python

This role asks for Python, Pandas and Flask. These Python questions cover the ground they share.

  • How does Python manage memory, and why might a long-running process keep growing?

    What good looks like

    Reference counting plus a cyclic garbage collector, fragmentation, unbounded caches or globals, and using tracemalloc to find the growth.

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

04Required skill0/3

Kubernetes

This role asks for Kubernetes.

  • How do liveness, readiness and startup probes differ, and how can a bad probe cause an outage?

    What good looks like

    Readiness controls traffic, liveness restarts, startup protects slow boots. A liveness probe that checks a shared dependency can restart every pod at once.

  • How do you achieve zero-downtime deployments and safe rollbacks on Kubernetes?

    What good looks like

    Rolling update settings, readiness probes, PodDisruptionBudgets, graceful shutdown with preStop hooks, and canary releases with automated rollback.

  • How would you secure a Kubernetes cluster used by several teams?

    What good looks like

    RBAC with least privilege, namespaces and network policies, pod security standards, image scanning and signing, secrets management and audit logs.

05Required skill0/3

Cybersecurity

This role asks for Cybersecurity.

  • Walk me through your response to a suspected compromised user account.

    What good looks like

    Contain (revoke sessions and keys), scope using logs, eradicate, recover, communicate to the right people, and run a blameless review.

  • A scanner reports thousands of vulnerabilities. How do you prioritise them?

    What good looks like

    Exploitability and exposure, asset criticality, known-exploited lists, compensating controls, and remediation SLAs by risk rather than raw severity.

  • How would you run a penetration test on a web application, from scoping to report?

    What good looks like

    Rules of engagement and scope, reconnaissance, testing for auth, access control and injection issues, safe exploitation, and a report with clear risk and fixes.

06Required skill0/3

LLMs & GenAI

This role asks for LLMs, RAG and Generative AI. These LLMs & GenAI questions cover the ground they share.

  • How do you reduce hallucinations in a question-answering system over company documents?

    What good looks like

    Improve retrieval (chunking, hybrid search, reranking), instruct the model to answer only from sources with citations, allow it to abstain, and measure with evals.

  • What are the main cost and latency levers for an LLM application in production?

    What good looks like

    Model choice and routing, prompt caching, trimming context, batching, streaming responses, and caching repeated answers.

  • What security risks are specific to LLM applications, and how do you mitigate prompt injection?

    What good looks like

    Treat retrieved content as untrusted data, give tools least privilege, validate outputs, require human confirmation for side effects, and log for review.

07Design round0/3

System design

Senior engineering roles almost always include a design round. State requirements and rough numbers first, then walk through trade-offs.

  • Design a rate limiter for a public API.

    What good looks like

    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.

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

  • Design a real-time chat system with one-to-one and group messages.

    What good looks like

    Connection handling (WebSockets), ordering and delivery receipts, offline storage and sync, fan-out for groups, and presence.

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

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

  • Describe the most complex technical or analytical problem you have solved.

    What good looks like

    Explain why it was hard, the options you considered, how you de-risked the chosen approach, and what you would do differently now.

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

  • Tell me about a time you used data to change someone's mind.

    What good looks like

    Explain what the data showed, how you made it understandable for that audience, and which decision changed as a result.

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

Banking & Financial ServicesGCC

Hiring most for

  • Other13
  • Data & AI12
  • Engineering12
  • Finance & Legal4

Cities

Bengaluru · 23Mumbai · 14Hyderabad · 10
See all 47 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 Java and Python 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 done

Saved in this browser only.

Interview prep: Security Engineer III - Java/Python, Kubernetes, AI at JPMorgan Chase | LYDJ