nerdexam
GIAC

GSSP-NET · Question #426

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

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

Question

You work as a Software Developer for ABC Inc. You use Visual Studio .NET to develop a Windows application named MyWindowApp. You implement the security classes of the .NET Framework. When users interact with the application, the role-based validation should perform frequently. You must ensure that only validated Windows NT or Windows 2000 domain users are permitted to access the application. You add the appropriate Imports statements for the System.Security.Principal namespace and the System.Threading namespace. Which of the following code segments will you use to accomplish this task?

Options

  • ADim identity As WindowsIdentity = _WindowsIdentity.GetAnonymous() Dim myprincipal As
  • BAppDomain.CurrentDomain.SetThreadPrincipal(_
  • CDim identity As WindowsIdentity = WindowsIdentity.GetCurrent() Dim myprincipal As New
  • DAppDomian.CurrentDomain.SetPrincipalPolicy(_

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