
Questions in the video:
Can we use Test.startTest and stopTest inside testSetup methods?
Suppose there are 10 duplicate records in an object and you want to delete 9 records and retain the latest record, how would you do it?
How would you resolve SOQL101 Exceptions?
What could be the potential issue when you have multiple triggers for the same object?
How would you insert 2 Million records in Salesforce?
I want my trigger to be recursive 3 times. After that, recursion should stop. How do I achieve it?
Questions in the video:
There’s a number field with a validation rule that it should always be less than 100. A workflow is put in place to update the number field to 200. What happens when the user enters the value as 90?
How to create a Master-Detail field for a child object if it already has some records?
How can you navigate to a particular URL in Lightning?
When would you use Database.query and Database.queryLocator?
How would you setup time triggered actions in Salesforce?
Can you write a Trigger code to automatically add Opportunity Team Members every time an Opportunity is created? The team members should be the Opportunity Owner & Opportunity Owner’s Manager.
Questions in the video:
If you need to import data via Data Loader with CreatedDate as a past date, how would you do it?
Based on a value selected on a pick list, you need to show/hide a quick Action in Lightning? How would you achieve it?
There’s a code snippet in the future method which is written as part of the trigger. How can this be avoided if batch apex is used to insert bulk records?
Can you write a SOQL to count related contacts for an Account record?
How would you populate a Map using SOQL?
If you are using a Wrapper Class and one of the fields is not AuraEnabled, will that be accessible on the client side lightning controller?
Questions in the video:
How can you bulk import customer users for Community in Salesforce?
Does with sharing respect Field Level Security?
Which interface do you need to use if you want to embed Lightning Components to a Flow?
Write a SOQL for all Accounts which do not have any associated Opportunities?
How do you share record with only one manager in a role where there are multiple managers assigned?
How do you get rid of or avoid MixedDML Exception?
Questions in the video:
What can a Trigger do but a Process Builder cannot?
How can you retrieve or fetch all test classes in an Org?
How does access work if the apex class is without sharing?
If LDS is showing a field and the logged in user doesn’t have the read permissions to the field, is the field shown to the user or how is it?
Can you give some good examples of using the Schema class in Apex?
How do you use the invocable apex method from Process Builders?
Bonus Questions:
What is wrong with this trigger code snippet?
Fetch the Last Modified Opportunity for an Account in Apex
Salesforce is the world’s leading CRM service provider currently. They have more than 40% market share in the Cloud CRM space and dominate the overall CRM industry with a market share of about 20%. They have been rated the world’s #1 CRM for two consecutive years now.
About 4.2 million jobs will be created via the Salesforce ecosystem by 2024 which means lots of interview opportunities are coming up for anyone who wants a dream job in this fast growing Salesforce ecosystem.
This is why, I have shortlisted this definitive list of 30 Scenario based Salesforce Interview Questions which will help you prepare for a salesforce interview and strengthen your key concepts and improve you as a Developer. This will certainly help you land a top-notch job in the domain of your passion.
This course covers almost all the important topics which interviewers ask surrounding scenarios. So, if you are someone who wants to switch to better roles, or just land a brand new job in Salesforce, this course is tailored for you.
This course is not a test for you, but it's time to learn and understand concepts. Feel free to pause at the answers, do some research, read more about the question in hand, and come back to the course and continue. This will help you expand your knowledge and you will be confident when you sit for any interview.
Each scenario question has been explained and most of the questions involve real time coding and checking how things actually work instead of just telling you the correct answer. So, you won't just get to know the right answer but also understand why the answer is so.