Interview practice plan
Software Engineer II (Backend Developer)
Mastercard · Pune
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: Angular, React, Redux, HTML & CSS, TypeScript, Cybersecurity. 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 22 questions practised
Answer each one out loud, then tick it. Progress is saved in this browser only.
Java
This role asks for Java and Spring Boot. These Java questions cover the ground they share.
Explain the Java Memory Model. What do volatile and synchronized actually guarantee?
What good looks likeHide hint
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 likeHide hint
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 likeHide hint
Heap dump on OOM, analyse retained sizes and dominators, check caches and unbounded collections, and correlate with traffic or batch jobs.
Test automation
This role asks for Performance testing. These Test automation questions cover the ground it builds on.
How do you decide what to automate and what to keep as manual testing?
What good looks likeHide hint
Automate stable, repetitive and high-risk paths; keep exploratory, usability and rapidly changing areas manual. Consider maintenance cost.
How do you test a REST API? Which cases beyond the happy path do you cover?
What good looks likeHide hint
Validation errors, auth and permissions, boundary values, idempotency, correct status codes, contract tests and basic performance checks.
How would you load-test a checkout flow before a big sale?
What good looks likeHide hint
Model realistic traffic and user journeys, define SLAs, ramp and soak tests in a production-like environment, and find the bottleneck rather than just a number.
Agile
This role asks for Agile.
How do you run sprint planning so the team commits to something realistic?
What good looks likeHide hint
A refined backlog, capacity based on real availability, historical velocity as a guide, a clear sprint goal, and room for unplanned work.
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.
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.
What is an index, how does a B-tree index speed up a query, and when does adding an index hurt?
What good looks likeHide hint
Sorted structure enabling seeks instead of scans; costs on writes and storage; low-selectivity columns and functions on columns can stop it being used.
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.
CI/CD & IaC
This role asks for Git. 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.
Explain Pods, Deployments, Services and Ingress. How does a request reach a container?
What good looks likeHide hint
Ingress routes to a Service, which load-balances across Pod endpoints selected by labels; Deployments manage ReplicaSets of Pods.
A pod is stuck in CrashLoopBackOff. Walk me through debugging it.
What good looks likeHide hint
kubectl describe and logs --previous, check exit codes, OOMKilled, failing probes, missing config or secrets, and the image entrypoint.
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.
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".
Why do you want this role, and why now?
What good looks likeHide hint
Connect two or three specific requirements of the role to your experience and to a direction you are deliberately moving in. Generic praise of the company scores poorly.
What is a goal you set for yourself in the last year, and how did you track it?
What good looks likeHide hint
Pick a measurable goal, describe the system you used to track it, and be honest about where you fell short.
Company research brief: Mastercard
From the roles we track on LYDJ, refreshed daily from the official careers page.
126
open roles
24
added in 30 days
66
in Engineering
Hiring most for
- Engineering66
- Data & AI17
- Other17
- Finance & Legal9
Read before the interview
Questions to ask them
- ›There are several open Engineering roles at Mastercard right now. How is the team growing, and where does this role fit?
- ›The company hires in Pune, Gurugram, Mumbai. How do teams across locations work together day to day?
- ›How does the team use Java and Performance testing 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/7 doneSaved in this browser only.