nerdexam
GIAC

GSSP-NET · Question #487

GSSP-NET Question #487: Real Exam Question with Answer & Explanation

Sign in or unlock GSSP-NET to reveal the answer and full explanation for question #487. The question stem and answer options stay visible for context.

Question

You work as a Software Developer for Mansoft Inc. You create an application and use it to create users as members of the local Users group. Which of the following code snippets imperatively demands that the current user is a member of the local Users group? Each correct answer represents a complete solution. Choose all that apply.

Options

  • ASystem.AppDomain.CurrentDomain.SetPrincipalPolicy(PrincipalPolicy.WindowsPrincipal);
  • BPrincipalPermission MyPermission = new PrincipalPermission(null, @"BUILTIN\Users",
  • CSystem.AppDomain.CurrentDomain.SetPrincipalPolicy(PrincipalPolicy.WindowsPrincipal);
  • DPrincipalPermission MyPermission = new PrincipalPermission(null, @"Users", true);

Unlock GSSP-NET to see the answer

You've previewed enough free GSSP-NET questions. Unlock GSSP-NET 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 GSSP-NET Practice