Interview practice plan

M

Lead Software Engineer

Mastercard · Pune

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

MicroservicesCI/CDAWSKubernetesJavaSpring BootAgileStakeholder managementCybersecurity

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 28 questions practised

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

01Required skill0/3

CI/CD & IaC

This role asks for CI/CD.

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

  • How do you manage infrastructure as code safely across environments and a team?

    What good looks like

    Remote state with locking, reusable modules, plans reviewed in pull requests, separate state per environment, drift detection and least-privilege CI credentials.

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

02Required skill0/3

AWS

This role asks for AWS.

  • How would you design a highly available web application on AWS across multiple availability zones?

    What good looks like

    Load balancer across AZs, auto-scaling stateless compute, a multi-AZ database, externalised sessions, health checks and a tested failover plan.

  • When would you choose Lambda, ECS on Fargate or EC2 for a workload?

    What good looks like

    Execution time limits, cold starts, steady versus spiky traffic cost, packaging and operational overhead. Tie the choice to the workload's shape.

  • The AWS bill has grown 40% in six months. How do you bring it under control?

    What good looks like

    Tagging and cost allocation first, then rightsizing, savings plans, storage lifecycle rules, data transfer review, and budgets with alerts.

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

04Required skill0/3

Java

This role asks for Java and Spring Boot. These Java questions cover the ground they share.

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

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

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

06Required skill0/3

Project management

This role asks for Stakeholder management. These Project management questions cover the ground it builds on.

  • A critical vendor tells you they will deliver three weeks late. What do you do?

    What good looks like

    Assess the impact on the critical path, look for mitigations (resequencing, partial delivery, alternatives), inform stakeholders with options, and update the plan.

  • Tell me about a project that failed or was cancelled. What did you learn?

    What good looks like

    Be candid about what went wrong and your part in it, what signals you missed, and what you now do differently.

  • How do you manage a senior stakeholder who keeps changing priorities?

    What good looks like

    Understand what is driving the changes, make the cost of each change visible, agree a decision forum, and document what was agreed.

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.

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

  • Your service's p99 latency doubled after a release. Walk me through how you investigate.

    What good looks like

    Check what changed, compare dashboards and traces, isolate by endpoint and dependency, roll back first if users are hurting, then find the root cause with profiling.

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 time you influenced an important decision without having formal authority.

    What good looks like

    Cover how you built the case (data, prototypes, allies), handled objections and what changed. Strong answers show patience and shared credit.

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

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

09Leadership0/3

Leadership

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

  • How have you hired for your team? What do you look for and how do you assess it?

    What good looks like

    Talk about defining the bar up front, structured interviews and scorecards, reducing bias, and one hire you got right and one you got wrong.

  • Tell me about a time you resolved a conflict between two people on your team.

    What good looks like

    Show you addressed it early and privately, focused on behaviours and shared goals rather than personalities, and followed up afterwards.

  • Tell me about a time you led a team through a significant change, such as a re-org or new way of working.

    What good looks like

    Explain the why you communicated, how you handled resistance, and how you measured whether the change actually worked.

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 Microservices and CI/CD 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