CompanyCapgemini
Focus AreaSalesforce Developer
Questions65+
Topics6
Capgemini Salesforce Developer interview questions shared by candidates with 3 to 4.5 years of experience across the L1 and L2 rounds (updated Oct 2026). Questions are grouped by topic so you can revise triggers, async Apex, LWC, security, flows and integration one area at a time. Also read our earlier Capgemini Salesforce developer interview questions.
What's Covered
Topics covered in these interviews.
01Apex Triggers & Coding17
02Batch, Async Apex & Testing5
03Lightning Web Components15
04Security, Sharing & Data Model10
05Flows & Admin6
06Integration & Deployment12
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
1Write a trigger on Opportunity so it cannot have more than one Opportunity Contact Role.
2Write a trigger so the Lead email is unique across all Lead records.
3Write a trigger to stop inserting a Contact if the same email already exists on another Contact.
4What is the email limitation in triggers? How many emails can be sent?
5Write a SOQL query for Accounts that have related Contacts.
6Write a SOQL query to fetch Lead records created in the last four years.
7What are the ways to deactivate a trigger in production?
8What is an interface in Apex?
9What are collections in Apex?
10What are the best practices for Apex triggers and classes?
11Write a trigger that prevents deleting an Invoice record if its related Opportunity stage is Closed Won.
12What are governor limits in Salesforce and why are they defined?
13What is the difference between SOQL and SOSL?
14Contact has an email field that must be updated using an after trigger instead of before. Will it run, or throw an error?
15Write a trigger that updates the related Contacts' address when the Account address is updated.
16Write a SOQL query to fetch Accounts created yesterday, and test it when no Account was created yesterday.
17What is the difference between insert and Database.insert?
Batch, Async Apex & Testing
18Why can't we call other async operations from the start or execute method in a batch?
19Explain synchronous and asynchronous Apex with use cases for each.
20Can we make a callout from Batch Apex?
21How do you run two unrelated queries in a batch class?
22Explain Batch Apex. If I do not want to write the finish method, is that possible?
Lightning Web Components
23How do you call an Apex method from LWC, and what are the ways to do it?
24Explain LMS and LDS.
25How do you stop users from copy-pasting text into a text box in LWC so they can only type?
26Explain the lifecycle hooks in LWC.
27How do you open another record page on a button click in LWC?
28Write JavaScript to show Account fields name, rating and phone.
29How do unrelated components communicate?
30How do you handle errors in LWC?
31What is a promise, and what is a promise exception? How do you handle it?
32What are decorators in LWC? Explain all of them.
33An LWC is on a record page. How do you get the record id?
34Describe one tough implementation you did in LWC.
35What is the difference between var and let, and between == and ===?
36Can we import jQuery libraries in LWC, and what is the difference between querySelector and querySelectorAll?
37Explain parent-to-child and child-to-parent communication.
Security, Sharing & Data Model
38Can we query the history object?
39What are the different ways to share records?
40What is the difference between Custom Setting and Custom Metadata, and how do you use custom metadata in Apex?
41A customer used Data Loader to update the stage of 100 Opportunities to Closed and one month later wants to undo it. How?
42How do you convert a lookup to master-detail, and can you deploy it? What should you keep in mind?
43How do you prevent a manager from accessing records when the role hierarchy is enabled?
44Can we use a formula field in a criteria-based sharing rule?
45What are Record Types, and how do you show different picklist values to different profiles?
46Explain the security model in Salesforce.
47Users A, B, C and D share a profile with read and write access. How do you remove write access from A?
Flows & Admin
48What is the difference between Sales Cloud and Service Cloud?
49What are the types of flows, and where do you use Autolaunched and Record-Triggered flows?
50What is the difference between record-triggered flow and triggers?
51Can we call an Apex method from a flow? How?
52Have you worked on flows? What is the difference between a workflow and a flow, and will flows work for delete DML?
53What is the difference between a workflow and a flow?
Integration & Deployment
54Explain OAuth and authorization.
55What is Named Credential, and how do you call it in an Apex class?
56Tell me about your project and your last implemented Apex scenario.
57Have you worked on integration? Explain the flow of your project end to end.
58How do you communicate from Salesforce to a third-party application?
59What deployment options do you use, and what are the limitations of change sets?
60What is a connected app, and why do we use it?
61What is the difference between REST and SOAP APIs?
62Tell me about yourself and your experience.
63Explain connected app and remote site settings. Have you implemented them?
64Have you worked on platform events? A Stage change must be published as a platform event, caught by a third-party system and shown on an LWC. Write the complete code.
65How do you deploy in general, and how do you deploy LWC components?
Preparing for a Salesforce developer interview?
Browse more real company interview experiences and hands-on Apex trigger patterns.