Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by DXC Technology Team. If you also belong to the team, you can get access from here

DXC Technology Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

DXC Technology Salesforce Developer Interview Questions and Answers

Updated 16 Feb 2024

DXC Technology Salesforce Developer Interview Experiences

2 interviews found

I applied via Naukri.com and was interviewed in Jun 2022. There was 1 interview round.

Round 1 - Technical 

(3 Questions)

  • Q1. Types of Sharing Rules
  • Ans. 

    Sharing rules control access to records that are owned by other users or in public groups.

    • Criteria-based sharing rules

    • Owner-based sharing rules

    • Manual sharing

    • Apex managed sharing

  • Answered by AI
  • Q2. Trigger Scenario-based Questions
  • Q3. Types of LWC Decorators
  • Ans. 

    LWC Decorators are used to enhance the functionality of Lightning Web Components.

    • Wire Decorator - used to get data from Apex controllers

    • Track Decorator - used to track changes in a property

    • Api Decorator - used to expose a property or method to other components

    • AuraEnabled Decorator - used to call an Apex method from a Lightning component

    • LightningMessageService Decorator - used to subscribe to and publish events

  • Answered by AI

Interview Preparation Tips

Topics to prepare for DXC Technology Salesforce Developer interview:
  • Apex
  • Sharing rules
  • LWC
Interview preparation tips for other job seekers - I didn't really linked the Interviewer, He is about 60+ I think. Not at all professional behavior.

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via campus placement at IPS Academy, Indore and was interviewed before Feb 2023. There were 2 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. What is data loader how we can use deleteall and delete difference between lwc and aura
  • Ans. 

    Data Loader is a tool provided by Salesforce for importing, exporting, and deleting data in Salesforce.

    • Data Loader is used for bulk importing, exporting, and deleting data in Salesforce

    • DeleteAll operation in Data Loader deletes all records in a specified object

    • Delete operation in Data Loader deletes specific records based on a query

    • Difference between LWC and Aura: LWC is a new programming model for building Lightning c...

  • Answered by AI
Round 2 - HR 

(1 Question)

  • Q1. Why do you want to join DXC Are you comfortable to work at night shift

Skills evaluated in this interview

Salesforce Developer Interview Questions Asked at Other Companies

asked in Deloitte
Q1. Write a trigger to update contact when accounts phone changed.
asked in Infosys
Q2. How do you make the child records read only of its parent record' ... read more
asked in TCS
Q3. Difference between Roles & Profiles, Difference between Workf ... read more
asked in Infosys
Q4. How do load both parent and child records at a time using data lo ... read more
asked in Infosys
Q5. How do you call a controllor method from javascript in visualforc ... read more

Interview questions from similar companies

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via LinkedIn and was interviewed in Nov 2024. There were 2 interview rounds.

Round 1 - Technical 

(3 Questions)

  • Q1. How to invoke flows - using other flows and Apex. How do we invoke an apex class from a flow and pass variables?
  • Ans. 

    Flows can be invoked using other flows and Apex. Apex classes can be invoked from a flow by using invocable methods and passing variables as input parameters.

    • To invoke a flow from another flow, use the 'Launch Flow' element in the Flow Designer.

    • To invoke an Apex class from a flow, create an invocable method in the Apex class and annotate it with @InvocableMethod.

    • Pass variables from a flow to an Apex class by defining i...

  • Answered by AI
  • Q2. Why can't we create a master detail on contact as the child object
  • Ans. 

    Master-detail relationship on Contact as child object is not allowed due to data integrity concerns.

    • Contact is a standard object and cannot be a child object in a master-detail relationship

    • Master-detail relationships require the child object to have a lookup to the parent object

    • Contacts are often used as the primary object in many relationships, making it unsuitable as a child object

  • Answered by AI
  • Q3. What is child to parent communication in LWC?
  • Ans. 

    Child to parent communication in LWC allows a child component to communicate with its parent component.

    • Child components can dispatch custom events to communicate with parent components.

    • Parent components can listen for these custom events and handle them accordingly.

    • This communication pattern helps in passing data and triggering actions between components.

  • Answered by AI
Round 2 - Technical 

(2 Questions)

  • Q1. Write triggers for updating user email from contact emails.
  • Ans. 

    Write triggers to update user email from contact emails

    • Create a trigger on the User object

    • Query for related Contact records

    • Update User email field with Contact email

  • Answered by AI
  • Q2. How does LWC ensure data refresh
  • Ans. 

    LWC ensures data refresh by using Lightning Data Service and @wire decorator.

    • LWC uses Lightning Data Service to ensure data refresh without needing to write Apex code.

    • The @wire decorator in LWC allows for declarative data binding and automatic refresh when data changes.

    • LWC components can also manually refresh data using imperative Apex calls or by calling the refreshApex() method.

  • Answered by AI
