89 Infosys Salesforce Interview Questions & Answers (2026) | SF Interview Pro
89 Infosys Salesforce Interview Questions & Answers (2026)
Real Infosys Salesforce Developer interview rounds plus broader cross-company prep and original delivery scenarios
Apex, Triggers & Core Fundamentals
Q1–Q22 · The standard first-round screening: order of execution, triggers, and basic Apex mechanics
When an Account is updated with the Billing City field, the same Billing City should update on related Contacts. Write the trigger.
Explain the Order of Execution in Salesforce when a record is saved.
What is the difference between Future methods and Scheduled Apex?
Explain the LWC lifecycle hooks.
A batch job is set with a batch size of 2000 but is processing 10,001 records in chunks of 2000 — what happens across the batches, and what happens with the 6th (final partial) batch?
What are the best practices you'd follow when writing Apex triggers?
If you call a future method from a trigger, does it get its own fresh set of governor limits?
What deployment process does your team currently follow?
How many future method calls are allowed in a single Apex transaction?
What's the difference between a Before trigger and an After trigger?
What is the difference between Process Builder and Workflow Rules?
What is Database.Stateful used for in Batch Apex?
What is the difference between Static and Dynamic Dashboards?
What are the different types of Reports and Dashboard components you've worked with?
What do you understand by Governor Limits, and can you name a few?
Write the syntax for Batch Apex, and explain the purpose of each interface method.
Write a Trigger to automatically create an associated Contact whenever a new Account is created.
What are the different events available in Apex Triggers?
What is the order of execution for events in Aura components, at a high level?
What is Email-to-Case, and how does it work at a high level?
What are the different types of Flow in Salesforce?
Explain a scenario where you've used Aura components, even though LWC is now the default choice.
LWC, Async Apex & Deployment
Q23–Q40 · LWC lifecycle, wire adapters, Queueable/Batch Apex, and deployment tooling
What is the difference between == and === in JavaScript, and does this matter in LWC?
In the Order of Execution, what runs first — a before-save Flow or a before trigger?
Write a trigger so that when a new Account is created, the Shipping City automatically populates from the Billing City.
What are the Vlocity/OmniStudio basics you should know, even briefly?
Explain a real-time data integration scenario between Salesforce and SAP.
When is the @wire adapter called in the LWC lifecycle, relative to connectedCallback?
Have you worked on migrating Aura components to LWC? What approach did you follow?
Have you done any Visualforce page migrations to Lightning? What was your approach?
Have you worked on any governor limit exceptions? Give an example of how you fixed one.
How did you resolve a Record Lock (UNABLE_TO_LOCK_ROW) exception?
How do you prevent a trigger from getting stuck in a recursion loop?
What kind of parameters can a Future method accept, and what are the limitations?
Can you call another Batch job from a Future method?
What do Test.startTest() and Test.stopTest() actually do?
How do you test a REST-exposed Apex class in a test method?
You need to pop up a modal in LWC — for example, an edit form triggered from a button. How do you implement it?
How many types of Flow are there in Salesforce as of the current release, and did you work on Schedule-Triggered Flow specifically?
How would you debug and resolve a CPU Time Limit exception in Apex?
Migration, Testing & Debugging
Q41–Q56 · Classic-to-Lightning migration, governor limit debugging, and test class patterns
Write a Trigger to calculate the total sum of Opportunity Amounts and store it on a custom Account field, using a Trigger Context Variable correctly.
What is the Scope parameter in Batch Apex, and how do you use it correctly?
Flow versus Trigger — how do you decide which to use for a given requirement?
Write an LWC component to display Account records and their related Contacts in a datatable.
Can we delete a User record in Production Salesforce?
How do you bypass a Validation Rule for a specific scenario without disabling it for everyone?
Write a trigger that creates a roll-up on a parent object from a child object — for example, summing a custom Amount field from a child object onto its parent.
Explain Parent-to-Child and Child-to-Parent communication in LWC.
What is Limit.getQueries() versus Limit.getLimitQueries() used for?
What are the different data migration tools you've used, and can you insert Custom Settings via the Data Import Wizard?
What happens during an Upsert operation using an External ID field?
Explain the difference between Custom Settings and Custom Metadata Types.
How would you handle errors inside a Batch Apex job, and how does Database.Stateful relate to error handling?
Write a Trigger: whenever an Opportunity is updated to a stage older than 30 days and StageName is not Closed Won, update the Account details.
What is the standard convention for Parent-to-Child and Child-to-Parent communication when there's no direct relationship at all?
What are the best practices to resolve or avoid a SOQL 101 ("too many SOQL queries") error?
Advanced Trigger & Sharing Scenarios
Q57–Q65 · Cross-object relationships, security scenarios, and architecture-level questions
A Lead has multiple Products associated with it. On Lead conversion, the resulting Opportunity should map to the same Products. How do you achieve this — and could this be done with a Flow instead of Apex?
Write a trigger so that when an Opportunity's Stage changes, a Task is automatically created and assigned to the Opportunity owner.
How would you design a Bulk API integration for an external application sending Salesforce large volumes of data?
You need an LWC that fetches 2,000 records from an external application, displays them for user selection, but doesn't save anything until the user explicitly selects records and clicks save. How would you architect this?
OWD is Private but a user's Profile has both View All and Modify All checked for that object — what access does that user actually have?
Write a trigger to display an error message preventing the creation of a duplicate Account.
Write a SOQL query to restore records from the Recycle Bin programmatically.
Two users have the same Profile, Role, and Permission Sets, with OWD set to Private for an object — will they see each other's records?
How do you decide whether to write Apex sharing logic versus using a declarative sharing rule?
Broader Interview Prep — Beyond Infosys
Q66–Q76 · Common Salesforce Developer questions that show up across most service-based companies
What is the difference between a Master-Detail relationship and a Lookup relationship?
What is the difference between SOQL and SOSL?
Walk through your understanding of Sharing in Salesforce, including a scenario where you've used Apex-managed sharing.
What's your experience with Experience Cloud (Communities)?
What types of Salesforce integrations have you worked on?
What are the different types of Salesforce objects, and how do you decide between Custom Object and Custom Metadata Type for a given requirement?
Explain a Salesforce implementation you've been part of, end-to-end.
What is the difference between Role and Profile in Salesforce?
What is a Wire Adapter in LWC, and how does it differ from a plain Apex method call?
What's the difference between the Salesforce REST API and Bulk API, and when would you choose one over the other?
What's your understanding of the Salesforce multi-tenant architecture, and why does it matter for how you write Apex?
Real-World Scenario Round
Q77–Q89 · Original architecture and delivery scenarios worth rehearsing for any Infosys-style round
Infosys has assigned you to a client project where the previous vendor left an org with 200+ Workflow Rules and Process Builders still active, and the client now wants everything modernized to Flow. How do you approach this migration safely?
A client's Salesforce org integrates with 3 different downstream systems, and a recent Apex deployment broke one of those integrations in Production without any lower-environment integration test catching it. How do you prevent this going forward?
You're brought onto an existing Infosys-managed account where the client complains that every small change request takes weeks to deploy. How do you diagnose and improve this?
A client's Account object has grown to 180 fields over several years of ad hoc requests, and users are complaining the page is unusable. How do you approach cleaning this up without breaking existing automation?
Your team inherits a client org where a critical nightly Batch job has been silently failing for two weeks with no one noticing, because there was no failure alerting in place. How do you fix this and prevent recurrence?
A client wants a single Opportunity Stage picklist shared across three different business units, but each business unit wants slightly different stage names for the same underlying pipeline concept. How do you resolve this?
During a code review, you notice a colleague's trigger performs a SOQL query inside a for loop, but it passes all existing test cases because the tests only insert 1-2 records at a time. How do you handle this?
A client's Community (Experience Cloud) site was recently found to be exposing more data to Guest Users than intended, discovered by an external security researcher rather than internal testing. How do you both fix the immediate issue and prevent this class of bug going forward?
You're asked to estimate a project migrating a client from Classic to Lightning Experience entirely, including custom Visualforce pages and legacy Apex. What's your estimation approach?
A long-running Batch job processing a very large custom object (10M+ records) intermittently fails with row-lock errors specifically during business hours. How do you redesign this?
A client asks whether they should build a custom LWC-based dashboard or just use native Salesforce Reports & Dashboards for an executive-facing metrics view. How do you decide?
You're pairing with a junior developer at Infosys who wrote a technically correct but completely unreadable 300-line trigger handler method with no comments or structure. How do you coach this without discouraging them?
A client's Sales Cloud org has three regional teams (US, EMEA, APAC) each with different data-privacy regulatory requirements (CCPA, GDPR, and local APAC laws respectively) sharing the same Salesforce instance. How do you architect for this?
SF Interview Pro is a free, full-stack Salesforce career platform — no signup, no paywall. Visit sfinterviewpro.com →
Practice with real people
Join the free Mock Interview Community — practice with peers, get honest feedback, and walk into your real interview confident.
Join the Community ↗