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 Senior Salesforce Developer Interview Questions and Answers

Updated 4 Jun 2024

15 Interview questions

A Senior Salesforce Developer was asked 12mo ago
Q. Write a trigger on Order Products that displays the most frequently sold product type on the associated Account. For example, if the most order products sold are TVs, update the Account's most_sold_product ...
Ans. 

Create a trigger on Order Products to display the most sold product type on the account

  • Create a trigger on Order Products object in Salesforce

  • Use SOQL query to count the number of each product type sold

  • Update the most_sold_product field on the Account object with the highest sold product type

A Senior Salesforce Developer was asked 12mo ago
Q. Write a trigger on the Account object. If one or more contacts are associated with the Account, display an error if a user tries to delete the Account.
Ans. 

Create a trigger on Account to prevent deletion if associated with one or more contacts

  • Create an after delete trigger on Account object

  • Query for related contacts using SOQL

  • If contacts are found, add an error message to prevent deletion

Senior Salesforce Developer Interview Questions Asked at Other Companies

asked in Infosys
Q1. What are best practices to write trigger? What are execution orde ... read more
Q2. Can an email message from a trigger be sent after logic gets into ... read more
Q3. Regarding Lightning requirements for mobile-friendly design, how ... read more
asked in TCS
Q4. What is the difference between custom settings and custom metadat ... read more
asked in Capgemini
Q5. Write a trigger on Order Products that displays the most frequent ... read more
A Senior Salesforce Developer was asked 12mo ago
Q. Write a trigger on the Contact object to display the number of contacts on the related Account.
Ans. 

Create a trigger on Contact to display the number of contacts on the related Account.

  • Create an after insert, update, delete trigger on Contact object

  • Query for the count of contacts related to the Account

  • Update a custom field on the Account with the count of contacts

A Senior Salesforce Developer was asked 12mo ago
Q. What is a promise, and what does promiseAll do?
Ans. 

Promise is an object representing the eventual completion (or failure) of an asynchronous operation, and promiseAll is a method that takes an iterable of promises and returns a single Promise that resolves when all of the promises have resolved.

  • Promise is used in JavaScript to handle asynchronous operations.

  • It represents a value that may not be available yet, but will be resolved at some point in the future.

  • Promis...

What people are saying about Capgemini

View All
thrivingsnapdragon
4d
works at
Accenture
Need feedback regarding One Finance BU at Capgemini
I am planning to join the One Finance Transformation team under Group IT at Capgemini. Can you please provide some insights if it is a good option to join in terms of learning, career progression and monetary benefits? Thanks.
Got a question about Capgemini?
Ask anonymously on communities.
A Senior Salesforce Developer was asked 12mo ago
Q. What are the decorators in LWC and their uses?
Ans. 

Decorators in LWC enhance component functionality, enabling reactive properties and lifecycle management.

  • 1. @api: Exposes a public property or method to the parent component. Example: @api greeting; allows parent to set greeting.

  • 2. @track: Makes a property reactive, so changes trigger re-renders. Example: @track items = []; updates UI when items change.

  • 3. @wire: Connects a property or function to a data source, li...

A Senior Salesforce Developer was asked 12mo ago
Q. What type of parameters can be passed to Future?
Ans. 

Future methods in Salesforce can accept primitive data types as parameters.

  • Primitive data types like Integer, String, Boolean, etc. can be passed as parameters to Future methods.

  • Non-primitive data types like custom objects or collections cannot be passed as parameters to Future methods.

  • Example: @future public static void myFutureMethod(Integer param1, String param2) { }

A Senior Salesforce Developer was asked 12mo ago
Q. How is a connection established from MuleSoft to Salesforce?
Ans. 

Connection from Mulesoft to Salesforce is done using Salesforce Connector in Mulesoft Anypoint Platform.

  • Use Salesforce Connector in Mulesoft Anypoint Platform to establish connection

  • Authenticate using Salesforce credentials (username, password, security token)

  • Utilize Salesforce APIs to interact with Salesforce data

Are these interview questions helpful?
A Senior Salesforce Developer was asked 12mo ago
Q. What is a rollup summary field?
Ans. 

Rollup summary field is a field in Salesforce that calculates values from related records and displays the result on a parent record.

  • Rollup summary fields are used to perform calculations on child records and display the result on a parent record.

  • They can be used to calculate the sum, count, minimum, or maximum of a field in related records.

  • For example, a rollup summary field can be used to calculate the total amo...

A Senior Salesforce Developer was asked 12mo ago
Q. What is the difference between Future and Queueable Apex?
Ans. 

