CompanyPwC Candidate 1
Focus AreaSalesforce Developer
Questions41+
Topics6
PwC Salesforce Developer Interview Questions We’ve put together a mixed set of the latest Salesforce Developer interview questions asked at PwC, based on insights from YouTube, LinkedIn courses, and real-life interview experiences.
What's Covered
Topics covered in this interview.
01Flows & Automation2
02Lightning Web Components6
03SOQL & Data2
04Apex & Triggers9
05Salesforce Core Concepts8
06General & Experience14
All Interview Questions
Every question asked in this interview, listed one by one.
1Difference between work flow and process builder?
2Screen flow, Why we use Subflow?
3Write the syntax for query selector all in lwc.
4Write an LWC to show Active & In-Active Contacts records. Tip: Do not use table just use loop and print. Like first all active and in another loop print all In-Active.
5LWC: Child to parent and parent to child data communication write demo code.
6Write LWC component - Show two buttons select all and deselect, on click of select all records from table should selected, and on deselect all should get deselected. Use html table or datatable.
7Explain LWC Life Cycle.
8In which stage of LWC DOM is get updates?
9IMP: Write a trigger to count the number of contacts associated with account. Here in this question interviewer specifically asked to find using aggregate query. Next question he asked : Other then aggregate query what are the different approaches to find find no of contacts associated with the account?
10Explain lookup and master-detail relationships.
11I have 4 batches, write a code which will together give total no. of records executed and total failed records in all 4 batches.
12Trigger to count no of opportunity line items associated with opportunity and show that count on Account custom object.
13Write trigger on Order product, it should display most number of sold product on the account. Suppose the most sold product is 'Keyboard' and on most_sold_item picklist on account should have value 'Keyboard'.
14Trigger to prevent user from deleting Account if any opportunity record is associated with it.
15As our apex class have without sharing by default then why need to add it explicitly?
16What is the key different between after event and before event in trigger.
17What is apex transaction and how rollback works in salesforce.
18Difference between future method and queueable apex?
19Why is it not possible to pass a list of objects to a future method? What’s the reason behind this restriction?
20Explain security model.
21How organization level security helps?
22How you can make sure that your integration is not leaking the data?
23What is experience cloud?
24What is partner community?
25What is customer community?
26What is Sharing sets in experience cloud?
27What is platform events and where do we use it?
28IMP: We have two objects Account and Subscriber, on Subscriber there is checkbox as Recent Subscriber, the Subscriber which got added recently should have true value and other Subscriber should have value as false. Also when Subscriber this Subscriber get deleted then other recent one should be checked as Recent Subscriber.
29What is the mass-mailing feature in salesforce.
30Lead conversion process.
31What are connected apps?
32User is not able to see the record what could be the reason? If question is not clear to you then ask cross questions.
33Share button is not Visible on page layout what could be the reason?
34What is manual sharing?
35What is difference between LMS and Pub-Sub model?
36What is DOM.
37What is seeAllData=true?
38How to create the public sites? What access we need to give in order to make public site?
39What is the refresh token?
40Difference between oauth 1.0 and oauth 2.0 in salesforce.
41Difference between remote site settings and named credentials in salesforce
Preparing for a Salesforce developer interview?
Browse more real company interview experiences and hands-on Apex trigger patterns.