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?
A. IsUnrestricted
B. IsSubSetOf
C. Union
D. Intersect
正解:B
質問 2:
You work as a software developer for ManSoft Inc. The company uses Visual Studio .NET 2005 as its application development platform. You use C#. NET to create an assembly that will be consumed by other Visual Studio .NET applications. No Permissions should be granted to this assembly unless the assembly makes a minimum permission request. You need to write a code for the assembly that makes a minimum permission request. Which of the following code segments will you use to accomplish this task?
A. [Assembly: PermissionSet(SecurityAction.RequestOptional, Unrestricted = false)]
B. [Assembly: PermissionSet(SecurityAction.RequestOptional, Unrestricted = true)]
C. [Assembly: PermissionSet(SecurityAction.PermitOnly, Unrestricted = false)]
D. [Assembly: PermissionSet(SecurityAction.PermitOnly, Unrestricted = true)]
正解:A
質問 3:
Sam works as a Software Developer for SamTech Inc. He develops a Windows-based application, named App1, using Visual Studio .NET. He wants to set a security policy for the application. To accomplish the task he uses the PolicyLevel class. He wants to set the current policy level to the default state. Which of the following methods will he use to accomplish the task?
A. Reset
B. Recover
C. Resolve
D. ChangedNamePermissionSet
正解:A
質問 4:
You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2008 as its application development platform. You create an ASP.NET Web application using .NET Framework 3.5. The application is a library application that catalogs Classes and books. The application contains a DataContext object named Classes and a related line of business object named Books. The Classes DataContext object is queried by using the following LINQ query: var query = from class in Classes where class.Books.All(b => b.Price <= 50) select class;
You have to find out the result that will be returned from the query. What will be the result of the query?
A. All books that have a price greater than or equal to 50.
B. All Classes that have the price of the related book greater than or equal to 50.
C. All Classes that have the price of the related book less than or equal to 50.
D. All books that have a price less than or equal to 50.
正解:C
質問 5:
Which of the following is used, if a reference to an object is required to be made when it is passed from one application to another?
A. SingleCall object
B. Singleton object
C. Marshal By Value object
D. Marshal By Reference object
正解:D
927 お客様のコメント





佐久** -
GSSP-NETに合格しましたのでここで報告と感謝差し上げます。試験内容をほとんど網羅しています。