Interview practice plan
Staff Software Engineer
PayPal · 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.
Also named in the description, not covered below: Redis, Observability, GCP, AWS, Azure, Kubernetes, Generative AI, LLMs. 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.
Java
This role asks for Java.
How does garbage collection work in the JVM, and how would you tune it for a low-latency service?
What good looks likeHide hint
Generational heap, G1 versus ZGC trade-offs, reading GC logs, and reducing allocation rate before reaching for JVM flags.
Explain the Java Memory Model. What do volatile and synchronized actually guarantee?
What good looks likeHide hint
Visibility versus atomicity, happens-before, and why a volatile counter++ is still not thread-safe (use atomics or locks).
Your Java service throws OutOfMemoryError in production about once a week. How do you investigate?
What good looks likeHide hint
Heap dump on OOM, analyse retained sizes and dominators, check caches and unbounded collections, and correlate with traffic or batch jobs.
Python
This role asks for Python.
How does Python manage memory, and why might a long-running process keep growing?
What good looks likeHide hint
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 likeHide hint
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 likeHide hint
Profile first, replace row-by-row loops with vectorised NumPy or pandas operations, process in chunks, then consider multiprocessing or a distributed engine.
Spark
This role asks for Spark.
What causes a shuffle, and how do you reduce its cost?
What good looks likeHide hint
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 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.
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 likeHide hint
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 likeHide hint
Check lag per partition, slow processing versus too few partitions or consumers, rebalancing storms, and batching or scaling out.
How would you choose the number of partitions for a new topic?
What good looks likeHide hint
Target throughput per partition, consumer parallelism, key distribution, and the cost of too many partitions; increasing later changes key-to-partition mapping.
ETL & data pipelines
This role asks for Airflow, Data warehousing and BigQuery. These ETL & data pipelines questions cover the ground they share.
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 do you orchestrate dependent jobs and handle late-arriving data?
What good looks likeHide hint
DAGs with explicit dependencies, data-availability checks rather than fixed times, retries, backfills, and reprocessing windows for late records.
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.
CI/CD & IaC
This role asks for CI/CD.
Design a CI/CD pipeline for a service with many contributors. Which gates would you put before production?
What good looks likeHide hint
Fast unit tests on every PR, integration and security scans, build once and promote the same artifact, staged environments, and automated rollback.
How do you manage infrastructure as code safely across environments and a team?
What good looks likeHide hint
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 likeHide hint
Measure where time goes, cache dependencies, parallelise and shard tests, only build what changed, and fix or quarantine the slowest tests.
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.
Your service's p99 latency doubled after a release. Walk me through how you investigate.
What good looks likeHide hint
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.
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.
Describe the most complex technical or analytical problem you have solved.
What good looks likeHide hint
Explain why it was hard, the options you considered, how you de-risked the chosen approach, and what you would do differently now.
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 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 likeHide hint
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.
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.
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 likeHide hint
Explain the why you communicated, how you handled resistance, and how you measured whether the change actually worked.
Company research brief: PayPal
From the roles we track on LYDJ, refreshed daily from the official careers page.
20
open roles
16
added in 30 days
9
in Engineering
Hiring most for
- Engineering9
- Finance & Legal5
- Other3
- Data & AI2
Read before the interview
Questions to ask them
- ›There are several open Engineering roles at PayPal right now. How is the team growing, and where does this role fit?
- ›The company hires in Bengaluru, Chennai. How do teams across locations work together day to day?
- ›How does the team use Java and Python 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 doneSaved in this browser only.