Upload Button Icon Add office photos
Engaged Employer

i

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

Capgemini Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Capgemini Salesforce Developer Interview Questions and Answers

Updated 1 Mar 2025

23 Interview questions

A Salesforce Developer was asked 6mo ago
Q. Write a trigger on the Account object that fires when the number of related Contacts changes.
Ans. 

Create a trigger to manage the number of Contacts related to an Account in Salesforce.

  • Use an 'after insert' and 'after delete' trigger on the Contact object.

  • Query the related Account to update a custom field for the number of Contacts.

  • Example: If 3 Contacts are added, update the Account's custom field 'Number_of_Contacts__c' to 3.

  • Handle bulk operations by using collections to avoid governor limits.

  • Consider using a...

A Salesforce Developer was asked 7mo ago
Q. Why can't we create a master-detail relationship on the Contact object 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

Salesforce Developer Interview Questions Asked at Other Companies

asked in Cognizant
Q1. Write a trigger to update related Opportunity records when an acc ... read more
asked in Deloitte
Q2. Write a trigger to update a contact when an account's phone numbe ... read more
asked in Infosys
Q3. How do you make the child records read-only if the parent record' ... read more
asked in Cognizant
Q4. How many ways can asynchronous code be written in Salesforce?
asked in TCS
Q5. Difference between Roles & Profiles, Difference between Workf ... read more
A Salesforce Developer was asked 7mo ago
Q. 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

A Salesforce Developer was asked 7mo ago
Q. 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.

What people are saying about Capgemini

View All
a senior software engineer
2w (edited)
Need Insights – Choosing Between Companies
Hi all, Currently have offers from Capgemini, Tech Mahindra, LTIMindTree, Zen&Art, CitiusTech, Nagarro & Persistent. Before making a decision, I need some clarity: 1. Do you get admin access on laptop or need IT for every install? 2. Are office hours flexible or fixed 9 AM login? 3. Is 9 hrs of active laptop time mandatory? 4. What's the leave policy — casual or strict approval? 5. Do projects use the latest technologies or older versions? Thanks in advance!
Got a question about Capgemini?
Ask anonymously on communities.
A Salesforce Developer was asked 7mo ago
Q. 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.

A Salesforce Developer was asked 7mo ago
Q. How do you count the number of contacts and display it on an account?
Ans. 

Use SOQL query to count number of contacts related to an account and display on account record

  • Use a SOQL query to count the number of contacts related to the account

  • Create a formula field on the account object to display the count of contacts

  • Use a trigger to update the count of contacts on the account whenever a contact is added or removed

Capgemini HR Interview Questions

500 questions and answers

Q. Can you provide details about your previous experience, including the numbe ... read more
Q. What are the reasons you want to leave your previous organization?
Q. What tasks have you undertaken in your current project?
A Salesforce Developer was asked 8mo ago
Q. How do you retrieve the client ID and secret for an external application during integration?
Ans. 

Client id and secret can be obtained by registering the external app in the integration platform

  • Register the external app in the integration platform (e.g. Salesforce)

  • Navigate to the app's settings or configuration page

  • Look for the client id and secret provided by the integration platform

  • Use the client id and secret in the app's authentication process

Are these interview questions helpful?
A Salesforce Developer was asked 10mo ago
Q. How do you communicate between LWC components?
Ans. 

Communication between LWC components can be achieved using events, properties, and methods.

  • Use events to communicate between unrelated components

  • Use properties to pass data from parent to child components

  • Use methods to call functions in child components from parent components

🔥 Asked by recruiter 2 times
A Salesforce Developer was asked
Q. What is Salesforce?
Ans. 

Salesforce is a cloud-based customer relationship management (CRM) platform that helps businesses manage their sales, customer service, marketing, and more.

  • Cloud-based CRM platform

  • Helps businesses manage sales, customer service, marketing, etc.

  • Offers various tools and features for automation and customization

  • Used by companies of all sizes across different industries

A Salesforce Developer was asked
Q. If an account is deleted, why is the contact record also deleted?
Ans. 

When an account is deleted, the related contact record may also be deleted due to a cascading delete rule.

  • Contacts are often related to accounts in a one-to-many relationship

  • Cascading delete rules can be set up in the database to automatically delete related records

  • This helps maintain data integrity and prevent orphaned records

Capgemini Salesforce Developer Interview Experiences

20 interviews found

Salesforce Developer Interview Questions & Answers

user image Dweepayan Sharma

posted on 24 Dec 2024

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
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Count all number of contacts and display on account
Round 2 - Technical 

