nerdexam
Microsoft

70-511 · Question #240

You are upgrading the security features of a Microsoft .NET 3.5 application to .NET 4. You need to identify the -NET 3.5 security application programming interface (API) calls that implicitly use…

The correct answer is D. Look for an Evidence parameter in the security calls. See the full explanation below for the reasoning.

Question

You are upgrading the security features of a Microsoft .NET 3.5 application to .NET 4. You need to identify the -NET 3.5 security application programming interface (API) calls that implicitly use code access security (CAS) policies so that you can upgrade the calls. What should you do?

Options

  • AExamine the AppDomain.CreateDomain() calls and ensure that they are using fully trusted
  • BLook for a SecurityContextSource parameter in the security calls.
  • CExamine the AppDomain.DefineDynamicAssembly() calls and ensure that they are using fully
  • DLook for an Evidence parameter in the security calls.

How the community answered

(35 responses)
  • A
    3% (1)
  • B
    9% (3)
  • C
    14% (5)
  • D
    74% (26)

Community Discussion

No community discussion yet for this question.

Full 70-511 Practice