CompanyAccenture
Focus AreaSalesforce Developer
Questions18+
Topics4
Accenture Salesforce developer interview experience, shared by a real candidate.
What's Covered
Topics covered in this interview.
01Lightning Web Components5
02SOQL & Data2
03Apex & Triggers3
04General & Experience8
All Interview Questions
Every question asked in this interview, listed one by one.
1Lightning component vs Lightning web components?
2Would you prefer Aura or LWC? Why?
3How we can use LWC in VisualForce Page?
4What is "NavigationMixin" in LWC?
5How to use PubSub in lightning web components?
6Total number of SOQL queries issued?
7Write apex to use an Map and SOQL together.'
8Explain me about governor limits
9Types of governor limits.
10Get/Set in Apex?
11Intro
12What are custom settings? When to use custom settings over mdt?
13Have you faced "STORAGE LIMIT EXCEEDED" error? How to resolve?
14We want to migrate from salesforce classic to lightning. Can we? What should be the approach?
15How you handle tight deadlines?
16What is Einstein GPT ?
17What is Viewstate? Limit? How to reduce Viewstate?
18When we use Wrapper wrapper classes?
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
- What is Database.Stateful in Batch Apex?
- How do you read values from custom metadata types in Apex?
- What is the difference between static and instance variables in Apex?
- What is the difference between with sharing, without sharing and inherited sharing?
- What are governor limits? Name five important ones.
Lightning Web Components questions
- What is the difference between a wired Apex call and an imperative Apex call?
- How do you refresh data on the screen after a record changes (refreshApex)?
- What is Lightning Data Service, and which base components use it?
- How do you handle errors returned from an Apex call in LWC?
Triggers questions
- Why can you not update the records in Trigger.new directly inside an after trigger?
- How do you stop a trigger from running more than once on the same record (recursion)?
- How do you test a trigger with 200 records?
- What is the difference between addError on a record and addError on a field?
SOQL and Data questions
- What is a selective query, and why does it matter for large data volumes?
- What is the difference between WITH SECURITY_ENFORCED and WITH USER_MODE?
- How do you query deleted records (ALL ROWS)?
General and experience questions
- How do you handle code reviews and technical debt on your team?
- What is your experience with agile or scrum on Salesforce projects?
- How do you keep up with new Salesforce releases?
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
Lightning Web Components
- Lifecycle hooks: constructor, connectedCallback, renderedCallback, disconnectedCallback
- Decorators: @api, @track, @wire and when each is needed
- Parent to child and child to parent communication using properties and custom events
- Lightning Data Service and the uiRecordApi functions
- Calling Apex: wire versus imperative, and cacheable methods
- Template directives: if:true, for:each, key and lwc:if
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, Lightning Web Components 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.
- Build one small component that uses @wire, an imperative Apex call and a custom event, and be ready to explain each part.
- 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.