JOBSEEKER?

Salesforce Interview Questions

Practice for Salesforce interviews by solving TestDome questions. Our interview questions are used by more than 7,000 companies and 450,000 individual test takers.

Jobseekers: Certify Your Knowledge

Take a Certification Test

Companies: Use Our Tests for Screening

Buy a Pack Of Candidates

Need to practice your Salesforce skills for an upcoming job interview? Try solving these Salesforce interview questions that test knowledge of Apex, Visualforce, object relationships, and other skills. We’ll provide feedback on your answers, and you can use a hint if you get stuck.

These Salesforce interview questions are examples of real tasks used by employers to screen job candidates such as Salesforce developers, and others that require working with and customizing the Salesforce platform.

1. User Wish

Easy  
Salesforce Database Schema Object Relationship New Public

A website dedicated to wish lists uses following Salesforce objects:

Management wants to add a field to the User object that will contain the number of Wish objects the User has. What is the behavior of those objects and what needs to be done to add the new field?

(Select all acceptable answers.)

Solve Question

2. Account Name

Easy  
Salesforce Apex SOSL New Public

Fill the blanks in the following Apex code snippet, so that a SOSL query selects the Name field in all Account objects where any field contains the word "John":

____________________________ results = [FIND '___________' IN ALL FIELDS RETURNING ____________];
Solve Question

3. Date Output

Easy  
Salesforce Date Functions Visualforce New Public

Fill in the blanks in the following Visualforce code snippet, so that the outputText element outputs the current date in the following format: day/month/year. The day and month should always have two digits, and the year should have four digits. The param element should be an expression that always returns the current date.

For example, if the date is 6th of March, 2020, the outputText should be: "06/03/2020".

<apex:outputText value="__________________________">
  <apex:param value="___________________________"/>
</apex:outputText>
Solve Question

If you feel ready, take one of our timed public Salesforce Interview Questions tests:
Salesforce

Salesforce Online Test (Easy)

Not exactly what you are looking for? Go to our For Jobseekers section.
Dashboard Start Trial Sign In Home Tour Tests Questions Pricing For Jobseekers