Salesforce Administrator Interview Question & Answers

Salesforce Administrator Interview Question & Answers

Hello geeks, welcome back to yet another edition of the Geeky Shots newsletter ??

In this edition of our newsletter, we have discussed the most commonly asked Salesforce admin-related interview questions.

Question 1. What are the different types of objects in Salesforce?

Answer - There are three different types of objects in Salesforce namely:

  1. Standard Objects - These are the objects provided by default by Salesforce and we cannot delete them. Eg: Account, Contact, Opportunity and many more.
  2. Custom Objects - These are the objects created by the users according to their business requirements and can be deleted if not required.
  3. External Objects - External objects in Salesforce are like custom objects, but there's a key difference: the data for external objects is stored outside your Salesforce organization. Instead of bringing that data directly into your Salesforce setup, external objects allow you to access it in real time through web service callouts.

Question 2. What are the different types of relationships in Salesforce?

Answer - The following are the different types of relationships in Salesforce:

  • Lookup Relationships
  • Master-Detail Relationship
  • Many-to-Many Relationships
  • Self Relationship
  • External Relationships
  • Hierarchical Relationships

Question 3. What is the relationship between Account and Opportunity Object in Salesforce?

Answer - While they have a lookup relationship, they also feature a cascade delete property. Consequently, if a record in the Account object is deleted, its associated opportunity records are automatically removed as well.

Question 4. How to convert a Master-detail relationship between two objects to a Lookup relationship?

Answer - The following points are to be considered before converting a master-detail relationship to a lookup relationship:

  1. Verify if the field creating the Master-detail relationship is used in any automation tools, apex classes or triggers.
  2. Delete all the roll-up summary fields on the Parent object.

Question 5. Can a Salesforce administrator change the Report owner in Salesforce?

Answer - You cannot change the owner of a report. Report owners are essentially the individuals who created the reports and this ownership cannot be modified.

Question 6. What are the org-wide default or OWD settings in Salesforce?

Answer - Organization-wide defaults (OWD) in Salesforce establish the foundational level of access that the most restricted user within the organization should possess. These defaults play a crucial role in access control, acting as a framework to limit access to records.

Question 7. What are custom metadata types in Salesforce?

Answer - Creating a Custom Metadata Type in Salesforce is akin to crafting custom objects or custom settings. The unique aspect is that the records within a custom metadata type are considered metadata, not regular data. Both the Custom Metadata Type and its records can be moved from one Salesforce organization to another during deployment.

An important advantage is that Custom Metadata types do not contribute to the SOQL query limit for each APEX transaction, providing flexibility in managing and deploying metadata configurations.

Question 8. What are validation rules in Salesforce?

Answer - In Salesforce, validation rules are used to ensure that data entered into records meets specific criteria before the records can be saved. These rules help maintain data integrity and accuracy by preventing users from entering invalid or inconsistent information.

Question 9. When are validation rules triggered in Salesforce?

Answer - Whenever a record on an object is created or updated a validation rule is triggered.

Question 10. How can a Salesforce Admin configure a custom mobile number field so the user always enters the value in the following format 123-456-789?

Answer - The Regex() function along with validation rules can be used to validate if the mobile number entered by the user is in the correct format or not.

Question 11. What are restriction rules in Salesforce?

Answer - Restriction rules in Salesforce boost security by limiting specific users to access only designated records. These rules serve to block users from reaching records with sensitive data or information unrelated to their tasks.

By setting criteria, restriction rules filter the records a user can access, ensuring they only see and interact with the records that align with the specified criteria.

Question 12. For Many to Many Relationship we need to create a Junction Object. The Junction Object has a Master-detail relationship with both the Objects. For Master-detail relationship, the OWD setting is "Controlled by Parent". If the two objects have different OWD then what will be the OWD setting for Junction Object?

Answer - The?first?master-detail relationship you create on your junction object becomes the primary relationship and its OWD settings are enforced on the junction object.

The?second?master-detail relationship you create on your junction object becomes the secondary relationship. If you delete the primary master-detail relationship or convert it to a lookup relationship, the secondary master object becomes primary.

Question 13. How can a Salesforce Administrator check the edition of their Salesforce org?

Answer - The administrator can navigate to Company information from the Setup menu and find details about the edition of their Salesforce org.

Question 14. What is Schema Builder?

Answer - The Schema Builder in Salesforce is like a picture tool for creating and changing how data is organized. With this tool, folks like administrators, developers, and architects can easily make and control custom objects, connections, and fields in the Salesforce platform.

It's like drawing a map for how information is stored and connected in Salesforce, making it simpler for everyone to understand and work with.

Question 15. How can a Salesforce administrator bypass a validation rule for a particular user profile?

Answer - The following are some examples of how a user can bypass the validation rule:

  • Using custom metadata to store the user profile ID and passing it to Validation rules for excluding them whenever a validation rule is triggered.
  • By creating Permission sets and assigning them to the user.

Question 16. State some examples to share a record in Salesforce.

Answer - Following are the examples of how a user can share records in Salesforce:

  • Manual Sharing
  • Criteria-based Sharing
  • Apex Sharing

Question 17. Difference between setup and non-setup objects.

Answer - In Salesforce, setup objects are mainly about setting up and managing the system. Examples of setup objects include User, Profile, Role, Permission Set, and Organization. These objects hold important details that control how Salesforce works and ensure its security.

