Deloitte Salesforce Interview Questions Oct 2026 (Technical & Techno-Managerial)

CompanyDeloitte
Focus AreaSalesforce Developer
Questions182+
Topics8

Deloitte Salesforce Developer interview questions shared by candidates with 2.5 to 4 years of experience across the Technical, USI L1, USI L2 and Techno-Managerial rounds (updated Oct 2026). Questions are grouped by topic so you can revise security, triggers, async Apex, LWC, flows and integration one area at a time. Also read our earlier Deloitte L1 interview questions.

What's Covered

Topics covered in these interviews.

01Security, Sharing & Access29
02Apex Triggers & Coding Scenarios25
03Asynchronous Apex & Batch Apex19
04Lightning Web Components, Aura & Visualforce35
05Flows, Admin & Data28
06SOQL, Test Classes & Apex Basics20
07Integration, Deployment & DevOps18
08Project & Techno-Managerial Round8

All Interview Questions

Every question listed one by one, in a fresh order. Answers are not included, so practise explaining each one in your own words.

Security, Sharing & Access
1What is Salesforce Shield?
2The Share button is missing on a Lightning record page. What could be the reasons?
3Class A is without sharing and Class B is with sharing. If B calls A, which sharing setting is followed?
4Ten users share the same profile, permission set and role. How do you hide a field from only some of them?
5How do you bypass sharing in Apex when the OWD is Private and the records must become public?
6How do you bypass a validation rule for the current user?
7Two users have the same profile and role, but one sees 10 records and the other sees 100 of the same object. What is the cause?
8Two users have the same profile, role and permission sets with the OWD set to Private. Can they see each other's records? How would you let them, if you cannot change the OWD?
9If 1000 users have CRUD access at profile level, how do you give just one user read-only access?
10What is Apex sharing, and what happens if the sharing reason is a custom one?
11What is the difference between the System Administrator and Standard User profiles?
12Why use public groups, and why use permission sets?
13Two users have the same profile and permission set assignment. How do you remove edit access from just one user?
14A junction object has one parent Private and the other Public. How does data access work?
15What is the difference between with sharing and without sharing?
16A sales manager should see only the sales team's opportunities and not other departments'. How do you do that?
17I have CRUD on Case through my profile and want to share one case with a colleague who has the same profile. How?
18What are the types of sharing rules?
19What is the difference between Profile and Permission Set, and what can a profile do that a permission set cannot?
20The sharing logic is too complex for sharing rules. How would you share the records?
21Have you created any roles and profiles in your project? Explain the requirement.
22What is OWD? What access can be provided, and what is the default for internal and external users?
23How do you restrict which records a user can pick in a lookup field?
24How can I always share a particular type of case with a colleague?
25How does security work in Salesforce? Describe the security model.
26What is territory management?
27What are the different ways of sharing records?
28Write a trigger that uses Apex sharing to share a record with a user.
29A is master-detail to B. Can A be Public Read/Write while B is Private? Can the OWD of a standard object be changed?
Apex Triggers & Coding Scenarios
30Write a trigger that maintains a Number of Contacts field on Account on insert and update (if the number drops from 6 to 4, only 4 Contacts should remain).
31Why use Batch Apex when data can be processed in a trigger?
32What are the different trigger events?
33Write a method that takes a List<Account> and returns a Map<String, Integer> of account counts by industry, without using extra SOQL.
34An incoming email creates a Case with the sender's email. If a Contact with that email exists, link it; otherwise create a new Contact. How?
35Write a trigger that rolls up an amount from a related list object onto the Account.
36What are the best practices for triggers?
37Can we call a future method from a trigger? Which trigger event would you use?
38What is the difference between a trigger and a scheduled class?
39Write a trigger that sets a checkbox to true when all related Cases are closed.
40Write a trigger that creates a Contact and adds the user to a public group once a User is created.
41If 99 SOQL queries are used in the first chunk, what happens in the next chunk?
42A trigger has System.debug in it and covers all events. How many times will it execute?
43Why should we not perform DML in a before trigger, and what error do we get?
44Write a batch job on User that updates the related Accounts and Opportunities.
45Write a trigger to count Cases associated with a Contact. Cover all scenarios, with and without an aggregate query.
46On a trigger that creates a Case from an email (status In Progress, priority Medium, assigned to a queue), when would you get a Too Many SOQL Queries error?
47Write a trigger to prevent duplicate Contacts based on email, and explain how to do the same with configuration.
48How do you decide between a before and an after trigger?
49Write a method that takes a List<String> and returns a Map<String, List<String>> of Account names to Contact names.
50Update all related Contacts' type whenever the Account type changes. What is the best approach?
51Write a trigger that changes related Contacts' owner when the Account owner changes.
52Write a trigger to prevent creating a duplicate Contact based on first name and last name.
53How do you stop recursion in a trigger, and are there approaches other than a static Boolean?
54Write a trigger that updates the User phone number whenever the Contact phone number changes (two classes, one with @future).
Asynchronous Apex & Batch Apex
55Can we call a future method from a batch?
56What are the limitations of future methods?
57How does Batch Apex work and what happens in each method?
58How do we write a test class for a future method?
59What are the types of batch jobs?
60Which two methods are used specifically when testing Batch Apex?
61Once a record is updated you must invoke a batch. Do you choose a flow or a trigger?
62In which situation would you use Queueable?
63Can we call Queueable from Queueable? Can we call Queueable from a batch, and why not future?
64What is the difference between future and Queueable?
65Out of 1,000 records, one batch fails. Do all records fail?
66What is the function of the finish method, and what code can we write in it?
67What async methods exist in Salesforce, why do we use them, and when do we use which?
68What is the syntax to call a batch job and which interfaces does a batch class use?
69Can we send email from Batch Apex? How?
70Can a future method take 1 as a parameter?
71Can we call a batch from another batch?
72How would you update a Balance field on Contacts (Account Saving divided by number of Contacts) for a very large data set?
73If 2,000 batches run at 200 records each, how many logs will there be?
Lightning Web Components, Aura & Visualforce
74How do you prevent others from updating the same component you are working on?
75What is event bubbling vs event capture?
76What is the use of cacheable=true? If server data changes, how do you get refreshed data?
77What is the difference between pagination and lazy loading? How do you paginate more than 2,000 records?
78Build a page that shows 200 FAQs with a search box that filters without reloading.
79What is the difference between Aura, LWC and VF?
80How do you change a child component's @api value, and what happens if you change an @api property directly?
81How do you call an Apex method from an LWC?
82Write the event bubbling syntax for firing the event from the child.
83What is the use of this.template, and how does data binding work?
84Can a VF page use both a standard and a custom controller?
85Can we call APIs from JavaScript? What configuration is required?
86What is the difference between @wire and imperative calls?
87What are the lifecycle hooks in LWC, and what does renderedCallback do?
88What are LWC best practices?
89Why does this code fail to deploy: @wire(getBoats, { boatTypeId: this.boatTypeId }) with an (error, data) handler?
90How do you get the recordId in an LWC?
91How would you show 50,000+ Account records on the UI without hitting limits?
92What is the difference between a Promise and async/await? Explain promises in JavaScript.
93How do you call a method defined in a child component from the parent?
94What is the purpose of decorators in LWC?
95How do you conditionally control components when a standard multi-select picklist value changes?
96Design a UI that searches service centers by address without a page reload, shows new centers without downtime, and pins them on a Google map.
97How do parent and child communicate in LWC, in both directions?
98Explain LMS and how to set up publish and subscribe.
99Write an LWC with four fields and an Update button that updates the current record.
100Why are @api properties not mutable? How do setters and getters help?
101What is the difference between lightning-record-form and lightning-record-edit-form?
102With A as parent and B and C as children, how does B communicate with C?
103How does an LWC communicate with a flow, and how do you call an LWC inside a flow?
104What is shadow DOM and how do you cross its boundaries?
105Describe a challenge you faced in LWC and a complex LWC implementation.
106What is LDS, and what is the advantage of getRecord over imperative Apex and @wire?
107How do you use third-party JavaScript in an LWC?
108How can LWC, Aura and Visualforce components communicate?
Flows, Admin & Data
109If you create both a flow and a trigger for the same scenario, will Salesforce allow it? How do they execute?
110How many types of record pages can you create? What about translation?
111What is the difference between lookup and master-detail, and what relationship types exist?
112When do you choose a flow over a trigger, and a trigger over a flow?
113What are the core objects of Health Cloud you have worked with?
114What is an External ID field and why is it used?
115What are record-triggered flows? When did you choose a flow instead of a trigger?
116What are the types of flows, and what actions can a record-triggered flow perform?
117How often does Salesforce release per year?
118Why can an Apex class have only one invocable method?
119What are the prerequisites and best practices for record-triggered flows?
120What problems have you faced with Data Loader and how did you resolve them?
121How do you call an Apex class from a flow and pass values both ways?
122Create a flow that sends two emails when state and country are not null, with the second mail sent if the first does not apply.
123How do you create a customer portal, and what are Experience Cloud use cases?
124What is the difference between a managed and an unmanaged package?
125How do you automate an approval process?
126What is the difference between a custom object, custom setting and custom metadata?
127How do you route flow error emails to a DevOps group email?
128How is a record type chosen when a Lead is converted to an Account?
129Can we create lookup fields in custom metadata?
130Explain the sales process and the stages of an opportunity.
131A flow email fails with "send email not allowed". What could be the reason?
132What is the difference between custom and standard reports?
133There are three Process Builders on one object. How do you consolidate them?
134How do you convert a 15-digit ID to an 18-digit ID?
135What is an Org Id, and what are the types of sandbox?
136How do you create a list view button?
SOQL, Test Classes & Apex Basics
137What are test class best practices?
138Test coverage is 90% in the sandbox but much lower after deployment. What could be the reasons?
139What is the static keyword in Apex?
140What is Mixed DML and how do you handle it, including in a test class?
141How do you resolve the SOQL 101 error?
142How many ways can we call Apex in Salesforce?
143What is the Stub API?
144How do you identify relationships in SOQL for custom and standard objects?
145Why does a web service class need to be global?
146What is the difference between PUT and PATCH in a web service class?
147What is the difference between deserialize and deserializeUntyped?
148What are SOQL governor limits?
149What is the Platform Cache? Have you used it?
150Why do we use Test.startTest and Test.stopTest?
151How many callouts are allowed per transaction?
152Write a SOQL query to return Accounts that have at least two Contacts.
153What are the Heap size and CPU time limits, and how do you solve those errors?
154What types of exceptions have you come across in Apex?
155How do you enforce lead assignment rules in Apex?
156What is a wrapper class? Show an Account with its Cases, Contacts and Opportunities.
Integration, Deployment & DevOps
157What is the Heroku CLI?
158How do you authenticate an external system into Salesforce?
159Why do we create a Connected App for inbound integration?
160What should you consider when using a change set?
161What is the advantage of Named Credentials over Remote Site Settings?
162Do you work in Agile or Waterfall, and how is your sprint cycle?
163What types of integration are there in Salesforce, and how do REST and SOAP differ?
164How does deployment work in your project, and which deployment tools have you used?
165What is the difference between authentication and authorization?
166How do you expose a custom Apex REST service to an external system?
167How do you decide to use REST API? Explain the steps.
168What is OAuth 2.0 and which OAuth flows have you implemented?
169What is A/B testing?
170What is the difference between SAML and SSO?
171What are the integration patterns?
172What is the difference between git pull and git rebase, and how do you fix merge conflicts?
173Explain the integration in your project, and how master data comes from an external system.
174What are HTTP methods?
Project & Techno-Managerial Round
175How do you rate yourself in LWC and Apex?
176Tell me about yourself and your total relevant experience.
177Explain your project in detail, with questions on the objects you used.
178Describe a situation where you found difficulty in a project.
179What was your latest work in LWC?
180Which clouds have you worked on? Pick one requirement and explain it in detail.
181Explain a trigger requirement you built and how you achieved it.
182What is the latest work you did on deployment and integration?

Preparing for a Salesforce developer interview?

Browse more real company interview experiences and hands-on Apex trigger patterns.

Leave a Reply