Question for Salesforce Interview

Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

Question For Salesforce Interview

Aman and Vishal:

1. What is the Lightning design system?


2. Annotation used in LWC components?
3. Asynchronous apex?
4. Context variable in triggers?
5. What is the Aura component?
6. What is integration in salesforce?
7. What is configuration in salesforce?
8. Query to fetch Name of Account owner?
9. What are Governor Limits in Salesforce?
10. How many records can you insert at a time in Salesforce?
11. What is REST API
12. What is SOAP API
13. What is Trigger
14. What is Field level security
15. What is Data security model
16. What is Process builder
17. What is Govern limits in Salesforce
18. Explain test class
19. Explain decorators in javascript

Abdul Bilal:

1. What is Process builder


2. What is Workflow
3. What is the difference between workflow and ProcessBuilder
4. What is Lwc track api Wire work
5. How to show Custom component in community
6. How to add custom tap in community
7. What is the difference between Permissions set and OWD
8. What is the difference between Permissions set and Roles

Vikas Kumar Sen

1. Maximum cpu time limit


2. Soql query limit
3. Total number of DML statements in apex class
4. Difference between OWD and Profile
5. If a user had OWD Read Permission and Profile Read/Write Permission can we update
record in that scenario
6. If a user had OWD Read/WritePermission and Profile Read Permission can we update
record in that scenario
7. Can we call a batch class from apex trigger and How?
8. Aura Component
9. Difference between Profile and Permission Sets
10. Can we assign a user multiple Profile
11. Can Multiple user have same profile
12. How many Permission Sets assign a user
13. Context Variable in apex trigger

Fabian 27-02-2021 (Appricon)

1. Explain the entire security model of Salesforce.


2. What is LDS Salesforce? Explain about its features.
3. What is the difference between trigger and process builder and when we use trigger
and processbuilder in which case what to use?
4. What is Aura in salesforce?
5. What is record level security in salesforce.What is OWD and level of hierarchies in
record level security?
6. Scenario:Given two users A and B OWD is private. Implement the security model so
that user A can see its own records and user B records also without manual sharing.
7. Scenario: Given a trigger on After insert on Account. When the record is inserted I
want to insert another record after insert, how can I implement it?
8. What are decorators in LWC and its uses?
9. Different ways to invoke Apex method from lwc and its uses?
10. On load of a component I want to call apex method and bring all the contact records
and display them on page how would i DO IT....?

Yadram
1. How to call lwc component from parent to child and child to parent
2. Scenario gave for child to parent how is listener(ex:- custom Event)
3. Scenario gave lighting web components one custom picklist how to populate it at
dynamic time.
4. Trigger best practices
5. Test class best practices
6. How to call apex asynchronous.
7. How many types we can call an apex method into lightning web components.
8. What is annotation we used at apex method to use into lightning web components
9. It is necessary to use annotation @Auraenabled at the time where we don't use of
wired
10. Why we used Test.start() and test.Stop()
11. Scenario where we used batch and queueable in business scenario perspective
12. What is the security model in a salesforce organization?
13. Give the one scenario where we alway used aura at the place of lightning web
components.
14. scenario we have one button on lighting web components on the click on button
how to populate lightning Tab.
15. Scenario we have 1000 records and we have 100 at a time how many times run and
what is functionality of the batch.
16. We have 50 million records if some records passed and some fail after these reports
are sent to by email how to handle this using batch.
17. If we want to display some records to only a single user how to handle this using
OWD.
Wasim

1. Difference between List, Set and Map


2. Which is ordered List or Set
3. 5 Difference between Workflow, Process Builder and Lightning Flow
4. uses of transient keyword in apex
5. what is platform events
6. Account have a trigger and we insert 1000 account from apex how many time the
trigger will call
7. What is View State

Fabian
1. Scenario: The requirement is as follows:
You are given certain records of Account and the requirement is to display the
location of the user on a map based on the address mentioned on account ( using
the longitude and latitude) how you would achieve this. The component is to be
placed on the record detail page.

2. How many ways we can invoke Apex in LWC and the difference between them and
when to use a certain approach.

3. Scenario:
Given a Salesforce class and Apex method I want to call the apex method on load of
the component how would I call it?
4. Scenario:
Given there are some external systems or 3 party applications who want to access
salesforce data from your org, how can you implement this business logic.
How you would handle the Authentication part.
How to handle endpoints if you were the 3 party and want to access the data.

