Showing posts with label salesforce interview question. Show all posts
Showing posts with label salesforce interview question. Show all posts

Wednesday, December 11, 2019

Top Salesforce Interview Questions - Get Success in First Attempt!

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:

  1. What’s the difference between Salesforce Classic and Salesforce Lightning?
  2. Name the components in the bundle.
  3. What is the use of Lightning App?
  4. What is client-side controller and server-side controller?
  5. What is the use of client-side controller? Are there any advantages?
  6. Why do we need Helper.js when we have controller.js?
  7. How can we create a component dynamically?
  8. How can we pass attributes from one component to another? Explain all the methods?
  9. How can we pass attributes in case of parent child relation or no relation?
  10. What is Application Event
  11. What is Component Event
  12. Phases of both application event and component event?
  13. Pagination in Lightning Component?
  14. Explain Aura Method?
  15. Can we call one controller method from another controller method?
  16. How to call helper method from another method?
  17. What is use of LDS. Explain the advantages
  18. What are locker services?
  19. What is SQL Injection?
  20. What is DOM?
  21. What is a namespace and how can we change this?
  22. Explain how can we initiate integration from a lightning component?
  23. What is the use of aura enabled?
  24. Explain the functionality of init function?
  25. How can we get multiple types of data from apex to lightning?
  26. What is a wrapper class and explain its benefits? 


General Salesforce Questions:

  1. What is role and profile?
  2. What is the use of OWD
  3. Use of custom settings?
  4. Use of custom metadata?
  5. How custom settings is different from custom metadata?
  6. Difference between SOQL and SOSL
  7. How to query parent from child and vice versa
  8. How to query the records from recycle bin?
  9. Best practices of Test class?
  10. Explain all the annotations in a test class?
  11. Best practices of Apex class?
  12. What is the difference between Workflow, Process Builder and Trigger?
  13. How to call apex from process builder? Mention all the condition of that apex method.
  14. When do we see Error: Uncommitted Work Pending?
  15. When do we see Error: List has no argument to assign?
  16. When do we see Error: List has more than one argument to assign
  17. When do we see Error: NULL pointer exception?
  18. What is the use LIMIT in a query? Explain LIMIT class?
  19. What is the difference between insert and Database.insert
  20. What are batch classes and when to implement those?
  21. How many records can we query in start method?
  22. Explain the methods in a Batch class?
  23. Why do we implement batchable and schedulable interface in a batch class?
  24. How to capture error records in execute method?
  25. How to capture error records in final method?
  26. What are the types of collection?
  27. When to use set, list and map?

Written Questions:

  1. Write one component and controller and call the server (APEX)?
  2. Write a trigger to update all the contact’s address when account’s address is inserted or updated?
  3. Write a trigger for Roll Up summary in case of lookup?
  4. 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.


Mostly Viewed