Future is asynchronous and runs in a separate thread, while Queueable Apex runs in the same thread but can be queued for execution.

  • Future methods are used for executing code asynchronously, while Queueable Apex is used for chaining jobs and running them in a specific order.

  • Future methods have a limit of 50 per transaction, while Queueable Apex has a limit of 50 jobs in the queue per transaction.

  • Future methods cann...

A Senior Salesforce Developer was asked 12mo ago
Q. What are the differences between 'with sharing' and 'without sharing' in Apex?
Ans. 

With and without sharing in Salesforce determines whether sharing rules are enforced for a class.

  • With sharing keyword enforces sharing rules, restricting access to records based on the user's profile and organization-wide defaults.

  • Without sharing keyword does not enforce sharing rules, allowing full access to all records regardless of the user's profile or organization-wide defaults.

Capgemini Senior Salesforce Developer Interview Experiences

2 interviews found

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
-

I applied via Job Portal and was interviewed in May 2024. There were 2 interview rounds.

Round 1 - Technical 

(16 Questions)

  • Q1. Introduce yourself.
  • Q2. Explain your role in current project
  • Q3. Can we use multiple decorators in Lwc on a property? Answer is No
  • Q4. What are the decorators in Lwc and its uses?
  • Ans. 

    Decorators in LWC enhance component functionality, enabling reactive properties and lifecycle management.

    • 1. @api: Exposes a public property or method to the parent component. Example: @api greeting; allows parent to set greeting.

    • 2. @track: Makes a property reactive, so changes trigger re-renders. Example: @track items = []; updates UI when items change.

    • 3. @wire: Connects a property or function to a data source, like an...

  • Answered by AI
  • Q5. What is promise and promiseAll?
  • Ans. 

    Promise is an object representing the eventual completion (or failure) of an asynchronous operation, and promiseAll is a method that takes an iterable of promises and returns a single Promise that resolves when all of the promises have resolved.

    • Promise is used in JavaScript to handle asynchronous operations.

    • It represents a value that may not be available yet, but will be resolved at some point in the future.

    • PromiseAll ...

  • Answered by AI
  • Q6. How connection is done from Mulesoft to Salesforce
  • Ans. 

    Connection from Mulesoft to Salesforce is done using Salesforce Connector in Mulesoft Anypoint Platform.

    • Use Salesforce Connector in Mulesoft Anypoint Platform to establish connection

    • Authenticate using Salesforce credentials (username, password, security token)

    • Utilize Salesforce APIs to interact with Salesforce data

  • Answered by AI
  • Q7. What is connected App, remote site settings and OAuth?
  • Ans. 

    Connected App, remote site settings, and OAuth are key components in Salesforce for enabling secure external access to Salesforce data and functionality.

    • Connected App is a framework that enables external applications to securely integrate with Salesforce using APIs.

    • Remote Site Settings allow Salesforce to make callouts to external services over HTTPS.

    • OAuth is an open standard for access delegation, commonly used in Sal...

  • Answered by AI
  • Q8. What are best practices in Trigger? And what are trigger events?
  • Ans. 

    Best practices in Trigger and trigger events

    • Best practices include bulkifying triggers, using helper classes, and limiting logic in triggers

    • Trigger events are before insert, before update, after insert, after update, etc.

    • Examples of trigger events include before insert, after update, etc.

  • Answered by AI
  • Q9. What is rollup summary field?
  • Ans. 

    Rollup summary field is a field in Salesforce that calculates values from related records and displays the result on a parent record.

    • Rollup summary fields are used to perform calculations on child records and display the result on a parent record.

    • They can be used to calculate the sum, count, minimum, or maximum of a field in related records.

    • For example, a rollup summary field can be used to calculate the total amount o...

  • Answered by AI
  • Q10. What is with and without sharing?
  • Ans. 

    With and without sharing in Salesforce determines whether sharing rules are enforced for a class.

    • With sharing keyword enforces sharing rules, restricting access to records based on the user's profile and organization-wide defaults.

    • Without sharing keyword does not enforce sharing rules, allowing full access to all records regardless of the user's profile or organization-wide defaults.

  • Answered by AI
  • Q11. Difference between Future and Queable Apex?
  • Ans. 

    Future is asynchronous and runs in a separate thread, while Queueable Apex runs in the same thread but can be queued for execution.

    • Future methods are used for executing code asynchronously, while Queueable Apex is used for chaining jobs and running them in a specific order.

    • Future methods have a limit of 50 per transaction, while Queueable Apex has a limit of 50 jobs in the queue per transaction.

    • Future methods cannot be...

  • Answered by AI
  • Q12. What type of parameters can be passed to Future?
  • Ans. 

    Future methods in Salesforce can accept primitive data types as parameters.

    • Primitive data types like Integer, String, Boolean, etc. can be passed as parameters to Future methods.

    • Non-primitive data types like custom objects or collections cannot be passed as parameters to Future methods.

    • Example: @future public static void myFutureMethod(Integer param1, String param2) { }

  • Answered by AI
  • Q13. How to pass subjects to future methods?
  • Ans. 

    To pass subjects to future methods, use the @future annotation in Apex.

    • Use the @future annotation before the method declaration to indicate that the method will run asynchronously in the future.

    • Pass the subject parameters to the @future method as arguments when calling the method.

    • Ensure that the subject parameters are serializable to be passed to future methods.

  • Answered by AI
  • Q14. What are the tools for deployment?
  • Ans. 

    Tools for deployment include Salesforce DX, Ant Migration Tool, Change Sets, and Metadata API.

    • Salesforce DX is a command-line interface for development and deployment

    • Ant Migration Tool is a Java/Ant-based tool for moving metadata between environments

    • Change Sets allow for moving configuration changes between orgs

    • Metadata API is a web service for managing metadata

  • Answered by AI
  • Q15. Write a trigger on contact to display the number of contact on Account.
  • Ans. 

    Create a trigger on Contact to display the number of contacts on the related Account.

    • Create an after insert, update, delete trigger on Contact object

    • Query for the count of contacts related to the Account

    • Update a custom field on the Account with the count of contacts

  • Answered by AI
  • Q16. Write a trigger on Account. if one or more contact is associated with Account then show error if user tries to delete the account
  • Ans. 

    Create a trigger on Account to prevent deletion if associated with one or more contacts

    • Create an after delete trigger on Account object

    • Query for related contacts using SOQL

    • If contacts are found, add an error message to prevent deletion

  • Answered by AI
