Cloud SynApps
10+ Kyndryl Interview Questions and Answers
Q1. Why we use test.startTest and test.stopTest?
test.startTest and test.stopTest are used in Salesforce to isolate and execute test code.
test.startTest and test.stopTest are used to isolate and execute test code within a specific context
test.startTest marks the beginning of a block of code that should be covered by a single test transaction
test.stopTest marks the end of that block and ensures that all asynchronous processes are completed before continuing
Using these methods helps in accurately measuring the performance and...read more
Q2. Explain different types of flows. Also, one scenario is given.
Different types of flows in Salesforce include autolaunched flows, screen flows, and scheduled flows.
Autolaunched flows are triggered by a process or record change and do not require user interaction.
Screen flows guide users through a series of screens to collect information or make decisions.
Scheduled flows are triggered at a specific time or on a recurring schedule.
Example: Autolaunched flow to update a record when a certain field is changed.
Example: Screen flow to create a...read more
Q3. Write an SOQL query to fetch all the contacts associated with an account.
SOQL query to fetch contacts associated with an account
Use SELECT statement to retrieve fields from Contact object
Use WHERE clause to filter contacts associated with a specific Account Id
Example: SELECT Id, Name, Email FROM Contact WHERE AccountId = '001XXXXXXXXXXXXX'
Q4. How many sf certificates?
Salesforce offers various certifications for developers to showcase their expertise in different areas.
Salesforce Certified Platform Developer I
Salesforce Certified Platform Developer II
Salesforce Certified Commerce Cloud Digital Developer
Salesforce Certified Marketing Cloud Developer
Q6. What is sharing rules and its types
Sharing rules in Salesforce control access to records for specified groups of users
Sharing rules are used to extend sharing access to users in public groups or roles
There are two types of sharing rules: Criteria-based sharing rules and Ownership-based sharing rules
Criteria-based sharing rules are based on the criteria specified in the rule
Ownership-based sharing rules are based on the record owner
Q7. How to handle runtime exceptions when we dont know exact exception
Use try-catch block with generic Exception class to handle unknown runtime exceptions.
Use try-catch block with Exception class to catch all runtime exceptions.
Handle the exception gracefully by logging the error or displaying a user-friendly message.
Consider using a finally block to clean up any resources.
Example: try { // code that may throw exception } catch (Exception e) { // handle exception }
Q8. Query to fetch the second maximum amount record of opportunity
Use SOQL query to fetch the second maximum amount record of opportunity
Use ORDER BY clause to sort the records by amount in descending order
Use LIMIT 2 to fetch the top 2 records
Use OFFSET 1 to skip the first record and fetch the second maximum amount record
Q9. What is LDT and its restrictions
LDT stands for Long Data Type and has restrictions on its usage in Salesforce.
LDT is a custom field type in Salesforce used for storing large amounts of text data.
It has a limit of 131,072 characters per record.
LDT fields cannot be used in formula fields or workflow rules.
LDT fields are not searchable in Salesforce reports.
Q10. Various notations in spring.
Various notations in Spring include XML configuration, JavaConfig, and annotations.
XML configuration: uses XML files to define beans and their dependencies
JavaConfig: uses Java classes to define beans and their dependencies
Annotations: uses annotations like @Component, @Autowired, @Controller, etc. to define beans and their dependencies
Interview Process at Kyndryl
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month