Interview practice plan
Infrastructure Engineer II -Kubernetes, Kafka and Python
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.
Sign in to see your gap areas first. We compare this role with the skills on your profile.
0 of 22 questions practised
Answer each one out loud, then tick it. Progress is saved in this browser only.
CI/CD & IaC
This role asks for Terraform. These CI/CD & IaC questions cover the ground it builds on.
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.
How should secrets be handled in a CI/CD pipeline?
What good looks likeHide hint
A secrets manager or the platform's secret store, short-lived federated credentials, masking in logs, and never committing secrets to the repo.
Kubernetes
This role asks for Kubernetes.
What are resource requests and limits, and what happens when a container exceeds them?
What good looks likeHide hint
Scheduling uses requests; CPU is throttled at the limit while memory over the limit is OOMKilled; requests and limits set the QoS class.
How do liveness, readiness and startup probes differ, and how can a bad probe cause an outage?
What good looks likeHide hint
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 likeHide hint
Rolling update settings, readiness probes, PodDisruptionBudgets, graceful shutdown with preStop hooks, and canary releases with automated rollback.
Kafka
This role asks for Kafka.
Explain topics, partitions, consumer groups and offsets in Kafka.
What good looks likeHide hint
Partitions are the unit of parallelism and ordering, each partition is consumed by one member of a group, and offsets track progress per group.
How does Kafka guarantee ordering, and what can break it?
What good looks likeHide hint
Ordering is per partition only, so key choice matters; retries without idempotent producers, or repartitioning a topic, can reorder messages.
A consumer group is lagging badly. How do you diagnose and fix it?
What good looks likeHide hint
Check lag per partition, slow processing versus too few partitions or consumers, rebalancing storms, and batching or scaling out.
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.
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.
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.
Explain IAM users, roles and policies. How does a Lambda or EC2 instance get credentials without hard-coded keys?
What good looks likeHide hint
Roles assumed by services issue temporary credentials; policies grant least privilege; never embed long-lived access keys in code or images.
How would you secure an S3 bucket that stores customer documents?
What good looks likeHide hint
Block public access, least-privilege bucket policies, encryption with KMS, pre-signed URLs for access, versioning and access logging.
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.
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.
Compare the time complexity of lookups and inserts in arrays, hash maps and balanced trees. When does the difference matter in practice?
What good looks likeHide hint
Know the Big-O, but also mention ordering needs, worst cases, memory overhead and cache locality, with a real example where it changed a design.
Walk me through what happens when you type a URL into a browser and press Enter.
What good looks likeHide hint
DNS, TCP and TLS handshakes, the HTTP request, server processing, then parsing, rendering and loading sub-resources. Depth in one area beats a shallow list.
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.
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".
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.
Tell me about a time you used data to change someone's mind.
What good looks likeHide hint
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
4
in DevOps & Cloud
Hiring most for
- Other13
- Data & AI12
- Engineering12
- Finance & Legal4
Read before the interview
Questions to ask them
- ›There are several open DevOps & Cloud 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 Kubernetes and Kafka 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.