Tech Mahindra Salesforce Latest Interview Questions

Tech Mahindra Salesforce Developer Interview Questions

Following are the interview questions asked at Tech Mahindra for a Salesforce Developer role with 3+ years of experience.

  1. What is the difference between for:each and iterator in Lightning Web Components (LWC)?
  2. How do you implement Lightning Message Service (LMS) with an example?
  3. What is Lightning Data Service (LDS), and how is it used?
  4. What is the difference between with sharing and without sharing in Salesforce Apex?
  5. If a Batch Apex processes 3000 records with a scope of 200, how many debug logs will be generated?
  6. How would you implement a rule where an Account’s phone cannot match a Contact’s phone?
  7. What are lifecycle hooks in Lightning Web Components?
  8. Which executes first: decorators or lifecycle hooks?
  9. Can we call a Batch Apex class from a future method? If not, why?
  10. Can we make callouts from Batch Apex?
  11. How many ways can records be shared in Salesforce?
  12. Write LWC: Show Datatable with 4 account fields, make use of refresh apex to show latest records changes.
  13. SOQL: Find all accounts where contact is associated with more that one Opportunity.

Leave a Reply