5. Some discussion over recent projects and their task : Its challenges and how I
handled it.

6. How many ways are there you can call Apex Asynchronously.
Scenario : We have a batch class that process over large set of records say of size
10000 or bigger
If there is a failure in any record then after the whole records are processed
send the report of the failed records and success records post 1 or 2 hours to some
xyz person or user? How will you implement it?

7. Best practices when creating the triggera and we must ensure it followed always...?

8. Process Builder vs Workflow Rules (Advantages and DisAdvantages)


Scenario : If you are given a task that can be handled using workflow and process
builder both which method you would consider? and Why?
9. What is OWD in Salesforce.
Given there are two Users A and B, A belongs to USA and B belongs to India
Scenario: There are 10000 records of Country india and 5000 records that are of
country USA How would you achieve so that User A can only see records that have
country USA in it and User B can see records that have country India in it.

Kuldeep:

1. What is field level security?


2. Can we convert a VF page in pdf?
3. Difference between workflow and process builder?
4. How can we call apex from the process builder?
5. How many types of files in lightning?
6. What are the uses of custom settings?
7. What are the governor limits in salesforce?
8. What is the Rest API and SOAP API?
9. What is the trigger (use)?
10. Percentage of coverage to deploy the class?
11. How can we deploy things to production?
12. What type of changeset can we use (inbound or outbound)?
13. How can we use changeset in production?
14. Types of security?
15. What is invocable?
16. What is isTestVisible?
17. What is SeeAllData?
18. Difference between SOSL and SOQL?
19. What are the validation rules?
20. What is the permission set?
21. What is with sharing and without sharing?
22. Types of custom settings?
23. What is role hierarchy?
24. What is the future method?
25. What is synchronous or Asynchronous?
26. What types of relationships in salesforce?
27. Difference between lookup and master-detail relationship?
28. Can we change a master-detail relationship in lookup relationships?
29. What is the external key and what is the use of the external key?
30. Why do we use web callouts?
31. Types of events in lightning?
32. What are the differences between the component event or application event?
33. Difference between custom setting and custom metadata?

