What should a data architect recommend to guarantee that records are not being updated at the same time?


Warning: Undefined variable $onlink in /site/exam4training.com/wp-content/themes/porto-child/functions.php on line 123

Universal Containers (UC) owns a complex Salesforce org with many Apex classes, triggers, and automated processes that will modify records if available. UC has identified that, in its current development state, UC runs change of encountering race condition on the same record.

What should a data architect recommend to guarantee that records are not being updated at the same time?
A . Embed the keywords FOR UPDATE after SOQL statements.
B. Disable classes or triggers that have the potential to obtain the same record.
C. Migrate programmatic logic to processes and flows.
D. Refactor or optimize classes and trigger for maximum CPU performance.

Answer: A

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments