nerdexam
GIAC

GSSP-.NET · Question #58

(Topic 1) Patrick works as a Software Developer for GenTech Inc. He develops an application, named App1, using Visual C# .NET. He implements security using the security classes of the .NET…

The correct answer is B. IsSubSetOf. See the full explanation below for the reasoning.

Question

  • (Topic 1)

Patrick works as a Software Developer for GenTech Inc. He develops an application, named App1, using Visual C# .NET. He implements security using the security classes of the .NET Framework. He defines the following statements in the application:

PrincipalPermission Principal_Perm1 = new PrincipalPermission("Nick", "General Manager"); PrincipalPermission Principal_Perm2 = new PrincipalPermission("Jack", "Accountant"); Patrick wants to check whether all demands that succeed for Principal_Perm1 also succeed for Principal_Perm2. Which of the following methods of the PrincipalPermission class will he use to accomplish this?

Options

  • AIntersect
  • BIsSubSetOf
  • CIsUnrestricted
  • DUnion

How the community answered

(35 responses)
  • A
    6% (2)
  • B
    71% (25)
  • C
    6% (2)
  • D
    17% (6)

Community Discussion

No community discussion yet for this question.

Full GSSP-.NET Practice