Objects like the standard ones that come with Salesforce and the ones we create ourselves (Custom Objects) are considered Non-Setup Objects. It's essential to know that we can't make changes to both setup and non-setup objects in the same transaction.

Question 18. What are the different types of reports in Salesforce?

Answer - Different types of reports are:

  • Tabular reports
  • Summary reports
  • Matrix reports
  • Joined reports
  • Custom reports

Question 19. What are some standard junction objects provided by Salesforce?

Answer - The following are the standard junction objects provided by default in Salesforce:

  • PriceBookEntry
  • OpportunityContactRole
  • OpportunityLineItem

Question 20. Difference between Page layouts and record types in Salesforce?

Answer - Record types help you provide various business processes, picklist options, and Page layouts to different users based on their needs.

Page layouts play a crucial role in deciding which fields your users can see when viewing a record. These layouts enable you to include fields, sections, links, custom buttons and a few other features, tailoring the user interface to match specific requirements and preferences.

Question 21. What are public groups and Queues?

Answer - A Public group is a set of users in Salesforce. This group can include individual users, other groups or users who share a specific role or territory. It can even include users in a particular role or territory along with all the users below that role or territory in the hierarchy.

Queues are helpful for your teams to handle leads, cases, service contracts and custom objects. When records are added to a queue, either manually or through automatic assignment rules for cases or leads, they stay there until a user takes ownership of them.

Any member of the queue or users above them in the role hierarchy can take control of records in the queue. Queues are a useful tool for directing lead, case and custom object records to a group for efficient management and distribution.

Question 22. What are auto-response rules in Salesforce?

Answer - In Salesforce, auto-response rules are features that automatically send emails to leads or cases when specific conditions are met. They're super handy, especially in customer support situations, making sure people get quick acknowledgements or important info right away.

Question 23. What are Static resources in Salesforce?

Answer - Static resources enable you to upload various types of content, like archives (.zip and .jar files), images, stylesheets and JavaScript that you can then refer to in a Visualforce page.

In Visualforce, you can utilize the $Resource global variable to reference static resources directly or use it as a parameter for functions like URLFOR().

Question 24. How can we delete a user in Salesforce?

Answer - We cannot delete a user in Salesforce, it can either be deactivated or freeze.

Question 25. What are the different Salesforce editions?

Answer - Essentials, Starter, Professional, Developer, Unlimited and Enterprise

Question 26. What is Field set in Salesforce?

Answer - A Field Set is a way to group together the fields of an object. We can use this in the Visualforce page and Apex class. Dynamically, we can add, remove, and reorder the fields without modifying the code in the VF Page using Field Set.. Plus, we can make Field Sets for all the objects we have in our Salesforce.

To use a Field Set in a Visualforce page, we just need to mention the object type, and its API name and use the variable "FieldSets" followed by the Field Set API Name.

Question 27. What is Data Skew in Salesforce? How to avoid it?

Answer - Data Skew refers to an imbalance in the distribution of data within a large dataset. In Salesforce, this occurs when a single parent object record is associated with more than 10,000 child object records or when a single Salesforce user owns over 10,000 records of any object.

There are three types of data skew in Salesforce:

1. Account Skew

2. Ownership Skew

3. Lookup Skew

Data Skew significantly impacts the performance of Salesforce applications, leading to issues with record locking and sharing performance. It is crucial to avoid having more than 10,000 records owned by a single user or having more than 10,000 child records for a single parent to maintain optimal system performance.

Question 28. Difference between IsNull Vs IsBlank methods in validation rules in Salesforce?

Answer - ISBLANK() provides the same functionality as ISNULL() but extends support to text fields. Unlike text fields, which are never null, ISNULL() with a text field always returns false. Additionally, when referenced in ISNULL() functions, empty date and date/time fields always return true.

If ISBLANK() is used with a numeric field, the function returns TRUE only if the field has no value and is not set to treat blank fields as zeroes.

Question 29. What is the Federation ID on the User object in Salesforce?

Answer - The Federation ID serves as a distinct identifier, enabling users to access multiple systems without requiring distinct credentials for each. This feature is particularly valuable in situations involving Salesforce integration with an identity provider (IdP) or the implementation of Single Sign-On (SSO) with various systems.

Question 30. What are Duplicate rules in Salesforce?

Answer - A duplicate rule is a set of instructions that decides what to do when someone looks at a record that seems to have duplicates or when they're trying to create a record that might be a duplicate. Salesforce comes with standard rules for spotting duplicates in business and person accounts, contacts, and leads.

For each type of record, you can have up to five active duplicate rules.

Are you ready to embark on your Salesforce Flow journey? Unleash your potential by diving into our comprehensive Salesforce Flow course.

Whether you're a seasoned pro or just starting, there's something for everyone.

But that's not all. Are you looking for top-notch Salesforce learning resources?

We've got you covered.

You can supercharge your certification prep with our mock exams series.

Stay ahead, stay informed and start your journey to mastering Salesforce Flows today ?

We'll be back next Wednesday with fresh insights till that time, continue your exploration and keep learning Geeks ????

Gaurav Kumar

"Seeking an Opportunity as a Microsoft Dynamics 365 Business Central Technical Professional"

1 年

salesforce vs web development which is easier to get job for freshers, which is the best place, help me

Rajesh Chatterjee

Founder & CEO at Delipat IT - A Salesforce & Hubspot Implementation Company || CRM Expert

1 年

This is a informative post

要查看或添加评论,请登录

Salesforce Geek的更多文章

社区洞察

其他会员也浏览了