nerdexam
Microsoft

70-515 · Question #53

You are troubleshooting an ASP.NET Web application. System administrators have recently expanded your web farm from one to two servers. Users are periodically reporting an error message about…

The correct answer is B. Set the machineKey in machine.config to the same value on both servers. See the full explanation below for the reasoning.

Question

You are troubleshooting an ASP.NET Web application. System administrators have recently expanded your web farm from one to two servers. Users are periodically reporting an error message about invalid view state. You need to fix the problem. What should you do?

Options

  • ASet viewStateEncryptionMode to Auto in web.config on both servers.
  • BSet the machineKey in machine.config to the same value on both servers.
  • CChange the session state mode to SQL Server on both servers and ensure both servers use
  • DOverride the SavePageStateToPersistenceMedium and LoadPageStateFromPersistence

How the community answered

(26 responses)
  • A
    4% (1)
  • B
    81% (21)
  • C
    12% (3)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 70-515 Practice