EY Salesforce Interview Questions Oct 2026 (L1, L2 & Techno-Managerial)

CompanyEY
Focus AreaSalesforce Developer
Questions133+
Topics6

EY (including EY GDS) Salesforce Developer interview questions shared by candidates with 3 to 3.5 years of experience across the L1, L2, L3 and techno-managerial rounds (updated Oct 2026). Questions are grouped by topic so you can revise triggers, SOQL, LWC, security and flows one area at a time. Also read our earlier EY Salesforce developer interview questions.

What's Covered

Topics covered in these interviews.

01Apex Triggers & Coding Scenarios38
02SOQL & Apex Code20
03Lightning Web Components & Aura31
04Security, Sharing & Data Model20
05Flows, Clouds & Admin11
06Integration, Deployment & Managerial Round13

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.

Apex Triggers & Coding Scenarios
1Can we call a future method from a trigger?
2What are Asynchronous Apex and its types?
3What is Mixed DML error and how do you prevent it?
4Explain this trigger: before insert on Opportunity sets opp.Account.status and a Customer_Description__c in a loop. Is it a run error, what type of error, and what does the code do?
5What is Apex CPU time out and how is it fixed?
6Whenever an Account email is updated, update the related Contacts' email. Write the trigger.
7Account and Employee are in a lookup relationship. Write a trigger that prevents deleting an Account that has Employees.
8Write a trigger that prevents inserting Opportunities if the total amount of Opportunities created by one user in one day exceeds $500,000.
9There is a managed package trigger. How do you stop it from being called?
10What are recursive triggers and how do you avoid them using Maps of Ids, Sets and Boolean properties?
11A Contact has an isActive field. On Account, populate the number of active Contacts in a custom field. Write the trigger.
12Write a trigger between two unrelated objects with a Name field so that on insert, update and delete, object B's Name is updated.
13What parameters are acceptable for a future method?
14Whenever the create-task checkbox is checked on a Case, a follow-up task should be created for the Account's primary Contact. How?
15How do you avoid trigger recursion without using a static Boolean variable?
16How do you handle a case where a requirement works in a lower sandbox but not in production after deployment?
17What are the best practices for flows, triggers and test classes?
18What is a field filter validation exception, and what exception did you face recently?
19Create a batch class with all methods and call Queueable from the batch.
20Change an Account from Prospect to Customer when an Opportunity is closed. How do you do it?
21If 10 managed packages each have a trigger on Contact using 10 SOQL queries and your trigger uses 5, will it work or throw an error?
22What is the difference between a future method and a Queueable method?
23What are the events available in after delete, and why is there no "after delete" in the usual sense?
24How can we check the status of a batch job, and how do you schedule a batch every 30 minutes?
25Which async Apex have you worked on (batch, future)? Explain a scenario where you used a future method and why not batch.
26What is the difference between Database.insert and the insert statement?
27Can you populate the number of Contacts on Account without a trigger? Why can't we do it using flows?
28What are the best practices of triggers?
29A field increments on every update and the logic is written in a trigger. If the same logic is built in a flow too, how many times does it run?
30Write a trigger to roll up the number of Contacts to the Account.
31Explain what happens in this code: an Account variable is declared but never instantiated, then acc.Name is set and Database.insert(acc, false) is called.
32Write a trigger for a Gender picklist (Male and Female) on Contact that shows only the count of male Contacts on the Account.
33Why are asynchronous methods required?
34How do you call a batch class from Apex and pass parameters? How do you avoid triggers firing when the batch updates a record?
35Can we edit Apex triggers, classes and VF pages in production?
36What is the difference between Queueable, Schedule and Batch Apex?
37Do you know the Salesforce Scheduler?
38Explain Batch Apex, and a use case where you wrote code in the finish method.
SOQL & Apex Code
39In how many ways can you check in Apex whether a person has access?
40What are System.runAs() and why do we use it? Which security does it enforce: field level or record level?
41Find all Contacts that have the same name and appear more than twice.
42Write a SOQL query to fetch all child records from a parent record.
43Write code to create a map for an Account and its related Contacts.
44Rate yourself in Apex out of 5.
45Write SOQL to fetch the Account with the most Contacts.
46Create a list of integers, sort them and remove the duplicates.
47Why do we use Test.startTest and Test.stopTest?
48Given a list of Contacts, build a Map of Account Id to its related Contacts.
49Why don't we generally use seeAllData=true in an Apex test class?
50What is the use of Test.isRunningTest, Test.startTest and Test.stopTest?
51How many records can you process in Data Loader, and in Workbench?
52A custom field highest_amount__c is present. Fetch the highest, the lowest, the second highest and the second lowest amount.
53How do you see private variables in test classes?
54Write a SOQL query that shows the Contacts per Account.
55Write a SOQL query to get the count of Opportunities by stage.
56Write a SOQL query for all Accounts that have no related Contacts.
57Which exceptions can't we catch in an Apex class?
58How do you write a test class for HTTP requests, and for a callout chain that continues to a second system on a 200 response and stops on 400?
Lightning Web Components & Aura
59What is the sequence of method calls in LWC: connectedCallback(), renderedCallback() and wire()?
60Parent A has children B and C. How do B and C communicate?
61Write an LWC with two number inputs that shows their multiplication as you type.
62Can we call an LWC from Aura, and vice versa? How does a parent Aura component communicate with a child LWC?
63If I want DML in an Apex method marked @AuraEnabled(cacheable=true), how do I do it?
64How do you call an Apex method in LWC?
65In which scenario do you use the renderedCallback hook?
66Why is DML not enabled in cacheable=true methods?
67How do you pass parameters from App Builder to an LWC component?
68How do you make a property reactive in LWC?
69How do you build an email template inside a VF page?
70Explain LMS and parent-child communication in LWC.
71What are the types of decorators?
72What is the difference between wire and imperative Apex, and where did you use each?
73How do you make an imperative Apex call behave like wire?
74How do you fetch and display JSON data?
75Can we do DML in a wire method, and why or why not?
76How do you pass data to a grandparent component in LWC?
77How do you communicate from child to parent, and write the logic?
78What is LDS in detail, and how do you sort a datatable?
79How do you make an Apex method reactive without wire?
80Write an LWC with a button that shows and hides text on click.
81Can we have multiple JS files for a single LWC component?
82How do you get the current user id in LWC without Apex?
83An LWC is on a record page. How do you get the record id?
84Why do we use cacheable=true for wire, and what exception do we get if we do DML in the Apex method?
85How do you call an LWC from a flow?
86Write an LWC that takes an accountId, fetches all related Contacts and shows them in a datatable.
87What are the lifecycle hooks and their order in a parent-child component?
88How do you call a screen flow from LWC?
89What is the $ used for when passing parameters in wire?
Security, Sharing & Data Model
90What is the difference between custom metadata and custom settings, and have you used custom metadata in your project?
91Phone must be mandatory for Profile A but not Profile B, with a Private OWD. How do you achieve it?
92Two users have the same role. How do you restrict records for some users by location?
93A Status picklist has Approved, Submit and Pending. After Approved, only the system admin may change it. How?
94Explain the sharing model.
95Can the profile control record-level access?
96The OWD is Private with View object permission. If one user shares a record with another, can the other view it? Can they edit it?
97A criteria-based sharing rule gives edit access when billing state is Karnataka, and Apex sharing is written the same way. If someone changes the billing state, does the person still have access?
98What is the difference between a Connected App and a Named Credential?
99What are the relationships in Salesforce, and how many lookups can an object have?
100The OWD is Private. User A owns an Account and User B is named in a lookup on it. How can User B see the Account, and can sharing rules be used on a lookup field?
101Ten users share a profile. A salary field must be hidden for 5, read-only for 3 and editable for 2. How?
102What is the difference between Queue and Public Group?
103What are dynamic forms, and how do you display different layouts for different users or conditions?
104How do you stop a validation for a single user but not for profiles?
105What is a custom permission? What is the use of a permission set, and why can't we reduce access in a permission set?
106Ten users have Create, Read and Edit permissions. How do you remove Edit access from two of them?
107What is Apex-based sharing and how does it work?
108Have you created a role hierarchy in your project?
109Which many-to-many (junction) objects exist in Salesforce, such as Campaign and Campaign Member or Opportunity and Opportunity Line Item?
Flows, Clouds & Admin
110What clouds have you worked on, and what is Service Cloud?
111Why do we use an Apex trigger compared to a flow?
112What are the Salesforce inspector and other tools you use in your project?
113What are the types of flows?
114How can we call Apex from a flow, and what is the return type of an @InvocableMethod?
115Can we have multiple flows on a single object?
116What automation tools have you worked on (flows, triggers)?
117What is the difference between Workflow and Flows, and will flows work for delete DML?
118Explain Email to Case.
119How do you fetch related object data in a flow?
120Which new features in the recent release are you happy with?
Integration, Deployment & Managerial Round
121What deployment tools have you used?
122How do you estimate hours for a user story, and how do you analyze and gather requirements?
123If a third-party system has to call our system, what do we need to do?
124When do we use GET and POST methods?
125Why do we use a Connected App?
126Self introduction and project walkthrough.
127Integrate Salesforce with an ERP: sync data both ways and allow bulk updates from the ERP. What is the approach?
128How does your project work and how do you get requirements, who assigns them and who do you clarify them with?
129What is your experience with integration?
130In your tenure in Salesforce, what two mistakes have you seen developers make?
131Which technologies do you know apart from Salesforce?
132What is the Composite API?
133What are your roles and responsibilities?

Preparing for a Salesforce developer interview?

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

Leave a Reply