Interview practice plan

V

Director, Software Engineering (14+ years, Scala, Spark, Data Pipeline, GenAI) Spark,

Visa · Bengaluru

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

ScalaSparkETLGenerative AI

Sign in to see your gap areas first. We compare this role with the skills on your profile.

0 of 21 questions practised

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

01Required skill0/3

Spark

This role asks for Spark.

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

  • Executors keep failing with out-of-memory errors. How do you investigate?

    What good looks like

    Check the Spark UI for skew and spill, large collects or broadcasts, partition sizes, memory overhead settings, and UDFs holding data.

02Required skill0/3

ETL & data pipelines

This role asks for ETL.

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

  • How would you migrate an on-premise data warehouse to a cloud platform with minimal disruption?

    What good looks like

    Inventory and prioritise workloads, run old and new in parallel with reconciliation, cut over domain by domain, model costs, and plan decommissioning.

03Required skill0/3

LLMs & GenAI

This role asks for Generative AI. These LLMs & GenAI questions cover the ground it builds on.

  • How would you evaluate an LLM-powered feature before launch?

    What good looks like

    A golden dataset of real tasks, rubric-based and automated checks, human review of samples, a regression suite for prompt changes, and live feedback.

  • How do you reduce hallucinations in a question-answering system over company documents?

    What good looks like

    Improve retrieval (chunking, hybrid search, reranking), instruct the model to answer only from sources with citations, allow it to abstain, and measure with evals.

  • What security risks are specific to LLM applications, and how do you mitigate prompt injection?

    What good looks like

    Treat retrieved content as untrusted data, give tools least privilege, validate outputs, require human confirmation for side effects, and log for review.

04Fundamentals0/2

Core programming

This role asks for Scala. We do not have questions specific to it yet, so practise these fundamentals and answer them in that language.

  • How would you find and fix a memory leak in a long-running service?

    What good looks like

    Confirm with memory metrics over time, take and compare heap snapshots, look for unbounded caches, listeners and global collections, then add a regression check.

  • What makes code testable? Show how you would refactor a function to make it easier to test.

    What good looks like

    Separate pure logic from I/O, inject dependencies instead of constructing them inside, and keep functions small with clear inputs and outputs.

05Design round0/3

System design

Lead / Manager engineering roles almost always include a design round. State requirements and rough numbers first, then walk through trade-offs.

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

  • Design a payment service that must never charge a customer twice.

    What good looks like

    Idempotency keys, a payment state machine, reconciliation with the provider, and at-least-once delivery with de-duplication rather than hoping for exactly-once.

  • Design a distributed cache. How do you handle node failures and hot keys?

    What good looks like

    Consistent hashing, replication, eviction policy, protection against cache stampedes, and the consistency guarantees callers can actually live with.

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

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

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

07Leadership0/3

Leadership

The title marks this as a senior leadership role. Expect questions on hiring, developing people and setting priorities.

  • Tell me about someone you mentored or developed. What changed for them?

    What good looks like

    Describe their starting point, what you specifically did (stretch work, feedback, sponsorship) and their measurable growth.

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

  • How do you give difficult feedback to a very experienced peer or senior colleague?

    What good looks like

    Keep it private, specific and about behaviour and impact. Show that you also invited their side and agreed on a next step.

Company research brief: Visa

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

98

open roles

26

added in 30 days

27

in Engineering

Banking & Financial ServicesGCC

Hiring most for

  • Other27
  • Engineering27
  • Data & AI17
  • Finance & Legal10

Cities

Bengaluru · 86Mumbai · 12
See all 98 roles at Visa →

Read before the interview

Questions to ask them

  • ›There are several open Engineering roles at Visa right now. How is the team growing, and where does this role fit?
  • ›The company hires in Bengaluru, Mumbai. How do teams across locations work together day to day?
  • ›How does the team use Scala and Spark 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/9 done

Saved in this browser only.

Interview prep: Director, Software Engineering (14+ years, Scala, Spark, Data Pipeline, GenAI) Spark, at Visa | LYDJ