Add office photos
Employer?
Claim Account for FREE

Accenture

3.8
based on 56.4k Reviews
Video summary
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by

10+ Cavinkare Interview Questions and Answers

Updated 21 Jan 2025
Popular Designations

Q1. write a batch code to update account rating

Ans.

Batch code to update account rating

  • Create a batch class implementing Database.Batchable interface

  • Query for accounts with specific criteria

  • Update the rating field for each account

  • Execute the batch class using Database.executeBatch method

Add your answer

Q2. what is quable apex in salesforce

Ans.

Quable Apex is a tool that allows developers to write and test Apex code in a more efficient and organized way.

  • Quable Apex provides a structured way to organize Apex code

  • It allows developers to write and test code in a more efficient manner

  • Quable Apex includes features such as code versioning and deployment management

  • It can be integrated with Salesforce's development tools such as the Force.com IDE

Add your answer

Q3. tirgger to update shipping address

Ans.

A trigger can be created to update shipping address based on certain criteria.

  • Create a trigger on the object where the shipping address is stored

  • Use an if statement to check the criteria for updating the address

  • Update the shipping address field using the appropriate syntax

Add your answer

Q4. What is the difference between Batchable and Queueable Apex?

Ans.

Batchable Apex is used for processing large data sets in smaller chunks, while Queueable Apex is used for asynchronous processing of single job.

  • Batchable Apex is used for processing large data sets in smaller chunks

  • Queueable Apex is used for asynchronous processing of single job

  • Batchable Apex can be scheduled to run at specific times, while Queueable Apex runs immediately after being added to the queue

  • Batchable Apex uses the Database.Batchable interface, while Queueable Apex ...read more

Add your answer
Discover Cavinkare interview dos and don'ts from real experiences

Q5. Custom Metadata vs custom settings

Ans.

Custom Metadata is used for dynamic configuration while Custom Settings are used for static configuration.

  • Custom Metadata is deployable across environments while Custom Settings are not.

  • Custom Metadata can be accessed via SOQL while Custom Settings can be accessed via Apex.

  • Custom Metadata can be used in managed packages while Custom Settings cannot.

  • Custom Metadata can be used to store complex data structures while Custom Settings cannot.

  • Custom Metadata can be used to store da...read more

Add your answer

Q6. Which data type is not allowed in future method?

Ans.

Future methods do not allow sObjects as data type.

  • Future methods in Salesforce do not allow sObjects as parameters.

  • You cannot pass an sObject, such as Account or Contact, as a parameter to a future method.

  • Instead, you can pass the sObject ID and query for the sObject in the future method.

Add your answer
Are these interview questions helpful?

Q7. types of flows used

Ans.

Flows are used to automate business processes in Salesforce. There are different types of flows used depending on the requirement.

  • Screen Flows - used to collect data from users

  • Auto-launched Flows - used to automate processes without user interaction

  • Flow Triggers - used to launch a flow when a record is created or updated

  • Scheduled Flows - used to automate processes on a schedule

  • Record-Triggered Flows - used to automate processes when a record is created, updated, or deleted

  • Flo...read more

View 1 answer

Q8. Write a trigger to update record in child abject as well as parent object

Ans.

Use a trigger to update records in both child and parent objects

  • Create a trigger on the child object that updates the related parent object

  • Use SOQL queries to retrieve and update the parent object records

  • Handle bulk updates by using trigger context variables like Trigger.new and Trigger.old

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. Trigger to count total opportunity amount on Account

Ans.

Create a trigger to calculate total opportunity amount on Account

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

  • Query all related Opportunities for the Account

  • Calculate the total amount and update a custom field on the Account

Add your answer

Q10. Difference between synchronous and asynchronous methods in apex

Ans.

