Interview practice plan

P

Sr Software Engineer

PayPal · Bengaluru

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

JavaPythonReactAuditKafkaKubernetesGCPSQLBigQueryGit

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.

01Required skill0/3

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 like

    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 like

    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 like

    Heap dump on OOM, analyse retained sizes and dominators, check caches and unbounded collections, and correlate with traffic or batch jobs.

02Required skill0/3

Python

This role asks for Python.

  • Explain the GIL and how it affects threading, multiprocessing and asyncio.

    What good looks like

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

03Required skill0/3

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 like

    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 like

    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 like

    Measure with the Profiler, virtualise the list, use stable keys and memoised rows, and consider pagination or server-side filtering.

04Required skill0/3

Audit

This role asks for Audit.

  • Explain SOX 404 and the role of IT general controls.

    What good looks like

    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 like

    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 like

    Test full populations instead of samples, look for duplicate payments, outliers and segregation conflicts, and build continuous monitoring.

05Required skill0/3

Kafka

This role asks for Kafka.

  • 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 would you choose the number of partitions for a new topic?

    What good looks like

    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 like

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

06Required skill0/3

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 like

    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 like

    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 like

    RBAC with least privilege, namespaces and network policies, pod security standards, image scanning and signing, secrets management and audit logs.

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

  • How would you break a monolith into microservices? Where would you start?

    What good looks like

    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 like

    Resource modelling, versioning, pagination, authentication and tenant isolation, idempotent writes, and a consistent error contract.

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 disagreed with a teammate or your manager. How did it resolve?

    What good looks like

    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 like

    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 like

    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 like

    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

Banking & Financial ServicesGCC

Hiring most for

  • Engineering9
  • Finance & Legal5
  • Other3
  • Data & AI2

Cities

Bengaluru · 18Chennai · 2
See all 20 roles at PayPal →

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 done

Saved in this browser only.

Interview prep: Sr Software Engineer at PayPal | LYDJ