ExamGecko
Question list
Search
Search

Question 193 - Certified B2B Commerce Developer discussion

Report
Export

Which three are considered code units, or discrete units of work within a transaction in the debug logs?

A.
Validation rule
Answers
A.
Validation rule
B.
Apex class
Answers
B.
Apex class
C.
Web service invocation
Answers
C.
Web service invocation
D.
Lightning component load
Answers
D.
Lightning component load
E.
Workflow invocations
Answers
E.
Workflow invocations
Suggested answer: B, C, E

Explanation:

In the context of Salesforce debug logs, code units represent discrete units of work within a transaction. Apex classes (B), Web service invocations (C), and Workflow invocations (E) are considered code units as they encapsulate specific operations or sets of logic that can be executed as part of a transaction. Validation rules (A) and the loading of Lightning components (D) are not considered discrete units of work in the same way, as they are part of the declarative interface and front-end framework, respectively. For more details on how Salesforce handles transactions and debug logs, refer to the Salesforce Developer Documentation: Salesforce Developer Documentation on Transactions and Debug Logs.

asked 23/09/2024
Godavari, Rakesh
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first