i
TCS
Filter interviews by
posted on 26 Mar 2024
I applied via Naukri.com and was interviewed before Mar 2023. There were 2 interview rounds.
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
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 ...
I applied via Recruitment Consulltant and was interviewed in Sep 2024. There was 1 interview round.
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...
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
I applied via Approached by Company and was interviewed in Jun 2024. There was 1 interview round.
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.
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
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
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.
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.
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
I applied via Recruitment Consulltant and was interviewed in Apr 2024. There was 1 interview round.
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.
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.
I was interviewed in Aug 2024.
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
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
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
I applied via Naukri.com and was interviewed in Jan 2024. There was 1 interview round.
Interview experience
based on 1 review
Rating in categories
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
67.5k
salaries
| ₹5.1 L/yr - ₹16 L/yr |
AST Consultant
51.3k
salaries
| ₹8 L/yr - ₹25 L/yr |
Assistant System Engineer
29.9k
salaries
| ₹2.2 L/yr - ₹5.6 L/yr |
Associate Consultant
29k
salaries
| ₹9 L/yr - ₹32 L/yr |
Amazon
Wipro
Infosys
Accenture