Top Salesforce Interview Questions 2023 (Technical + HR) __ Unstop.pdf
VimalKumar559177
26 views
43 slides
Mar 08, 2025
Slide 1 of 43
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
About This Presentation
Top Salesforce Interview Questions 2023 (Technical + HR) __ Unstop.pdf
Size: 995.7 KB
Language: en
Added: Mar 08, 2025
Slides: 43 pages
Slide Content
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 1/43
Top 50+ Salesforce Interview Questions 2023 (Technical + Behavioural)
Shreeya Thakur play_circle_filledListen
25 May 2023access_time32 min read
106 Claps Readlist
share
Share
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 2/43
Out of all the multi-select picklists of career paths available
in India today, engineering still tops the list with
approximately 935 thousand undergraduate students
enrolling in an academic year. There are different
categories of engineering to explore including computer
science, electronics, mechanical, electrical, and civil.
According to market research, solution engineering has
become the most in-demand job for the current workforce,
with more and more organizations and companies looking
to hire top talent. And, Salesforce is no different.
As a global leader in cloud-based applications, Salesforce
always has a requirement for candidates with expertise
in customer relationship management (CRM) software and
it is increasing rapidly. So, all engineering students who
are willing to explore this job vertical should know how to
answer the service cloud interview questions in the
technical recruitment process of Salesforce.
Before we jump to the question bank, it is important to
know that the technical recruitment process includes
general (personal, educational and basic knowledge),
technical and behavioral questions. The end goal is to
evaluate a candidate thoroughly while testing his/her
knowledge of all the different aspects covered by
Salesforce. Read on to know more...
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 3/43
Common Interview Questions with
Suitable Answers
Level 1 Difficulty
Q. What do you understand by applications
like Salesforce?
For most interviews, this is an opening question and the
main purpose behind this question is to understand
whether you have researched well about the object-
oriented programming language being discussed, its
programmatic access, and what it does. To answer this
correctly, you need to spend ample time researching
the object-oriented programming language Salesforce and
how it benefits organizations worldwide.
A sample answer would require you to mention what
services are provided by Salesforce including cloud-based
solutions and CRM software that allows better customer
relations for businesses worldwide. To add on, you need to
mention how using Salesforce helps organizations track
customer data efficiently.
Q. What are the top features of Salesforce
and their meaning?
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 4/43
For this question, the answer has to explain each of the top
features of Salesforce in detail. To answer this question
correctly, you need to include a detailed explanation for
each of the features mentioned below to show a high
understanding of the functionality of Salesforce.
1. Opportunity management
Under opportunity management, you need to highlight the
top advantages of this abstract data type including the
ability to view the entire timeline of activity for each
customer in detail with all list of records. In addition, it gives
you complete access to the critical details within the
timeline and represents all the different steps utilized in a
single day to help you plan your next move effectively,
especially for email services.
2. Contact management
For contact management, it is important to mention how
with this feature, companies have got complete access to
all the essential data of customers and their interaction
history internally and not through an external service. Along
with this, the ability to view and adopt multiple strategies
including insights and engagement enhancement allows for
better customer targeting for each service or product in
question.
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 5/43
3. Quotation management
Quotation management is crucial for making important
decisions regarding a product or service. With this feature,
companies can improve product tracking significantly as
along with product price detailing, businesses can view
another list of records like code, quantity, and standard vs
quoted price details.
In addition to that, you need to mention how the Salesforce
CRM application comes with a built-in mechanism for
quoting that automatically accumulates client data with
sharing settings and creates PDF templates for direct
submission to customers via email using the batchable
interface with different types of custom settings.
4. Lead management
With Salesforce, companies can benefit from effective lead
management with custom labels. They get access to a fully
updated contact timeline with a database of all potential
leads with different types of custom settings to view the
final lead conversion. In addition, it informs about the
original lead sources and combines automatic custom
labels to contribute to the revenue mechanism.
5. Sales data accumulation
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 6/43
Sales data is highly important to make decisions regarding
what products to sell and to whom. With the help of
Salesforce CRM software and types of custom settings,
businesses get access to all the necessary sales data at
the exact time they need it for faster decision-making.
Additionally, it allows them to keep the sales data updated
with the most accurate information using robust and error-
free code groups.
6. Improved workflow and approval cycles
All business processes require a clear workflow for
increased efficiency and thus, it is a top feature of
Salesforce. With the help of these effective workflow rules,
companies can use, design, and automate any business
process. Additionally, multiple approvals can be managed
in one go, increasing the overall operational efficiency of a
business.
Q. Name the subsidiaries under Salesforce.
Salesforce is a large cloud computing company that has
acquired several companies over the years to expand its
product offerings and services. Some of the major
subsidiaries under Salesforce include:
1. MuleSoft: A provider of integration software that allows
different systems and applications to communicate with
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 7/43
each other.
2. Tableau: A data visualization and business intelligence
software that helps organizations to analyze and
understand their data.
3. Slack Technologies: A messaging and collaboration
platform that allows teams to communicate and work
together more effectively.
4. Heroku: A cloud-based platform for building and
deploying web applications using a variety of
programming languages and frameworks.
5. Datorama: A marketing analytics platform that helps
organizations to measure and optimize their marketing
campaigns.
6. Pardot: A marketing automation platform that helps
organizations to generate and nurture leads, and track
the effectiveness of their marketing campaigns.
7. Quip: A productivity platform that allows teams to
collaborate on documents, spreadsheets, and other
types of content in real time.
Q. What are the two types of apps that can
be used in Apex Salesforce?
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 8/43
In Salesforce Apex, there are two types of applications that
can be used:
1. Native apps: These are applications that are built
entirely within the Salesforce platform, using Apex and
other Salesforce technologies. Native apps can take
advantage of the built-in security features, such as user
authentication and access control, and can be easily
integrated with other Salesforce features and data.
2. External apps: These are applications that are built
outside of the Salesforce platform, but can be integrated
with Salesforce using APIs (Application Programming
Interfaces) and other integration tools. External apps can
be hosted on third-party servers or on-premise servers
and can communicate with Salesforce to access and
update data, or to trigger Salesforce workflows and
processes.
Q. What are the advantages for customers
who use a sales cloud-like Salesforce?
There are multiple advantages for businesses and
organizations which invest in Salesforce as the CRM for
complete data compilation and automation. The top
advantages include the following:
Companies can avoid long-delayed response rates by
automating communication through the multiple tools
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 9/43
available which facilitate automatic responses.
Organizations can integrate a range of different
applications used for email marketing onto one single
platform, Salesforce. This eliminates the need for
moving software time and again as per requirement.
Customer activity is crucial for the success of any
business and with the help of Salesforce, businesses
can follow each customer activity with complete access
to background and behavioural information. This will
allow them to understand what works best for the target
audience and improve decision-making.
A lesser-known benefit of Salesforce is its omnichannel
feature that ensures all customer complaints, regardless
of the medium including messaging, chat, email, or
social media, are addressed on time. This is possible as
all conversations are shifted to one singular platform.
The data collected on this CRM allows businesses to
design more targeted campaigns for marketing purposes
to cater to all the needs and requirements of the existing
customers, in addition to attracting new ones.
With the help of Salesforce, businesses can benefit from
increased customer satisfaction and a visible reduction
in overall costs, making it a win-win situation for
everyone.
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 10/43
Q. What are the key differences between a
dynamic dashboard and a static
dashboard?
The dynamic dashboard highlights specific user data per
user including the leads converted, sales closed, etc. No
schedule can be completed on a dynamic dashboard as it
works on real-time data generation only.
Static dashboards on the other hand are the default setting
with visibility to all users. The main purpose is to show the
complete organizational data to a specific set of users.
Scheduling can be conducted on this dashboard for
automatic data refresh from time to time.
There are multiple benefits to users, whether they choose a
dynamic dashboard or a static one. The important thing to
do is to ensure you know how to use a dynamic dashboard
and a static dashboard to know which one is more
favorable for your business.
Q. What are the different data functionalities
or types that can be stored in a set?
Under a set store, the different data types that can be
stored include the following:
Built-in Apex types
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 11/43
User-defined types
Collections
Primitive types
sObjects
Q. Explain the sObject type in sets as part
of custom apps code.
It is an object which can easily be stored on a platform
database like force.com. With the help of Apex, a user can
further make valid use of generic abstract type sObject to
represent a range of object categories, one at a time. For
instance, bird is the generic category and then ostrich and
penguins are all different types of birds under the general
category.
Q. Are data and metadata rules different?
How?
Metadata and data are different as each defines itself for
diverse functionality.
Data features business records including contacts,
accounts and users whereas metadata refers to all the
different codes, page layouts, fields, logic and
configurations used to develop an architecture for a
business in the Salesforce environment.
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 12/43
Q. What are the top admin automation tools
available in Salesforce and how do they
help?
All the admin automation tools available in Salesforce are
designed to allow users and businesses to automate
multiple complex operational processes to become more
productive and reduce the manual admin work required.
Some top examples of automation tools include process
builder, Workflow and flow.
Q. How to make a field required in
Salesforce?
It is very easy to make a field required in Salesforce and
there are multiple benefits of doing so. You can create
fields using custom field settings, page layouts, and
different validation rules.
Level 2 Difficulty
Q. How to import account and contact
information types of bindings used in
Salesforce?
Some of the common ways used to import account and
contact information in Salesforce include data import
wizard, data loader and dataloader.io. Each of these import
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 13/43
tools helps companies and organizations to transfer their
information from one database to another.
Q. What are the key differences between
SOSL and SOQL?
SOSL
1. It stands for Salesforce Object Search Language.
2. SOSL is used to perform text-based searches across
multiple objects.
3. SOSL syntax is optimized for text searches.
4. SOSL returns records as a list of matches.
SOQL
1. It stands for Salesforce Object Query Language.
2. SOQL is used to retrieve data from a single object or
related objects
3. SOQL syntax is similar to SQL
4. SOQL returns records as objects or sets of objects.
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 14/43
Q. What is a custom object and what does it
permit a user to do?
Custom objects refer to the database tables that are used
by organizations to store their data in Salesforce. As soon
as a business or a company defines the customer object, it
can perform a list of tasks as a user, as mentioned below:
Make custom fields
Track tasks and events
Develop page layouts
Customize and analyze object data
Develop reports and dashboards
Create and share custom apps, tabs, objects and other
components
Create custom tabs for custom objects
Q. What are the benefits of SAAS to
Salesforce?
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 15/43
The key benefits of SAAS to Salesforce include:
Low infrastructure and set-up costs
Increased accessibility from any location
Scalability opportunity
Highly automated with visible updates frequently
Increased security and safety offered for any
organization
Overall improvement in company efficiency and
performance
Q. What do you understand by permission
sets?
In Salesforce, a permission set is known to be a collection
of multiple permissions or settings that can be utilized to
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 16/43
distribute access to multiple functions and tools to a user.
Different types of users can have different permissions per
tool and function and organizations can distribute the
permission and functionality access to each without
changing the user profile. In simple words, if a user joins,
instead of creating a separate profile every time,
companies can create permission sets per user under the
same profiles.
Q. What are the key differences between
Workflow and Trigger?
1. The key difference between Workflow and Trigger in
Salesforce is that Workflow is a declarative tool that
automates simple business processes, while Trigger is a
programmatic tool that automates complex business
processes.
2. Workflow is a point-and-click automation tool that allows
administrators to define and automate simple business
processes such as sending an email, updating a field, or
creating a task. In contrast, Triggers are pieces of code that
are executed before or after specific events such as
creating, updating, or deleting records in Salesforce. They
are used to automate more complex business processes
that cannot be achieved with Workflow.
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 17/43
3. Another key difference is that Workflow rules can be
triggered by user actions or time-based events, while
Triggers are only triggered by record-related events such
as insert, update, and delete.
Q. What is the difference between role and
profile?
A role is used to define data visibility per user individually
and also controls which user can view what data. It is not
necessary to define the role per user but it allows access
control within an organization for an outbound message.
A profile on the other hand limits the user actions within an
organization based on permissions. It is mandatory to
define a profile per user and it helps divide the privileges
for each user based on data accessibility, data alteration
ability, etc.
Between role and profile, depending on the security
policies of an organization, the level of usage for this
integrated development tool Salesforce can be decided.
Q. Can two users have the same profile with
custom labels under one Salesforce service
cloud?
A commonly asked question when it comes to profile
creation under Salesforce is whether a single profile can be
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 18/43
shared amongst users under normal code or if there is a
need for an inbuilt exception. The answer is a simple yes
for profile sharing with any change in a context variable. If
you are working in the same department as any other
employee, you can be assigned the same profile as other
users with the same development tools and there is no
limitation to the number of users sharing a single profile
within a company.
Q. What are the governor's limits?
The main purpose of governor limits is to control the
amount of data that can be stored on a shared database. It
helps organizations eliminate the possibility of
monopolization of multiple resources under Picklist values
like CPU, memory, and storage. The types of limits include
transaction control statements like per transaction Apex
limits, size-specific limits, static limits, push notification
limits, email limits, and miscellaneous Apex limits.
For example, amongst all the Picklist values, the limitation
for sending email is 10 whereas the call-out limit per
transaction is 100.
Q. What are the reasons contributing to data
loss in Salesforce?
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 19/43
Data loss is possible no matter how effective an automation
system or CRM software is but some of the common
reasons that can cause data loss in Salesforce to include
the following:
The first possibility that can cause data loss is through
human error during editing or importing data in a
component framework, incorrect information is omitted
or added to the list or database.
Another reason that can cause data loss in Salesforce is
accidentally deleting the complete database from the
component framework for records created by an
individual user or a company employee. This can be due
to the lack of communication, access to left users, and
multiple other possibilities. Therefore, it is recommended
to always have a backup of all the databases and train
each user correctly before giving them complete access.
At times, when there is more than one admin available
on the software, data sync error is possible which can
cause data loss in Salesforce. This happens when two
admins act on the same page or component framework
together, giving different commands causing one admin
to lose their work in progress.
Q. What are the two types of objects in
Salesforce?
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 20/43
Objects are considered to be tables of databases used
particularly to compile all the organizational data in one
place categorized under different dashboard components.
The two different types of objects available with Salesforce
include the following:
A custom object which is created by developers as per
their business process. It is used to store all unique data
and information within an organization and helps design a
clear structure for proper data sharing. It includes
dashboard components like custom fields, page layouts,
and a user interface tab.
A standard object on the other hand is a feature readily
available on the Salesforce platform. It includes a range of
dashboard components including campaigns, products,
reports, contacts, cases, accounts, leads, and
opportunities.
Q. How many email templates can be used
in Salesforce? What are their names?
Under Salesforce, approximately four different types of
email templates can be explored and they are as follows:
Custom HTML
Text
Letterhead HTML
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 21/43
Visualforce
Q. What does data skew in Salesforce
mean?
Data skew can occur due to a variety of reasons, such as
sharing rules, ownership rules, or record locking.
Some common symptoms of data skew include:
Long-running queries or reports that return large
volumes of data
Slow page loads or timeouts
Governor limit exceptions, such as SOQL query limits or
Apex CPU time limits
Q. What do you mean by attribute tag?
By definition, an attribute tag is limited to a custom
component which can only be limited to a child within a
component tag. It is important to note that no attributes can
be defined with names as they are automatically developed
for each custom component definition. The syntax to
include an attribute tag is as follows:
<apex:component>
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 22/43
<apex:attribute name="myValue" description="This is
the value for the component." type="String"
required="true"/>
<apex:attribute name="borderColor" description="This
is color for the border." type="String" required="true"/>
</p>
<p>
</p>
<p>
</p>
<p>
</p>
<h1 style="border:{!borderColor}">
<apex:outputText value="{!myValue}"/>
</h1>
<p>
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 23/43
</p>
<p>
</p>
<p>
</p>
<p>
</apex:component>
Q. List the different collections in Apex.
Collections are known as the different variable types that
can be used in Salesforce for recording data. At present,
there are three different types of collections available in
Apex which include lists, sets, and maps.
Q. What is the function of @future
annotation in Salesforce?
The future annotations are commonly used to specify
particular methods. They are static methods and require
specified arguments that are either primitive data types or
collections of primitive data types.
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 24/43
Every time a user in Salesforce specifies a method with the
future annotation, it is only executed when sufficient
resources are available.
The future annotation can be used to make an
asynchronous web service callout to a better external
service without any additional processing.
Q. How do you differentiate between setter
and getter methods?
The setter method is commonly used to adjust the value
back to the initial variable of the controller method.
However, the getter method on the other hand is commonly
used to transfer the values from a controller method to the
Visualforce page.
Level 3 Difficulty
Q. What are skinny tables in Salesforce and
what are the key specifications in the
creation of skinny tables?
Skinny tables are used to access fields that are used
frequently. This directly improves the overall performance
of read-only commands like list views and reports. Skinny
tables are highly efficient as they are always in sync with
the main source tables, regardless of the number of
modifications or edits they go through. To use skinny
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 25/43
tables, companies need to get it through to customer
support executives and ask for an activation of the same as
it is not possible to create, modify or access them by
yourself.
Some specifications for skinny tables include:
A maximum of 100 columns in skinny tables
No field data from other available objects can be
included in skinny tables
To activate skinny tables, always contact customer
support executives at Salesforce as only they have the
right external object needed to get access to custom
skinny tables
Q. What are the different ways of sharing a
record on Salesforce?
There are multiple ways to share a record of Salesforce
and each of them is based on the below-mentioned
factors:
The first way to share a record is based on role
hierarchy. Under this, each time a new user is added to
a particular role, the user about the new user will have
complete access to all the records and permissions that
are to be granted to it.
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 26/43
Another way to share a record on Salesforce is through
organization-wide defaults under which, all users within
an organization are given permissions with the defined
baseline setting. It further also defines the accessibility
level per user to view other users' lists and records.
Manual sharing is another way of sharing a file wherein
a single file or record can be shared with either one user
or a group of users by granting an increased manual
level of access. The manual sharing button is available
on the detail page of any record but is only visible when
the OWD setting is set to private.
Other than these, the lesser-used forms for sharing a
master record include Apex sharing or criteria-based
sharing that comes with their own set of rules and
guidelines.
Q. What is the sales tracking mechanism in
Salesforce in a business scenario?
As part of the tracking mechanism in Salesforce for a
business scenario, it completes the sales tracking by
considering the custom text values and custom object
records that include the following:
Customers that are handled and served every day
Sales volume per day
Sales manager reports
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 27/43
Sales per month and quarter
Reports of repeat customers' activities
Q. What are the key differences between the
global and public classes?
In simple words, public classes are only accessible to the
namespaces that are in correspondence with the current
namespace indication. However, on the other hand, a
global class is accessible on the entire Salesforce platform,
regardless of the namespace specifics.
Q. Differences between the normal Apex
and batch Apex custom links?
When comparing normal Apex and batch Apex, there are
multiple differentiating factors and some of them include
the following differences:
When it comes to records per cycle for SOQL execution,
a normal Apex uses approximately 100 records whereas
a batch Apex uses 200 records in each cycle.
For SOQL queries, normal Apex can retrieve
approximately 50,000 queries but batch Apex can go up
to retrieving around 50,000,000 SOQL queries.
The heap size of normal Apex is approximately 6 MB
whereas batch Apex comes with a heap size of a
minimum of 12 MB.
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 28/43
For bulk records, the potential of error vulnerability is
higher for normal Apex classes in comparison to batch
Apex as they are mostly error-less records.
Q. What are the report types available in
Salesforce for a single user?
Reports are highly crucial for effective management as it
allows companies to track their progress based on various
goals including collected revenue, expenditure control, etc.
In addition to that, it allows organizations to observe the
lead trends and use them for better decision-making. The
four different types of reports available in Salesforce
include the following:
1. Summary report
The main purpose of a summary report is to provide an
organization or a company with a list of data based on sub-
totals and groupings. The main purpose is to provide the
companies with a group to report based on either value,
field, or hierarchical structure.
2. Tabular report
A tabular report provides all the necessary organizational
details in a tabular format of any particular line item or
custom object records per product, with the total in the end.
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 29/43
For instance, a list of potential leads, a list of custom links,
etc., in a tabular report.
3. Matrix report
When you group records per column and row, it becomes a
matrix report. For instance, if you wish to see two different
categories or dimensions of a particular item in a custom
tab, you can use a matrix report to summarise. A common
example would be choosing the product category and the
date of purchase to create matrix support.
4. Joined report
This is a report that is created using a combination of
different types of reports together. For instance, combining
the summary report with a matrix report will give you a
joined report which can give companies a better level of
access to database activities for individual accounts.
Q. What is the Visualforce component in
Force.com?
Visualforce component is the user interface (UI) that allows
all job role categories of developers to build a custom yet
sophisticated environment using multiple user interface
components which can then be combined with diverse
Lightning components to shift to the other platform based
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 30/43
on Picklist values. It includes multiple elements like tech-
based language markup, use of a standard controller, and
types of bindings used. The main functionality of the
Visualforce component is based on the standard model of
MVC. It has a strong database integration that can deploy
automatic controllers generated from diverse database
objects as opposed to a standard controller per single user.
Q. What are the different batch Apex class
methods?
In Salesforce, batch Apex allows you to process a large
number of records in smaller, more manageable chunks to
avoid hitting governor limits. Batch Apex is implemented
using a class that implements the Database.Batchable
interface. The batch Apex class must implement three
methods:
1. start() method: This method is called at the beginning
of a batch job and returns a query locator that identifies
the records to be processed. The start method has the
following signature:
global Database.QueryLocator
start(Database.BatchableContext bc)
2. execute() method: This method is called once for each
batch of records and performs the processing logic. The
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 31/43
execute method has the following signature:
global void execute(Database.BatchableContext bc,
List<sObject> scope)
3. finish() method: This method is called at the end of a
batch job and performs any final processing, such as
sending an email or updating a status field. The finish
method has the following signature:
global void finish(Database.BatchableContext bc)
Q. What is a sandbox to production and
how many types are available?
Sandbox to production environment or organizational
scope of work is used for development or further testing by
a current user. The types of sandboxes are completely
separate from the main Salesforce organizational database
and thus, allow experimentation on the duplicate yet
separate database without disturbing the original company
database. The transaction control statements remain the
same along with the types of bindings used.
It is commonly used to test out new forms of applications or
tools without touching the main database or organization
production. This allows companies to develop their custom
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 32/43
applications without losing their database due to errors.
Once complete, the new developments can easily be
migrated to the main production environment.
There are four main Salesforce types of sandboxes
available to explore as per business logic including a
developer sandbox to production, partial data sandbox to
production, developer bro sandbox to production, and full
sandbox to production, all with custom actions for
completion for every single record.
Q. What are the different types of object
relationships in Salesforce and their
standard functionality?
The common types of object relations and their standard
functionality in Salesforce include:
1. Master-detail relationship
Under this object relation, it is a parent-to-child relationship
wherein a master user is created with multiple other users
under it to exercise control. The master user is the
controlling object and thus, the master field can never be
left empty. The master-detail relationship can be set
between two customer objects or between a standard
object and a customer object. However, the relationships
between objects make it well-defined for all users.
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 33/43
2. Lookup relationship
Under a lookup object relation, the main idea is to create a
link between two different objects but neither of them has a
direct dependency on the master object as far as exercise
control is concerned. Unlike the master-detail relationship,
the control will be with the parent or one of the two objects
but the alteration in the records from the parent will not
cause automatic deletion from the child object.
3. Junction or Many-to-many relationship
Also known as many to many object relation, this particular
relationship is used when two different master-detail
relationship sets are required with no solo exercise control.
It can be done using three different custom objects wherein
two objects will be considered master objects and the third
one will be the dependent or the child object.
Q. List the two different types of custom
settings available for custom object records
or custom text values in Salesforce. Do they
offer security on mobile applications?
There are two different types of custom settings available
as part of the context variable under custom text values in
Salesforce. And they are known as role hierarchy custom
settings and list custom settings. Each comes with different
types of bindings used for an improved abstract data type.
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 34/43
Under the role hierarchy type of custom settings, the
custom settings of the sales cloud are used to target the
hierarchy within an organization by personalizing settings
per profile or user for programmatic access. For the list
type of custom settings, a reusable and static data set is
provided to the business which can then be accessed by
anyone in the organization or company, regardless of their
profile or user category. As far as security is concerned,
each of them holds individual pros and cons, and security
on mobile applications is dependent on type, usage and
message.
Q. What is the purpose of test classes in
single-page applications?
In single-page applications (SPAs), test classes are used to
ensure that the application functions as expected and to
catch any potential errors or bugs before the application is
deployed to production. In SPAs, test classes are typically
used to test the functionality of components, such as
controllers, services, and models. Test classes can be
written using testing frameworks, such as Jest or Mocha,
that allow developers to write automated tests for the
application.
Some common types of tests that can be performed on
SPAs include:
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 35/43
Unit tests: These tests check individual components of
the SPA, such as functions or methods, to ensure they
behave correctly.
Integration tests: These tests check how different
components of the SPA interact with each other.
End-to-end tests: These tests check the overall behavior
of the SPA, including how it responds to user
interactions and external APIs.
Q. Why should you expose an Apex class in
Salesforce as a REST web service?
Exposing an Apex class in Salesforce as a REST web
service can provide several benefits, including:
1. Integration with external systems: By exposing an Apex
class as a REST web service, you can enable other
systems to access the functionality of your class over
HTTP. This allows you to integrate with external systems
that may not be able to directly access Salesforce.
2. Platform independence: REST web services are
platform-agnostic, which means that any system that
can send HTTP requests can use your web service. This
makes it easier to integrate your Salesforce application
with a wide range of other systems and platforms.
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 36/43
3. Lightweight communication: REST web services use
lightweight communication protocols like JSON or XML,
which are more efficient than SOAP-based web
services. This means that your web service can transfer
data quickly and with less overhead.
4. Customization: You can customize your REST web
service to suit your specific needs. For example, you can
control the format of the response, implement custom
authentication, and set up rate limiting.
5. Access control: By exposing your Apex class as a REST
web service, you can control who has access to your
functionality.
Q. What are the key differences between the
standard and custom controller sets? Is a
standard controller more beneficial?
Custom controller attribute or controller method is a
written class category in Apex. It uses the logic behind a
page or code without using the available types of
collections of standard controllers. The main reason why
custom controllers are used is when businesses want to
run a Visualforce page in system mode, using code that
allows no recognition of any security or permissions
levied on the current user. Custom controllers, as types
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 37/43
of collections, are very effective in individual Salesforce
environment development.
The standard controller method on the other hand is
created for a standard page of Salesforce. It contains
the same functionality, code, sharing settings and logic,
and can easily be utilized for both single-unit custom and
standard objects without any hassle or security
concerns.
Overall, between standard and custom controller sets, the
standard controller is easier to integrate for new users with
improved user interface components.
Q. How to call the controller method from a
programming language like JavaScript in
Apex Salesforce?
In Salesforce, you can call a controller method from
JavaScript using the Apex Remote Actions feature. This
feature allows you to expose Apex controller methods as
remote actions that can be called from JavaScript code on
a Visualforce page or a Lightning component.
To call a controller method from JavaScript, follow these
steps:
1. In your Apex controller class, define a method with the
@RemoteAction annotation. This annotation identifies
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 38/43
the method as a remote action that can be called from
JavaScript.
public class MyController {
@RemoteAction
public static String myRemoteAction(String param1,
String param2) {
// Code for the remote action
return 'Result of the remote action';
}
}
2. In your Visualforce page or Lightning component, add a
JavaScript function that calls the remote action. You can
use the $RemoteAction global variable to reference the
remote action method.
For example:
<apex:page>
<script>
function callRemoteAction() {
var action =
'{!$RemoteAction.MyController.myRemoteAction}';
var param1 = 'Value1';
var param2 = 'Value2';
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 39/43
// Call the remote action
Visualforce.remoting.Manager.invokeAction(
action,
param1,
param2,
function(result, event) {
// Handle the result of the remote action
}
);
}
</script>
<button onclick="callRemoteAction()">Call Remote
Action</button>
</apex:page>
In this example, the callRemoteAction() function calls the
MyController.myRemoteAction() method with two
parameters. The
Visualforce.remoting.Manager.invokeAction() method
sends the parameters to the server and handles the result
of the remote action.
Q. What are the key differences between
Visualforce and Lightning developments
and are they external service providers?
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 40/43
Both Lightning Platform and Visualforce are two separate
frameworks with their collection of tools that can be
incorporated by developers and sales managers to create
custom interfaces on Salesforce. For Visualforce, it is
based on markup language on the code tag as standard
button functionality while the Lightning components of the
framework are based on UI and comprise mixed features
from JavaScript and HTML. As per sales managers with
Salesforce training, they are not external service providers
but do offer new frameworks and a diverse collection of
tools to explore.
Q. Can you customize the feel of the Apex
Salesforce environment or platform
database as a company? If yes, explain
how?
With the help of the new Salesforce Lightning components,
businesses and organizations can benefit from a list of
automatic exceptions like the inbuilt exception to now
custom-make their Salesforce environment or UI on the
Salesforce platform database. There is a feature called
themes as a part of Lightning components which allows
you to play with colors, add a new background image on
your record pages and change the way you represent your
logo on the custom app for the customers to view, within
the mentioned security policies.
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 41/43
Q. What is the sharing rule and validation
rule in Salesforce?
A sharing rule is part of the multiple development tools
amongst the collection of tools available within the 100
built-in components in Salesforce in one single record. As
per business logic, with the use of the sharing rule, users
can extend the sharing accessibility to different roles, public
groups, etc., for the better.
Under the validation rule in Apex Salesforce, users can
verify all the entered code records, unit tests and data
based on the specified standards set by a user before
saving the final record. With the validation rule, using a
formula, data is evaluated between true values or false
values to maximize accuracy on this platform database.
Behavioral Questions
Under this category, employers are particularly looking to
understand the problem resolution ability of a candidate
based on personal knowledge, rule criteria and the overall
interview preparation. The questions are not directly
targeted to Salesforce alone but instead focus on a more
wholesome capability test. The questions are about
situational problems to test the candidate's critical thinking
ability to resolve the problem at hand. The most commonly
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 42/43
asked questions under this category during the technical
recruitment process include the following:
Describe a particular situation where you found yourself
in the middle of a conflict at work?
Tell us about a task or project that was wrongly executed
by you and how you handled it?
Have you ever led a team? What were your key
learnings?
To answer these behavioural questions, it is important to
spend time on interview preparation and make it as
personal as possible by revisiting incidences or situations.
As part of interview preparation for such questions, you
need to think of a time wherein you were put up in a
leadership role and were made to make decisions. Do not
fluff up the answers to impress but be genuine to
successfully convince the employers of your capabilities.
Can Salesforce training help?
In conclusion, securing yourself a job at Salesforce by
nailing the job interview can be a great opportunity for all
engineering students who have a knack for technical know-
how. To successfully stand out amongst the numerous
candidates with your job application and thorough interview
preparation, it is important to understand each job interview
Table of content: keyboa
Technical Interview Questions and Answers
3/16/24, 9:59 AM Top Salesforce Interview Questions 2023 (Technical + HR) // Unstop
https://unstop.com/blog/salesforce-interview-questions 43/43
question with the help of the above-mentioned question
bank, with a relevant answer key in your native language.
Other than that, always research the company before going
in for a job interview and understand what the recruiter is
trying to ask before answering each job interview question.
In addition to that, be confident while replying to every
question as it proves your credibility to the recruiter. For
further support, you can take up instructor-led live training
sessions to exercise control of speed along with exercise
control on the flow of answers during an interview. All the
best!
You may also like to read:
1. What Is Terminal In Linux? | Components, Types &
Standard Commands
2. Important BYJU's Interview Questions That Will Help
You Prepare Better
3. Declaration In Resume | How To Write, Format,
Examples, And Tips
4. 10 Best Career Options For Students Today
5. An Overview Of The Career Options After 12th Science
Table of content: keyboa
Technical Interview Questions and Answers