nerdexam
Microsoft

70-513 · Question #47

70-513 Question #47: Real Exam Question with Answer & Explanation

Sign in or unlock 70-513 to reveal the answer and full explanation for question #47. The question stem and answer options stay visible for context.

Question

You are creating a Windows Communication Foundation (WCF) service that uses claims-based authorization. The following code retrieves the correct claim set. var claims = ServiceSecurityContext.Current. AuthorizationContext.ClaimSets[0]; You need to validate that the requesting client application has included a valid DNS value in the claim. Which code segment should you use to retrieve the claim for validation?

Options

  • Aclaims.FindClaims(ClaimTypes.Dns, Rights.PossessProperty)
  • Bclaims.FindClaims(ClaimTypes.Dns, Rights.Identity)
  • Cclaims.ContainsClaim(Claim.CreateDnsClaim(ClaimTypes.Dns));
  • Dclaims.Equals(ClaimTypes.Dns);

Unlock 70-513 to see the answer

You've previewed enough free 70-513 questions. Unlock 70-513 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 70-513 Practice