Interview practice plan

M

Senior Data Engineer-2

Mastercard · Hyderabad

Data & AISenior25 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.

Data warehousingAgileETLDatabricksSparkPythondbtCI/CDGitJenkinsObservabilityKafkaSQLAWSAzureGCP

Also named in the description, not covered below: Observability, SQL, AWS, Azure, GCP, 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 25 questions practised

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

01Required skill0/3

ETL & data pipelines

This role asks for Data warehousing, ETL, Databricks and dbt. These ETL & data pipelines questions cover the ground they share.

  • How do you design a pipeline that can be safely re-run for a past date?

    What good looks like

    Idempotent writes via partition overwrite or merge on keys, deterministic inputs, no side effects outside the target, and a backfill procedure.

  • How do you detect and handle bad data arriving from an upstream source?

    What good looks like

    Schema and data-quality checks (nulls, ranges, row counts, freshness), quarantining bad rows, alerting, and a data contract with the producer.

  • Batch or streaming: how do you decide for a new use case?

    What good looks like

    How fresh the data must be, cost and operational complexity, late data handling, and whether micro-batches are good enough.

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

03Required skill0/3

Spark

This role asks for Spark.

  • What causes a shuffle, and how do you reduce its cost?

    What good looks like

    Wide operations like joins and groupBy; reduce with broadcast joins for small tables, partitioning on join keys, filtering early and adaptive query execution.

  • One task in a Spark stage runs far longer than the rest. What is happening and how do you fix it?

    What good looks like

    Data skew on a key. Salt the hot keys, enable adaptive skew-join handling, or process the hot keys separately.

  • How do you choose file format and partitioning for a large data lake table?

    What good looks like

    Columnar formats such as Parquet or Delta, partition by commonly filtered low-cardinality columns, avoid small files with compaction, and use clustering for selective filters.

04Required skill0/3

Python

This role asks for Python.

  • How does Python manage memory, and why might a long-running process keep growing?

    What good looks like

    Reference counting plus a cyclic garbage collector, fragmentation, unbounded caches or globals, and using tracemalloc to find the growth.

  • How do you structure a Python codebase so a team can work on it safely?

    What good looks like

    Locked dependencies, pyproject-based packaging, type hints checked in CI, pytest with fixtures, linting and formatting, and clear module boundaries.

  • A Python data-processing script takes hours. How do you speed it up?

    What good looks like

    Profile first, replace row-by-row loops with vectorised NumPy or pandas operations, process in chunks, then consider multiprocessing or a distributed engine.

05Required skill0/3

CI/CD & IaC

This role asks for CI/CD, Git and Jenkins. These CI/CD & IaC questions cover the ground they share.

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

06Required skill0/3

Kafka

This role asks for Kafka.

  • Explain at-most-once, at-least-once and exactly-once delivery. How would you get effectively-once processing?

    What good looks like

    Idempotent producers and transactions, committing offsets after processing, and idempotent consumers keyed on a business id.

  • A consumer group is lagging badly. How do you diagnose and fix it?

    What good looks like

    Check lag per partition, slow processing versus too few partitions or consumers, rebalancing storms, and batching or scaling out.

  • How do you evolve message schemas without breaking consumers?

    What good looks like

    A schema registry with compatibility rules, optional fields with defaults, never changing a field's meaning, and versioned topics for breaking changes.

07Design round0/3

System design

Senior engineering roles almost always include a design round. State requirements and rough numbers first, then walk through 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 an upload and processing pipeline for large documents such as resumes.

    What good looks like

    Direct-to-storage uploads with signed URLs, async processing through a queue, retries and a dead-letter queue, malware scanning, and status updates for the user.

  • 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 senior roles, expect probing on influence without authority, judgement under pressure and raising the bar for others. Use the STAR structure.

  • Tell me about a time you worked with unclear or changing requirements.

    What good looks like

    Show how you reduced ambiguity: clarifying questions, writing down assumptions, small experiments and getting explicit sign-off.

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

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

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

Company research brief: Mastercard

From the roles we track on LYDJ, refreshed daily from the official careers page.

73

open roles

14

added in 30 days

12

in Data & AI

Banking & Financial ServicesGCC

Hiring most for

  • Engineering31
  • Data & AI12
  • Finance & Legal11
  • Other10

Cities

Pune · 56Gurugram · 11Hyderabad · 6
See all 73 roles at Mastercard →

Read before the interview

Questions to ask them

  • ›There are several open Data & AI roles at Mastercard right now. How is the team growing, and where does this role fit?
  • ›The company hires in Pune, Gurugram, Hyderabad. How do teams across locations work together day to day?
  • ›How does the team use Data warehousing and Agile 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: Senior Data Engineer-2 at Mastercard | LYDJ