Interview practice plan
Director, Software Engineering (14+ years, Scala, Spark, Data Pipeline, GenAI) Spark,
Visa · Bengaluru
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.
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.
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 likeHide hint
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 likeHide hint
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 likeHide hint
Check the Spark UI for skew and spill, large collects or broadcasts, partition sizes, memory overhead settings, and UDFs holding data.
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 likeHide hint
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 likeHide hint
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 likeHide hint
Inventory and prioritise workloads, run old and new in parallel with reconciliation, cut over domain by domain, model costs, and plan decommissioning.
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 likeHide hint
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 likeHide hint
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 likeHide hint
Treat retrieved content as untrusted data, give tools least privilege, validate outputs, require human confirmation for side effects, and log for review.
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 likeHide hint
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 likeHide hint
Separate pure logic from I/O, inject dependencies instead of constructing them inside, and keep functions small with clear inputs and outputs.
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 likeHide hint
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 likeHide hint
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 likeHide hint
Consistent hashing, replication, eviction policy, protection against cache stampedes, and the consistency guarantees callers can actually live with.
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 likeHide hint
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 likeHide hint
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 likeHide hint
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 likeHide hint
Show that you told them early, came with options and a recommendation rather than just the problem, and kept their trust.
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 likeHide hint
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 likeHide hint
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 likeHide hint
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
Hiring most for
- Other27
- Engineering27
- Data & AI17
- Finance & Legal10
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 doneSaved in this browser only.