Interview practice plan
Sr 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: GCP, SQL, BigQuery, Git. 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.
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.
When would you use CompletableFuture, a bounded ExecutorService, or virtual threads?
What good looks likeHide hint
Virtual threads for blocking I/O-heavy code, CompletableFuture for composing async steps, bounded pools for CPU-bound work, and the pinning caveats of virtual threads.
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.
Explain the GIL and how it affects threading, multiprocessing and asyncio.
What good looks likeHide hint
Threads help I/O-bound work but not CPU-bound Python code; multiprocessing sidesteps the GIL at a memory and IPC cost; asyncio suits many concurrent I/O tasks.
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.
React
This role asks for React.
How do you decide between local state, context and a global store in a large app?
What good looks likeHide hint
Keep state as local as possible, use context for low-frequency shared values, a store for complex shared client state, and a data-fetching cache for server state.
Server components versus client components: what runs where, and what can a server component not do?
What good looks likeHide hint
Server components render on the server with direct data access and no client JS; they cannot use state, effects or browser APIs, so interactivity lives in client components.
A list of 10,000 rows is slow to render and scroll. How do you fix it?
What good looks likeHide hint
Measure with the Profiler, virtualise the list, use stable keys and memoised rows, and consider pagination or server-side filtering.
Audit
This role asks for Audit.
Explain SOX 404 and the role of IT general controls.
What good looks likeHide hint
Management's assessment of internal control over financial reporting; ITGCs (access, change management, operations) support the reliability of automated controls.
A process owner strongly disagrees with your audit finding. How do you handle it?
What good looks likeHide hint
Re-check your evidence, listen for facts you may have missed, focus on risk rather than blame, and agree the rating and actions or escalate respectfully.
How would you use data analytics to increase audit coverage?
What good looks likeHide hint
Test full populations instead of samples, look for duplicate payments, outliers and segregation conflicts, and build continuous monitoring.
Kafka
This role asks for Kafka.
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.
How do you evolve message schemas without breaking consumers?
What good looks likeHide hint
A schema registry with compatibility rules, optional fields with defaults, never changing a field's meaning, and versioned topics for breaking changes.
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 likeHide hint
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 likeHide hint
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 likeHide hint
RBAC with least privilege, namespaces and network policies, pod security standards, image scanning and signing, secrets management and audit logs.
System design
Senior engineering roles almost always include a design round. State requirements and rough numbers first, then walk through trade-offs.
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.
How would you break a monolith into microservices? Where would you start?
What good looks likeHide hint
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.
Design the REST API for a multi-tenant SaaS product.
What good looks likeHide hint
Resource modelling, versioning, pagination, authentication and tenant isolation, idempotent writes, and a consistent error contract.
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 disagreed with a teammate or your manager. How did it resolve?
What good looks likeHide hint
Show that you disagreed on substance with evidence, listened properly, and committed once a decision was made, even if it went the other way.
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.
Why do you want this role, and why now?
What good looks likeHide hint
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 worked closely with a team in another time zone or culture.
What good looks likeHide hint
Mention concrete practices (async updates, overlap hours, written decisions) and a moment where a misunderstanding was caught and fixed.
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.