Upload Button Icon Add office photos
Engaged Employer

i

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

Cognizant Verified Tick

Compare button icon Compare button icon Compare
3.8

based on 47.6k Reviews

Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards

zig zag pattern zig zag pattern

Filter interviews by

Cognizant Senior Salesforce Developer Interview Questions and Answers

Updated 18 Oct 2023

Cognizant Senior Salesforce Developer Interview Experiences

2 interviews found

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
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 - HR 

(1 Question)

  • Q1. Excepted Compensation
Round 3 - Technical 

(1 Question)

  • Q1. I informed them I am good at Flows. Questions about Flows and basic Salesforce developer questions.

I applied via Naukri.com and was interviewed in Sep 2020. There were 3 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. There are multiple question they have asked me , not goining into it much much deeper, but yet how you see yourself after 5 years , what you feel after waking up in the morning about office and all stuf...
  • Q2. What is you aim?

Interview Preparation Tips

Interview preparation tips for other job seekers - I want to share my views , like be confident and answer should be to the point, sometimes small mistake make you lost the post you applied for, but better listen the question carefully and then respond, if not understood tell them to repeat.

Interview questions from similar companies

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?
  • 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

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

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

Round 1 - Technical 

(2 Questions)

  • Q1. Child to parent communication in LWC
  • Ans. 

    Child to parent communication in LWC involves using events to pass data from child components to parent components.

    • Use custom events to communicate from child to parent components

    • Dispatch the custom event in the child component and handle it in the parent component

    • Pass data along with the custom event to send information from child to parent

  • Answered by AI
  • Q2. Trigger scenario

Interview Preparation Tips

Topics to prepare for Infosys Senior Salesforce Developer interview:
  • lwc

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - This was round1 

(2 Questions)

  • Q1. NA explained below
  • Q2. NA explained below1
Round 2 - One-on-one 

(2 Questions)

  • Q1. Project related questions
  • Q2. Flows, lwc, sharing, cdc, exp cloud

Interview Preparation Tips

Interview preparation tips for other job seekers - Round 1: Sr Salesforce Developer
> Duration 45 minutes
Asked about the project I mentioned and what all clouds I have worked on.
Security model and related questions
Flows questions (scheduled flows, how can we monitor the progress, how to show LWC on screen flows, how to call an apex from flow )
Explained CDC as I said I have worked on it
Experience cloud basic questions
Expalained LWC lifecycle hook : when which hook get called.
Apex and Manual sharing, what is Rowcause in it.

Interviewer was friendly and overall experience was good
Got selected for the 2nd round
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
-

I applied via Job Portal

Round 1 - Technical 

(3 Questions)

  • Q1. LWC, parent child communication
  • Q2. Asynchronous apex
  • Ans. 

    Asynchronous apex refers to code that runs in the background without user interaction.

    • Asynchronous apex is used for long-running processes that do not need to be completed immediately.

    • It allows for better performance by not blocking the user interface.

    • Examples include batch apex, future methods, and queueable apex.

  • Answered by AI
  • Q3. Apex integration

Skills evaluated in this interview

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

I applied via LinkedIn and was interviewed in Aug 2024. There was 1 interview round.

Round 1 - Technical 

(3 Questions)

  • Q1. What are OWDs in SF
  • Ans. 

    OWDs in SF refer to Organization-Wide Defaults which control the default level of access users have to records in Salesforce.

    • OWDs determine the baseline level of access for all records in an organization

    • They can be set to Public Read/Write, Public Read Only, Private, or Controlled by Parent

    • OWDs can be further refined using sharing rules and manual sharing

  • Answered by AI
  • Q2. Asynchronous Apex
  • Ans. 

    Asynchronous Apex is used to run processes in the background without user interaction.

    • Asynchronous Apex is used for long-running processes that don't require immediate user interaction.

    • It allows for better performance by running tasks in the background.

    • Examples include batch Apex, future methods, and queueable Apex.

  • Answered by AI
  • Q3. LWC in omnistudio
  • Ans. 

    LWC in omnistudio refers to using Lightning Web Components in Salesforce's OmniStudio for building custom applications.

    • LWC can be used in OmniStudio to create custom components and pages for applications.

    • LWC allows for building interactive and responsive user interfaces in OmniStudio.

    • LWC can be integrated with other Salesforce tools and services within OmniStudio.

    • Example: Creating a custom LWC component to display data...

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Accenture Senior Salesforce Developer interview:
  • Apex
  • Omnistudio
  • LWC
  • Salesforce CRM

Skills evaluated in this interview

