49 Important Salesforce (SFDC) Interview Questions and Answers

  49 Important Salesforce (SFDC) Interview    Questions and Answers


Want to switch to that high paying job? 

Or are you already been preparing hard to give interview the next weekend?

Do you know how many people get rejected in interviews by preparing only concepts but not focusing on actually which questions will be asked in the interview?

HERE we have tried to present 49 most frequently asked and important Salesforce interview questions and answers Wide range of questions which cover not only basics in Salesforce but also most advanced and complex questions which will help freshers, experienced professionals, senior developers, testers to crack their interviews..

Salesforce 49 question answers 


Q1. What is Cloud Computing?

The practice of using a network of remote servers hosted on the Internet to store, manage, and process data, rather than a local server or a personal computer.

Cloud Computing is an approach to provide the following services

SAAS (Software As A Service)

PAAS (Platform As A Service)

IAAS (Infrastructure As A Service)

Q2. What is sandbox url?

test.salesforce.com


Q3. What is production url?

login.salesforce.com


Q4. What is Production?

We should not make coding changes in production since end-users are using the application from production environment.


Q5. What is sandbox?

To make any changes for the exiting application we should copy all contents of the production into sandbox and make all changes after that test thoroughly after that move those changes into production.

To create the sandbox, in production we can find one link called sandboxes. by clicking on that link we can create the sandbox by choosing type of the sandbox.


Q6. What are the types of Sandboxes?

Developer Sandbox

Developer pro sandbox

Partial data sandbox

Full copy sandbox

Q7. What is Developer sandbox?

It copy only configuration changes from the production.

It won’t copy real time data.

We can test the configuration changes with sample data.

Sample data limit is 200mb.

Refresh time interval is one day.

If we refresh all the sandbox contents will be replaced with production contents


Q8. What is developer pro sandbox?

Copy configuration changes

No real time data

Sample data limit is 1GB

Refresh time interval one day


Q9. What is partial data sandbox?

Copy configuration changes

Copy certain amount of real time data

Real time data limit is 5GB

For each table it can copy maximum of 10k records

Refresh interval 5 days


Q10. What is Full copy sandbox?

It is exact replica of the production

Copy both configuration and entire real time data from the production

Refresh time interval 29 days

Customization


Q11. What is Track Field History?

While creating the object, we can enable ‘Track Field History’. If, we enable ‘Track Field History’ user can see ‘Set History Tracking’ button under ‘Custom Fields & Relationships’ section which is available on the object detail page. By clicking on ‘Set History Tracking’ button, we can enable tracking for the fields which ever we want. To see the object history, go to object’s record layout and add Object Name History related list to the layout. Whenever, user changes field value from one value to another value, it will show the history of the field in ‘Object History’ related list.


Q12. What are the Activities in Salesforce?

To create the Activities, while creating the object, we should check for ‘Allow Activities’ check box then user can add open Activities and Activity History related lists on the Object layout.

There are two types of activities –

Task: Task is nothing but work assigned to a particular person, it doesn’t have certain time limit.

Event: It has certain time limit in that time only all persons should assemble after the time limit over, event will get complete.

Once event or task status is changed to ‘Completed’, then we can see those records under Activity History Related List.


Q13. How to rename the tab?

Tab name will be decided based on the Plural Label of the custom object, to rename go to corresponding object detail page and rename the plural label.


Q14. How to display multiple columns after clicking on the tab?


Click on the tab (Which should be related to any of the custom/standard object) > Expand Force.com Quick Access Menu > Edit Columns > Move the needed fields from Available Fields to Selected Fields. > Click on Save > User should be able to see multiple columns.

(OR)

Click on Setup > Create > Objects > Select the corresponding object link > Under Search Layouts section > Click Edit which should be left to Object Tab > Move the needed fields from Available Fields to Selected Fields. > Click on Save > User should be able to see multiple columns.


Q15. What is the difference between ISBLANK() AND ISNULL()?

ISNULL() works only for number data type fields, if we don’t populate with value for number fields it will return true. It won’t support TEXT data type fields because text fields never become null.

ISBLANK() supports both number as well as text data types.


Q16. What is dependent picklist?

In some scenario’s, we should be able to control one of the field (Dependent field) from another field (Controlling field).

For example: if we select Country (Controlling field) as US then City (Dependent Field) should display only US cities.

We can use checkbox data type fields also while creating dependent picklist (Note: Checkbox should be always controlling field)

We can use multi-select data type fields also while creating dependent picklist (Note: multi-select data type field should be always dependent field)


Q17. What is the architecture of the salesforce?

MVC Architecture – Model, View, Controller

View – It is the user interface (Apps, Tabs, Page Layouts, VF Pages, Fields and Record Types)

Controller – Business Logic (Save, Edit, New, Cancel and Delete – upon click on these button salesforce execute some logic from controller)

