Salesforce & Interviews

The main aim of this channel is to help/guide candidates for salesforce interviews. I will be discussing my interview experiences, important technical topics and tips & ticks to crack an interview.

Feel free to connect me over linkdin for any detailed discussion and any collaboration.

here is the link - www.linkedin.com/in/mtripathi347

to Checkout my Interview preparation Courses - salesforceandinterviews.graphy.com/
To checkout my Udemy course - www.udemy.com/course/object-oriented-programming-c…

for any inquiry/collaboration write us us at - AskSalesforceAndInterview@gmail.com



Salesforce & Interviews

Deloitte - Salesforce Developer Interview - 3+ YOE

Round 1

Introduction
Before vs after trigger
What if we use after trigger for same object update
Database queryselector and iterator
Write a soql query to fetch account name start with ‘Test’
Write a soql query to fetch accounts who dont have contact associate with it
Write a trigger if phone number on account get update then it should sync associate contact with it
Inbound integration explain


Deloitte R2

Brief Introductiont
1.What is owd private means ?
2.Owd is private and I have one case record on that there is one lookup field to user and i want that on creation or update of case record i want to share that record to user on user lookup field on case ?
I told we can do this by apex sharing and she told me to write code

3. The code i written above using trigger after update and after insert . She asky why you didnt use before ? The answer is because i want case id to assigned in caseshare
4. Why you didnt do above scenario using the sharing rules ? Why cant we ? Because sharing cant assigned to specific user it will assign to - role, group of users,
5. How to access current record id in screen flow
6. How to access current record id in lwc
7. What is use for rollback in apex ? Like buisness user case
8. Database.insert vs insert
9. So if there is all or none in insert then what is the difference between rollback and insert ? Like if insert fails it not insert any and if rollback also revert all the changes then what the difference
10. If i want to add lwc compnent on custom action button then how that lwc component should visible in that action list
11. What exceptions you faced in salesforce?
12. What is mixed dml then ? How you can prevent that in test class
13. How we can bypass validation for a certain users

Deloitte R3 managerial rpund

Explain project
Explain what buisness do ( must prepare before ) Focuses on buisness explanation
Product knowledge

4 days ago | [YT] | 15

Salesforce & Interviews

Get my Udemy course on the best price via the below link -

www.udemy.com/course/object-oriented-programming-c…

2 weeks ago | [YT] | 5

Salesforce & Interviews

Hi Everyone,

Added few important sessions on our trigger module -

1- Trigger Bulkification
2- Moving Trigger code to Handler class
3- Deactivating Triggers in Production via custom metadata
4- Bypassing Triggers in production for Users
5- Trigger Best Practices

Those who have enrolled for this udemy course, make sure you check these.

If you want to explore my udemy course , here is the link - www.udemy.com/course/object-oriented-programming-c…


My Next focus is adding all 3 levels of trigger Scenarios( Easy, Medium, Difficult) with Solution and Asynchronous Apex.


Thank you.

3 weeks ago | [YT] | 7

Salesforce & Interviews

Month End Sale is Live on my udemy course and will be active for remaining days of this month.

checkout to explore the topics we have covered by clicking this link - www.udemy.com/course/object-oriented-programming-c…

Recently I have finished our Trigger module and I am targetting asynchronous module next.

Thank you All :)

3 weeks ago | [YT] | 9

Salesforce & Interviews

The first 11 videos of the Apex Trigger module are now LIVE on the course!

Here’s what’s included in this release:

-What are Apex Triggers

- Let's Write our First Trigger Together

-Types of Triggers

-Understanding Context Variables

-Before Insert – Pre-Populating Values

-Before Update – Validations in a Trigger

-Before Delete – Preventing Deletions

-After Insert – Auto-Creating a Child Record

-After Update – Creating Task on Rating Change

-After Delete – Creating Account Deletion Log Record

-After Undelete – Reparenting Owner on Restored Accounts

I’m currently working on the remaining videos, which will cover:
✨ Bulkification of Triggers
✨ Avoiding Recursion
✨ Advanced Trigger Concepts
✨ How to Safely Deactivate Triggers in Production
✨ Trigger Best Practices

If you're already enrolled, make sure to go through these lessons.

If you haven’t joined yet and want to learn Apex Triggers the right way, here’s the course link - www.udemy.com/course/object-oriented-programming-c…

4 weeks ago | [YT] | 12

Salesforce & Interviews

Trigger context variables (like Trigger.new and Trigger.old) are just variables defined inside an Apex class — the System.Trigger class. Salesforce simply makes this class available behind the scenes whenever a trigger runs, so all its variables become instantly accessible without us declaring anything.

1 month ago | [YT] | 27

Salesforce & Interviews

Practice Exercise on DML module is live now.
Those who have enrolled for the course , please go through that and let me know if you face any issue in any question.


Those who are interested in this course can check this out - www.udemy.com/course/object-oriented-programming-c…

If you are existing student of this udemy course but are not part of whatsapp group, please ping me at 9718872795.

Thank you

1 month ago | [YT] | 8

Salesforce & Interviews

DML Module is now live on our udemy course and these are the topics we have covered in this module -

1- What is DML and Various Operations
2- Insert Operation
3- Update Operation
4- Upsert Operation
5- Delete and Undelete Operation
6- Merge Operation
7- Database Operations

Practice assignment will be added shortly.

With that, Now I will move my focus on Trigger which is going to be the biggest module of this course and I will dedicate whole November for this.

Stay Tuned and check the course from here - www.udemy.com/course/object-oriented-programming-c…

1 month ago | [YT] | 10

Salesforce & Interviews

Completed SOQL and SOSL modules on our udemy course. This modules has 25+ videos and covers everything on SOQL and SOSL, we have also done everything practically and have added practice sets as well for students to practice.

Few more practice sets will be added soon on this.

here are the Topics we have covered in the same order -

SOQL Introduction and Basic Structure

ORDER BY Clause

LIMIT Clause

OFFSET Clause

IN and NOT IN Operators

Using Apex Variables in SOQL (Bind Variables)

Relationship Queries – Parent to Child Query

Relationship Queries – Child to Parent Query

Aggregate Queries

Working with AggregateResult Object

GROUP BY Clause

HAVING Clause

Database.Query() Method

Dynamic SOQL

SOQL Injection and Ways to Prevent It

ALL ROWS Clause

FOR UPDATE Clause

WITH SECURITY_ENFORCED Clause

Best Practices for SOQL Queries

Common SOQL Errors (To be added soon)

Let’s Practice SOQL Together

SOSL Queries

Dynamic SOSL

Use Cases of SOSL Queries

Challenge – SOSL Queries

Solution: SOSL Queries

Please do go through this if you have already enrolled.

Here is the course link - www.udemy.com/course/object-oriented-programming-c…

1 month ago | [YT] | 22

Salesforce & Interviews

Happy Diwali Everyone 🪔

1 month ago | [YT] | 35