List Headline Image
Updated by rishav-intellipaat on Oct 09, 2019
10 items   1 followers   0 votes   10 views

Top 10 SalesForce Interview Questions

Go through these top Salesforce interview question if you want to land your dream job as a Salesforce professional. This list of interview questions includes understanding custom objects, platform, Salesforce dashboard components, Visualforce, Object Query Language Vs. Object Search Language, Salesforce Report types and more. If you want to master Salesforce and get certified then check the Intellipaat Salesforce training.



What is the benefit of Salesforce CRM?

Ans. Here are some of the top benefits of Salesforce CRM:

Ensuring faster and better sales opportunity
Deploying an analytical approach to customer acquisition
Reducing cost and improving customer satisfaction
Automation of repetitive and less important tasks
Improved efficiency and enhanced communication on all fronts


What are custom objects in Salesforce?

These custom objects have to be defined first and then the following steps need to be followed:

Ans. Join records with custom objects
Custom object data are displayed in custom lists
Create a custom tab for a custom object
Build page layouts
Create a dashboard and a report for analyzing the custom object
Custom tab, app, and object can be shared


List various types of reports available in Salesforce.

Ans. Tabular report: In this, the grand total is displayed in a table format.
Matrix report: This is an in-depth report wherein there is both row-based and column-based grouping.
Summary report: Summary report is a report in which the grouping is on a column basis.
Joined report: Joining two or more reports into one creates a joined report.


What are Workflows in Salesforce? What are the actions in workflow?

Workflow in Salesforce is basically a container or business logic engine which automates certain actions based on particular criteria. If the criteria is true, the actions get executed. When it is false, the record will get saved but no action will get executed.

Ans. There are two types of actions present for workflow in Salesforce:

Immediate Actions: Actions that get executed immediately when the record is created or edited
Time-dependent Actions: Actions that get executed after a certain duration of time, such as 10 days before a records’ close date. After a certain time period, the workflow rules in Salesforce will re-evaluate the record just to make sure that the rule criteria are met. If the record meets the criteria, the aligned actions will be executed.


What is the minimum test coverage required in order to deploy a trigger?

Ans. System Administrator: Customization and administration of an application
Standard User: Can edit, view, update, or delete one’s own record
Read Only: Able to just view the records
Solution Manager: Comes with the standard user permission but also can manage categories and published solutions
Marketing User: Able to import leads into the organization, along with standard user permissions


Explain various dashboard components.

Ans. Various dashboard components are explained below:

Chart: It is used for showing data graphically.
Gauge: It is used for showing a single value within a range of custom values.
Metric: This is used for displaying a single key–value. It is possible to click the empty text field next to the grand total and enter the metric label directly on components. All metrics placed above and below one another in the dashboard column would be displayed as a single component.
Various dashboard components are explained below:
Table: The report data can be shown in column form using Table.
Visualforce Page: It is used for creating a custom component or showing information not available in other component types.
Custom S-component: This contains the content that is run or displayed in a browser like Excel file, ActiveX Control, Java applet, or custom HTML web form.


What are the different methods of Batch Apex Class?

Ans. Database.Batchable interface contains three methods that must be implemented:

Start method: global (Database.QueryLocator | Iterable) start(Database.BatchableContext bc) {}

Execute method: global void execute(Database.BatchableContext BC, list){}

Finish method: global void finish(Database.BatchableContext BC){}


Which fields are automatically indexed in Salesforce?

Ans. The following fields are automatically indexed in Salesforce:

Custom fields marked as an external ID or a unique field
Primary keys (Id, Name, and Owner fields)
Audit dates (such as SystemModStamp)
Foreign keys (Lookup or Master-Detail relationship fields)


What is Sandbox in Salesforce? What are the types of Sandboxes available?

Ans. Sandbox is a similar copy of a Salesforce production for testing, development, and training. The content and size of a sandbox may vary depending on the type of sandbox and the edition of the production organization which is associated with the sandbox. There are four types of sandboxes available:

Developer Sandbox
Developer Pro Sandbox
Partial Data Sandbox
Full Sandbox


Why use Batch Apex instead of Normal Apex?

Ans. There are various reasons why Batch Apex is better than Normal Apex.

A Normal Apex uses 100 records per cycle to execute SOQL queries. Whereas, a Batch Apex does the same in 200 records per cycle. So, it is very fast when the execution of SOQL queries is considered.
A Normal Apex can retrieve 50,000 SOQL queries but, in Batch Apex, 50,000,000 SOQL queries can be retrieved.
A Normal Apex has a heap size of 6 MB; whereas, Batch Apex has a heap size of 12 MB.
When executing bulk records, Normal Apex classes are more vulnerable to encounter errors as compared to Batch Apex. So, it is normally error-less.