Interview experience
2
Poor
Difficulty level
Hard
Process Duration
4-6 weeks
Result
No response

I applied via Campus Placement and was interviewed in Oct 2024. There were 3 interview rounds.

Round 1 - Aptitude Test 

It was easy and basic

Round 2 - Coding Test 

Coding questions are bit complicated

Round 3 - Technical 

(2 Questions)

  • Q1. Salesforce platform questions
  • Q2. Basic hr questions and project based question
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Company Website and was interviewed in Oct 2024. There were 2 interview rounds.

Round 1 - Coding Test 

Basic Apex coding questions

Round 2 - Technical 

(2 Questions)

  • Q1. Technical Scenerio in LWC
  • Q2. Basic sceneries in Apex sharing
  • Ans. 

    Apex sharing allows developers to control access to records based on criteria.

    • Apex sharing rules can be used to extend sharing access beyond the organization-wide defaults.

    • Apex managed sharing allows developers to programmatically share records with specific users or groups.

    • Sharing reasons can be used to define the reason for sharing a record in Apex.

    • Apex sharing can be enforced using the 'with sharing' keyword in Apex

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Keep Basic of Salesforce admin and development
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Approached by Company and was interviewed in Jun 2024. There was 1 interview round.

Round 1 - Technical 

(6 Questions)

  • Q1. Can we call future method from batch class
  • Ans. 

    Yes, future methods can be called from a batch class in Salesforce.

    • Future methods can be called from batch classes to perform asynchronous processing.

    • This can be useful for offloading long-running tasks to future methods to avoid hitting governor limits.

    • Example: Calling a future method from a batch class to update records in Salesforce asynchronously.

  • Answered by AI
  • Q2. What's the use of @track decorator. Is it mandatory to explicitly use it? If yes, for which use case?
  • Ans. 

    The @track decorator in Salesforce is used to track changes to a property in a Lightning web component.

    • Used to make a property reactive and trigger re-renders when its value changes

    • Not mandatory but recommended for properties that need to be reactive

    • Use @track when you want changes to a property to be reflected in the UI

  • Answered by AI
  • Q3. When does APEX CPU Limit Exceeded error happens. What's the best practice to avoid getting this error?
  • Ans. 

    APEX CPU Limit Exceeded error happens when code consumes too much CPU time. Best practices include optimizing code, reducing loops, and using asynchronous processing.

    • Avoid using nested loops and optimize code for better performance

    • Use asynchronous processing like @future or Queueable to offload CPU intensive tasks

    • Limit the use of SOQL queries inside loops to reduce CPU consumption

  • Answered by AI
  • Q4. When does Mixed DML Exception occurs?
  • Ans. 

    Mixed DML Exception occurs when DML operations are performed on setup and non-setup objects in a single transaction.

    • Occurs when DML operations are performed on both setup and non-setup objects in a single transaction

    • Setup objects include User, Profile, PermissionSet, etc.

    • Non-setup objects include custom objects, standard objects like Account, Contact, etc.

  • Answered by AI
  • Q5. Debug the following code: var a=10; function abc() { console.log(a); var a=2; } abc();
  • Ans. 

    The code will output 'undefined' because variable 'a' is hoisted within the function.

    • Variable 'a' is hoisted to the top of the function scope, so when 'console.log(a)' is called, 'a' is undefined.

    • To fix this, move the declaration of 'var a=2;' above the 'console.log(a);' statement.

  • Answered by AI
  • Q6. Write a SOQL query to fetch the values of description field from the Account. Why does "the description field cannot be filtered in the query call"?
  • Ans. 

    SOQL query to fetch description field from Account and reason for inability to filter

    • SOQL query: SELECT Description FROM Account

    • Description field is not filterable because it is a long text field

    • Long text fields cannot be filtered in SOQL queries

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
Not Selected

I applied via Recruitment Consulltant and was interviewed in Apr 2024. There was 1 interview round.

Round 1 - Technical 

(5 Questions)

  • Q1. Lookup and masterdetail
  • Q2. Owd and profile level permission
  • Q3. Write a trigger
  • Ans. 

    A trigger is a piece of code that is executed before or after a record is inserted, updated, or deleted in Salesforce.

    • Triggers are written in Apex and are used to perform custom actions on records.

    • Triggers can be executed before or after a record is inserted, updated, or deleted.

    • Triggers can be used to enforce validation rules, update related records, or perform other custom logic.

  • Answered by AI
  • Q4. LWC lifecycle hooks
  • Q5. LWC decorators and uses
  • Ans. 

    LWC decorators are used to add metadata to class fields or methods. '@api' is used to expose a public property or method.

    • LWC decorators are used to enhance the functionality of Lightning web components.

    • '@api' decorator is used to expose a public property or method that can be accessed by parent components.

    • Other decorators like '@track', '@wire', '@api get', '@api set' are also commonly used in LWC development.

  • Answered by AI

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Recruitment Consulltant and was interviewed in Jan 2024. There were 3 interview rounds.

