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
Jump into any topic below.
01Flows & Automation1
02Lightning Web Components4
03SOQL & Data4
04Apex & Triggers9
05Salesforce Core Concepts3
06General & Experience3
All Interview Questions
Tap a topic to expand the questions asked in that area.
Flows & Automation (1)
QCan I call Apex class from flow in Salesforce?
Lightning Web Components (4)
QHow can we make a LWC available for only Account object and not for any other object?
QIn how many ways apex can be called in LWC.
QExplain Lifecycle hooks in LWC.
QRender method vs conditional rendering in LWC.
SOQL & Data (4)
QSuppose 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 ?
QCan we write SOQL inside an execute method in Batch apex?
QWrite a SOQL query to find out the duplicates account names.
QWrite a SOQL query to find out contacts that has not been modified even once.
Apex & Triggers (9)
QCan multiple triggers be executed on the same object in salesforce?
QWhat happens in order of execution in salesforce when a trigger executes an error?
QCan we call trigger from batch apex?
QIs batch apex Stateful or Stateless.
QWhy can't we call future method from batch apex ?
QIf future methods cannot be called in Batch class then how we can perform callouts in batch as it is also asynchronous in nature?
QWhat will happen if I get more than 50 million records even after applying filters in batch apex?
QWhat if a future method is called within a trigger and there is an SQL error in the future method?
QWhat is the difference between Batch apex and Queueable apex?
Salesforce Core Concepts (3)
QWhat we can access in Profiles but not in Permission Sets?
QThere 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 ?
QThere 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 ?
General & Experience (3)
QIn how many ways you can share a record in Salesforce.
QFrom where you can change the setting of "Grant Access Using Hierarchy".
QWhat is Territory Sharing in Salesforce?
Preparing for a Salesforce developer interview?
Browse more real company interview experiences and hands-on Apex trigger patterns.