Cognizant EAS Salesforce - Business Analyst Interview Questions & Experience Guide

Company Name: Cognizant

Position: EAS Salesforce - Business Analyst

Application Process: I applied via a job portal and was interviewed in May 2024.

Interview Rounds:

  • Round 1 - Technical Round:

    • Questions Asked:
      1. Introduce yourself.
      2. Explain your role in the current project.
      3. Can we use multiple decorators in LWC on a property? (Answer is No)
      4. What are the decorators in LWC and their uses?
      5. What is Promise and PromiseAll?
      6. How is the connection done from Mulesoft to Salesforce?
      7. What is a Connected App, Remote Site Settings, and OAuth?
      8. What are the best practices in Triggers? And what are trigger events?
      9. What is a rollup summary field?
      10. What is “with” and “without sharing”?
      11. Difference between Future and Queueable Apex?
      12. What type of parameters can be passed to Future?
      13. How to pass subjects to Future methods?
      14. What are the tools for deployment?
      15. Write a trigger on Contact to display the number of contacts on Account.
      16. Write a trigger on Account: if one or more contacts are associated with the Account, show an error if the user tries to delete the account.
    • Your Approach: I answered the questions based on my hands-on experience and theoretical knowledge. For coding questions, I explained the logic and wrote the pseudocode.
    • Outcome: Cleared the round.
  • Round 2 - Technical Round:

    • Questions Asked:
      1. Write LWC code for displaying Accounts with related contacts in a list.
      2. Write a trigger on Order Products: It should display the most sold product type on the Account. (E.g., if the most sold products are TVs, ACs, and fridges, and TVs are the highest, update “Tv” as the most_sold_product on the Account page.)
      3. Write the syntax for a Batch class.
    • Your Approach: I provided detailed code snippets and explained the logic behind each solution.
    • Outcome: Cleared the round.

Preparation Tips:

  • One question for sure will be on Triggers, so please practice Triggers thoroughly.

Conclusion:
The interview process was smooth, and the questions were aligned with the role’s requirements. I felt confident in my technical knowledge, but practicing more coding problems beforehand would have been beneficial. My advice to future candidates is to focus on hands-on coding practice, especially Triggers and LWC, and to be clear about Salesforce concepts.