Interview practice plan

M

Software Engineer II (Backend Developer)

Mastercard · Pune

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

JavaPerformance testingAgileSQLSpring BootGitKubernetesAngularReactReduxHTML & CSSTypeScriptCybersecurity

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.

01Required skill0/3

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

02Required skill0/3

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 like

    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 like

    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 like

    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.

03Required skill0/3

Agile

This role asks for Agile.

  • How do you run sprint planning so the team commits to something realistic?

    What good looks like

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

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.

  • What is an index, how does a B-tree index speed up a query, and when does adding an index hurt?

    What good looks like

    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 like

    Read the execution plan, check stale statistics, missing or unused indexes, data growth and skew, parameter-sensitive plans, and locking.

05Required skill0/3

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 like

    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 like

    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 like

    A secrets manager or the platform's secret store, short-lived federated credentials, masking in logs, and never committing secrets to the repo.

06Required skill0/3

Kubernetes

This role asks for Kubernetes.

  • Explain Pods, Deployments, Services and Ingress. How does a request reach a container?

    What good looks like

    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 like

    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 like

    Scheduling uses requests; CPU is throttled at the limit while memory over the limit is OOMKilled; requests and limits set the QoS class.

07Every loop0/4

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

  • Why do you want this role, and why now?

    What good looks like

    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 like

    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

Banking & Financial ServicesGCC

Hiring most for

  • Engineering66
  • Data & AI17
  • Other17
  • Finance & Legal9

Cities

Pune · 100Gurugram · 15Mumbai · 5Hyderabad · 5Bengaluru · 1
See all 126 roles at Mastercard →

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 done

Saved in this browser only.

Interview prep: Software Engineer II (Backend Developer) at Mastercard | LYDJ