Admin Interviews Questions
Admin Interviews Questions
1|Page
4. Explain Workflows, Process Builders, Flows in Salesforce?
5. What is a Profile?
A profile is a group/collection of settings and permissions that define what a user can do in salesforce.
A profile controls “Object permissions, Field permissions, User permissions, Tab settings, App settings,
Apex class access, Visualforce page access, Page layouts, Record Types, Login hours & Login IP ranges.
6. What is a Role?
A role is a record-level access in Salesforce that defines the visibility access of a user in the hierarchical model of an
organization.
7. What is a Permission Set?
It is a collection of Settings and permissions, extends user's access without changing their profile.
8. What is a Public Group?
A public group is a collection of individual users, other groups, roles and subordinates that all have a function in common.
9. What is a Queue?
10. What are sharing rules?
Sharing rules are used to create exceptions to the Organization-Wide Default settings for the users who do not own the
record.
There are 2 types of Sharing Rules in Salesforce based on which records are to be shared:
1. Owner Based
2. Criteria Based
11. What is a Change Set?
- Change sets are used to the migrate customizations from one Salesforce instance to another. There are two types of
change sets, outbound change set and inbound change set.
12. What are the different types of sandboxes?
Sandbox is a replica of production Org. 4 Types:
Developer Sandbox: Developer Sandbox is used for individual developers or small teams. It has storage limit of
200MB.
Developer Pro Sandbox: This type of Sandbox is like a Developer Sandbox, but it has more storage capacity and allows
for more customization. It has storage limit of 1GB.
Partial Copy Sandbox: This type of sandbox is a partial copy of production environment. It allows you to copy a subset
of production data to the sandbox. It has storage limit of 5GB.
Full Sandbox: It is an exact replica of your production environment including all metadata. It has storage limit same as
your production org.
13. What are Record Types?
Salesforce Record Types are a way of grouping many records of one type for that object. These can be applied to any
standard or custom object, and allow you to have a different page layout, fields, required fields, and picklist values.
14. What are Reports and Dashboards?
Salesforce Reports are used to generated data and display the data in the form of Rows and Columns with rule criteria.
Every reports in Salesforce is stored in Folders. We can set folder to hidden, Shared, read-only or read/write. There are
two types of Reports in Salesforce.
2|Page
Salesforce dashboards are pictorial representation of reports data which can be displayed using Graphs, Bar charts, Pie
Charts, Tables, Scatter Chart, Gauges, Metrics, Funnel chart and so on.
15. What is the difference between a page layout and a Lightning page?
Page layouts represent how an object is shown from a detail level.
Lightning pages almost always contain that detail, but also provide other features, like Flow embedding, or Chatter, or
any other format.
Page layouts are close to the object, Lightning pages are close to the app.
16. What is a Custom Metadata and custom settings?
Custom Settings Custom Metadata Types
Type Custom Settings are also similar to custom Custom metadata does not support Hierarchy type of
objects. You can either create a List based or data based on user profile or a specific user.
hierarchy based custom setting.
Deployment Custom settings data cannot be deployed using Custom metadata types data can be easily packaged
packages or Metadata API/Change Sets. and deployed. Metadata types can also be deployed via
Change Sets/Metadata API.
Relationship Custom settings do not support relationship You can create lookups between Custom Metadata
Field fields. objects.
Suffix It has a suffix of “__C” like custom object It has a suffix of “__mdt”
Test Class Custom setting data is not visible in test Custom metadata types are visible in test class without
classes. the “SeeAllData” annotation.
DML in Apex You can perform CUD (Create, Update, Delete) You cannot perform CUD (Create, Update, Delete)
operation on custom setting in apex. operation on custom metadata type in apex.
SOQL You can access custom setting data using With custom metadata types, you can issue unlimited
instance methods and can avoid SOQL queries (SOQL) queries for each Apex transaction.
to database But method is also available.
17. How many emails we can send using flows & In how many ways we can send emails via flows?
We can send upto 5000 mails to external users and unlimited to internal users.
Custom metadata:- Custom metadata is customizable, deployable, packageable, and upgradeable application
metadata.(Custom Metadata Types in Salesforce are a special type of metadata that allows you to create custom records
to store application configuration data.)
3|Page
Plan For Faults (negatives)
Utilize Before-Save Flows for Same Record Updates
Use After-Save Flow Instead of Process Builder/Workflow
3. Can we schedule data export in data loader, if yes how?
4|Page
- 18 digit case-insensitive version which is referenced by API(and best used for manipulating data outside Salesforce &) it
is referenced through in the API and other 3rd party tools.
14. How to convert a 15-digit record-Id to 18-digit record-Id?
Using CASESAFEID()
15. What is static resource in Salesforce?
Static resources are useful for storing and uploading various types of files, such as images, documents, zip files,
JavaScript files, and CSS files. The storage capacity for static resources is limited to 250MB.
16. How can you change a lookup field to master-detail?
To convert lookup to the master-detail relationship you need to give parent records on all child records. Then only you can
convert a lookup relationship to a master-detail relationship if the lookup field in all the records contains a value.
17. How can you change a master-detail relation to lookup?
We have to make sure there are no roll-up summary fields on the master object. If there are rollup summary fields we
have to delete those fields to convert it. Deleted Roll-up fields should also be permanently deleted.
37. In how many ways we can make field as required field?
-> During field Creation(By checking required field box).
-> Validation Rules(Giving Conditions)
-> Page Layouts and Record Types.
-> Using Automation tools( Flow, Process, Work flow)
-> trigger
-> LWC
38. Setup vs Non setup Objects in Salesforce?
Set Up Objects: Setup objects are objects that are used to interact with the metadata.
Profiles, Users, Record Type
Non-Set Up Objects: Every native(Std) and Custom Objects fall into the category of Non-Setup.
Account, Contact, CustomObj__c..etc
39. Explain sales cloud and it's mechanism?
40. Can we schedule Dynamic dashboards?
No, we cannot schedule dynamic dashboards.
5|Page
What is the purpose of Test.startTest() and Test.stopTest()?
Test.startTest() and Test.stopTest() maintains fresh set of governor limits. Assume that you are consuming 99 SOQL
queries outside of Test.startTest() and Test.stopTest() then if you include any SOQL inside
of Test.startTest() and Test.stopTest() count will start from 1.
Per testMethod we can use Test.startTest() and Test.stopTest() only for one time.
To execute asynchronous methods synchronously we can call those methods from inside
of Test.startTest() and Test.stopTest().
Scratch org:- Dev Org allows us to create scratch orgs(Enable dev hub), This is disposable and configurable salesforce
environment that we can use for development and testing. We can create 6 scratch orgs daily and 3 orgs can be
active.(1-30 days time period).
Force.com:- The Force.com platform, which is known as Salesforce.com's platform as a service (PaaS) product, was
launched in 2007. Force.com is a cloud computing platform that allows for developers to quickly build, share, and run
custom business applications over the Internet.
Salesforce Debug logs :- Debug logs are used for troubleshooting the issues and monitoring the performance of the
code.
Types:- User debug log(Captures specific user execution)
-> System debug log(all users)
->Visualforce debug log
->Apex profiling
->Database debug log
->Workflows logs
->Validation debug logs
->Apex callouts logs
Debug Levels :- Determine the type and amount of information recorded by the logs.
Seven types : - None, Error, Warn, Info, Debug, Fine,Finer, Finest
Types of email templates :- Text template, HTML template, Custom HTML, VisualForce, Custom
6|Page
The value null represents the absence of any object, while the empty string is an object of type String with zero
characters.
FLOWS:
Limited debugging options. Debugging is primarily done Developers have more robust tools for debugging, including the
through the Flow Builder interface. ability to use system logs and other development tools.
Deployments:
Development
APEX :
7|Page
1. Apex best practices?
1. Bulkify Your Code
2. Avoid DML/SOQL Queries in Loops
3. Avoid Hard-coded IDs
4. Use a Single Trigger per SObject Type
5. Have a Naming Convention
6. Avoid Business Logic in Triggers
7.
2. What is bulkify in apex? - Capable of processing large number of records at a time within governor
limits.(Perform Soql and DML statements in Collections)
4. Asynchronous apex?
An asynchronous process is a process or function that executes a task "in the background" without the user having to
wait for the task to finish. It executes when resources get available.
8|Page
5. What is the use of static keyword?
6. Difference between with and without sharing keyword?
With Sharing(User-context): Sharing rules will be taken into the consideration and the user can access or perform the
operations based on the permissions given to him on object and fields (Field Level Security, Sharing rules).
Without Sharing(System-Context): Apex class runs in system mode which means Apex code has access to all the objects
and field irrespective of current users sharing rules, field level security and Object permissions.
Default is without sharing.
7. Explain the methods of Batch Apex Class?
Each batch has three methods to be implement.
These are start(), execute() and finish().
The start method is the first one that runs at the beginning of the job. Its purpose is to gather the records or objects that
need to be processed by the execute method.
The execute method gets executed for every set of records that are passed to it. Its main function is to handle all
necessary processing for each group of data.
The finish method is used for carrying out post-processing tasks, such as sending confirmation emails or running
additional operations after all batches have been processed. This method is called once all batches have been
completed.
9|Page
Iterable vs QueryLocator in apex batch class?
if you want to run batch on records that can be filtered by SOQL then QueryLocator is preferable, but if records that you
want to be processed by batch can't be filtered by SOQL then you will have to use iteratable.
Can we call batch from batch?
Yes, a batch class can be called from a batch class but only in the finish method.
Can we call future from future?
We cannot call a future from another future or batch apex. The limit on future method for single apex invocation is
50.
Can we call batch in trigger?
Yes, batch Apex can be invoked using an Apex trigger. But the trigger should not add more batch jobs than the limit(5
apex jobs queued or executing at a time).
Can we make callout in batch?
Yes, Start, execute, and finish methods can implement up to 100 callouts each.
Implement Allows Callouts to enable callouts from the Batch Apex.
Methods marked as future can't be called from a Batch Apex class.
All methods in the class must be defined as global or public.
Can we make callout in future?
Yes, future callouts are made using the @future(callout=true) annotation in Apex. This annotation specifies that the
method will make a callout to an external service. Method must also be static and have a void return type.
8. What is cacheable=true in apex method?
((When you set the "cacheable" attribute to "true", Salesforce caches(Stores) the response from your Apex method.
If we call again same method, The response from this request is stored in the client cache, and it's used for all
components that made this call.))
--->This method helps us to reduce server load and increase the performance of lightning web components.
10 | P a g e
--->If the method is cacheable, it must only get data, it can't mutate data, and only read operations are allowed, DML
operations are not allowed here.
7. @testsetup
It is used to define a method in test class that runs once before all the test methods in that class. Its purpose is to
create reusable test data that can be used across multiple test methods in that class.
11 | P a g e
9. SOQL 101 ERROR :-
-> If we try to run more than 100 SOQL queries in synchronous apex, we get this error.
How to resolve:-
-> Avoid writing SOQL in loops.
->Syntax issue.
->Check object and fields names.
->Check permissions of the user.
APEX – Trigger
4. Under what scenario recursion will happen in triggers and how will you overcome?
Recursion will happen when we are trying to update same record multiple times in a single transaction. We can overcome
it by using Boolean check.
How to handle recursion?
12 | P a g e
5. Difference between "Trigger.New" and "Trigger.old".
Trigger.new : Returns a list of the new versions of the sObject records.
Only available in insert and update triggers, and the records can only be modified in before triggers.
13 | P a g e
Powerful tools and resources: LWC has a robust set of tools and resources available, (like - a powerful IDE,
comprehensive documentation, and an active community of developers), this makes it easier to learn and use LWC, and
to get help and support when needed.
14 | P a g e
4.Explain the concept of data binding in LWC?
Data binding in the LWC is the synchronization between the controller(JS) and template(HTML).
One-Way Data Binding: JS->HTML
Two-Way Data Binding: JS->html
HTML->JS
For creating communication between two unrelated LWC components we use publish-subscribe mode, where one
component works as a publisher and another as a subscriber. To pass the message between two components, we use
LMS(Lightning Message Service).
15 | P a g e
12.Use of Await/Async keywords in LWC?
The keyword async is used to define an asynchronous function. This returns a promise. In the body of this function we
should write our business logic with the await keyword
to pause the execution of the function until a promise is resolved or rejected.
16 | P a g e
For example, if your LWC is in a namespace called custom, and its name is myLWC, the syntax would
be <c:custom/myLWC>. If it's in a folder named components within the custom namespace, it would
be <c:custom/components/myLWC>.
18.
17 | P a g e
19. What is Lightning Datatable?
In Lightning Web Components (LWC), the lightning-datatable is a standard UI component provided by Salesforce
that allows you to display data in a tabular format within your Lightning Experience or Lightning Communities
applications. It provides a powerful and flexible way to present data to users, with features such as sorting,
pagination, row actions, column resizing, and more.
Integration:
18 | P a g e
JSONGenerator class is used for serialization.
8. Deserialization: JSON to sObject
JSONParser is used for Deserialization.
9. HTTP Status codes?
// POST
req.setEndpoint(url);
req.setMethod('POST');
req.setHeader('Content-Type', 'application/json');
req.setBody('{Your_JSON_Content}');
HttpResponse res = h.send(req);
return res.getBody();
19 | P a g e
return result;
}
@HttpPost
global static ID createCase(String subject, String status,
String origin, String priority) {
Case thisCase = new Case(
Subject=subject,
Status=status,
Origin=origin,
Priority=priority);
insert thisCase;
return thisCase.Id;
}
}
VisualForce Page :
20 | P a g e
1. We have an email field on contact, and custom email field on account. If contact is inserted with email, if that
email is present in any account then associate that contact to account. If email is not present then create account and
associate to that
2. If we have 3 LWC components C1, C2, C3 and how we communiate from C1 to C3 ?
3. We hava a datatable in LWC with 20 rows(each row has checkbox), if user selected any 5 records and click
button, all those 5 records needs to transfer to another datatable how?
4. On acc record page we have an LWC and another LWC on Contact record page. How to navigate from account
to contact?
5. If we have email and phone num in account, the combination of email+phone should be unique across all
accounts.
6. Due to some value in renderedcallback, LWC calling again (Recursion) how to stop?
7. While uploading a file using LWC into object record, we are getting size issue(Heap size) how to solve?
8. How to decide whether to use static method or Non-static method?
9. While updating opportunity, sometimes I can update & sometimes getting different errors like: Trigger error, Flow
error, Process builder error, … etc what could be the reason?
10. Throw an error when user tries to delete contact that is not linked with any acc using trigger?
(Tip: addError)
11. Write a trigger to avoid insertion of account if there is an account with the same Email and having related contacts
to it.
12. If we have an approver at level 2 and we freeze user after level 1, what happens?
13. Count the total contacts associated with that account?
21 | P a g e
14. There are 2 objs Account and customObj__c both have same fields
Account Fields : Name, Phone, Email, isValid, Valid
CustomObj__ c Fields : Name, Phone, Email, isValid, Valid
Once we create account, we will give Name, Phone and Email while insertion, then based on same details we need to
fetch isValid and Valid values from customObj__c and assign those values to Account fields(isValid, Valid).
Managerial
1. What are your roles & responsibilities in your current organization?
o As an Associate Developer my role is
o I'll be attending client meetings,
o Then I have estimate the stories and requirements and then creating designs, then development and unit testing
and finally deploy my changes into production.
22 | P a g e
o And also I'm supporting the production and live environment by fixing bugs.
2. What challenges did u face?
One of the biggest challenges I faced in my previous company is that, after 1 year of experience I have added into 2
projects at a time one is own product and other service project
In product project there was a big issue while downloading multiple files from salesforce as there were large number of
files and due to limitation files are not getting downloaded, we were only 3 members and we all have below 3 years of
experience and clients are forcing us to fix that ASAP in that case I have taken extra responsibility, and changed some
changes in architecture of the project in order to get this done and later I have received spot award for this also.
3. Tell me about your project?
My project is ASK, an Australian based NBFC project which has MVC architecture, with domain driven design.
It has 2 internal parts
ASKWA(Wealth assessment) - Here user can get services how to manage wealth.
ASKIM(Investment management) - Here user can get services where to manage wealth.
I was part ASK origination which is used to onboard a user like taking PAN, doing KYC, verifying documents,
getting financial data, … till onboarding into ASK.
4. Why do you want to join our company?
The main reason I want to work here is, I was so excited about the opportunity after going through the JD as it is more
relevant to my skills and it made more interesting after knowing about company which will help me to gain more practical
experience
I think it will be the best place for me to advance my career.
5. What do you know about our company?
Calpion is an 18-year-old Dallas-headquartered company
Founded in 2004
Projects - AnodynePay(For Your end to end Patient payment solution to completely transform your patient
payment experience.)
Hermes Accounts Payable Automation (Easy AI-Powered accounts payable automation for busy accounting teams.)
Partnerships with Microsoft, Amazon, SAP, HP, Worksoft, Microfocus, Tricentis, etc.
Industry Focus: healthcare, logistics, supply chain, oil & gas, biotechnology, hospitality, catering, manufacturing,
and airlines.
23 | P a g e
My weakness is a little overthinking as I do think in all perspectives while taking a decision but I'm overcoming through my
experiences.
24 | P a g e