Salesforce Interview questions with answers Part 27

1. What is Role and what is profile and difference between two?

2. What is Batch apex explain with one simple example?

A developer can now employ batch Apex to build complex, long-running processes that run on thousands of records on the platform. Batch Apex operates over small batches of records, covering your entire record set and breaking the processing down to manageable chunks. For example, a developer could build an archiving solution that runs on a nightly basis, looking for records past a certain date and adding them to an archive. Or a developer could build a data cleansing operation that goes through all Accounts and Opportunities on a nightly basis and updates them if necessary, based on custom criteria.

Batch Apex is exposed as an interface that must be implemented by the developer. Batch jobs can be programmatically invoked at run time using Apex.

Example -

3. What is SOSL, SOQL and difference?

4. What is DataLoader and Uses of it?

DataLoader is used to export, import and delete Salesforce records.

Usage and limits -

5. Explain about Import wizard with one example?

6. Explain about reports and dashbords and difference?

Reports -

Dashboard is pictorial representation of reports.

7. Write a simple apex class?

Apex Class for Trigger handler -

8. Write the syntax of apex trigger?

9. Explain about visual force page and tell the uses of it?

10. What is workflow and explain with simple example?

11. A pick list has 4 values say ..A,B,C and D.
Also there are two user say user1 and user2.
User1 can able to see all the four values but user2 can only able to see the three values.
How is that possible?

Record Types -

12. I have workflow and validation rule and trigger on same object. Which one will first fire?

Validation rule first.

For more info -

13. What are Macors in Salesforce?