Interview practice plan

M

Lead Software Engineer

Mastercard · Pune

EngineeringLead / Manager26 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.

AgileSeleniumPlaywrightPerformance testingJavaMicroservicesAngularJavaScriptSQLSpring BootCybersecurity

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

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

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

02Required skill0/3

Test automation

This role asks for Selenium, Playwright and Performance testing. These Test automation questions cover the ground they share.

  • Design a test automation framework from scratch for a new product.

    What good looks like

    Clear layers (page objects or similar), environment config, test data management, reporting, CI integration and parallel execution.

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

  • Selenium, Cypress or Playwright: how would you choose for a new project?

    What good looks like

    Browser coverage, language support, auto-waiting and speed, parallelism, debugging tools and your team's skills. Justify with project needs.

03Required 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).

  • How does Spring Boot auto-configuration decide which beans to create, and how do you override it?

    What good looks like

    Conditional annotations on classpath, properties and missing beans; override by defining your own bean, properties or exclusions, and debug with the conditions report.

  • How would you make a Spring Boot service production-ready?

    What good looks like

    Health and readiness endpoints, externalised config and secrets, structured logs, metrics and tracing, connection pool sizing and graceful shutdown.

04Required skill0/3

TypeScript

This role asks for Angular. These TypeScript questions cover the ground it builds on.

  • What are discriminated unions, and how do they help with exhaustive checks?

    What good looks like

    A shared literal field narrows the type in a switch; assigning the default case to never makes the compiler flag any unhandled variant.

  • When is using any or a type assertion acceptable, and how do you keep a large codebase strictly typed?

    What good looks like

    Prefer unknown plus narrowing, enable strict mode, validate external data at the boundary, and tighten gradually with lint rules.

  • How would you keep frontend API types in sync with the backend?

    What good looks like

    Generate types from an OpenAPI or GraphQL schema, share a contracts package, and validate responses at runtime where data crosses a trust boundary.

05Required skill0/1

JavaScript

This role asks for JavaScript.

  • How would you find and fix a memory leak in a single-page app?

    What good looks like

    Heap snapshots in browser DevTools, detached DOM nodes, listeners and intervals not cleaned up, and caches that grow with every navigation.

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

07Design round0/3

System design

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

  • Design a job alerts system that emails users when new roles match their saved searches.

    What good looks like

    Cover ingestion, matching at scale (inverted index versus per-user scans), batching and de-duplication, unsubscribe and rate limits, and failure handling.

  • Design the home feed for a professional networking app.

    What good looks like

    Discuss fan-out on write versus read, very large accounts, ranking, pagination and cache invalidation, and state your trade-offs explicitly.

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

08Every loop0/4

Behavioural

Every interview loop has a behavioural round. For lead and manager roles, the focus is on people decisions, prioritisation and leading through change. Use the STAR structure.

  • Describe a piece of feedback that changed how you work.

    What good looks like

    State the feedback, your honest first reaction and the concrete behaviour you changed. Close with evidence that the change stuck.

  • Tell me about a mistake you made at work and what happened next.

    What good looks like

    Own it without blaming others, explain how you contained the impact, and what you changed so it would not happen again.

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

  • Describe a time you had to deliver bad news to a stakeholder.

    What good looks like

    Show that you told them early, came with options and a recommendation rather than just the problem, and kept their trust.

09Leadership0/3

Leadership

The title marks this as a lead or manager role. Expect questions on hiring, developing people and setting priorities.

  • How do you handle a team member who is consistently underperforming?

    What good looks like

    Diagnose first (skills, motivation or context), set clear written expectations, support with a time-boxed plan, and be ready to make a fair hard call.

  • How do you decide what your team should not work on?

    What good looks like

    Show a prioritisation framework tied to business goals, and how you say no to stakeholders while keeping the relationship intact.

  • How do you keep a hybrid or distributed team aligned and engaged?

    What good looks like

    Name concrete rituals (written plans, demos, regular 1:1s), how you spot disengagement early, and one thing you changed based on team feedback.

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 Agile and Selenium 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: Lead Software Engineer at Mastercard | LYDJ