PrepAway - Latest Free Exam Questions & Answers

Which of the following elements can be added to the config file to assist in testing the application?

Which of the following elements can be added to the config file to assist in testing the application?

PrepAway - Latest Free Exam Questions & Answers

A.
ANY

B.
Key

C.
trace

D.
value

Explanation:
The trace element is an ASP.NET Settings Schema. It is used to configure the ASP.NET code tracing
service that controls how trace results are assembled, stored, and displayed. It consists of attributes,
child elements, and parent elements. An example of the trace element is as follows:
<trace
enabled=”true|false”
localOnly=”true|false”
pageOutput=”true|false”
requestLimit=”integer”
mostRecent=”true|false”
writeToDiagnosticsTrace=”true|false”
traceMode=”SortByTime|SortByCategory”
/>
Answer D is incorrect. The <value> element contains the value of a setting defined in an
application’s configuration file used by the application settings. It is the sub-element or child
element of the <setting> element.
Answer A is incorrect. The ANY element specifies that an element exists without making any
assertion about what it may or may not contain. A user can specify the keyword ANY as the content
specification.
Answer B is incorrect. The Key element is used to declare a named key that can be used in the style
sheet with the key() function. A key does not have to be unique.

5 Comments on “Which of the following elements can be added to the config file to assist in testing the application?


Leave a Reply