Difference between Sales Cloud & Service Cloud.
What all features have you covered in Sales & Service Cloud? (Standard features like assignment rules, escalation rules, etc.)
What is the data model of Service Cloud?
What are your deliverables in that project?
How many team members? Your role and responsibility?
What are the types of reports that are possible in Salesforce?
Can you explain a complex scenario you faced & its solution?
Do you know the Salesforce security model?
What is OWD?
When will we see the Sharing Button on the record page?
OWD scenario-based question.
In what cases do you keep OWD private, and in what cases public? Is it org level or different for each object?
If I am the owner of a record, will my records be visible to you?
What is the difference between Profiles and Roles?
If both of us have the same profile and OWD is private, will you see my records? What if we are at the same level in the role hierarchy?
If OWD is private and I am the owner of a record, will my manager see it directly, or does any configuration need to be done?
How can I share all my accounts with you? What if I want to share them with 100 users?
What do you understand by a junction object?
What is a roll-up summary field?
In case of a lookup relationship, how can we achieve a roll-up field?
On which object do you need to write a trigger for a roll-up summary?
Why do we use an after trigger for a roll-up scenario?
What is the difference between Custom Settings and Custom Metadata?
Can we use getAll and getInstance for Custom Metadata?
What do you understand by a junction object?
What is a roll-up summary field?
In case of a lookup relationship, how can we achieve a roll-up field?
On which object do you need to write a trigger for a roll-up summary?
Why do we use an after trigger for a roll-up scenario?
What is the difference between Custom Settings and Custom Metadata?
Can we use getAll and getInstance for Custom Metadata?
What is a trigger?
What are the different types of triggers in Salesforce?
What is the difference between workflow & trigger?
Have you worked on trigger patterns?
Which context variable will not be available in Before Insert & why?
Which context variable will not be available in Before Delete?
Can we perform a callout using an Apex trigger?
Can we write a batch without a finish method? Will it save without error? Why?
A batch updates an account & an account trigger fires on after update. How can I prevent the trigger from firing when the record is updated by a batch class?
What are the governor limits & what are the best practices to avoid governor limits?
Explain Asynchronous Processes briefly. What is the difference between each?
Why can't a future method accept an sObject as a parameter?
What is the difference between Queueable and Future, apart from input parameter acceptance?
If I call one Future method and one Queueable method from a trigger, which will execute first?
If I call one Future method A1, one Queueable B1, and one Queueable B2 method from a trigger, can you tell me the order of execution of methods?
If I have a batch process deactivating community users who have not logged in for 15 days and updating their contact record with a status picklist as "Dormant," how would you implement this?
What is the maximum number of callouts in a single Apex transaction?
Suppose I have written a callout code in an Apex class and called it using the anonymous window. It works fine, but if I call it using a batch, it shows an error. Why? (Use Database.AllowsCallout)
What is the difference between SOQL & SOSL?
Write a query to get accounts whose contact name starts with ‘Tom.’
Write a query to get accounts with 5 or more child contacts.
SOQL: Count of accounts with the same country.
SOQL: Fetch countries with more than 10 accounts.
How can I apply object-level and field-level restrictions on a query?
What is the difference between "with sharing" and "without sharing"?
What is the difference between Aura and LWC?
Why is LWC faster than Visualforce and Aura?
What do you mean by web standards?
What is the difference between @track, @api, and @wire?
How to send data from child to parent in LWC?
If you fetch 10 accounts from LWC using @wire and someone inserts 1 record while you're on the UI, how can you retrieve all 11 accounts without refreshing the view?
When does refreshApex work? Does it work with wire?
What are the lifecycle hooks of LWC?
What is event.stopPropagation() & event.preventDefault()?
Dynamically, I want to show some cards according to profile. How can we achieve that in LWC?
What is Composite API?
If a third party wants to access the Account object, what steps will you take to give them access?
What will be the endpoint you will provide to the third party to access accounts?
What do you understand by Streaming API?
Do you understand Bulk API?
What do you understand by Salesforce's order of execution?
What do you understand by Remote Site Setting?
What is Named Credential?
How can we debug a record-triggered flow?
What are the best practices you have used while writing Apex code?
How do you handle private methods in test classes?
If seeAllData=false is set in a test class, will you create Custom Metadata in the test class?
Have you ever faced an "uncommitted work pending" error?
Why can't we perform DML before a callout?
Why do we write Test.startTest() and Test.stopTest()?
If I have a future method, how can I verify its result in an assert statement?
What is testSetup in a test class? How many times does it get called?
Suppose I have some record in testSetup. If I update some data in test method 1, will I get the updated data or the original data in test method 2?
Do you know any version control tools like GitHub?
Any experience with DevOps?
How do you currently deploy your code?
Can we edit Apex in the production environment?