PWC Latest Salesforce Interview Questions

CompanyPwC Candidate 2
Focus AreaSalesforce Developer
Questions9+
Topics4

PWC Salesforce Interview Questions May 2025 Following questions are asked at PWC India, Candidate having 4.2 YEO. He attended interview in may 2025.Find other candidate interview experience : PWC Salesforce Developer Interview Questions Part 1

What's Covered

Topics covered in this interview.

01Lightning Web Components3
02SOQL & Data1
03Apex & Triggers2
04Salesforce Core Concepts3

All Interview Questions

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

1Can we use LWC in external sites?
2Candidate was working on angular and salesforce: When you will use angular instead if LWC?
3Explain difference between wire and imperative methods.
4Explain Database.DeleteResult in batch apex?
5What is the use of sstateful in batch apex? Write syntax.
6How we can restrict the delete using apex? 
7I have two users both having same profile and permission set assigned. But they are not able to delete each other records. What could be the problem and how we can resolve?
8Custom permission.
9Integration user.

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 a wrapper class, and when do you use one?
  • 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?
  • How do you read values from custom metadata types in Apex?

Lightning Web Components questions

  • 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?
  • How do you refresh data on the screen after a record changes (refreshApex)?
  • What is Lightning Data Service, and which base components use it?

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?

Security and Administration questions

  • How do OWD, the role hierarchy, sharing rules and manual sharing work together?
  • What is field-level security, and how do you enforce it in Apex?
  • What are permission set groups?

General and experience questions

  • How do you keep up with new Salesforce releases?
  • Tell me about your current project and your role in it.
  • What was the most challenging issue you solved recently, and how did you solve it?

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.

Leave a Reply