Round 2 - Technical 

(3 Questions)

  • Q1. Write lwc code for displaying Accounts with related contacts in a list
  • Ans. 

    Display Accounts with related contacts in a list using LWC code

    • Create a Lightning web component (LWC) to display the list

    • Use Apex to query for Accounts and their related Contacts

    • Iterate over the data to display Accounts and their related Contacts in the list

  • Answered by AI
  • Q2. Write a trigger on Order Products. It should display the most number of sold product type on the account. Eg: if most order products sold out of Tv, Ac and Fridge is Tv then update Tv as the most_sold_prod...
  • Ans. 

    Create a trigger on Order Products to display the most sold product type on the account

    • Create a trigger on Order Products object in Salesforce

    • Use SOQL query to count the number of each product type sold

    • Update the most_sold_product field on the Account object with the highest sold product type

  • Answered by AI
  • Q3. Write syntax for batch class
  • Ans. 

    Batch class syntax in Salesforce

    • Batch class must implement Database.Batchable interface

    • Define start, execute, and finish methods

    • Use Database.executeBatch method to execute the batch class

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - One quesion for sure will be on triggers so please practice Triggers.

Skills evaluated in this interview

I applied via Naukri.com and was interviewed in May 2022. There were 2 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Technical 

(1 Question)

  • Q1. Integration, LWC, aura

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare on the above key topics those were the questions more about

Interview questions from similar companies

I applied via Approached by Company and was interviewed before May 2021. There were 2 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. They will ask about your past experience and current project details in detail.
  • Ans. Just give the proper answer about your past experience very Convincingly and confidently.
  • Answered Anonymously
  • Q2. Few technical questions they will ask.
  • Ans. If you already prepared for your interview, then you can answer the basic technical questions and you will get selected.
  • Answered Anonymously
Round 2 - Technical 

(1 Question)

  • Q1. As this was the client round. Deep technical questions about relevant experience.
  • Ans. Just answer to all the questions whatever they ask in very confident manner and should have manageable comm skill to clear the client round.
  • Answered Anonymously

Interview Preparation Tips

Interview preparation tips for other job seekers - Just don't wait for the perfect time. Perfect time is a Myth. Just go for it.

I applied via LinkedIn and was interviewed in Nov 2021. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. Generics in Java
  • Ans. 

    Generics in Java allow for type safety and reusability of code.

    • Generics allow for the creation of classes, interfaces, and methods that can work with any data type.

    • They provide compile-time type safety, preventing runtime errors.

    • Examples include ArrayList, HashMap, and Comparable.

    • Wildcards can be used to allow for flexibility in generic types.

    • Generics can improve code readability and reduce the need for casting.

    • Ge...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare thoroughly with basics and coding

