Upload Button Icon Add office photos
Engaged Employer

i

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

TCS Verified Tick

Compare button icon Compare button icon Compare
3.7

based on 86.8k Reviews

Filter interviews by

TCS Salesforce Developer Trainee Interview Questions and Answers

Updated 28 Jul 2024

TCS Salesforce Developer Trainee Interview Experiences

1 interview found

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Questions about Apex programming
  • Q2. Questions about lightning web components

Interview Preparation Tips

Interview preparation tips for other job seekers - Good experience

Interview questions from similar companies

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

I applied via Naukri.com and was interviewed before Mar 2023. There were 2 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. Explain Batch class
  • Ans. 

    Batch class in Salesforce is used to process large amounts of data in chunks to avoid hitting governor limits.

    • Batch class implements the Database.Batchable interface in Salesforce

    • It allows you to break down a large job into smaller chunks for processing

    • You can specify the size of each batch and the number of batches to run in parallel

    • Batch class is useful for processing large data sets, such as updating records or send

  • Answered by AI
  • Q2. Explain Profile and permission set
  • Ans. 

    Profiles and permission sets are used in Salesforce to control access to objects, fields, and other features.

    • Profiles are used to control overall access to objects, fields, and features for a user or group of users.

    • Permission sets are used to grant additional permissions to users beyond what is specified in their profile.

    • Profiles are assigned to users when they are created, while permission sets can be assigned at any ...

  • Answered by AI
Round 2 - HR 

(1 Question)

  • Q1. Salary negotiation

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-

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

Round 1 - Technical 

(4 Questions)

  • Q1. Life Cycle hook in LWC
  • Ans. 

    Life Cycle hooks in LWC are methods that allow you to interact with the component at specific stages of its lifecycle.

    • There are four main life cycle hooks in LWC: connectedCallback, disconnectedCallback, renderedCallback, and errorCallback.

    • connectedCallback is called when a component is inserted into the DOM.

    • disconnectedCallback is called when a component is removed from the DOM.

    • renderedCallback is called after the com...

  • Answered by AI
  • Q2. In how many ways we can Communicate between component
  • Ans. 

    There are multiple ways to communicate between components in Salesforce, including using events, public properties, and Apex methods.

    • Using events to communicate between components

    • Passing data through public properties

    • Invoking Apex methods to share data

  • Answered by AI
  • Q3. Outbound integration
  • Q4. After having Read, Write permission on the object what will be the reason that user can't see all record.

Skills evaluated in this interview

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

(1 Question)

  • Q1. Moderate qus like lwc componets @notaions lifecysclehook
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-

I was interviewed in Aug 2024.

Round 1 - Technical 

(2 Questions)

  • Q1. Profile, role differencess
  • Q2. How data is sent by callout
  • Ans. 

    Data is sent by callout using HTTP request methods like GET, POST, PUT, DELETE.

    • Data can be sent in the request body or as query parameters

    • Headers can be used to provide additional information

    • Response codes indicate the status of the request

    • Examples: Sending data to an external API, retrieving data from a web service

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Types of flow in salesforce
  • Ans. 

    Types of flow in Salesforce include autolaunched flows, screen flows, and scheduled flows.

    • Autolaunched flows are triggered by a process or record change

    • Screen flows guide users through a series of screens to collect information

    • Scheduled flows are executed at a specific time or on a recurring basis

  • Answered by AI
  • Q2. Best practice to write a trigger
  • Ans. 

    Best practice for writing triggers in Salesforce

    • Ensure trigger logic is bulkified to handle multiple records at once

    • Use trigger handler classes to separate logic from trigger itself

    • Avoid SOQL queries inside loops to prevent hitting governor limits

    • Write unit tests to cover trigger logic and ensure proper functionality

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Try to get the answers of all nasic questions

Skills evaluated in this interview

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

TCS Interview FAQs

How many rounds are there in TCS Salesforce Developer Trainee interview?
TCS interview process usually has 1 rounds. The most common rounds in the TCS interview process are Technical.
What are the top questions asked in TCS Salesforce Developer Trainee interview?

Some of the top questions asked at the TCS Salesforce Developer Trainee interview -

  1. Questions about Apex programm...read more
  2. Questions about lightning web compone...read more

Tell us how to improve this page.

TCS Salesforce Developer Trainee Interview Process

based on 1 interview

Interview experience

5
  
Excellent
View more

Interview Questions from Similar Companies

Accenture Interview Questions
3.9
 • 8.1k Interviews
Infosys Interview Questions
3.6
 • 7.6k Interviews
Wipro Interview Questions
3.7
 • 5.6k Interviews
Cognizant Interview Questions
3.8
 • 5.6k Interviews
Capgemini Interview Questions
3.7
 • 4.8k Interviews
Tech Mahindra Interview Questions
3.5
 • 3.8k Interviews
HCLTech Interview Questions
3.5
 • 3.8k Interviews
Genpact Interview Questions
3.8
 • 3k Interviews
LTIMindtree Interview Questions
3.8
 • 3k Interviews
IBM Interview Questions
4.0
 • 2.4k Interviews
View all
TCS Salesforce Developer Trainee Salary
based on 11 salaries
₹3.4 L/yr - ₹4.1 L/yr
12% more than the average Salesforce Developer Trainee Salary in India
View more details

TCS Salesforce Developer Trainee Reviews and Ratings

based on 1 review

4.0/5

Rating in categories

3.0

Skill development

3.0

Work-life balance

3.0

Salary

4.0

Job security

3.0

Company culture

4.0

Promotions

4.0

Work satisfaction

Explore 1 Review and Rating
System Engineer
1.1L salaries
unlock blur

₹1 L/yr - ₹9 L/yr

IT Analyst
67.5k salaries
unlock blur

₹5.1 L/yr - ₹16 L/yr

AST Consultant
51.3k salaries
unlock blur

₹8 L/yr - ₹25 L/yr

Assistant System Engineer
29.9k salaries
unlock blur

₹2.2 L/yr - ₹5.6 L/yr

Associate Consultant
29k salaries
unlock blur

₹9 L/yr - ₹32 L/yr

Explore more salaries
Compare TCS with

Amazon

4.1
Compare

Wipro

3.7
Compare

Infosys

3.6
Compare

Accenture

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