CompanyKPMG
Focus AreaSalesforce Developer
Questions78+
Topics7
KPMG Salesforce Developer interview questions shared by candidates with 3 to 5 years of experience across the technical, assignment and managerial rounds (updated Oct 2026). Questions are grouped by topic so you can revise triggers, LWC, security, flows and integration one area at a time.
What's Covered
Topics covered in these interviews.
01Apex Triggers & Coding Scenarios15
02Batch, Future & Async Apex13
03Lightning Web Components10
04Security, Sharing & Admin12
05Flows & Admin Decisions9
06Integration, Deployment & Project9
07Veeva CRM & Project Round10
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
1Write a trigger that shows the number of Contacts in an Account field.
2Write a trigger where the number entered on an Account field decides how many Contacts must be associated.
3What are the trigger events and trigger context variables?
4Instantiate a Map with Account Id as key and related Contacts as a list, then add elements to it.
5How does a trigger work for 1,000 records, and does it run in chunks as separate transactions?
6A trigger must update more than 10K records. How do you handle it?
7What are the best practices for triggers, and what if there are multiple triggers on the same object?
8How do you handle a CPU timeout error?
9Write a trigger that updates the Account rating from the number of Opportunities: fewer than 3 is Cold, 3 to 5 is Warm, more than 5 is Hot.
10What is the difference between isNull and isBlank?
11Write a SOQL query to fetch all Accounts having at least one associated Contact.
12Account has a Primary Contact Phone text field and Contact has an Is Primary Contact checkbox. An Account cannot have more than one primary Contact. When a new primary Contact is created, update the Account phone and unmark the other Contacts. Write the trigger.
13If a user has no access to a field, what error does the trigger throw, and what error appears on update?
14Why do we use oldMap in a trigger?
15A trigger has three queries returning 30k, 20k and 10k records. Will it cause an error or succeed?
Batch, Future & Async Apex
16What is the batch start method return type?
17Implement a @future method ProcessAccountAsync that updates a custom field after a configurable delay.
18What is the difference between getQueryLocator and an Iterable in batch?
19How do you apply error handling and logging with try-catch and System.debug?
20How would you apply performance best practices such as selective queries and async patterns?
21Write a test class that covers positive and negative cases and bulk data for the trigger and batch.
22How would you use Custom Settings or Custom Metadata for user assignments, delays and API endpoints?
23Build a batch that deactivates Accounts with no activity in the last 30 days or sends an email on a customer's birthday, with error handling and logging.
24What is the @future annotation?
25What are the methods of a batch class?
26How do you handle an update when a trigger has to process very large data?
27Why are test classes important, beyond initial testing?
28Build a trigger that creates a Contact when an Account Industry is Technology and assigns Account ownership from a Custom Setting.
Lightning Web Components
29A is the parent and B and C are children. How do B and C communicate?
30In a datatable LWC, I deleted a record but still see it. Why?
31What is the use of $ in wire method parameters?
32Two LWC components are not in the same DOM. How do they communicate?
33How do you iterate a loop in LWC?
34What is the advantage of LDS?
35What are the methods to communicate between two LWC components?
36What are the considerations for cacheable=true, and what is its use?
37What are decorators and their uses?
38What are lifecycle hooks and why are they important? When do you use renderedCallback?
Security, Sharing & Admin
39What is your take on the Salesforce security model?
40A profile with read access is assigned to two users and one needs read-write. How?
41What are the different ways to share records?
42Users A and B share a profile. Why does one see fewer records, and how do you reduce one permission for B?
43What are the considerations before creating a master-detail relationship?
44How do you run a piece of Apex for a user who has access to specific records?
45OWD is Private. I create a record and want to give a non-owner access. How?
46Users A and B have the same profile. How do you remove one permission only for B?
47What is the difference between with sharing, without sharing and inherited sharing?
48What is the use of Record Types?
49How do you give access to external and internal users?
50Is a Salesforce license required to create a permission?
Flows & Admin Decisions
51In a project, when did a configuration solution turn into customization?
52Why does a flow have a return type?
53Can flows work for delete DML?
54Give examples of flows you created in your project.
55How do you update and create records in the same flow?
56Rate yourself in configuration and give examples from your project.
57How do you invoke Apex from a flow, and why can't we have multiple invocable methods?
58What is the difference between Workflow and Flow, and how do you decide?
59Are you aware of OmniScript features?
Integration, Deployment & Project
60A third-party system sends 10 fields and later wants one more field. How do you handle it without affecting the code?
61What is a composite API?
62How do you proactively debug or get errors?
63What is the first consideration for a callout, and how do you handle a server timeout from the external system?
64What is the difference between authentication and authorization?
65A third-party system needs Account records from Salesforce. Define all steps and HTTP methods.
66How do you practice Agile? How do you get requirements and who assigns work?
67How do you deploy and what deployment tools do you use? How do you deploy LWC and resolve merge conflicts?
68What is a header and its use in an integration callout? What is encrypted in integration?
Veeva CRM & Project Round
69How do you stay up to date with new Salesforce features and releases?
70How are accounts loaded into a user territory?
71Why are you looking for a change?
72How does a sales rep update MCCP after finishing a task?
73Tell me about yourself, your best skill and how you used it in the project.
74What challenges did you face, and which domain did you work on?
75What are your hobbies?
76Explain your current project, your role and the modules you worked in Veeva.
77What is MCCP, a data change request and global account search?
78Which clouds do you know? Explain a few.
Preparing for a Salesforce developer interview?
Browse more real company interview experiences and hands-on Apex trigger patterns.