Interview experience
1
Bad
Difficulty level
Moderate
Process Duration
6-8 weeks
Result
No response

I was interviewed in Jun 2024.

Round 1 - Technical 

(2 Questions)

  • Q1. Introduce yourself
  • Q2. What are Salesforce governor limits
  • Ans. 

    Salesforce governor limits are limits enforced by Salesforce to ensure efficient use of resources and prevent abuse.

    • Governor limits are enforced to prevent long-running or resource-intensive operations.

    • Examples of governor limits include limits on the number of SOQL queries, CPU time, and DML statements.

    • Exceeding governor limits can result in exceptions being thrown by Salesforce.

    • Developers need to be aware of governor...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - I have given 4 interviews in the last 2 months for this company. Each time a different HR calls and schedules interview. And each time no response. 3 times I expected a positive response.

The questions I have mentioned here are from the last interview I gave. The interviewer was in such a hurry he only asked 2 questions and dropped. Another interviewer asked me intro about my self again as he joined late and that's it. My interview was finished.

I am a candidate with 7.5 years experience. They need to show a little bit of respect to the candidates for making time to give interviews but this company is one of the worst I have come across ever. I have heard they are even asking to come to office on all 5 days. Everyone knows how good their hikes are.

My point to others : do not expect anything from this company. Join this only if your current position, role and salary are worser than what these guys are offering.

Skills evaluated in this interview

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

I applied via LinkedIn and was interviewed in Jul 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. Inheritance in apex class?
  • Ans. 

    Inheritance in Apex class allows a class to inherit properties and methods from another class.

    • Inheritance is achieved using the 'extends' keyword in Apex.

    • Child classes can access all non-private members of the parent class.

    • Child classes can override methods from the parent class.

    • Example: Class B extends Class A.

  • Answered by AI
  • Q2. What is Skinny table
  • Ans. 

    Skinny table is a custom table in Salesforce that contains a subset of fields from standard and custom objects for performance optimization.

    • Skinny tables are used to store frequently accessed fields in a denormalized form to improve query performance.

    • They are created by Salesforce automatically based on the fields accessed in reports, list views, and SOQL queries.

    • Skinny tables are read-only and are automatically update...

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

I applied via Recruitment Consulltant and was interviewed in May 2024. There were 2 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. Basic question related to salesforce
  • Q2. Lwc related question
Round 2 - Technical 

(2 Questions)

  • Q1. Lwc rwlated question more
  • Q2. Partner portal related

Cognizant Interview FAQs

How many rounds are there in Cognizant Senior Salesforce Developer interview?
Cognizant interview process usually has 3 rounds. The most common rounds in the Cognizant interview process are Resume Shortlist, HR and Technical.
How to prepare for Cognizant 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 Cognizant. The most common topics and skills that interviewers at Cognizant expect are Apex, Customization, Sales Force Development and Salesforce.
What are the top questions asked in Cognizant Senior Salesforce Developer interview?

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

  1. I informed them I am good at Flows. Questions about Flows and basic Salesforce ...read more
  2. Excepted Compensat...read more

Tell us how to improve this page.

People are getting interviews through

based on 1 Cognizant interview
Job Portal
100%
Low Confidence
?
Low Confidence means the data is based on a small number of responses received from the candidates.
Cognizant Senior Salesforce Developer Salary
based on 279 salaries
₹5.9 L/yr - ₹25.4 L/yr
12% less than the average Senior Salesforce Developer Salary in India
View more details

Cognizant Senior Salesforce Developer Reviews and Ratings

based on 10 reviews

4.1/5

Rating in categories

4.2

Skill development

3.8

Work-Life balance

3.9

Salary & Benefits

3.6

Job Security

3.6

Company culture

3.2

Promotions/Appraisal

3.6

Work Satisfaction

Explore 10 Reviews and Ratings
Associate
72.5k salaries
unlock blur

₹5.1 L/yr - ₹15.9 L/yr

Programmer Analyst
55.4k salaries
unlock blur

₹2.4 L/yr - ₹9.7 L/yr

Senior Associate
48.3k salaries
unlock blur

₹9 L/yr - ₹27 L/yr

Senior Processing Executive
28.6k salaries
unlock blur

₹1.8 L/yr - ₹9 L/yr

Technical Lead
17.6k salaries
unlock blur

₹5.9 L/yr - ₹24 L/yr

Explore more salaries
Compare Cognizant with

TCS

3.7
Compare

Infosys

3.7
Compare

Wipro

3.7
Compare

Accenture

3.9
Compare

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Did you find this page helpful?
Yes No
write
Share an Interview