Model – It is the Database, which stores Schema (Meta-Data(Data about Data) –> Apps, Tabs, sObjects, fields, Apex Classes, Visualforce pages, etc…) and Instance (Records)

like this question answers ?

GET THIS BOOK CONTAINING 1000 Important Salesforce (SFDC) Interview Questions and Answers

 


 


Q18. What is the difference between 15 digit and 18 digit id in Salesforce?

Normally, when a Salesforce user pulls the id from a record through the interface on any object they get the 15 digit id by design.  So, if you created a report on Leads / Account / Contacts or any custom object and add the id field through the interface it will look something like 0015000001Fn4VL.

However, if you were to access that same Salesforce account id via an API or a tool like this from the Apex Data-loader & workbench 0015000001Fn4VLAAZ.

The last three digits in the ID are a checksum.  A calculation to assure that the first 15 pieces of the ID is accurate for the object it’s being written into.

15 digit ID is case-sensitive.

15 digit ID is what will be received from within the user interface.

18 digit ID case-insensitive and best used for manipulating data outside Salesforce.

18 digit ID is referenced through in the API and other 3rd party tools.

If you would like to convert the current user interface id to 18 digits this can be done by using a formula very simple formula.  I have seen a couple of versions of the formula but this is the one that worked best for me in my career.

All you need to do is add a new formula field, text 18 characters with “CASESAFEID(ID)”


Q19. What is Record Type?

For an object based on the Record Type, we can show different fields and different picklist values by assigning different page layouts for the record types and profiles.

After creating the record type, on the record type detail page user can see all the picklist data type fields, user can edit the picklist and decide which values should display for this particular record type.


Q20. What is the difference between detail page and edit page?

Whenever user try to create a new record or edit an existing record user can input the values for the fields, this page is nothing but edit page.

After creating a new record or editing an existing record, user can see the information of the record, this page is nothing but detail page.


Q21. What is out of box functionality?

Functionalities are available within the Salesforce platform (i.e. no need to code).


Q22. What are the different types of tabs?

Custom tabs (create for objects)

Web tabs (create to display a website)

Visual force tabs (create to display the visual force page)

Q23. What is validation rule?

While creating or modifying the record based on the certain conditions we can display error messages on top of the page or below to the filed.


Q24. There are two fields, if the user populate two field values if we combine those values uniqueness should be maintain, how to achieve this without coding?

Using vlookup function in the validation rule we can achieve this.


Q25. What are Governor Limits?

Since we are working in multitenant environment Salesforce is enforcing the limits for all the functionalities.

How many no of fields for an object: 500

No of master detail relationships for an object: 2

No of lookup relationship for an object: 25

No of rollup summery fields: 10

How many external ids we can enable for an object: 7 (increased from 3 to 7 in Winter-15)


Q26. For which data type we can unable external id?

Text, number, auto number, email.


Q27. What is list view?

List View allows you to see a filtered list of records, such as contacts, accounts, or custom objects.

List views are stored within a Custom Object component. The component can represent a custom object or a standard object, such as an account.

After clicking on the tab on the top of the page we can see views, by default we can see the value called ‘all’. If we click on ‘Go’ beside that all we can see all the records of that object. We can create new views and while creating the view we can give the filter conditions so that based on the filter condition we will be able to see records in tab.


Q28. What is Inline editing?

On the detail page without clicking on edit button we can edit particular field if it is not read-only.


Q29. How to disable Inline editing?

To enable or disable Inline editing follow the below navigation – Setup–> Customise–> User Interface–> Enable Inline Editing


Q30. What is Enhanced list view?

In list views we can modify multiple records at a time using Enhanced list views Note: To modify multiple records, all the records should belong to same record type in the list view otherwise we cannot modify.


Q31. What is search layout?

Whenever we click on a tab or we click on a lookup icon or search for a record we see only one standard field by default, to enable remaining fields –

To show multiple fields for the records which display under a tab, on object detail page > under Search layouts edit tab and add required fields.

To show multiple fields for the records which display when we click on lookup of a field, on object detail page > under Search layouts edit Lookup Dialogs and add required fields.

To show multiple fields for the records which display when we search for the records, on object detail page > under Search layouts edit Search Results and add required fields.

Q32. What is mini page layout and how to enable?

For lookup fields on record detail page we see a link, whenever we put cursor on that link we see a popup window which displays few fields. To control the fields visibility, on that look up field parent object page layout we see a mini page layout in that we can control.


Q33. What is lead process?

To control the picklist values of the status field on the lead object we should create lead process.

Without selecting the lead process we can’t create the record type for lead object.


Q34. What is sales process?

To control the picklist values of the stage field on the opportunity object we should create sales process.

Without selecting the sales process we can’t create the record type for opportunity object.


Q35. What is Support process?

To control the picklist values of the status field on the case object we should create support process.

Without selecting the support process we can’t create the record type for case object


Q36. What is web-to-lead?

