Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
EC-Council logo

EC-CouncilCertified Application Security Engineer (.NET)

Domain 6Objective 3

ViewState-based Session Management CASENET Practice Questions (Page 7)

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 31–35

  1. 31application · medium

    An ASP.NET application uses ViewState to store a user's role for UI rendering decisions. The role is also stored in a server-side session. A security review recommends not relying on client-side data for authorization. What should the developer do?

    Select an answer first
  2. 32expert · hard

    An ASP.NET application is being migrated from a single server to a web farm. The application uses ViewState to store a user's role and a non-sensitive UI flag. The security team mandates that ViewState must be protected against tampering and disclosure. The developer must also ensure that the migration does not break existing sessions. What is the most critical configuration to address?

    Select an answer first
  3. 33expert · hard

    An ASP.NET application uses ViewState to store a user's shopping cart ID. The cart ID is not sensitive, but the application is experiencing performance issues because the ViewState is large. The developer discovers that the ViewState contains the entire cart contents, not just the ID. The developer wants to reduce the ViewState size while keeping the cart ID available. What is the best approach?

    Select an answer first
  4. 34application · easy

    A developer is building a multi-step wizard in ASP.NET Web Forms. The wizard needs to preserve user input across multiple postbacks, but the data is not sensitive and the total size is small. Which approach is most appropriate?

    Select an answer first
  5. 35expert · hard

    An ASP.NET application has ViewState encryption enabled, but a security audit finds that the ViewState is still vulnerable to tampering. The developer discovers that the machineKey is set to AutoGenerate. What is the likely cause and the fix?

    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.