CompanyL&T
Focus AreaSalesforce Developer
Questions9+
Topics4
L&T Salesforce developer interview experience, shared by a real candidate.
What's Covered
Topics covered in this interview.
01Lightning Web Components1
02Apex & Triggers3
03Salesforce Core Concepts1
04General & Experience4
All Interview Questions
Every question asked in this interview, listed one by one.
1Explain LWC hooks.
2Is there any limit for passing no. of parameter for apex method?
3If you have Batch size of 200 and there are 3000 records for process, if any record fails, then how to found count of success and failed records.
4Trigger: Parent Object: Quote, Child Object: Order. Update the Quote object Status to Completed when Order Status is Completed.
5Can we deploy community in Salesforce.
6Is there any limit for content version file uploading if yes how much?
7Where do we store the API details in salesforce.
8When connected callback and rendered callback is get called.
9We have a Tab Set in my tabs when I change the Tabs is connected callback going to call?
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 does @AuraEnabled(cacheable=true) do?
- How do you handle exceptions in Apex, and what is a custom exception?
- What is a SOQL for loop, and why is it useful for large result sets?
- What is Database.Stateful in Batch Apex?
- How do you read values from custom metadata types in Apex?
Triggers questions
- What is a trigger handler framework, and why use one?
- Can you make a callout from a trigger? How?
- How do you bulkify a trigger?
- Why can you not update the records in Trigger.new directly inside an after trigger?
Lightning Web Components questions
- How do you send data from a child component to its parent?
- How do you pass data from a parent component to a child component?
- What is Lightning Message Service and when would you use it?
- What is the difference between a wired Apex call and an imperative Apex call?
Integration questions
- What are Outbound Messages?
- How do you expose your own REST service with @RestResource?
- What are API limits, and how do you monitor them?
General and experience questions
- Which best practices do you follow in Apex and LWC?
- How do you handle code reviews and technical debt on your team?
- What is your experience with agile or scrum on Salesforce projects?
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
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
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
How to Prepare
The questions on this page lean towards Apex, Triggers and Lightning Web Components. 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.
- Write a trigger with a handler class from memory, then test it with 200 records to prove it is bulk safe.
- Build one small component that uses @wire, an imperative Apex call and a custom event, and be ready to explain each part.
- 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.