
EC-CouncilCertified Application Security Engineer (.NET)
Domain 7Objective 4
Tracing in .NET CASENET Practice Questions (Page 9)
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 41–45
- 41
Which method must a custom trace filter implement?
Select an answer first - 42
A .NET Framework application writes trace messages to a rolling file using a TextWriterTraceListener. In production, the file grows too quickly because verbose messages are always recorded. The team wants to keep the existing file listener but reduce disk usage without recompiling the application. What should you do?
Select an answer first - 43
What is the role of a trace filter in .NET tracing?
Select an answer first - 44
A .NET Core microservice emits telemetry using DiagnosticSource and Activity. The operations team wants to correlate traces across multiple services and also wants to avoid the overhead of capturing stack traces for every event. The service already uses an ActivityListener. What should you implement?
Select an answer first - 45
In classic ASP.NET, which configuration element enables application-level tracing?
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.