Are you preparing for your next Salesforce interview and looking for Salesforce Interview Question & Answers?
Well, you’re at the right place. This blog post consist of important Salesforce interview questions with carefully prepared answers to guide you through the interview process with confidence.
We have covered various topics such as Salesforce architecture, data modeling, customization and configuration, Apex programming, process automation, security, and more in the blog post.
This Salesforce Interview Question & Answers set is a great resource for someone who is looking to start their professional career in Salesforce ecosystem.
Question 1. What is Cloud Computing?
Answer- Cloud computing is on-demand availability of computing services delivered over internet including databases, servers, and software’s.
Question 2. What is SaaS?
Answer- SaaS stands for Software as a Service. It is a cloud computing model where software’s are provided over internet as a service.
Question 3. What is PaaS?
Answer- 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
Question 4. What is Salesforce?
Answer- Salesforce is a cloud-based CRM (Customer relationship management) tool providing a wide range of cloud applications like Marketing Cloud, Service Cloud, Sales Cloud and many more. Salesforce is developed on the top of Force.com platform.
Question 5. What are advantages of using Cloud computing?
Answer- Following are the advantages of Cloud computing:
- Cost savings: You are only charged for the resources you utilize, without any upfront investment needed.
- Scalability: Easily scale resources based on your demand.
- Flexibility: You can conveniently access resources and applications from anywhere as long as you have an internet connection.
- Security: Cloud providers typically implement robust security measures to safeguard data.
Question 6. What is multi-tenancy in cloud computing?
Answer- Multi-tenancy in cloud computing means that the system can serve many users or organizations. It does this by keeping their resources and data separate and secure. This allows for efficient sharing of resources while keeping each user’s data private.
Question 7. What are different Salesforce editions?
Answer- Essential Edition, Professional Edition, Enterprise Edition, Unlimited Edition, Performance Edition, Personal Edition, Contact Manage Edition and Developers Edition.
Question 8. How can you navigate to different Salesforce applications?
Answer- Using App Launcher, we can find different Salesforce applications present in our Salesforce org.
Question 9. What is multi-tenant architecture of Salesforce?
Answer- Multi-tenant architecture refers to a design approach where multiple users access to one instance of the system.
Question 10. What is App Exchange?
Answer- 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.
Question 11. Where can you submit, discuss, and vote on ideas related to Salesforce products and services?
Answer- Salesforce IdeaExchange is a website where people who use Salesforce can share their ideas about how to make it better.
Question 12. Tool that allows developers to write, debug, and test code directly within the Salesforce platform is known as?
Answer- Developer Console.
Question 13. How can user represent a data model to stakeholders in Salesforce?
Answer- Using Schema Builder.
Question 14. Which Salesforce functionality enables users to search for records across all objects?
Answer- Global Search.
Question 15. Where can a user navigate to refer latest documentation about a Salesforce functionality?
Answer- Salesforce help
Want to Learn Salesforce Flows? Learn with our Salesforce Flow Course
Question 16. What is Object in Salesforce?
Answer- 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 and Lead. Custom objects are created by users to meet the business requirements.
API Name of Custom object ends with __c.
Question 17. What are external objects in Salesforce?
Answer- Objects that are created in-order to map data stored outside your Salesforce org are called external objects.
Question 18. What are Fields in Salesforce?
Answer- 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.
Question 19. What are TABs in Salesforce?
Answer- Tabs is a user interface element that provides access to a specific object in the system. Each tab represents a single object.
Question 20. What is a record in Salesforce?
Answer- 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.
Question 21. What are different types of relations in Salesforce?
Answer- Lookup Relationships (One to Many): It is a loosely coupled relationship between two objects where if the parent record gets deleted, child record remains in the system.
Master Detail Relationships (One to Many): It is a strongly coupled relationship between two objects where if the parent record gets deleted associated child record also get deleted.
Many-to-Many Relationships: In Salesforce, a junction object is utilized for establishing many-to-many. This is used when the normal parent-child or one-to-many relationship isn’t suitable.
Question 22. Can Standard object be on the detail side of the Master-detail relationship?
Answer- No, Standard object cannot be on the detail side if we have custom object as Master of the Master-detail relationship.
Question 23. What are standard fields in Salesforce record?
Answer- 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.
Question 24. How many custom fields can be created per object in Salesforce?
Answer- Depending on the Salesforce org edition, the limit has been defined for maximum number of custom fields to be created per object.
Personal Edition – 5, Contact Manager – 25,
Group Edition – 100, Essentials Editions – 100,
Professional Edition – 100, Enterprise Edition – 500,
Unlimited and Performance Edition – 800,
Developer Edition – 500
Question 25. At max how many field relationships can be created on an object?
Answer- Maximum 40 relationships can be created on an object.
Question 26. Where should a user navigate to know about the deleted fields in Salesforce?
Answer- Object Manager Select an Object Fields & Relationships deleted Fields
Question 27. How many lookup relationship fields can be created in an Object?
Answer- 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.
Question 28. What is Sandbox in Salesforce?
Answer- Sandbox is a replica of production Org. It allows you to configure, customize and test your functionalities without impacting your live data and processes
Question 29. Explain different types of Salesforce sandbox?
Answer-There are four types of Salesforce sandboxes as follows:
• Developer Sandbox: Developer Sandbox is used for individual developers or small teams. It has storage limit of 200MB.
• Developer Pro Sandbox: This type of Sandbox is like a Developer Sandbox, but it has more storage capacity and allows for more customization. It has storage limit of 1GB.
• Partial Copy Sandbox: This type of sandbox is a partial copy of production
environment. It allows you to copy a subset of production data to the sandbox. It has storage limit of 5GB.
• Full Sandbox: It is an exact replica of your production environment including all metadata. It has storage limit same as your production org
Question 30. What is Roll-Up Summary Fields?
Answer- 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.
Question 31. How many Roll-up summary fields can be created per object?
Answer- 40 per object is the maximum limit.
Question 32. Can we convert a Master – Detail relation to Lookup?
Answer-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.
Question 33. What is Profile in Salesforce?
Answer- 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.
Question 34. What are page layouts in Salesforce?
Answer- Page layouts display fields on a record to your users.
These layouts allow you to include various elements such as fields, sections, links, and custom buttons, along with a few other features, to enhance the user experience.
Question 35. Can two users in Salesforce have same profile?
Answer- YES, but one user cannot have multiple profiles.
Question 36. What is formula field in Salesforce?
Answer- 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.
Question 37. What is SOSL in Salesforce?
Answer-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.
Question 38. What is SOQL in Salesforce?
Answer- 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.
Question 39. What is Data Import Wizard?
Answer- 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.
Question 40. What is Data loader in Salesforce?
Answer- 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.
It allows you to import a maximum of 50,00,000 records in one go.
Question 41. What is Salesforce Inspector?
Answer- 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.
Question 42. Is creating the Roll-up Summary field possible in look-up relationships?
Answer- No, it is only available in master-detail relationship
Question 43. What is custom settings in Salesforce?
Answer- Custom Settings are metadata like custom objects, utilized to generate customized sets of data.
It can be linked with an organization, profile, or an individual user. To manage accessibility of the custom setting, it can be designated as either public or protected.
Question 44. What are different types of custom settings?
Answer- List Custom Settings and Hierarchy Custom Settings
Question 45. Explain validation rules in Salesforce?
Answer- 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.
Question 46. What is Cascade delete in Salesforce?
Answer- When a parent record is deleted its associated child record also gets deleted. this phenomenon in Salesforce is known as Cascade deletion.
Question 47. What is static resource in Salesforce?
The storage capacity for static resources is limited to 250MB.
Question 48. What are custom metadata types in Salesforce?
Answer- 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.
Question 49. What is Global Picklist Value Set?
Answer- The Global picklist value set are reusable set of picklist values which can be used in multiple custom picklist fields across multiple objects.
Question 50. Which Salesforce field type perform calculations based on other fields’ values?
Answer- Formula field.
Question 51. What type of relationship exists between an Account and a Contact Object?
Answer- Lookup relationship, despite not being in a Master-Detail Relationship, these standard objects exhibit similar behavior due to the ability to control record access for Contacts through their parent records.
Question 52. What is inline editing in Salesforce?
Answer- 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.
Question 53. Can the Data Import Wizard can be used to delete records in Salesforce?
Answer- No, The Data Import Wizard allows you to import, update, or upsert records, but it does not support record deletion.
Question 54. Which field type enables users to input alphanumeric combinations and securely store them in encrypted form?
Answer- Text (Encrypted)
Question 55. Which type of custom field would allow users to choose multiple options from a list?
Answer- Multi-select picklist.
To know more about picklists in Salesforce click here
Question 56. What are Automation tools in Salesforce?
Answer- 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.
Question 57. What is Flow?
Answer- 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.
Question 58. What is Flow Builder?
Answer-Flow Builder is user interface used for building Flows in Salesforce. It consists of three main components namely Canvas, Toolbox and Button bar.
Question 59. Can you create new Process Builders in Salesforce?
Answer- As per Summer’23 release, Salesforce has restricted creation of new Process Builders.
You can still modify previously created Process Builders in your Salesforce org.
Question 60. What are different types of Flow in Salesforce?
Answer- Screen Flow, Auto-launched Flow, Record Triggered Flow, Schedule-Triggered Flow, Platform Event – Triggered Flow.
Question 61. What is Flow Interview?
Answer-A flow interview refers to a particular execution of a flow, which represents a complete run of that flow.
Question 62. How many maximum Flow versions can be there for each Flow?
Answer- 50, to create more flow versions, you need to delete the older versions.
Question 63. What is Flow template?
Answer-Flow template are pre-designed Flows that allow businesses to utilize these Flow structure and modify them according to their business requirements.
You can access these templates from Alt + Templates Tab
Question 64. What are fault connector in Salesforce Flow?
Answer- In Salesforce flows, a fault connector is a connector that facilitates the management of errors and exceptions that might arise while executing the flow.
Question 65. What is the latest API version used in Salesforce Flows?
Question 66. What is the difference between a flow and a flow template?
Answer- A flow is a customized business solution created by a user. While a flow template is a pre-built, reusable flow provided by Salesforce, which can be customized to fit specific requirements.
Question 67. What are Salesforce Flow best practices?
Answer- Following are the Salesforce best practices:
- Always test your Flows
- Consider Using Subflows
- Never Perform DML Statements In Loops
- Document your Flows
- Never Hard Code Ids
- Plan for fault handling
Question 68. Can we trigger time dependent flows in Salesforce?
Answer- Yes, scheduled Flows can be used to perform this task.
Question 69. What are email templates in Salesforce?
Answer- Email templates allow you to create dynamic email templates including customized header, Buttons, HTML Tags etc.
Question 70. What are different types of classic email templates in Salesforce?
Answer- Text, HTML with LetterHead, Custom and VisualForce.
Question 71. How to configure to receive error emails while debugging a Salesforce Flow?
Answer- Setup >> Process Automation >> Process Automation settings >> Send Process or Flow Error Email to.
Question 72. What are different security levels in Salesforce?
Answer-Organization level, Object level, Field level and Record level security.
Question 73. What is Organization Wide Defaults setting?
Answer- Organization Wide Defaults or OWD defines the baseline access for a Salesforce record.
Question 74. How can you keep a track on login history of a user in your Salesforce org?
Answer- 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 user.
Question 75. How many login history record we can track using login history in Setup?
Answer- 20000 records of last six months can be tracked.
Question 76. Can we delete a user from our Salesforce org?
Answer- You can deactivate a user in Salesforce but cannot delete it.
Question 77. Explain queue in Salesforce?
Answer- 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.
The purpose of queues in Salesforce is to facilitate the allocation, distribution, and
prioritization of records to teams that share work responsibilities.
Question 78. What are public groups in Salesforce?
Answer- 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.
Question 79. Can we delete a user from our Salesforce org?
Answer- You can deactivate a user in Salesforce but cannot delete it.
Question 80. What are sharing rules in Salesforce?
Answer- Sharing rules help user to share records based on certain conditions.
Question 81. What are different types of sharing rules?
Answer- The two types of Sharing rules are owner-based sharing rules and criteria-based sharing rules
Question 82. What is deployment in Salesforce?
Answer- Framework for migrating changes (no-code and coded) from one sandbox to another is known as Deployment.
Question 83. Name some deployment tools that can be used for deployment in Salesforce?
Answer- Gearset, Ant migration tool, Copado and Flosum.
Question 84. What is difference between freeze user and deactivate user in Salesforce?
Answer- 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.
Question 85. What are permission sets?
Answer- 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.
Question 86. What are change sets in Salesforce?
Answer- 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.
Question 87. What is field tracking in Salesforce?
Answer- Using field tracking it is possible to monitor changes made to particular fields and any related record fields.
Question 88. What Salesforce feature would restrict users from logging in outside of specific hours?
Answer- Login hours Salesforce feature prevents login outside the specific hours.
Question 89. What is manual sharing?
Answer- Manual sharing in Salesforce is a way to share the record with the users using share button on the record.
Question 90. Is it possible to restrict permission for users using permission set?
Answer- No, permission sets are always used to extend the permissions and not to restrict them.
Question 91. Can we delete standard profiles in Salesforce?
Answer- No, we cannot delete standard Salesforce profiles, but we can modify certain fields on the standard profiles.
Question 92. Can we create a Salesforce user without assigning a profile?
Answer- No, we can create a user without assigning a role but we need to assign a profile.
Question 93. What is trigger in Salesforce?
Answer- A trigger is a block of code that gets executed either before or following the insertion or updating of a record.
Question 94. What are two main types of triggers in Salesforce?
Answer- 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.
Question 95. What is Apex in Salesforce?
Answer- Apex is an object-oriented programming language available on the Salesforce platform, which enables developers to execute custom functionality development in Salesforce.
This language utilizes syntax that closely resembles to that of Java.
Question 96. What are different types of asynchronous apex jobs?
Answer- Types of asynchronous jobs are Future methods, Batch apex, Queueable apex and scheduled apex.
Question 97. What is Batch Apex in Salesforce?
Answer- 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. Maximum batch size can be of 2,000 records.
Question 98. What in Future Annotation in apex?
Answer- Future annotation is used when we want to execute an apex method asynchronously in Salesforce.
Question 99. Explain the methods of Batch Apex Class?
Answer- 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
Question 100. What are debug logs in Salesforce?
Answer- 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.
Question 101. What is the minimum test coverage required for deploying a class?
Question 102. What is @isTest annotation in Apex test class?
Answer- By adding this annotation, a class is marked as a test class and granted the ability to execute within the Salesforce testing framework.
Reports and Dashboards
Question 103. What are Reports in Salesforce?
Answer- 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.
Question 104. What are different types of Reports available in Salesforce?
Answer- Tabular, summary, joined and matrix reports.
Question 105. What are Dashboards in Salesforce?
Answer- Dashboards are the visual representation of reports in Salesforce.
Question 106. Which type of report can be used for dashboard components?
Answer- Summary reports and Matrix reports.
Question 107. What is Bucket field in Salesforce reports?
Answer- 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.
Question 108. How many bucket fields can be added for each report type in Salesforce?
Answer- Upto 5 bucket fields.
Question 109. What are dynamic dashboards in Salesforce?
Answer- Dynamic dashboards allow for personalized data visibility by enabling each user to view the data they have permission to access.
Dynamic dashboards cannot be saved to personal folders.
Question 110. What is Joined Report in Salesforce?
Answer- 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.
Question 111. How many components can be added to a Salesforce dashboard?
Answer- Each dashboard can have upto 20 components.
Question 112. How many fields can be added to each custom report type?
Answer- 1,000 fields can be added.
Wondering how to register for the Salesforce exam? Check out the blog below👇