Salesforce IQ 2023
Salesforce IQ 2023
QUESTIONS
by KS
Q4: What are some best practices for testing Salesforce applications?
Some best practices for testing Salesforce applications include writing test classes for all custom
code, using test data that closely resembles production data, testing all use cases and scenarios, and
using automated testing tools to improve efficiency and accuracy.
Q5: What is the difference between a standard object and a custom object in Salesforce?
A standard object is a pre-built object in Salesforce that comes with standard fields and
functionality. Examples include accounts, contacts, and opportunities. On the other hand, a custom
object is a user-defined object that is created to store specific data unique to a business or
organization.
Q9: What is the difference between a workflow rule and a process builder in Salesforce?
A workflow rule is a declarative tool used to automate simple business processes. It can only
perform a limited set of actions, such as updating fields or sending email alerts. Process Builder, on
the other hand, is a more robust declarative tool that allows you to automate more complex
processes using a visual drag-and-drop interface. It can perform a wider range of actions, including
creating records, launching flows, and posting to Chatter.
Standard Objects: These are the objects provided by Salesforce, such as Accounts, Contacts,
Opportunities, Cases, etc.
Custom Objects: These are the objects that you can create according to your business needs. For
example, if you want to track the data of a specific object, you can create a custom object for that.
Q33: What is the difference between standard and custom objects?
A: Standard objects are provided by Salesforce, and they have predefined fields and functionality.
Custom objects, on the other hand, are created by the user to track specific data or meet specific
business needs. They can have custom fields, custom relationships, and custom functionality.
Master-Detail Relationship: This is a parent-child relationship, where the child object record is
dependent on the parent object record.
Lookup Relationship: This is a non-dependent relationship, where the child object record can exist
without the parent object record.
Many-to-Many Relationship: This is a relationship where many records of one object can be related
to many records of another object.
Hierarchical Relationship: This is a special relationship that exists between the User object and
itself. It represents the manager-employee relationship.
Q36: What is the difference between a custom object and a custom setting in Salesforce?
A: Custom objects are used to store data records while custom settings are used to store settings and
configurations. Custom objects have records associated with them that can be viewed and edited in
the Salesforce interface or through the API, while custom settings can only be accessed
programmatically.
Real-time example: A custom object could be used to store customer orders in an e-commerce
platform, while a custom setting could be used to store the API credentials for a third-party shipping
provider.
Q37: Can you explain the purpose of an external object in Salesforce?
A: An external object represents data that is stored outside of Salesforce, such as in an external
system or database. External objects allow you to access data that is not natively stored in
Salesforce and make it available for use in the Salesforce interface, including in reports, list views,
and dashboards.