Synchronous methods execute in a sequential order, while asynchronous methods allow for parallel execution.

  • Synchronous methods execute in a sequential order, blocking the execution until the method is completed.

  • Asynchronous methods allow for parallel execution, enabling other processes to continue while the method runs in the background.

  • Synchronous methods are suitable for tasks that require immediate results, while asynchronous methods are used for long-running processes or ...read more

Add your answer

Q11. What is lightning message service?

Ans.

Lightning message service is a messaging channel that allows communication between components in a Lightning web application.

  • It enables communication between Aura components, Visualforce pages, and Lightning web components.

  • Messages are sent and received using the Lightning Message Service API.

  • It supports both point-to-point and broadcast messaging.

  • Developers can use it to communicate between components that are not directly related in the component hierarchy.

Add your answer

Q12. Can master detail convert into lookup

Ans.

No, master detail relationship cannot be converted into lookup relationship.

  • Master detail relationship is more restrictive than lookup relationship

  • Master detail relationship controls the behavior of the child records

  • Lookup relationship allows more flexibility and independence between parent and child records

Add your answer

Q13. Basic sceneries in Apex sharing

Ans.

Apex sharing allows developers to control access to records based on criteria.

  • Apex sharing rules can be used to extend sharing access beyond the organization-wide defaults.

  • Apex managed sharing allows developers to programmatically share records with specific users or groups.

  • Sharing reasons can be used to define the reason for sharing a record in Apex.

  • Apex sharing can be enforced using the 'with sharing' keyword in Apex classes.

Add your answer

Q14. In LWC, explain lifecycle hooks

Ans.

Lifecycle hooks in LWC are methods that allow developers to hook into the lifecycle of a component.

  • ConnectedCallback - called when a component is inserted into the DOM

  • RenderedCallback - called after a component's template has been rendered

  • DisconnectedCallback - called when a component is removed from the DOM

  • ErrorCallback - called when an error occurs in a component

  • Example: connectedCallback() { console.log('Component connected to the DOM'); }

Add your answer

Q15. Describe your view on monetization

Ans.

Monetization is the process of generating revenue from a product or service.

  • Monetization strategies can include subscription models, advertising, freemium models, and pay-per-use.

  • It is important to consider the target market, competition, and value proposition when deciding on a monetization strategy.

  • Regularly analyzing and optimizing monetization strategies is crucial for long-term success.

  • Examples of successful monetization strategies include Spotify's freemium model, Netfl...read more

Add your answer

Q16. Call parent to child in lwc

Ans.

To call parent to child in LWC, use @api decorator in child component to expose a public property and then use the property in parent component.

  • Use @api decorator in child component to expose a public property

  • Pass data from parent to child component using the public property

  • Access the data in the child component using the public property

Add your answer

Q17. Trigger.new vs Trigger.newMap

Ans.

Trigger.new contains the new records that are being inserted or updated, while Trigger.newMap contains the new records mapped by their IDs.

  • Trigger.new is a list of sObjects that are being inserted or updated in a trigger context.

  • Trigger.newMap is a map of sObjects that are being inserted or updated, with their IDs as keys.

  • Use Trigger.new when you need to iterate over all new records without needing to access them by ID.

  • Use Trigger.newMap when you need to quickly access a spec...read more

Add your answer

Q18. Future apex example

Ans.

Future apex example

  • Use @future annotation to run a method asynchronously

  • Future methods are used for long-running operations like callouts

  • Example: @future public static void myFutureMethod() { // code here }

Add your answer

More about working at Accenture

Top Rated Mega Company - 2024
Top Rated Company for Women - 2024
Top Rated IT/ITES Company - 2024
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Cavinkare

based on 38 interviews
2 Interview rounds
Technical Round - 1
Technical Round - 2
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Salesforce Developer Interview Questions from Similar Companies

3.6
 • 30 Interview Questions
3.7
 • 30 Interview Questions
3.8
 • 24 Interview Questions
3.8
 • 16 Interview Questions
3.4
 • 13 Interview Questions
3.9
 • 12 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter