nerdexam
Microsoft

70-519 · Question #224

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 B. 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 application pool settings, set the Managed Pipeline Mode setting to Classic.
  • BIn the Web.config file, set the legacyCasModel attribute of the trust element to true.
  • CIn the Web.config file, set the processRequestInApplicationTrust attribute of the trust
  • DIn the application pool settings, set the Load User Profile setting to True.

How the community answered

(22 responses)
  • A
    14% (3)
  • B
    73% (16)
  • C
    9% (2)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full 70-519 Practice