Yadram:
1. difference b/w workflow, process builder and trigger.
2. Workflow, process builder and trigger who will execute first.
3. What is integration?
4. What REST API.'
5. What Email Template.
6. What is the coding of the email template?
7. How to do the deployment.
8. How to deploy workflow and field updates.
9. What is validation and formula?
10. Best practice of TEst class.
11. Can we update the formula field by API?
12. How to use an email template in the approval process.
13. What is security in salesforce?
14. Difference b/w profile and permission set.
15. Can we overcome the permission in the permission set? yes/no
16. What is is_Test Scripts?
Pankaj:
1. What is a Trigger?
2. What are the best practices of Trigger?
3. How many events are in the trigger?
4. Why Trigger has not Before Undelete event.
5. Govern Limit.
6. Lock the record using a trigger and disable the edit/update option.
7. Showing error messages on standard using a trigger.
8. Syntax of Trigger?
9. Define Batch Class and its method?
10. What is a Report? How many types of reports define all.
11. Process Builder.
12. Workflow.
13. Can we send an outbound message using process builder if yes then how?
14. First three-point of process builder.
15. What is the difference b/w Trigger.new and Trigger.newMap?
16. When we use it after Undelete.
17. What are the Roles and Profile?
18. What are permission sets?
19. How many permission sets we assign for a single profile?
20. What are the differences b/w action function and action support?
21. What is Apex?
22. Best practices of Apex.
23. Best practices of Test Class.
24. How we scheduled Apex Class.
25. Invoke.
26. What are the 2 new updates in salesforce in this release?
27. Difference b/w Standard and Custom Controller.
28. What are the context variables?
29. How we scheduled Batch Class.
-----------------------------------------------------------------------------------------------
Bhawesh:
#1 What is a Trigger and syntex?
#2. What are the context variables?
#3. Best practices of Apex.
#4. How we scheduled Batch Class.
#5. Best practices of Test Class.
#6. How we scheduled Apex Class and methods.
#7. What are the permission sets?
#8. What are security and types?
#9. What is sharing rules and types?
#10. What are the Roles and Profile?
#11. What are the best practices of Trigger?
#12. How many events in the trigger?
#13. Govern Limit.
#14. Define Batch Class and its method?
#15. What is the difference b/w Trigger.new and Trigger.newMap.
#16. Showing error message on standard using a trigger.
#17. Why Trigger has not Before Undelete event.
#18 Process Builder.
#19. Lock the record using a trigger and disable the edit/update option.
#20. difference b/w permission sets and profile.
#21. How many permission sets we can assign for a single user?
--------------------------------------------------------------------------------------------------
Brijesh:
#1. Profile Permission
#2. Sales cloud
#3. Marketing cloud
#4. Integration
#5. Lightning(Basics)
#6. Process builder
#7. Workflow (can we update parent record from workflow).
#8. Batch class
#9. Synchronous and Asynchronous Process.
#10. Dataloader
#11. Governor Limit
#12.Triggers
--------------------------------------------------------------------------------------------------
Sakib:
1) Types of accounts in salesforce.
2) What is the difference between the Person and Business account?
3) What is the contract?
4) What are the leads?
5) How many objects are there in the SalesCloud.
6) What are the design patterns?
7) What is a lightning component?
8) Lightning events and functionality.
9) Process builder.
10) Profile.
11) Sharing settings.
12) Sharing rules.
--------------------------------------------------------------------------------------------------
Nishi:
1) Difference between POST, PATCH or PUT.
2) Best practices of process builder.
3) difference between Database.QueryLocator or database.query
4) why we use Database.BatchableContext in batch classes
5) invoke syntax - scheduled or batch classes.
6) 4 Security levels name in salesforce
7) difference between profile and role.
8) permission set
9) WorkFlow
10) Types of Email Templates
11)Lock the record using trigger and disable the edit/update option.
12) Why Trigger has not Before Undelete event.
13) Can we send an outbound message using process builder if yes then how?
14) First three-point of process builder.
15). What are the difference b/w action function and action support?
16) Difference b/w Standard and Custom Controller.
17). What is the context variables?
--------------------------------------------------------------------------------------------------
Rahul
1) Dynamic dashboard.
2) SOAP API.
3) Can we pass a list of string in a batch execute method?
4) How to call child method from parent component in Aura.
5) One trigger question but I forgot.
--------------------------------------------------------------------------------------------------
Karan
1. Relation Between Product2 and pricebookentrie?
2. Junction Object in Salesforce
3. Junction Object sharing rule and setting (Talk about control by Parent)?
4. Type of Approval process
5. @Test.startTest and @Test.endTest
6. Write Trigger on the opportunity object,
Opportunity Relate to multiple accounts
Task: When opportunity update with closed-won status then update to the
account(amount field) with the opportunity amount field?
condition: bulky and error handler;

7. Can use callout in batch?


8. Type of Two callouts static method in salesforce?
9. Type of sharing rule?
10. What is the lightning component explain?
11. What are the custom metadata and custom setting?
------------------------------------------------------------------------------------
Bhawesh:
1. how to perform DML on init on a load of VF page.
2. on the VF page using 3 extensions and every extension have the same method name if
we will call the method on VF page which method will call.
3. Omni-Channel in Salesforce
4. chatterbot
5. types of the approval process.
6. sharing rules types.
7. batch class and also about stateful.
8. about community.
9. how to bypass validation rule for some specific users.
10. Trigger.
11. service cloud
12. sales cloud
13. OWD setting.
LWC Questions:

1. how to call the child component from the parent.


2. communication from parent to child and pass values.
3. communication from child to parent and pass values.
4. Lifecycle Hooks.
5. communication if components do not have a relationship.
6. renderedCallback method.
7. Decorators and its explanation and uses.
8. lightning/uiRecordApi.
9. what is the meaning of reactive.

-------------------------------------------------------------------------------------------------------
Mohit Tyagi:

1. Tell me about yourself. (Told him about my experience and last project).
2. What was your role in the last project?
3. Scenario: A List can contain 10k records but the records returning from 3rd party
resources are like 30k. How to show all the records on a page (or multiple pages)?
4. Scenario: Dell makes a lot of laptops with different names and models. Each laptop
has a unique id no. How to maintain this data in Product Object?
5. Explain about integration?
6. How did you implement integration in your projects?
7. Do you know about Aura components?
8. Decorators in LWC.
9. Platform Events.
10. Scenario: A salesforce project is getting data from a 3rd party resource. After six
months somehow the project is not getting any data from the resource and the
status code is 200 so there is no error too. What measures would you take to
overcome this issue?

You might also like