
EC-CouncilCertified Application Security Engineer (.NET)
Domain 6Objective 3
ViewState-based Session Management CASENET Practice Questions (Page 1)
Part of the Secure Coding: Session Management domain, which makes up ~10% of our current practice bank. EC-Council does not publish an official question count, but from its 120-minute exam (~50–80 total, ~5–8 in this domain), expect 1–2 from this objective — we provide 38 practice questions to prepare you well beyond it. (estimate)
38questions here
8free pages
5concepts
Questions 1–5
- 1
An ASP.NET application stores a user's role name in ViewState to customize UI elements after postback. A penetration test reveals that an attacker can modify the role value and escalate privileges. The developer must fix this vulnerability while keeping the role data available on the server after postback. What is the most appropriate action?
Select an answer first - 2
What is a recommended best practice for using ViewState securely in an ASP.NET application?
Select an answer first - 3
An ASP.NET application has a page that does not use ViewState for any functionality. The developer wants to improve security and performance. What is the recommended action?
Select an answer first - 4
What is the purpose of enabling ViewState encryption in an ASP.NET application?
Select an answer first - 5
A multi-tenant ASP.NET application uses ViewState to store the tenant ID so that the correct theme is applied after postback. The tenant ID is not sensitive, but a security review flags that an attacker could change the tenant ID in ViewState to access another tenant's theme. The developer must prevent this without moving the tenant ID to Session. What is the best solution?
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.