Senior SDE Interview Questions at Salesforce
6 real Senior SDE interview questions asked at Salesforce. Covers System Design, Technical, HR rounds. Sourced from engineers who cleared the loop.
Interview Signals — What Salesforce Asks Senior SDEs
All Senior SDE Questions Asked at Salesforce
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.
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.
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.
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?
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.
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?
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 →