
EC-CouncilCertified Application Security Engineer (.NET)
Domain 7Objective 4
Tracing in .NET CASENET Practice Questions (Page 2)
Part of the Secure Coding: Error Handling and Logging domain, which makes up ~12% of our current practice bank. EC-Council does not publish an official question count, but from its 120-minute exam (~50–80 total, ~6–10 in this domain), expect 2–3 from this objective — we provide 48 practice questions to prepare you well beyond it. (estimate)
48questions here
10free pages
9concepts
Questions 6–10
- 6
What is the purpose of a TraceSwitch in .NET tracing?
Select an answer first - 7
A .NET Framework application uses a TraceSource named 'PaymentService' with a console listener and a file listener. The security team wants to record only events that contain the word 'Fraud' or have a source level of Error, while suppressing all other messages. You cannot modify the application code. What should you configure?
Select an answer first - 8
A development team is building a .NET Framework library that will be used by multiple applications. They want to provide diagnostic output that can be enabled or disabled by the consuming application without requiring the library to reference a specific logging framework. What should they use?
Select an answer first - 9
A .NET Framework application uses a TraceSwitch named 'AppSwitch' to control tracing. In production, the switch is set to Warning. During a support incident, an administrator needs to enable Verbose tracing temporarily without restarting the application. What should the administrator do?
Select an answer first - 10
A .NET application uses a TraceSource named 'Authentication' and a TraceSource named 'DataAccess'. The team wants to log all messages from 'Authentication' but only Error-level messages from 'DataAccess'. They are using a shared TextWriterTraceListener for both sources. What is the most efficient way to achieve this?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by EC-Council. “CASENET” is a trademark of its owner, used for identification only.