PDI · Question #151
For which three items can 2 trace flag be configured? Choose 3 answers
The correct answer is B. Apex Class C. User D. Apex Trager. Trace flags for debug logging in Salesforce can be configured for individual Users, Apex Classes, and Apex Triggers to control the level and type of logging captured.
Question
For which three items can 2 trace flag be configured? Choose 3 answers
Options
- AFlow
- BApex Class
- CUser
- DApex Trager
- EVisualforce
How the community answered
(62 responses)- A2% (1)
- B94% (58)
- E5% (3)
Why each option
Trace flags for debug logging in Salesforce can be configured for individual Users, Apex Classes, and Apex Triggers to control the level and type of logging captured.
While Flows generate debug logs, trace flags cannot be directly configured on a Flow itself; logging for Flows is typically controlled through user-level trace flags.
Trace flags can be set directly on specific Apex classes to enable detailed logging during their execution.
Trace flags can be configured for individual users, capturing all debug logs generated by operations performed by that user.
Trace flags can be set directly on specific Apex triggers to enable detailed logging during their execution.
Visualforce pages do not have direct trace flags; their execution logging is captured through user-level trace flags or within their associated Apex controllers.
Concept tested: Debug log trace flag configuration targets
Source: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_debugging_debug_log.htm
Topics
Community Discussion
No community discussion yet for this question.