nerdexam
GIAC

GSSP-NET · Question #248

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

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

Question

Dilton works as a Software Developer for GREC Research Center (Central). This research center has its subsidiaries in several different cities. Dilton wants to retrieve a Soil Test Report for the Geological Survey Department. He wants the test report to be available to all the members of the department over the Internet. He creates an XML Web service named SampleReport. SampleReport contains a Web method named SoilTestDetails that requires additional security. Dilton decides to use generic role-based security to secure the SoilTestDetails method from unauthorized users. Dilton writes code to ensure that once a user is authenticated, a user identity named Generic is created. The Generic user identity has a group membership named GeoSurvey to allow the authenticated users access to the SoilTestDetails Web method. Which of the following code segments should Dilton use to accomplish the task?

Options

  • AGenericIdentity GenIdentity = new GenericIdentity("Generic", "Custom"); string[] GeoRoles
  • BIIdentity GeoIdentity = new GenericIdentity("Generic", "Custom"); WindowsIdentity
  • CIIdentity GeoIdentity = new GenericIdentity("Generic", "GeoSurvey"); IPrincipal
  • DSystem.Security.Principal.IIdentity MyGenericIdentity = new GenericIdentity("Generic",

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