nerdexam
Microsoft

70-511 · Question #296

Which two of the following XML samples, when added to the correct nodes of the app.config file, correctly configure AnimationTraceSource to write data to TextWriterTraceListener? Assume that any…

The correct answer is A. <source name="System.Windows.Media.Animation" switchName="mySwitch" > C. <sharedListeners>. See the full explanation below for the reasoning.

Question

Which two of the following XML samples, when added to the correct nodes of the app.config file, correctly configure AnimationTraceSource to write data to TextWriterTraceListener? Assume that any trace switches have been appropriately set. (Choose all that apply.)

Options

  • A<source name="System.Windows.Media.Animation" switchName="mySwitch" >
  • B<sharedListeners>
  • C<sharedListeners>
  • D<source name="System.Windows.Media.Animation" switchName="mySwitch" >

How the community answered

(25 responses)
  • A
    84% (21)
  • B
    4% (1)
  • D
    12% (3)

Community Discussion

No community discussion yet for this question.

Full 70-511 Practice