Salesforce Question and Answers
Salesforce Question and Answers
These 100+ questions to help you prepare for your Salesforce Admin and
Development. The questions in the guide are typically designed to test a candidate's
knowledge of Salesforce concepts and their ability to apply these concepts to solving
the business use case.
2. What is SaaS?
- SaaS stands for Software as a Service. It is a cloud computing model where software’s are
provided over internet as a service.
3. What is PaaS?
- PaaS stands for Platform as a Service. It is a cloud computing model where third-party
provider delivers a platform for customers to deploy and maintain their applications without
any complexity of maintaining the infrastructure.
4. What is Salesforce?
- Object in Salesforce acts like a database table that stores data for a specific type of record.
Standard objects are available by default in your Salesforce org such as Accounts, Contacts,
Lead. Custom objects are created by users to meet the business requirements.
- Objects that are created in-order to map data stored outside your Salesforce org are called
external objects.
- Fields in Salesforce represent the data which is stored as a part of an object or record type.
Depending on the business requirements, fields can be used to store different types of data
like currency, percent, and date.
- Tab is a user interface element that provides access to a specific object in the system. Each
tab represents a single object
- A record is a collection of fields within an object. Records can be created, edited, and
deleted by users with appropriate permissions.
Different record types in Salesforce allows us to display some specific fields to users based on
their profile.
11. Can Standard object be on the detail side of the Master-detail relationship?
- No, Standard object cannot be on the detail side if we have custom object as Master of the
Master-detail relationship.
- Standard fields are pre-defined Salesforce fields. We cannot delete a standard field unless it
is a non-required standard field. Example of some common standard fields are Created By,
Owner, Last Modified By.
13. How many custom fields can be created per object in Salesforce?
- Depending on the Salesforce org edition, the limit has been defined for maximum number of
custom fields to be created per object.
- Either you can create 38 look-up and 2 Master-Detail relation fields, or you can create all 40
as look-up fields as per your requirement.
- Sandbox is a replica of production Org. It allows you to configure, customize and test your
functionalities without impacting your live data and processes.
17. Explain different types of Salesforce sandbox?
- Roll-Up Summary Fields summarize data from a group of related child records and presents
the output on the master record. You can choose from a variety of functions, including SUM,
COUNT, MIN, MAX, and AVG
19. How many Roll-up summary fields can be created per object?
- Yes, we can do that, but we need to DELETE the rollup summary field on the Master
record if it is created before the master-detail to lookup conversion.
- Profile is a collection of permissions and settings that determines what a user can see and
configure in the Salesforce org. User can check the profiles available in your Salesforce
instance in following way.
Setup >> Enter “Profiles” in Quick Find Box >> Select Profiles
- Page layouts are responsible for displaying fields on a record to your users. These layouts
enable you to include various elements such as fields, sections, links, and custom buttons,
along with a few other features, to enhance the user experience.
23. Can two users have same Salesforce profile?
- Roles are used to define how users relate to each other in a hierarchy in your
organization.
- Governor limits in Salesforce are a set of pre-defined limitations of the Salesforce platform.
If it has been breached an exception message has been thrown.
- Set up Audit trail tracks the setup changes which you make in the Salesforce org. You can
download your org’s complete history of last 180 days.
Set up >> type “Setup Audit Trail” in Quick Find Box >> Select “View Setup Audit Trail”
- Automation tools allow you to solve complex business requirement using low-code/no-code
approach. Example of automation tools are Workflows, Process Builders and Flows.
- Salesforce flow is an automation tool that allows you to build and automate business
processes without requiring any coding skills. Flows can be used to collect and update data,
automate approvals, create records, and perform other tasks.
31. How many maximum Flow versions can be there for each Flow?
- 50, to create more flow versions, you need to delete the older versions.
- Flow template are pre-designed Flows that allow businesses to utilize these Flow structure
and modify them according to their business requirements.
- In Salesforce, a report consists of a collection of data that satisfies the parameters set by the
user. This data is presented in a tabular format with rows and columns. The report can also be
customized further by applying filters, grouping the data, or visualizing it in a graphical chart.
- In Salesforce, a Bucket Field is a custom field that enables you to categorize values of an
already existing field into different buckets, determined by specific criteria.
When creating a Bucket Field, you can define the criteria for each bucket based on the field
you are using to create the buckets.
- Dynamic dashboards allow for personalized data visibility by enabling each user to view the
data they have permission to access.
- Email templates allow you to create dynamic email templates including customized header,
Buttons, HTML Tags etc.
- Using CASESAFEID()
- Formula fields are the Salesforce custom fields which provide values determined
based on certain formulas and parameters. These fields possess read only properties
means we cannot edit and enter any value in this field.
42. How can you keep a track on login history of a user in your Salesforce Org?
- Using Login History feature from the setup menu we can achieve this. The login history of
your organization for the past 6 months can be accessed and downloaded by you.
43. How many logins history record we can track using Login History in
Setup?
- Salesforce Object Search Language is an efficient method for searching for records within
Salesforce among various Objects in a single query.
When executing a SOSL query, a list of sObjects is returned, and this search can be conducted
across various objects simultaneously.
45. What is SOQL in Salesforce?
- Salesforce Object Query Language is to fetch data from the Salesforce database based on
specific objects and conditions. You used SOQL only when you are sure in which object the
data is supposed to be queried.
- With the Data Import Wizard, you can easily bring in data for various standard Salesforce
objects such as accounts, contacts, leads, solutions, campaign members, and person accounts.
Additionally, you can import data for custom objects.
It allows you to import a maximum of 50,000 records in one go. We cannot import
Opportunity object records into Salesforce using Data Import Wizard.
- The Salesforce data loader is a tool designed for efficiently importing and exporting data in
bulk. It enables you to swiftly move large amounts of data into Salesforce and monitor the
transfer progress.
- The Salesforce Inspector is a chrome extension used for resolving issues and debugging
problems in a Salesforce environment.
It enables users to inspect specific records and their associated fields, leading to faster and
more efficient issue identification and resolution.
- A flow interview refers to a particular execution of a flow, which represents a complete run
of that flow.
- In Salesforce flows, a fault connector is a connector that facilitates the management of errors
and exceptions that might arise while executing the flow.
This type of connector helps you to respond to various error types by performing actions like
sending email notifications or presenting error messages to the user.
51. What is Apex programming language in Salesforce?
- Types of asynchronous jobs are Future methods, Batch apex, Queueable apex and scheduled
apex.
- With Batch Apex in Salesforce, it is possible to define a single job that can be divided into
smaller, more manageable portions that will be handled independently.
This is accomplished using a global class known as Batch Apex, which implements the
Database.Batchable interface.
- A trigger is a block of code that gets executed either before or following the insertion or
updating of a record.
- Before Trigger: These triggers are used to update or validate before they are saved in the
database.
After Trigger: An after trigger in Salesforce is utilized to retrieve the field values established
by the system and modify any changes made to the record.
In simpler terms, this trigger is responsible for modifying the values based on the data inserted
into another record.
- Custom Settings are like custom objects as they are utilized to generate customized sets of
data.
- Validation rules are like a set of rules that check if the information entered by you into the
record meets certain standards. These rules make sure that the information is correct before it
can be saved.
- When a parent record is deleted its associated child record also gets deleted.
- Salesforce Queues comprise of records that are unowned. Any user with access to the queue
can review all the records within it and take ownership of the ones they choose.
Records can be added to the Queue manually by changing the record’s owner
- Public groups serve the function of allocating resources or items to a collective that is
intended to be accessible and utilized by all members of an organization.
64. What is Future Annotation in apex?
- Static resources are useful for storing and uploading various types of files, such as images,
documents, zip files, JavaScript files, and CSS files. The storage capacity for static resources
is limited to 250MB.
- Custom Metadata Types in Salesforce resemble custom objects, but they are designated with
a different API namespace suffix, namely " mdt".
These types of metadata store records in a memory cache, resulting in faster data retrieval
when executing a query.
- Each batch has three methods to be implement. These are start(), execute() and finish().
The start method is the first one that runs at the beginning of the job. Its purpose is to gather
the records or objects that need to be processed by the execute method.
The execute method gets executed for every set of records that are passed to it. Its main
function is to handle all necessary processing for each group of data.
The finish method is used for carrying out post-processing tasks, such as sending
confirmation emails or running additional operations after all batches have been processed.
This method is called once all batches have been completed.
- Framework for migrating changes (no-code and coded) from one sandbox to another is
known as Deployment.
73. Name some tools that can be used for deployment in Salesforce?
74. What is the difference between freeze user and deactivate user in Salesforce?
- When a user is frozen in Salesforce, their access to the Salesforce organization is restricted
while their Salesforce license is still assigned to them.
On the other hand, apart from restricting the access to the org, deactivating a user in
Salesforce makes their license available for assigning to another user.
- A permission set is a collection of settings and permissions that has been assigned to the user
to extend its access in the Salesforce org.
- Debug logs are system log that keep track of data on how procedures are carried out on the
Salesforce platform. It can provide information about any exceptions or failures that take
place during the execution.
77. What is the minimum test coverage required for deploying a class?
- 75%
78. What is @isTest annotation in Apex test class?
- By adding this annotation, a class is marked as a test class and granted the ability to execute
within the Salesforce testing framework.
- Flow builder is user interface used for building Flows in Salesforce. It consists of three main
components namely Canvas, Toolbox and Button bar.
- Change sets are used to the migrate customizations from one Salesforce instance to another.
There are two types of change sets, outbound change set and inbound change set.
Unlimited Edition, Performance Edition, Personal Edition, Contact Manage Edition and
Developers Edition.
- The Global picklist value set are reusable set of picklist values which can be used in multiple
custom picklist fields across multiple objects.
- Using field tracking it is possible to monitor changes made to particular fields and any
related record fields.
- Organization level, Object level, Field level and Record level security.
- Login hours Salesforce feature prevents login outside the specific hours.
- In Salesforce, a Joined Report merges multiple reports of different types into a single view,
creating a comprehensive data view that appears like a single report.
- Using App Launcher, we can find different Salesforce applications present in our Salesforce
org.
- Organization wide default, Object level, record level and field level security.
- Inline editing is a feature that lets you modify a field's value without opening the record.
You can edit a record from various places such as list view or report, without needing to
navigate to the record page.
- Manual sharing in Salesforce is a way to share the record with the users using share button
on the record.
- No, permission sets are always used to extend the permissions and not to restrict
them.
- OWD stands for Organization Wide Defaults which defines the baseline access for a
Salesforce record.
94. Can we delete standard profiles in Salesforce?
- No, we cannot delete standard Salesforce profiles, but we can modify certain fields on the
standard profiles.
96. How many fields can be added to each custom report type?
- AppExchange is a marketplace for Salesforce applications which can be used to extend the
Salesforce implementation. There are many free and paid apps available in app exchange.
The package creator can control the level of access and permissions for each component in
the package, including which objects, fields, and Apex classes are visible and editable by
users in the org where the package is installed.
100. How to configure to receive error emails while debugging a Salesforce Flow?
- Setup >> Process Automation >> Process Automation settings >> Send Process or Flow
Error Email to
101. How to store error message using fault connector to display to the user?