function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sachin Bhalerao 17Sachin Bhalerao 17 

What is Sandbox , Roles and profile , Batch APEX Class ?

Dear Team ,

Please clarify me about Sandbox , Roles and Profile , Batch APEX Class in easy words . These are the most frequently asked question in interviews .

Thanks & Regards
Sachin Bhalerao
Best Answer chosen by Sachin Bhalerao 17
Foram Rana RForam Rana R
Hi Sachin,

SandBox :

- Sandbox is a copy of your production organization.
- In the sandbox you can develop your code and testing in the same org if everything is fine then you can move those code in Production.
- your performance in your sandboxes does not affect your Salesforce production organization.

Roles :
- Roles are one of the ways you can control access to records. 
- They also impact reports (e.g. "My Teams" filter). 
- Roles come into play if your security model (OWDs) is set to private.
-  A little more on Roles and how they impact security:

Profiles :
 - Profile help determines record privileges. 
- Assuming the user can see the record, Profiles determine what the User can do, view or edit on that record. Profiles control other system  privileges as well (mass email, export data, etc)

Read the below article, it will give you more information.

Batch in Apex Class :

Read the below article, it will give you more info.