
EC-CouncilCertified Application Security Engineer (.NET)
Domain 6Objective 3
ViewState-based Session Management CASENET Practice Questions (Page 6)
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 26–30
- 26
Which practice is considered a secure ViewState usage guideline?
Select an answer first - 27
A financial application uses ViewState to store a user's account balance for display after postback. The ViewState is encrypted and MAC-validated. A security review recommends not storing the balance in ViewState. The developer argues that encryption and MAC make it safe. The security team insists on removing it. What is the primary reason the security team is correct?
Select an answer first - 28
An ASP.NET application is being migrated from a single server to a load-balanced web farm. The application uses ViewState with encryption and MAC validation. The developer must ensure that ViewState works across all servers. What is the most important configuration step?
Select an answer first - 29
A penetration test reveals that an attacker can modify the ViewState of an ASP.NET page to change a product price displayed on the page. The application currently has ViewState encryption enabled but MAC validation is disabled. What is the most effective mitigation?
Select an answer first - 30
A developer is troubleshooting an ASP.NET Web Forms application that intermittently throws 'Validation of viewstate MAC failed' errors after a recent deployment. The application uses a web farm behind a load balancer, and the machineKey was not explicitly configured. Which configuration change should be made to resolve the issue without disabling security?
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.