Interview practice plan

P

Sr Software Engineer

PayPal · Bengaluru

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

SREJavaDistributed systemsMicroservicesNoSQLDockerKubernetesCI/CD

Also named in the description, not covered below: SRE, NoSQL. 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 19 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.

  • Explain the Java Memory Model. What do volatile and synchronized actually guarantee?

    What good looks like

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

Docker

This role asks for Docker.

  • How do you make a Docker image smaller and faster to build?

    What good looks like

    Multi-stage builds, slim or distroless bases, ordering instructions to maximise cache hits, and a .dockerignore.

  • Why should containers not run as root, and how do you avoid it?

    What good looks like

    A container escape as root is far more damaging; create a non-root user in the image, drop capabilities and use a read-only filesystem where possible.

  • How does networking work between two containers, and between a container and the host?

    What good looks like

    Bridge networks with built-in DNS by container name, published ports to the host, and how this differs from host networking.

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

04Required skill0/3

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 like

    Fast unit tests on every PR, integration and security scans, build once and promote the same artifact, staged environments, and automated rollback.

  • Blue-green, canary or rolling deployment: how do you choose?

    What good looks like

    Blast radius, rollback speed, infrastructure cost and how good your metrics are for judging a canary. Give a case for each.

  • How do you manage infrastructure as code safely across environments and a team?

    What good looks like

    Remote state with locking, reusable modules, plans reviewed in pull requests, separate state per environment, drift detection and least-privilege CI credentials.

05Design round0/3

System design

This role asks for Distributed systems and Microservices, so expect an architecture round. State requirements and numbers first, then trade-offs.

  • Design a job alerts system that emails users when new roles match their saved searches.

    What good looks like

    Cover ingestion, matching at scale (inverted index versus per-user scans), batching and de-duplication, unsubscribe and rate limits, and failure handling.

  • 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 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 senior roles, expect probing on influence without authority, judgement under pressure and raising the bar for others. Use the STAR structure.

  • Describe a time you had several urgent priorities at once. How did you decide what to do first?

    What good looks like

    Explain your criteria (impact, deadlines, dependencies), how you communicated the trade-offs, and what you deliberately dropped or delayed.

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

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

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

Company research brief: PayPal

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

14

open roles

8

added in 30 days

6

in Engineering

Banking & Financial ServicesGCC

Hiring most for

  • Engineering6
  • Other3
  • Data & AI3
  • Product1

Cities

Bengaluru · 13Chennai · 1
See all 14 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 SRE and Java 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