Round 1 - HR 

(1 Question)

  • Q1. Resume shortlist
Round 2 - Technical 

(4 Questions)

  • Q1. Decorators in lwc
  • Ans. 

    Decorators in LWC are a way to enhance the functionality of a component by adding metadata and modifying behavior.

    • Decorators are used to modify the behavior of properties, methods, and getters/setters in LWC.

    • They are defined using the @ symbol followed by the decorator name.

    • Some commonly used decorators in LWC are @api, @track, @wire, and @track.

    • The @api decorator allows a property to be accessed by parent components.

    • T...

  • Answered by AI
  • Q2. User need to choose the profile before login to salesforce
  • Q3. How manual sharing works and how to see manually shared rercords
  • Ans. 

    Manual sharing allows users to manually grant access to records. To see manually shared records, use the 'Sharing' button on the record detail page.

    • Manual sharing is a feature in Salesforce that allows users to manually grant access to records.

    • It is useful when users need to share specific records with other users or groups.

    • To manually share a record, users can click on the 'Sharing' button on the record detail page.

    • Fr...

  • Answered by AI
  • Q4. Write trigger on opportunity to sum of total opps and populate on account sumofopps field
  • Ans. 

    Write a trigger on Opportunity to calculate the sum of total opportunities and populate it on the Account's 'SumOfOpps' field.

    • Create a trigger on the Opportunity object

    • Use an aggregate query to calculate the sum of the 'Amount' field on all related Opportunities

    • Update the 'SumOfOpps' field on the related Account with the calculated sum

  • Answered by AI
Round 3 - Technical 

(1 Question)

  • Q1. Write trigger , there are 3 objects, a is parent, b child, c is grand child, when grand child updated update grand child desc on a object desc
  • Ans. 

    Write a trigger to update the description field on the parent object when the grandchild object is updated.

    • Create a trigger on the grandchild object

    • Use a SOQL query to retrieve the parent object

    • Update the description field on the parent object with the grandchild's description

  • Answered by AI

Skills evaluated in this interview

Interview experience
1
Bad
Difficulty level
Easy
Process Duration
2-4 weeks
Result
Selected Selected
Round 1 - Technical 

(1 Question)

  • Q1. Apex trigger security model etc
Round 2 - One-on-one 

(1 Question)

  • Q1. Managerial round
Round 3 - HR 

(1 Question)

  • Q1. Salary negotiation

Interview Preparation Tips

Interview preparation tips for other job seekers - If you have high expectations on salary please don’t join this
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
-

I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.

Round 1 - Aptitude Test 

20 mins for 30 ques were there.

DXC Technology Interview FAQs

How many rounds are there in DXC Technology Salesforce Developer interview?
DXC Technology interview process usually has 1-2 rounds. The most common rounds in the DXC Technology interview process are Technical and HR.
How to prepare for DXC Technology Salesforce Developer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at DXC Technology. The most common topics and skills that interviewers at DXC Technology expect are Salesforce, Javascript, Apex, Analytical and Agile.
What are the top questions asked in DXC Technology Salesforce Developer interview?

Some of the top questions asked at the DXC Technology Salesforce Developer interview -

  1. what is data loader how we can use deleteall and delete difference between lwc ...read more
  2. Types of LWC Decorat...read more
  3. Types of Sharing Ru...read more

Tell us how to improve this page.

DXC Technology Salesforce Developer Interview Process

based on 1 interview

Interview experience

4
  
Good
View more
DXC Technology Salesforce Developer Salary
based on 166 salaries
₹3 L/yr - ₹12.5 L/yr
At par with the average Salesforce Developer Salary in India
View more details

DXC Technology Salesforce Developer Reviews and Ratings

based on 15 reviews

4.5/5

Rating in categories

4.1

Skill development

4.7

Work-life balance

3.5

Salary

3.8

Job security

4.5

Company culture

3.4

Promotions

4.6

Work satisfaction

Explore 15 Reviews and Ratings
Associate Professional Software Engineer
2.2k salaries
unlock blur

₹2 L/yr - ₹7 L/yr

Software Engineer
2k salaries
unlock blur

₹2.4 L/yr - ₹11.8 L/yr

Associate Professional
1.6k salaries
unlock blur

₹2 L/yr - ₹7.3 L/yr

Associate Software Engineer
1.2k salaries
unlock blur

₹3 L/yr - ₹7 L/yr

Professional 1
1.1k salaries
unlock blur

₹3.4 L/yr - ₹13.5 L/yr

Explore more salaries
Compare DXC Technology with

Cognizant

3.8
Compare

Capgemini

3.7
Compare

TCS

3.7
Compare

Wipro

3.7
Compare
Did you find this page helpful?
Yes No
write
Share an Interview