ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 219 - Certified Data Architect discussion

Report
Export

Universal Containers (UC) has a Salesforce org with multiple automated processes defined for group membership processing, UC also has multiple admins on staff that perform manual adjustments to the role hierarchy. The automated tasks and manual tasks overlap daily, and UC is experiencing 'lock errors' consistently.

What should a data architect recommend to mitigate these errors?

A.
Enable granular locking.
Answers
A.
Enable granular locking.
B.
Remove SOQL statements from Apex Loops.
Answers
B.
Remove SOQL statements from Apex Loops.
C.
Enable sharing recalculations.
Answers
C.
Enable sharing recalculations.
D.
Ask Salesforce support for additional CPU power.
Answers
D.
Ask Salesforce support for additional CPU power.
Suggested answer: A

Explanation:

Enabling granular locking (option A) is the best recommendation to mitigate these errors, as it allows finer control over how records are locked during automated or manual processes, and reduces the chances of lock contention or deadlock. Removing SOQL statements from Apex Loops (option B) is a good practice for improving performance and avoiding governor limits, but it does not directly address the lock errors issue. Enabling sharing recalculations (option C) is also not relevant for this issue, as it is used to update sharing rules and recalculate access for records. Asking Salesforce support for additional CPU power (option D) is also not a viable solution, as it does not solve the root cause of the lock errors.

asked 23/09/2024
Vidana Weerasinghe
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first