(1 Question)

  • Q1. Asynchronous apex scenarios
  • Ans. 

    Asynchronous apex scenarios involve executing code in the background to improve performance and user experience.

    • Asynchronous apex can be used for long-running processes, such as batch jobs or callouts to external systems.

    • It helps in avoiding governor limits by processing tasks in the background.

    • Examples include sending email notifications, updating records in bulk, and integrating with external APIs.

  • Answered by AI
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
-
Result
No response

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

Round 1 - Technical 

(2 Questions)

  • Q1. What is Asynchronous Apex and its types.
  • Q2. How to get the client id and secret of an external app in integration
  • Ans. 

    Client id and secret can be obtained by registering the external app in the integration platform

    • Register the external app in the integration platform (e.g. Salesforce)

    • Navigate to the app's settings or configuration page

    • Look for the client id and secret provided by the integration platform

    • Use the client id and secret in the app's authentication process

  • Answered by AI

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I appeared for an interview in Feb 2025.

Round 1 - Technical 

(2 Questions)

  • Q1. LWC Communication
  • Q2. Integration
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
-

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

Round 1 - Technical 

(2 Questions)

  • Q1. Questions on Batch, Scheduled and future.
  • Q2. How to communicate between lwc components

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
No response

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

Round 1 - One-on-one 

(2 Questions)

  • Q1. How to call child to parents
  • Q2. How to connect other app in salesforce
  • Ans. 

    You can connect other apps in Salesforce using APIs and integrations.

    • Use Salesforce Connect to integrate external data sources

    • Utilize REST or SOAP APIs to connect with other apps

    • Leverage middleware tools like MuleSoft for seamless integrations

  • Answered by AI

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Easy
Process Duration
4-6 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed before Jan 2024. There were 2 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. Trigger on No Of Contacts Related to Account
Round 2 - One-on-one 

(1 Question)

  • Q1. Techno Managerial Questions
Interview experience
2
Poor
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. LWC, Basic Salesforce releated
  • Q2. Parent to child communication

Interview Preparation Tips

Interview preparation tips for other job seekers - Learn all the basics and advance of LWC
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

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

Round 1 - Technical 

(1 Question)

  • Q1. APex Trigger, Security, LWC, Asynchronous apex
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. What is salesforce?

Skills evaluated in this interview

Capgemini Interview FAQs

How many rounds are there in Capgemini Salesforce Developer interview?
Capgemini interview process usually has 1-2 rounds. The most common rounds in the Capgemini interview process are Technical, One-on-one Round and Resume Shortlist.
How to prepare for Capgemini 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 Capgemini. The most common topics and skills that interviewers at Capgemini expect are Salesforce, Apex, Javascript, Visualforce and SOAP.
What are the top questions asked in Capgemini Salesforce Developer interview?

Some of the top questions asked at the Capgemini Salesforce Developer interview -

  1. How to invoke flows - using other flows and Apex. How do we invoke an apex cla...read more
  2. What are triggers and their u...read more
  3. Write a trigger on account to display child contacts Write a inline lightning ...read more
How long is the Capgemini Salesforce Developer interview process?

The duration of Capgemini Salesforce Developer interview process can vary, but typically it takes about less than 2 weeks to complete.

Tell us how to improve this page.

Overall Interview Experience Rating

3.7/5

based on 20 interview experiences

Difficulty level

Easy 8%
Moderate 85%
Hard 8%

Duration

Less than 2 weeks 75%
2-4 weeks 8%
4-6 weeks 17%
View more
Capgemini Salesforce Developer Salary
based on 942 salaries
₹4.1 L/yr - ₹12.7 L/yr
8% more than the average Salesforce Developer Salary in India
View more details

Capgemini Salesforce Developer Reviews and Ratings

based on 68 reviews

4.0/5

Rating in categories

4.0

Skill development

4.0

Work-life balance

3.4

Salary

4.0

Job security

4.0

Company culture

3.1

Promotions

3.7

Work satisfaction

Explore 68 Reviews and Ratings
Consultant
59.3k salaries
unlock blur

₹8.9 L/yr - ₹15 L/yr

Associate Consultant
51.3k salaries
unlock blur

₹4.5 L/yr - ₹10 L/yr

Senior Consultant
50.8k salaries
unlock blur

₹12.2 L/yr - ₹21 L/yr

Senior Analyst
22.5k salaries
unlock blur

₹3.1 L/yr - ₹7.6 L/yr

Senior Software Engineer
21.8k salaries
unlock blur

₹4.7 L/yr - ₹13.3 L/yr

Explore more salaries
Compare Capgemini with

Wipro

3.7
Compare

Accenture

3.7
Compare

Cognizant

3.7
Compare

TCS

3.5
Compare
write
Share an Interview