Skills evaluated in this interview

What people are saying about Capgemini

View All
thrivingsnapdragon
4d
works at
Accenture
Need feedback regarding One Finance BU at Capgemini
I am planning to join the One Finance Transformation team under Group IT at Capgemini. Can you please provide some insights if it is a good option to join in terms of learning, career progression and monetary benefits? Thanks.
Got a question about Capgemini?
Ask anonymously on communities.

I applied via Job Portal and was interviewed before Dec 2021. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - One-on-one 

(1 Question)

  • Q1. Basic Mainframe Questions
Round 3 - HR 

(1 Question)

  • Q1. Salary discussions and location

Interview Preparation Tips

Interview preparation tips for other job seekers - Nothing more to say than just go for it and crack it

I applied via Referral and was interviewed in Jul 2021. There were 4 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. How to handle error in after deployed the project.
  • Ans. 

    Handle errors after project deployment

    • Implement error logging and monitoring tools

    • Create a process for reporting and resolving errors

    • Use automated testing to catch errors before deployment

    • Have a backup plan in case of critical errors

    • Regularly review and update error handling procedures

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - They ask logical question as per experience level.

Skills evaluated in this interview

I applied via Referral and was interviewed in Sep 2021. There were 6 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Tell us about Reliability?
  • Ans. 

    Reliability refers to the ability of a system or component to perform its required functions under stated conditions for a specified period of time.

    • Reliability is a measure of how often a system or component fails and how quickly it can be restored to normal operation.

    • It is important to design systems with redundancy and failover mechanisms to ensure high reliability.

    • Reliability can be improved through regular maintena...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - I have got selected by Interviewer Rajib Das.
Are these interview questions helpful?

Interview Questionnaire 

1 Question

  • Q1. Tell me about software system
Interview experience
2
Poor
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Referral and was interviewed before May 2022. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Aptitude Test 

Maths English Reasoning

Round 3 - Technical 

(1 Question)

  • Q1. SAP FICO Org structure , Procure to pay cycle Order to Cash
Round 4 - HR 

(1 Question)

  • Q1. Package and Notice period

Interview Preparation Tips

Interview preparation tips for other job seekers - Dont join TechM unless you want to retire

Interview Questionnaire 

2 Questions

  • Q1. They asked me on java and I have joined as a fresher they not much questions as I got selected as fresher on oops concepts and collections
  • Q2. Please be confident while facing interview and they will check your communication skills

Capgemini Interview FAQs

How many rounds are there in Capgemini Senior Salesforce Developer interview?
Capgemini interview process usually has 2 rounds. The most common rounds in the Capgemini interview process are Technical and Resume Shortlist.
How to prepare for Capgemini Senior 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 Apex, Salesforce, SFDC, Unit Testing and REST API.
What are the top questions asked in Capgemini Senior Salesforce Developer interview?

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

  1. Write a trigger on Order Products. It should display the most number of sold pr...read more
  2. Write a trigger on Account. if one or more contact is associated with Account t...read more
  3. What are best practices in Trigger? And what are trigger even...read more

Tell us how to improve this page.

Overall Interview Experience Rating

4/5

based on 1 interview experience

Difficulty level

Moderate 100%

Duration

2-4 weeks 100%
View more
Capgemini Senior Salesforce Developer Salary
based on 56 salaries
₹5.8 L/yr - ₹18.4 L/yr
31% less than the average Senior Salesforce Developer Salary in India
View more details

Capgemini Senior Salesforce Developer Reviews and Ratings

based on 3 reviews

3.4/5

Rating in categories

3.1

Skill development

4.1

Work-life balance

2.0

Salary

3.8

Job security

3.1

Company culture

1.7

Promotions

2.7

Work satisfaction

Explore 3 Reviews and Ratings
Consultant
58.6k salaries
unlock blur

₹8.9 L/yr - ₹16.5 L/yr

Associate Consultant
51.2k salaries
unlock blur

₹4.5 L/yr - ₹10 L/yr

Senior Consultant
50.1k salaries
unlock blur

₹12.6 L/yr - ₹21 L/yr

Senior Analyst
22.3k salaries
unlock blur

₹3.1 L/yr - ₹7.5 L/yr

Senior Software Engineer
21.6k salaries
unlock blur

₹4.7 L/yr - ₹12.9 L/yr

Explore more salaries
Compare Capgemini with

Wipro

3.7
Compare

Accenture

3.7
Compare

Cognizant

3.7
Compare

TCS

3.6
Compare
write
Share an Interview