Senior SDE Interview Questions at Salesforce

Published July 22, 2026 · Updated July 22, 2026

6 real Senior SDE interview questions asked at Salesforce. Covers System Design, Technical, HR rounds. Sourced from engineers who cleared the loop.

6 questions
146 upvotes
Rounds: 3
Top topic: security

Interview Signals — What Salesforce Asks Senior SDEs

Frequently Asked Topics
security2x
domain1x
sql1x
behavioral1x
java1x
Interview Rounds
System Design1q
Technical4q
HR1q
Experience Level
4-8 years2q
2-5 years2q
3-6 years1q
2-6 years1q

All Senior SDE Questions Asked at Salesforce

Salesforce Hard System Design round 4-8 yearsSQLSystem Design

Design a multi-tenant database architecture for a CRM SaaS product with 100,000 customers, where each customer's data must be strictly isolated but the schema is largely shared. Compare separate databases per tenant vs. shared schema with a tenant_id column.

↑ 35 upvotes · 14 engineers asked this · Senior SDE
Salesforce Medium Technical round 2-5 yearsSQL

Write a query to find customers who placed an order in each of the last 3 consecutive months, using an Orders table with customer_id and order_date.

↑ 30 upvotes · 19 engineers asked this · Senior SDE
Salesforce Medium Technical round 3-6 yearsSecurity

Explain the difference between role-based access control (RBAC) and attribute-based access control (ABAC). Give an example permission requirement that RBAC alone can't express cleanly.

↑ 24 upvotes · 11 engineers asked this · Senior SDE
Salesforce Hard Technical round 4-8 yearsSecurity

In a shared-schema multi-tenant database, what specific bug pattern most commonly causes cross-tenant data leaks, and how do you prevent it at the code level, not just by convention?

↑ 22 upvotes · 10 engineers asked this · Senior SDE
Salesforce Medium Technical round 2-6 yearsJava

When would you use the Builder pattern in Java instead of a constructor with many parameters? Sketch a builder for a User class with 6 optional fields.

↑ 18 upvotes · 9 engineers asked this · Senior SDE
Salesforce Easy HR round 2-5 years

Salesforce emphasizes "trust" as a core value. Tell me about a time you found a bug in production that no one else had noticed yet. What did you do?

↑ 17 upvotes · 5 engineers asked this · Senior SDE

Practice these questions with AI feedback

Get instant grading on your answers, identify your weak areas, and generate a personalised 14-day study plan — all free.

Build my study plan →

Other companies hiring Senior SDEs

Google Senior SDE questions Meta Senior SDE questions Stripe Senior SDE questions LTIMindtree Senior SDE questions Netflix Senior SDE questions Microsoft Senior SDE questions

More at Salesforce

All Salesforce questions Salesforce interview process Prepare for Salesforce

Frequently asked questions

What topics does Salesforce ask Senior SDEs?
Common topics: security, domain, sql, behavioral, java.
What rounds are there in Salesforce Senior SDE interview?
Reported rounds: System Design, Technical, HR.
What experience level does Salesforce hire Senior SDEs at?
Most reported experience: 4-8 years.