Interview practice plan

P

Sr Machine Learning Engineer

PayPal · Bengaluru

Data & AISenior25 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.

Machine LearningTensorFlowPyTorchscikit-learnAWSAzureGCPRAGPythonSQLBigQueryKubernetesCI/CDObservability

Also named in the description, not covered below: SQL, BigQuery, Kubernetes, CI/CD, Observability. 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

Machine Learning

This role asks for Machine Learning, TensorFlow, PyTorch and scikit-learn. These Machine Learning questions cover the ground they share.

  • Design a recommendation system for a job site.

    What good looks like

    Candidate generation then ranking, content and behavioural signals, cold start for new users and jobs, implicit feedback, and offline metrics validated by A/B tests.

  • How do you choose evaluation metrics for a ranking or recommendation problem?

    What good looks like

    NDCG, MAP or recall@k depending on the use, aligned with a business metric, and awareness of the gap between offline and online results.

  • How would you explain a model's predictions to a non-technical stakeholder or a regulator?

    What good looks like

    Global versus local explanations (feature importance, SHAP values), plain-language examples, documented limitations and how decisions can be reviewed.

02Required skill0/3

AWS

This role asks for AWS.

  • How would you design a highly available web application on AWS across multiple availability zones?

    What good looks like

    Load balancer across AZs, auto-scaling stateless compute, a multi-AZ database, externalised sessions, health checks and a tested failover plan.

  • When would you choose Lambda, ECS on Fargate or EC2 for a workload?

    What good looks like

    Execution time limits, cold starts, steady versus spiky traffic cost, packaging and operational overhead. Tie the choice to the workload's shape.

  • The AWS bill has grown 40% in six months. How do you bring it under control?

    What good looks like

    Tagging and cost allocation first, then rightsizing, savings plans, storage lifecycle rules, data transfer review, and budgets with alerts.

03Required skill0/3

Azure

This role asks for Azure.

  • How would you organise Azure management groups, subscriptions and resource groups for several teams?

    What good looks like

    Management groups for policy inheritance, subscriptions as billing and isolation boundaries, resource groups per workload lifecycle, and consistent tagging.

  • When would you pick App Service, Azure Functions or AKS?

    What good looks like

    Compare operational effort, scaling model, execution limits, cost profile and team skills, and give a workload that fits each.

  • How would you build a secure pipeline that deploys infrastructure and apps to Azure?

    What good looks like

    Federated workload identity instead of stored secrets, Key Vault, environment approvals, infrastructure as code with Bicep or Terraform, and policy checks.

04Required skill0/3

GCP

This role asks for GCP.

  • When would you choose Cloud Run, GKE or Compute Engine?

    What good looks like

    Cloud Run for stateless containers with minimal ops, GKE for complex orchestration needs, VMs for special runtimes or licensing; compare cost and control.

  • How does BigQuery pricing work, and how do you keep query costs under control?

    What good looks like

    On-demand bytes scanned versus capacity pricing, partitioning and clustering, avoiding SELECT *, dry runs, and per-user quotas.

  • Design an event-driven pipeline on Pub/Sub. How do you handle duplicate and out-of-order messages?

    What good looks like

    At-least-once delivery means idempotent consumers, ordering keys where order matters, dead-letter topics, and replay strategy.

05Required skill0/3

LLMs & GenAI

This role asks for RAG. These LLMs & GenAI questions cover the ground it builds on.

  • Explain retrieval-augmented generation. When does it beat fine-tuning?

    What good looks like

    RAG grounds answers in fresh, citable documents without retraining; fine-tuning changes style or format behaviour. Many systems use both.

  • How do you reduce hallucinations in a question-answering system over company documents?

    What good looks like

    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 like

    Treat retrieved content as untrusted data, give tools least privilege, validate outputs, require human confirmation for side effects, and log for review.

06Required 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 does Python manage memory, and why might a long-running process keep growing?

    What good looks like

    Reference counting plus a cyclic garbage collector, fragmentation, unbounded caches or globals, and using tracemalloc to find the growth.

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

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 URL shortener that handles 100 million redirects a day.

    What good looks like

    Clarify the read/write ratio, design ID generation, storage and caching, then cover hot keys, analytics and expiry. Back-of-envelope numbers earn credit.

  • Design the home feed for a professional networking app.

    What good looks like

    Discuss fan-out on write versus read, very large accounts, ranking, pagination and cache invalidation, and state your trade-offs explicitly.

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

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 mistake you made at work and what happened next.

    What good looks like

    Own it without blaming others, explain how you contained the impact, and what you changed so it would not happen again.

  • 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 worked with unclear or changing requirements.

    What good looks like

    Show how you reduced ambiguity: clarifying questions, writing down assumptions, small experiments and getting explicit sign-off.

  • 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

2

in Data & AI

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

  • ›The company hires in Bengaluru, Chennai. How do teams across locations work together day to day?
  • ›How does the team use Machine Learning and TensorFlow 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?
  • ›What are the next steps in the process, and when should I expect to hear back?

Preparation checklist

0/8 done

Saved in this browser only.

Interview prep: Sr Machine Learning Engineer at PayPal | LYDJ