nerdexam
Microsoft

70-513 · Question #108

You are developing a Windows Communication Foundation (WCF) service. The service needs to access out-of-process resources. You need to ensure that the service accesses these resources on behalf of…

The correct answer is B. Set the value of ServiceSecurityContext.Current.Windowsldentity.ImpersonationLevel to. See the full explanation below for the reasoning.

Question

You are developing a Windows Communication Foundation (WCF) service. The service needs to access out-of-process resources. You need to ensure that the service accesses these resources on behalf of the originating caller. What should you do?

Options

  • ASet the value of ServiceSecurityContext.Current.WindowsIdentity.ImpersonationLevel to
  • BSet the value of ServiceSecurityContext.Current.Windowsldentity.ImpersonationLevel to
  • CSet the PrincipalPermissionAttribute on the service contract and
  • DSet the PnncipalPermissionAttribute on the service contract and

How the community answered

(47 responses)
  • A
    4% (2)
  • B
    79% (37)
  • C
    4% (2)
  • D
    13% (6)

Community Discussion

No community discussion yet for this question.

Full 70-513 Practice