Infosys 2025 Salesforce Developer Interview Questions Following questions asked at Infosys in 2025 for Salesforce Developer. Infosys is continuously is hiring salesforce developer for multiple rules like Associate Consultant.Source: LinkedIn
What's Covered
Topics covered in this interview.
All Interview Questions
Every question asked in this interview, listed one by one.
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 the difference between Batch Apex, Queueable Apex, Future methods and Schedulable Apex?
- When would you use a List, a Set and a Map?
- How do you write a good test class, and what is the minimum code coverage for deployment?
- What is a wrapper class, and when do you use one?
- What does @AuraEnabled(cacheable=true) do?
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?
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)?
- What is dynamic SOQL, and how do you prevent SOQL injection?
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
- 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
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
SOQL and Data
- SOQL clauses: WHERE, ORDER BY, LIMIT, OFFSET, GROUP BY, HAVING
- Relationship queries and subqueries
- Aggregate functions and AggregateResult
- SOSL versus SOQL and when to use each
- Dynamic SOQL and bind variables
- Lookup, master-detail and roll-up summary fields
How to Prepare
The questions on this page lean towards Apex, Triggers and SOQL and Data. 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.
- Run relationship, aggregate and subquery examples in the Developer Console until you can write them without looking.
- 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.