On lead object we can generate the HTML code by selecting lead fields and by mentioning return URL from web-to-lead option. The generated HTML code can be hosted in any of the website. Upon entering the information in those fields and clicking on submit button that information will be saved into lead object of the Salesforce.


Q37. What is Queue?

In queue we can add group of users and we can assign the objects to the Queue. After creating the queue one of the list view automatically created on the objects which are selected for the queue. We can assign this queue as the owner of the records (objects which are selected for this queue). Later users who are part of that queue can claim the ownership by navigating to list view corresponding to the queue. In that list view users who are part of the queue can select the record and click on accept button so that record ownership will be transferred from queue to accepted person.


Q38. What is public group?

We can add set of random users in the public group. We can’t assign public group as an owner of the record. In manual sharing, sharing rules and in list views we can use public group.


Q39. What are the Assignment rules?

Assignment rules are used to automate your organization’s lead generation and support processes.

Lead Assignment Rules – Specify how leads are assigned to users or queues as they are created manually, captured from the web, or imported via the lead import wizards.


Case Assignment Rules – Determine how cases are assigned to users or put into queues as they are created manually, using Web-to-Case, Email-to-Case, On-Demand Email-to-Case, the Self-Service portal, the Customer Portal, Outlook, or Lotus Notes.

Aim: All the cases created by user ‘ABC_User’ should be assigned to ‘XYZ_User’. 


Q40. What are Auto-Response Rules?

An auto-response rule is a set of conditions for sending automatic email responses to lead or case submissions based on the attributes of the submitted record. Applicable leads include those captured through a Web-to-Lead form.

Applicable cases include those submitted through a:

Self-Service portal

Customer Portal

Web-to-Case form

Email-to-Case message

On-Demand Email-to-Case message

Q41. What are the Escalation rules?

Create case escalation rules to escalate cases automatically if they are not resolved within a certain period of time.

Typically, your organization will have one escalation rule that consists of multiple entries which specify exactly how the cases are escalated. For example, your standard case escalation rule could have two entries: Cases with Type set to Gold are escalated within two hours, and cases with Type set to Silver are escalated within eight hours.

Goto  Setup | Customize | Cases | Escalation Rules.

Relationships


Q42. Is it possible to create the Master – Detail Relationship field for the child object which is having existing records?

No, we cannot create directly. To create first we should create Look up relationship then populate the field value for all the records and then convert the look up relationship to master detail relationship.


Q43. Is it possible to convert Mater – Detail Relationship to Look Up Relationship?

If the parent object doesn’t have Roll up Summary fields for the child object then we can convert.


Q44. Is it possible to delete junction – Object in case of Mater – Detail Relationship?

If the parent objects don’t have Roll up Summary fields for the child object then we can delete. To delete a child object it should not be referred in Apex Classes and Apex Triggers. Later if we undelete the object, Master detail fields on the junction objects will be converted to look up Fields.

Note: If we delete only Master – Detail Relationship field from the child object and undelete it from the Recycle Bin then it will be converted to look up relationship. Parent Object we cannot delete because it will be referred in the child object.


Q45. What will happen if we undelete the deleted Junction Object?

Master – Detail Relationship data types will be converted to look up relationship data types.


Q46. What will happen to child records if we delete a parent record in case of Lookup Relationship?

If we delete parent object record all the child object records relationship’s field value will be get deleted. (Entire record won’t be get deleted)

Example:

Child Object: Employee (Employee object have Department field which is related to Department Object)

Parent Object: Department

Suppose N number of employee records related to IT department, if we delete IT department all the child (Employee) records Department field value related to IT department will be get deleted.

Note: Salesforce store deleted records only for 15 day in Recycle bin later it will remove the records permanently. If we undelete the IT department record from the Recycle bin then all the related child records department field value will be restored.


Q47. What will happen to child records if we delete a parent record in case of Master Detail Relationship?

If we delete the parent object record all the child object records will be get deleted.

Example:

Child Object: Employee (Employee object have Department field which is related to Department Object)

Master Object: Department

Suppose N number of employee records related to IT department, if we delete IT department all the child records will get deleted.

Note: Salesforce store deleted records only for 15 day in Recycle bin later it will remove the records permanently.

If we undelete the IT department record from the Recycle bin then along with IT department record all the related child (Employee) records will be restored. (We cannot see the child object records in the Recycle bin)


Q48. What is Junction Object?

A child object which is having master detail relationships with two different parent object is called junction object.

Example:

Object1: Department

Object2: Project

Child Object: Employee

Field1: Department (Master Detail with Department )

Field2: Project(Master Detail with Project)

Note: From the above example we can say Employee Object as Junction Object.


Q49. For a junction object if we delete one of the parent record what will happen to child records?

Child records will be get deleted which are related to Department as well as Project.

Note: If we undelete the IT department record from the Recycle bin then along with IT department record all the related child (Employee) records will be restored those will be reflected for Project as well. 

==================================================================


Comments