Salesforce

Top 10 salesforce interview questions for 5 years experience in 2025

By iTechCloud Solution

Feb 03, 2025

A trigger on Account updates related Contacts. When multiple Accounts are updated via Data Loader, it hits governor limits. How will you fix it?

01.

A trigger on Opportunity updates Account, and another trigger on Account updates Opportunity, causing an infinite loop. How would you prevent recursion?

02.

A page in Salesforce displays all Contacts of an Account, but it loads very slowly due to a SOQL query inside a loop. How would you optimize it?

03.

You need to update 100,000 Case records efficiently without hitting governor limits. What approach will you take?

04.

You need to integrate Salesforce with an external inventory system that provides real-time stock updates via a REST API. How would you make the callout?

05.

An LWC component needs to display a list of Opportunities filtered by Account Id. How would you fetch and display the data?

06.

Two users try to update the same Opportunity record at the same time, and one gets a "Record is locked" error. How will you prevent this?

07.

A logistics company wants real-time order updates between Salesforce and an external system. How would you design this integration?

08.

A user without Modify All Data permission is able to see confidential data via an Apex class. How will you fix this?

09.

You are inserting 500 records, but some fail due to validation rules. How will you ensure successful records are inserted while tracking failed ones?

10.