nerdexam
Salesforce

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.

Submitted by yuki_2020· Apr 18, 2026Testing, Debugging, and Deployment

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)
  • A
    2% (1)
  • B
    94% (58)
  • E
    5% (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.

AFlow

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.

BApex ClassCorrect

Trace flags can be set directly on specific Apex classes to enable detailed logging during their execution.

CUserCorrect

Trace flags can be configured for individual users, capturing all debug logs generated by operations performed by that user.

DApex TragerCorrect

Trace flags can be set directly on specific Apex triggers to enable detailed logging during their execution.

EVisualforce

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

#Trace Flags#Debug Logs#Apex Debugging#Debugging Tools

Community Discussion

No community discussion yet for this question.

Full PDI Practice