Hey Salesforce Developer, want to revise quickly for your Salesforce Interview?
I have read a lot of blogs on Salesforce Interview Question and Answers, and most of them were too complicated to revise just before an interview. It’s easy to remember things like this if it’s in small quantities and does not involve too much terminology at once.
So I’ve collected these Q&As from my own, colleagues’s experience, and from some other blog posts to help you revise important things before your interview quickly.
Let’s Get To It!
Q1. Can validation rules be used to prevent deletion of records?
No, they can only be used for insertion and updation of records.
Q2. For how many fields can we enable Track Field History per object?
20 fields, however we can get this increased by contacting Salesforce as a paid option.
Q3. What is architecture of Salesforce?
MVC Architecutre, where View is the user interface, Controller is Business Logic (such as the functionality of Save, Edit, New, Cancel and Delete buttons), and Model is the Database which stores Schema (ie Meta Data) and Instances (ie Records).
Q4. What is the Trigger?
Trigger is the code that is executed before or after the record is updated, inserted, deleted or undeleted.
Q5. What are Governor Limits in Salesforce?
In Salesforce, it is the Governor Limits which controls how much data or how many records you can store in the shared databases.
Q6. What is an Audit Trail?
The Audit Trail function in Salesforce is useful for gaining information or for tracking all the recent setup changes that the administration has done in the organization, it can preserve data for up to six months.
Q7. If you needed to update a lookup field of a Master(child) record(for eg update Contact on a Account), what would you choose, Workflow or Process Builder?
Process Builder, because we can update any relationship records in PB but we can only update detail-to-master records in Workflow rule.
Q8. What is a Sandbox Org?
A sandbox is a copy of the production environment/ org, used for testing and development purposes. It’s useful because it allows development on Apex programming without disturbing the production environment.
Q9. What are WhoId and WhatId in activities?
WhoID refers to people. Typically: contacts or leads. Example: LeadID, ContactID. WhatID refers to objects. Example: AccountID, OpportunityID.
Q10. What’ll happen to child records if we delete a parent record in case of Master Detail Relationship?
If we delete the parent object record in a MD relationship all the child object records will be get deleted.
Q11. 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 get deleted)
Q12. What is SOQL and SOSL?
SOQL is Salesforce Object Query Language and SOSL is Salesforce Object Search Language. If you are sensing that Salesforce is a culture unto itself, you are correct!
Q13. Can we make a validation rule not run for a specific profile or user?
Yes we can put conditions in filter criteria to not run the rule for one or many profiles/users.
Q14. What’s a bucket field in reports?
Bucket fields can be used to group, filter, or arrange report data; when you create a bucket field, you need to define multiple categories (buckets) that are used to group report values.
Q15. What are the different types of object relations in Salesforce?
- Master-Detail Relationship (One to Many)
- Lookup Relationship (One to Many)
- Junction Relationship (Many-To-Many).
Q16. What is Junction Object?
A child object which is having master detail relationships with two different parent object is called junction object.
Q17. Can you have a roll up summary field in case of Master-Detail relationship?
Yes. You can have a roll-up summary in case of a master-detail relationship, but not in case of a lookup relationship.
Q18. For which criteria in workflow “time dependent workflow action” cannot be created?
Time dependent workflow action cannot be created for: “created, and every time it’s edited”.
Q19. Can you upload null values using Data Loader?
Yes, by clicking the “Insert Null Values” checkbox in settings.
Q20. What are the different kinds of workflow actions?
- Field update
- Email alert (we can send emails if the criteria meets)
- New Task (we can create new task)
- New outbound Message (we can make a callout to API)
And.. we’re done. So now you know the top burning SFDC Interview questions for Configuration, some of which were asked recently (May 2018) in TCS and Deliotte interviews in Mumbai, India.
My interviews for Salesforce Developer role mostly started with profiles, permission sets and sharing rules; and then to validation rules, workflow rules, process builders, and after that I was given some scenario based questions; and finally some questions like best practices for Apex, Order of Execution in Salesforce.
Let me know what questions you got to know about. Have a good one 🙂