EY – Salesforce Developer Interview Questions​

CompanyEY
Focus AreaSalesforce Developer
Questions19+
Topics6

EY Salesforce developer interview experience, shared by a real candidate.

What's Covered

Topics covered in this interview.

01Flows & Automation5
02Lightning Web Components1
03SOQL & Data1
04Apex & Triggers5
05Salesforce Core Concepts3
06General & Experience4

All Interview Questions

Every question asked in this interview, listed one by one.

1Can we bypass validation rules using apex?
2Have you worked on flow? What are the types of flows? 
3What is recently introduced in flow?
4Best practices of creating  flow?
5When we should got flow instead of triggers?
6In are wire method in LWC?
7Write SOQL to fetch Accounts and associated Contacts.
8How we can bypass sharing rules using apex?
9In apex what is with sharing and without sharing? what is followed by default?
10Best practices of triggers?
11Can we call future method from trigger? If No then why?
12Can we call future method from another future method?
13Explain role hierarchy.
14Explain sharing rules.
15What is OWD (Organization-Wide Defaults)?
16Difference between lookup and master detail?
17How many ways we can share the record?
18What is reports in salesforce? Can we create reports in salesforce classic ?
19Write code to send data from child to parent.

More Salesforce Interview Questions to Practice

The extra questions below are not from this interview. They cover the same topics and are commonly asked in Salesforce developer interviews, so they make good practice before your own round.

Apex questions

  • How do you read values from custom metadata types in Apex?
  • What is the difference between static and instance variables in Apex?
  • What are governor limits? Name five important ones.
  • What is the difference between Database.insert and the insert DML statement?
  • What is the difference between Batch Apex, Queueable Apex, Future methods and Schedulable Apex?

Flows and Automation questions

  • What is a subflow, and why would you use one?
  • What is the status of Workflow Rules and Process Builder, and how do you migrate them to Flow?
  • What governor limits apply to Flows, and how do you avoid hitting them?
  • What are scheduled-triggered Flows used for?

Triggers questions

  • What happens when a trigger and a record-triggered Flow run on the same object?
  • What are the trigger context variables?
  • What is the difference between before and after triggers, and when do you use each?
  • What is the difference between Trigger.new and Trigger.newMap?

Security and Administration questions

  • How do you share records using Apex managed sharing?
  • What is a validation rule, and how can you bypass it for specific users?
  • What is the difference between a role and a profile?

General and experience questions

  • How do you approach debugging a production issue?
  • How do you decide between a declarative and a programmatic solution?
  • Which best practices do you follow in Apex and LWC?

Concepts to Revise

Based on the questions on this page, these are the areas most worth revising.

Apex

  • Governor limits for SOQL, DML, CPU time and heap size
  • Bulkification: no SOQL or DML inside loops
  • Sharing keywords and how they affect record access
  • Asynchronous Apex: future, queueable, batch and schedulable
  • Test classes: test data, System.assert, Test.startTest and Test.stopTest
  • Collections and wrapper classes

Flows and Automation

  • Screen, record-triggered, scheduled and autolaunched Flow types
  • Before-save versus after-save behaviour
  • Fault paths and error handling
  • Invocable Apex methods and Apex-defined variables
  • Subflows and reusable logic
  • Flow limits and bulk behaviour

Triggers

  • Context variables: isBefore, isAfter, isInsert, isUpdate, isDelete, isUndelete
  • Trigger.new, Trigger.old, Trigger.newMap and Trigger.oldMap, and in which events each exists
  • One trigger per object with a handler class
  • Preventing recursion with static variables
  • addError to block a save with a message
  • Testing triggers with single and bulk records

How to Prepare

The questions on this page lean towards Apex, Flows and Automation and Triggers. Spend most of your revision time there, then cover the remaining topics lightly.

  • Practise explaining governor limits and bulkification with a real example from your own project.
  • Be ready to compare a Flow and an Apex solution for the same requirement and justify your choice.
  • Write a trigger with a handler class from memory, then test it with 200 records to prove it is bulk safe.
  • Say your answers out loud. Interviewers listen for clear, structured explanations, not memorised definitions.
  • Prepare one or two real examples from your own projects for the general questions.

Preparing for a Salesforce developer interview?

Browse more real company interview experiences and hands-on Apex trigger patterns.

Leave a Reply