Top Salesforce Interview Questions
Are you worried about clearing your interview?
If yes, then definitely I am going
to help you in getting success. Follow the blog and try to find out the answers
by yourself. Have fun while learning!
These questions are based on real scenarios. I have gathered few of the questions from the developers around me about their interview experiences and I will keep on updating it.
General Lightning Theory Questions:
- What’s the difference between Salesforce Classic and
Salesforce Lightning?
- Name the components in the bundle.
- What is the use of Lightning App?
- What is client-side controller and server-side
controller?
- What is the use of client-side controller? Are there
any advantages?
- Why do we need Helper.js when we have controller.js?
- How can we create a component dynamically?
- How can we pass attributes from one component to
another? Explain all the methods?
- How can we pass attributes in case of parent child
relation or no relation?
- What is Application Event
- What is Component Event
- Phases of both application event and component event?
- Pagination in Lightning Component?
- Explain Aura Method?
- Can we call one controller method from another
controller method?
- How to call helper method from another method?
- What is use of LDS. Explain the advantages
- What are locker services?
- What is SQL Injection?
- What is DOM?
- What is a namespace and how can we change this?
- Explain how can we initiate integration from a
lightning component?
- What is the use of aura enabled?
- Explain the functionality of init function?
- How can we get multiple types of data from apex to
lightning?
- What is a wrapper class and explain its benefits?
General Salesforce Questions:
- What is role and profile?
- What is the use of OWD
- Use of custom settings?
- Use of custom metadata?
- How custom settings is different from custom metadata?
- Difference between SOQL and SOSL
- How to query parent from child and vice versa
- How to query the records from recycle bin?
- Best practices of Test class?
- Explain all the annotations in a test class?
- Best practices of Apex class?
- What is the difference between Workflow, Process
Builder and Trigger?
- How to call apex from process builder? Mention all the
condition of that apex method.
- When do we see Error: Uncommitted Work Pending?
- When do we see Error: List has no argument to assign?
- When do we see Error: List has more than one argument to
assign
- When do we see Error: NULL pointer exception?
- What is the use LIMIT in a query? Explain LIMIT class?
- What is the difference between insert and
Database.insert
- What are batch classes and when to implement those?
- How many records can we query in start method?
- Explain the methods in a Batch class?
- Why do we implement batchable and schedulable interface
in a batch class?
- How to capture error records in execute method?
- How to capture error records in final method?
- What are the types of collection?
- When to use set, list and map?
Written Questions:
- Write one component and controller and call the server
(APEX)?
- Write a trigger to update all the contact’s address
when account’s address is inserted or updated?
- Write a trigger for Roll Up summary in case of lookup?
- There is a field on Opportunity called Amount.
Suppose there are 4 opportunities for an account. Account is also having a
field called Amount. When the account’s amount is updated like
say 100, then it should be equally divided among all the opportunities.
All the 4 opportunities will have 25 in the amount field.
Please share the blog and leave a comment about your thoughts.
Click here for more blogs.
Answers b post kro��
ReplyDeleteIt would be great if you try it yourself. It will help you to get more knowledge about that topic.
DeleteHelpful
ReplyDelete