Nagarro Salesforce Interview Questions

CompanyNagarro
Focus AreaSalesforce Developer
Questions12+
Topics5

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

What's Covered

Topics covered in this interview.

01Lightning Web Components3
02SOQL & Data1
03Apex & Triggers3
04Salesforce Core Concepts4
05General & Experience1

All Interview Questions

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

1What is the use of @track decorator in lwc?
2What is the purpose of extending LightningElement in lighting web component?
3Can we LWC without extending LightningElement?
4Write SOQL query to find Primary Contact of Account.
5Can we call Batch class from Another Batch class?
6Write sample class for REST api.
7Write a Trigger: We have two custom object Meeting, Guest on Meeting we have field Status (Scheduled, In-Progress, Completed). On Guest we have Meeting lookup. Write logic such as If Meeting Status is 'Completed' then we should not able to link Guest to that Meeting.
8What is OWD? 
9When sharing rules are helpful?
10Rest API Integration. What ways are available to test REST api?
11What tool you are using for deployment?
12If track is deprecated then why we used it? 

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.

Integration questions

  • How do you make an HTTP callout from Apex, and how do you test it with HttpCalloutMock?
  • What are Platform Events, and when would you use them?
  • What is Change Data Capture?
  • What is OAuth, and which OAuth flows are used with Salesforce?
  • What is a Connected App?

Apex questions

  • What is the difference between with sharing, without sharing and inherited sharing?
  • 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?

Lightning Web Components questions

  • How do you handle errors returned from an Apex call in LWC?
  • What is the difference between document.querySelector and this.template.querySelector?
  • How do you render content conditionally in LWC?
  • What are slots, and how do named slots work?

Triggers questions

  • What is the difference between addError on a record and addError on a field?
  • What happens when a trigger and a record-triggered Flow run on the same object?
  • What are the trigger context variables?

General and experience questions

  • What is your experience with agile or scrum on Salesforce projects?
  • How do you keep up with new Salesforce releases?
  • Tell me about your current project and your role in it.

Concepts to Revise

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

Integration

  • REST versus SOAP and when to use each
  • Named Credentials and external credentials
  • HttpRequest, HttpResponse and callout mocks
  • Platform Events and Change Data Capture
  • OAuth flows and Connected Apps
  • Apex REST with @RestResource

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

How to Prepare

The questions on this page lean towards Integration, Apex and Lightning Web Components. Spend most of your revision time there, then cover the remaining topics lightly.

  • Know one integration end to end: authentication, callout, error handling and testing with a mock.
  • 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.
  • 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