0% found this document useful (0 votes)
10 views14 pages

Salesforce Interview Questions and Answer

salesforce q n a

Uploaded by

Vishal Tajne
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views14 pages

Salesforce Interview Questions and Answer

salesforce q n a

Uploaded by

Vishal Tajne
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Salesforce

common
Interview
Questions
2023
Dhananjay Aher START
What is the difference between ISNULL and
ISBLANK?
Its a function whcich validates whether the field has some
value or not. Value can be some digit( 0-9), alphabet( a-z
IS BLank: A-Z), special character ( %,$,--). If your field contains any
of them then this function will return false. If it contains
Blank (" ") or no value then it will return True.

This function will consider BLank (" ") as some value. And if
ISNULL: your field has Blank(" ") then it will return false considering
'Blank' also as some value.
List various types of reports available in
Salesforce.

Tabular report: In this, the grand total is displayed in a table format.


Matrix report: This is an in-depth report wherein there are both row-
based and column-based groups.
Summary report: A summary report is a report in which the grouping
is on a column basis.
Joined report: Joining two or more reports into one creates a joined
report.
What is a static resource in Salesforce?

A static resource lets us upload content that is in the form of .jar and .zip
formats, style sheets, JavaScript, and so on. It is recommended to deploy
a static resource rather than uploading files to the Documents tab since it
is possible to pack a set of files into a directory hierarchy and upload it.
These files can easily be referred to on a Visualforce page.
What are Governor Limits in
Salesforce?
Governor Limits are some of the biggest challenges for a Salesforce developer.
As whenever the Apex code exceeds the limit, it issues a run-time exception
and it cannot be handled. The following is the list of some of the key Governor
Limits in Salesforce:
Push Notification Limits
Per-Transaction Apex Limits
com Platform Apex Limits
Size-Specific Apex Limits
Miscellaneous Apex Limits
Static Apex Limits
Email Limits
What is an Apex transaction?

An Apex transaction represents a set of operations that are executed as a


single unit. These operations include DML operations that are responsible
for querying records. All the DML operations in a transaction either get
completed successfully or get rolled back completely if an error occurs
even in saving a single record.
What is the difference between public
classes and global classes in Salesforce
Apex?

A global class is accessible across the Salesforce instance,


irrespective of namespaces.

Whereas, public classes are accessible only in the


corresponding namespaces.
Which fields are automatically indexed
in Salesforce?

Custom fields marked as an external ID or a unique field

Primary keys (ID, Name, and Owner fields)

Audit dates (such as SystemModStamp)

Foreign keys (Lookup or Master-Detail relationship fields)


A time-dependent workflow action
cannot be created for which workflow?

A time-dependent workflow cannot be created for ‘created,


and every time it’s edited.’
What is a sandbox in Salesforce? What
are the types of Sandboxes available?

A sandbox is a similar copy of a Salesforce production for testing,


development, and training. The content and size of a sandbox may
vary depending on the type of the sandbox and the edition of the
production organization which is associated with the sandbox.
There are four types of sandboxes available:
Developer Sandbox
Developer Pro Sandbox
Partial Data Sandbox
Full Sandbox
Why use Batch Apex instead of Normal
Apex?
A Normal Apex uses 100 records per cycle to execute SOQL queries.
Whereas, a Batch Apex does the same in 200 records per cycle. So, it
is very fast when the execution of SOQL queries is considered.
A Normal Apex can retrieve 50,000 SOQL queries, but in Batch Apex,
50,000,000 SOQL queries can be retrieved.
A Normal Apex has a heap size of 6 MB; whereas, a Batch Apex has a
heap size of 12 MB.
When executing bulk records, Normal Apex classes are more
vulnerable to encountering errors as compared to Batch Apex. The
latter is normally error-less.
What is a wrapper class in Salesforce?

A wrapper class is a type of container class in Salesforce that


contains a group of objects as its segments. Also, the wrapper class
is of an abstract data type.
In Salesforce, we use a wrapper class to envelop collected data. A
programmer defines the wrapper class that acts as custom objects,
along with its properties.
How many ways we can share a record?

Role Hierarchy:
Whenever a user is added to a role, the user above the current user
in the role hierarchy will have access to records and inherit
permissions. Setup → manages users → →
roles →
setup roles click

on ‘add role’ provide name and save.
OWD:
Organization-Wide Default (OWD) lets you set up public read-only
or public write-only for users across the organization. Setup →
→ →
Security Controls sharing settings Click on ‘Edit’
Manual Sharing:
The owner or person higher in the role hierarchy can give manual
access to users or a group of users to records\files.
20
Dhananjay Aher 23

You might also like