nerdexam
Microsoft

70-519 · Question #151

You plan to upgrade a medium-trust Web application from ASP.NET 2.0 to ASP.NET 4. The Web application is hosted on a Web server that is running IIS 7.0. You have the following requirements…

The correct answer is A. In the Web.config file, set the legacyCasModel attribute of the trust element to true. See the full explanation below for the reasoning.

Question

You plan to upgrade a medium-trust Web application from ASP.NET 2.0 to ASP.NET 4. The Web application is hosted on a Web server that is running IIS 7.0. You have the following requirements:

  • Support multiple permission sets in a single application domain.
  • Honor the machine-level code access security policy.

You need to recommend an approach for preparing the Web application for the upgrade. What should you recommend?

Options

  • AIn the Web.config file, set the legacyCasModel attribute of the trust element to true.
  • BIn the application pool settings, set the Load User Profile setting to True.
  • CIn the application pool settings, set the Managed Pipeline Mode setting to Classic.
  • DIn the Web.config file, set the processRequestlnApplicationTrust attribute of the trust

How the community answered

(50 responses)
  • A
    72% (36)
  • B
    2% (1)
  • C
    18% (9)
  • D
    8% (4)

Community Discussion

No community discussion yet for this question.

Full 70-519 Practice