Professional Documents
Culture Documents
SF QA 2 Interview Questions and Answers
SF QA 2 Interview Questions and Answers
Answer:
9. What does it indicate if an error state this “list has no rows for assignment”?
Answer: The error that tells “list has no rows for assignment” indicates that the list you
are trying to access has no values in it.
To create the sandbox, in production we can find one link called sandboxes. By clicking
on that link we can create the sandbox by choosing the type of the sandbox.
These 23 most common questions and answers will help you prepare effectively and
perform well in Salesforce interviews. Study them thoroughly to make a good
impression on your prospective employers. Learn From Real-Time Experts.
Developer Sandbox
Developer pro sandbox
Partial data sandbox
Full copy sandbox
17. Explain the Salesforce dashboard?
Answer: In Salesforce, the dashboard is a pictorial representation of the report.
Copy configuration changes
Copy a certain amount of real-time data
Real-time data limit is 5GB
For each table, it can copy a maximum of 10k records
Refresh interval of 5 days
23. Is it possible to schedule a dynamic dashboard in Salesforce?
Answer: It is not possible to schedule a dynamic dashboard in Salesforce.
It is exact replica of the production
Copy both configuration and entire real-time data from the production
Refresh time interval 29 days Salesforce Online Training
25. What are the different types of reports available in Salesforce?
Answer:
The different types of reports in Salesforce are:
Tabular report that displays the grand total in table form.
Matrix report where grouping is based upon both rows and columns.
Summary reports that are detailed reports in which the grouping is based on
columns.
Joined report which allows two or more reports to be joined in a single report.
26. What is Track Field History?
Answer:
While creating the object, we can enable ‘Track Field History’.
If, we enable ‘Track Field History’ user can see ‘Set History Tracking’ button under
‘Custom Fields & Relationships’ section which is available on the object detail page.
By clicking on ‘Set History Tracking’ button, we can enable tracking for the fields
whichever we want.
To see the object history, go to object’s record layout and add Object Name History
related list to the layout.
Whenever the user changes field value from one value to another value, it will show
the history of the field in ‘Object History’ related list.
27. What are the three types of object relations in Salesforce?
Answer:
One-to-many
Many-to-many
Master-detail
The relation types are quite logical once the user becomes familiar with the software
program.
Event: It has a certain time limit in that time only all persons should assemble after the
time limit over, the event will get complete.
Once the event or task status changed to ‘Completed’ this we can see those records
under Activity History Related List.
ISNULL (): It works only for number data type fields, if we don’t populate with value
for number fields it will return true.
ISNULL (): It won’t support TEXT data type fields because text fields never become
null.
ISBLANK (): It supports both numbers as well as text data types.
33. What is the trigger?
Answer: A trigger is a lever which, when pulled by the finger, releases the hammer on a
firearm. In a database, a trigger is a set of Structured Query Language statements that
automatically “fires off” action when a specific operation, such as changing data in a
table, occurs. A trigger consists of an event and an action. Triggers are used to
preserve data integrity by checking on or changing data in a consistent manner.
We can use checkbox data type fields also while creating dependent picklist.
We can use multi-select data type fields also while creating dependent picklist.
35. How does Salesforce track sales?
Answer: Salesforce is a tracking program that records a number of helpful basic
details, such as:
Number of customers served daily
Daily sales volume
Detailed reports from Sales Manager
Sales figures by month or quarter
Most importantly, Salesforce tracks and reports repeat customer activity, which is
the key to any sales organization.
36. What is the architecture of the Salesforce?
Answer:
MVC Architecture – Model, View, Controller
View – It is the user interface
Controller – Business Logic
Model – It is the Database, which stores Schema
37. What can cause data loss in Salesforce?
Answer: Data loss in Salesforce can be caused by a number of reasons, including:
Changing data and date-time
Migrating to percent, number, and currency from other data types
Changing from the multi-select picklist, checkbox, the auto number to other types
Altering to multi-select picklist from any type except picklist
Changing to auto-number except for the text
Changing from text-area to e-mail, phone, URL, and text.
38. What is the difference between 15 digit and 18 digit id in Salesforce?
Answer:
In Salesforce, whenever a user creates any component or record then sales force
will generate a unique id with which user can identify the record or component.
After creating the record, in the URL user can see the id of the record which is of 15
digits length.
Through user interface user always see 15 digit ids which are Cases-Sensitive.
If the user queries the existing records from the database through API, it will always
return 18 digit ids which are Case-Insensitive.
Last 3 digits of the 18 digit represent checksum of the capitalization of 15 digit id.
Based on the first 3 digits user can identify the object of the record.
All the record belongs to the same object will contain the same first 3 digits.
39. What is Self-Relationship?
Answer: A Self-Relationship is a lookup relationship to the same object. It is this
premise that allows users to take the object “Merchandise” and create relationships with
another object.
40. What is Record Type?
Answer:
For an object based on the Record Type, we can show different fields and different
picklist values by assigning different page layouts for the record types and profiles.
After creating the record type, on the record type detail page user can see all the
picklist data type fields, user can edit the picklist and decide which values should
display for this particular record type.
41. What are the different data types that a standard field record name can have?
Answer: A standard field record name can have a data type of either auto number or
text field with a limit of 80 chars.
For generating auto numbers, the format needs to be specified while defining the field
and after that for every record that is added, the number will get auto-generated. For
example:-
Sr No-{1}
Sr No-{2}
Sr No-{3}
42. What is the difference between detail page and edit page?
Answer:
Whenever a user tries to create a new record or edit an existing record user can
input the values for the fields, this page is nothing but edit page.
After creating a new record or editing an existing record, the user can see the
information of the record; this page is nothing but detail page.
43. What are who Id and What Id in activities?
Answer:
Who ID refers to people. Typically: contacts or leads. Example: Lead ID, Contact ID
Custom tabs: Its create for objects
Web tabs: Its create to display a website
Visual force tabs: It creates to display the visual force page
45. What is the use of writing sharing rules? Can you use sharing rules to restrict
data access?
Answer:
Sharing rules are written to give edit access (public read and write) or public read-only
access to certain individuals in Salesforce org. A classic example is when: – only your
managers or superiors need to be given extra credentials to your records in objects as
compared to your peers.
As far as the second part of the question is concerned, the answer is no. We cannot use
sharing rules to restrict data access. It is only used for allowing greater access to
records
47. There are two fields if the user populates two field values if we combine those
values uniqueness should be maintained, how to achieve this without coding?
Answer: Create a unique text field and update the field from workflow rule after the
update again all the system validations will be performed so the error will be displayed.
The advantage is that earlier, we had to create custom fields to group or segment
certain data.
How many no of fields for an object: 500
No of master-detail relationships for an object: 2
No of lookup relationship for an object: 25
No of rollup summary fields: 25
How many external ids we can enable for an object: 7
50. Can you have a roll-up summary field in case of Master-Detail relationship?
Answer:
Yes, you can have a roll-up summary in case of a master-detail relationship. But not in
case of a lookup relationship.
A roll-up summary field is used to display a value in a master record based on the
values of a set of fields in a detailed record. The detail record must be related to the
master through a master-detail relationship.
There are 4 calculations that you can do using the roll-up summary field. You can count
the number of detail records related to a master record. Or, you can calculate the sum,
minimum value, or maximum value of a field in the detail records.
1. I want to delete 30,000 customer records but do not want anyone else
to recover them. What can I do?
If you are applying for the role of a Salesforce administrator, you can expect the
interviewer to ask such operation-based questions. These questions test your familiarity
with the system and help the interviewer determine if you have the skills to solve
Salesforce operational challenges for other users. You can explain these questions by
specifying the command or procedure that solves the issue and how you use it.
Example: "Salesforce makes it easy to bulk delete records permanently using the hard
delete option. The difference between delete and hard delete options is that the former
sends the deleted records to the Salesforce recycle bin, where it remains for 15 days.
The hard delete erases all records permanently from the Salesforce system with no way
to recover it."
The hiring manager might ask this question to test your knowledge of the Salesforce
Lightning platform. Components are crucial in facilitating communication between
different objects on the Lightning platform. When you create a component inside
another component, it creates a parent-child relationship.
Example: "The first step is to create a custom component event with the required
attributes to facilitate communication between the child and the parent components.
Register an event in the child component using the Aura tag and fire an event using a
trigger like "button onclick" or "onchange of input text". Every time the trigger occurs in
the child component, it calls the custom event and passes the required parameters to
the parent component."
The interviewer might ask you questions like these that require you to perform specific
tasks. These questions help the interviewer test your knowledge of using suitable
Salesforce functions to complete these tasks. You can prepare for similar questions by
revising essential Salesforce functions before the interview and updating your
knowledge on them.
Example: "We can use the CASESAFEID() in the formula field to increase its value
from 15 to 18 digits. To decrease the field size, remove the last three digits. Salesforce
automatically truncates the field size from 18 to 15."
Security is one of the biggest reasons organisations are hesitant to implement cloud-
based solutions like Salesforce. Salesforce administrators ensure the safety of
customer data stored and transmitted using Salesforce products. By suggesting
different safety procedures and best practices, you can demonstrate to the recruiter that
you prioritise data security, creating a favourable impression that might help you secure
the role.
Interviewers might include a few questions that ask you to explain the differences
between two features in a Salesforce product. When answering a question that
discusses the difference between two things, you can first describe the definition or
highlight of each element and then explain how they vary. This approach demonstrates
that you have thorough knowledge about the feature and understand its usage
accurately.
Example: "A report type in Salesforce is a template that makes reporting easier and
straightforward. The report type determines the records and fields available for use and
defines the relationships between a primary object and its related objects. In
Salesforce, the two basic report types are standard and custom.
A standard report is the default type and Salesforce automatically generates it when
you create objects and define the relationships between them. A custom report is a
user-created report and the admin can specify all the fields available to users while
creating it. It also has the functionality to associate up to four objects. It is like
instructing Salesforce that you need specific objects with pre-defined fields whenever
you use the report."
Example: "We can assign user knowledge licence by changing the status of the
knowledge user checkbox to 'true' on the user detail page. This ensures that the
specific user has access to all knowledge articles."
7. What error does the system show when you create a new active
escalation rule when another active rule is already in place?
The interviewer might try to confuse you by asking tricky questions like these. The
question's wording might make you think that the Salesforce CRM shows an error
message when you create a new escalation while another escalation already exists. But
the actual response is that the CRM does not display an error message in this scenario.
Example: "No, there are no error messages. Instead, the Salesforce CRM marks the
old escalation as inactive and the new escalation becomes the active rule. This is
because the CRM permits only one escalation to be active simultaneously."
Example: "There are several ways to call the Apex class. Some of the popular
methods include using triggers, from the developer console, using JavaScript links,
from the Visualforce page, from another class or by using the homepage components."
Example: "When the developer does not declare a class using "with sharing" or
"without sharing" attributes, the class does not consider the various sharing rules. But, if
another class with the 'with sharing' attribute calls the first class, it considers the
corresponding sharing rules. If a "without sharing" class calls another "with sharing"
class, the system executes the methods inside the "without sharing" class."
This question tests your knowledge of role hierarchy, assignment rules and the approval
processes. The interviewer provides such hypothetical situations to evaluate if you
would be able to handle such similar situations later in the workplace. You can answer
these questions by explaining your solution and why you feel it is the best possible
option.
Example: "The best approach is to deactivate the manager's account and reassign the
team to another manager. To prevent users from logging into the account during the
reassignment, I suggest that we can freeze the team member's accounts temporarily by
using the "freeze" button on the user record. Once the reassignment is over, we can
deactivate the freeze button and continue with the new hierarchy."
Please note that none of the companies, institutions or organisations mentioned in this
article are associated with Indeed.