Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam B2B Commerce Developer Topic 5 Question 78 Discussion

Actual exam question for Salesforce's B2B Commerce Developer exam
Question #: 78
Topic #: 5
[All B2B Commerce Developer Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: B, C, E

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.


Contribute your Thoughts:

Antonio
8 days ago
Haha, I bet the person who wrote this question has a wicked sense of humor. 'Code units' - sounds like something straight out of a sci-fi movie! Anyway, I'm going with B, C, and E. Can't go wrong with the classic Apex, web services, and workflows, right?
upvoted 0 times
...
Shoshana
13 days ago
I'm pretty sure web service invocations and workflow invocations are definitely code units. But I'm not sure about the Apex class - is that considered a separate unit or part of the overall transaction? Ah, the mysteries of debug logs!
upvoted 0 times
...
Rutha
15 days ago
Hmm, I think B, C, and E are the code units here. Validation rules and Lightning components are not really 'units of work' in the transaction sense.
upvoted 0 times
...

Save Cancel