CompanyCognizant Candidate 2
Focus AreaSalesforce Developer
Questions24+
Topics6
Cognizant Salesforce interview questions 2025 We’ve put together a mixed set of the latest Salesforce Developer interview questions asked at Cognizant, based on insights from YouTube, LinkedIn courses, and real-life interview experiences.
What's Covered
Topics covered in this interview.
01Flows & Automation1
02Lightning Web Components4
03SOQL & Data4
04Apex & Triggers9
05Salesforce Core Concepts3
06General & Experience3
All Interview Questions
Every question asked in this interview, listed one by one.
1Can I call Apex class from flow in Salesforce?
2How can we make a LWC available for only Account object and not for any other object?
3In how many ways apex can be called in LWC.
4Explain Lifecycle hooks in LWC.
5Render method vs conditional rendering in LWC.
6Suppose we have two object A and B and they are related with Master-Detail relationship. So as we know that if we delete record in master then child record will automatically deleted. So now what if we recover the record from recycle bin will the child record will also get recovered and if yes then will it also recover the master detail relationship or not ?
7Can we write SOQL inside an execute method in Batch apex?
8Write a SOQL query to find out the duplicates account names.
9Write a SOQL query to find out contacts that has not been modified even once.
10Can multiple triggers be executed on the same object in salesforce?
11What happens in order of execution in salesforce when a trigger executes an error?
12Can we call trigger from batch apex?
13Is batch apex Stateful or Stateless.
14Why can't we call future method from batch apex ?
15If future methods cannot be called in Batch class then how we can perform callouts in batch as it is also asynchronous in nature?
16What will happen if I get more than 50 million records even after applying filters in batch apex?
17What if a future method is called within a trigger and there is an SQL error in the future method?
18What is the difference between Batch apex and Queueable apex?
19What we can access in Profiles but not in Permission Sets?
20There are 2 users, user A and user B which are having same roles and profiles. Now requirement is like user A should be able to change the owner of the record but user B should not be able to change it. How you will achieve this ?
21There is an opportunity and user A is the owner of that opportunity and there is another user B who has all the permission like edit delete view all everything except modify all, now user B is trying to delete this opportunity which is owned by user A and there is a sharing rule by which we are sharing this opportunity to user B with all the permissions available yet user B is not able to delete this opportunity, he is getting insufficient access what is the major reason ?
22In how many ways you can share a record in Salesforce.
23From where you can change the setting of "Grant Access Using Hierarchy".
24What is Territory Sharing in Salesforce?
Preparing for a Salesforce developer interview?
Browse more real company interview experiences and hands-on Apex trigger patterns.