Salesforce Admin Interview Questions

1. What is an App in Salesforce?

Ans: A Salesforce App is a group of Tabs that makes it easy for users to access a set of related features in the full Salesforce.com browser app.

2. What are the types of apps available in salesforce?

Ans: We have 3 types of Apps in salesforce.

     i. Standard Apps
    ii. Custom Apps
    iii. Console Apps

3. What are the types of Objects in Salesforce?
Ans: Salesforce support a different kind of Objects
    i. Standard Objects
    ii. Custom Objects
    iii. External Objects
    iv. Big Objects
But commonly we are using Standard and Custom Objects.

4. What is a Standard Object?
Ans: Standard objects are predefined objects which are salesforce provided by default with standard applications. for Example Account, Contact, Lead, Task and etc...

5. What is a Custom object?
Ans: Custom Objects are user-defined objects based on the client business-specific. All custom object API name ends with "__c" that denotes it is a custom object.

6. What are fields indexed automatically when the custom object is created?
Ans: When a custom object created automatically these fields are indexed Name, CreatedById, LastModifiedById and OwnerId


7. What are the Different Types of Relationships in Salesforce?
Ans: Below is the record types available in Salesforce.

    i.    Master-Detail Relationship
    ii.   Lookup Relationship
    iii.  Self Relationships
    iv.  Many to Many relationships
    v.   Hierarchy Relationships

8. What is the Lookup relationship?
Ans: Both Parent and Child objects are loosely coupled, which means that if one gets deleted then the related object will not get deleted.
  • objects are loosely coupled.
  • When a parent's record gets deleted, the child remains in existence.
  • We cannot create a roll-up summary field in a lookup relationship.
  • Parent and child records have their own sharing and security settings in look-up relationships.
  • The Look-Up relationship field is not mandatory by default but we can select a checkbox to make it mandatory in lightning.
  • We can have a maximum of 40 look-ups per object. (Salesforce can increase the limit to 50)
9. What is the Master-Detail Relationship?
Ans: One object acts as a master and the other acts as a detail object. In other words, this relationship acts as a parent-child relationship. We use this type of relationship when we want to bound two objects tightly or closely dependent on each other.
  • When a master record gets deleted, its related child/detail record automatically gets deleted.
  • In a master-detail relationship both the objects are strongly coupled to each other.
  • Sharing and security settings of the detail records are inherited as per their master settings.
  • We can define this relationship between custom objects and between standard and custom objects. Note that, the standard object must be on the master side while creating relationships between standard and custom objects. 
  • We can also have roll-up summary fields in master-detail relationships which helps us to calculate values from child records by using aggregate functions like Count, Sum,  Min, Max.
  • The master-detail field is required on the detail record’s page layout.
  • We can only create a maximum of 2 master-detail relationships per object. In a master-detail relationship both the objects are strongly coupled to each other.
10. What is Many-to-Many Relationship?
Ans: Create one custom object, which should have an auto number as unique identification and create two Master-Detail relationships for this object. And this Object also called a Junction object.