CompanyAmdocs
Focus AreaSalesforce Developer
Questions14+
Topics6
Amdocs – Salesforce Developer Interview Questions
What's Covered
Topics covered in this interview.
01Flows & Automation1
02Lightning Web Components2
03SOQL & Data2
04Apex & Triggers4
05Salesforce Core Concepts1
06General & Experience4
All Interview Questions
Every question asked in this interview, listed one by one.
1Same condition for workflow, will this happen?
2What are things done in lwc?
3Difference between aura and lwc?
4What kind of relationship between account and opp.
5How many types of relationships in salesforce?
6Whether we can edit class, trigger, vf page on production or not?
7Trigger: I have a trigger and opportunity object, once opp. Status is close one record will insert in a custom object , i.e opp product , once I marked status of opp. As closed on record will get inserted in opp product and there are no of fields on opp product and one field with opp status in opp product object change asl close. And that is written in code but you don’t have access then will this opp product field will change?
8Future method?
9And why do we use the future method?
10I have a profile and I have an object on opp and there is a field i.e audit status and access of this field is private and this profile is assigned to you and you login with your user and you have access to edit of this field then how?
11What will happen if I don't write anything in class? I.e with sharing and without sharing.
12External Id?
13What can have a data type for an external id?
14Have you worked on a report?
Preparing for a Salesforce developer interview?
Browse more real company interview experiences and hands-on Apex trigger patterns.
Quick answers to key questions
- Aura and LWC. LWC is built on standard web components and modern JavaScript, so it is faster and simpler. Aura is the older Salesforce framework. LWC can be used inside Aura, but Aura cannot be used inside LWC.
- Relationships between Account and Opportunity, and the types of relationships. Account and Opportunity use a one-to-many lookup. The types are lookup, master-detail, many-to-many, self, hierarchical, external lookup and indirect lookup.
- Can we edit a class, trigger or Visualforce page in production? No. In production, Apex classes, triggers and Visualforce pages cannot be edited directly. You develop in a sandbox and deploy to production.
- Trigger updates a field the user has no access to. Will it change? Yes. Apex runs in system context by default, so it does not apply field-level security. The trigger can update the field even if the user cannot see it. To respect user access, use
WITH USER_MODEor check access in the code. - What is a future method and why use it? A future method runs in the background when resources are available. It is marked with
@future, must be static and return void, and accepts only primitive parameters. Use it for callouts from triggers, for long-running work, and to avoid a mixed DML error. - What if a class has neither with sharing nor without sharing? The class runs in system mode for object and field permissions. For sharing, it uses the sharing of the class that calls it, and when it is the entry point (such as a trigger), it effectively runs without sharing. Always declare the keyword on purpose.
- What is an external Id? A custom field marked as a unique identifier from another system. It is indexed, so it is fast to search, and it is used with upsert and in integrations to match records. An external Id field can be Text, Number, Email or Auto Number.