Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code = getmirror

Pass the GIAC Certification GSSP-.NET Questions and answers with ExamsMirror

Practice at least 50% of the questions to maximize your chances of passing.
Exam GSSP-.NET Premium Access

View all detail and faqs for the GSSP-.NET exam


812 Students Passed

89% Average Score

98% Same Questions
Viewing page 4 out of 15 pages
Viewing questions 31-40 out of questions
Questions # 31:

Which of the following is TRUE about a managed thread?

Options:

A.

It is a foreground thread.

B.

It is a managed assembly.

C.

It is either a background thread or a foreground thread.

D.

It is a background thread.

Questions # 32:

Which of the following security methods is used when the code requires a specific set of permissions, which are not known until runtime?

Options:

A.

Role-Based Security

B.

Windows NT Security

C.

Imperative Security

D.

Declarative Security

Questions # 33:

You work as a Software Developer for ManSoft Inc. You use C# .NET to create an assembly named TestAssembly that will be used by other applications, including a standard COM client application. You must deploy the assembly on the COM application to a client computer. You must ensure that the COM applications can instantiate components within the assembly as COM components. Which of the following options will you use to accomplish this task?

Options:

A.

Generate a registry file for the assembly by using the Assembly Registration Tool (Regasm.exe) and register the file on the client computer.

B.

Deploy the assembly to the global assembly cache on the client computer.

Add a reference to the assembly in the COM client application.

C.

Create a strong name of the assembly by using the Strong Name tool(Sn.exe).

D.

Generate a type library for the assembly by using the Type Library Importer (Tlbimp.exe) and register the file on the client computer.

Questions # 34:

You work as an Enterprise Application Developer for ABC Inc. The company uses Visual Studio .NET 2008 as its application development platform. You create an application using .NET Framework 3.5. The application represents a WCF service. The service will be consumed by clientside code that runs in the Web pages of an ASP.NET AJAX application. You must ensure that data serialization between the service and the application acquires least amount of latency. Which data format will you use to accomplish this?

Options:

A.

Extensible Application Markup Language

B.

JavaScript Object Notation

C.

Extensible Markup Language

D.

Really Simple Syndication

Questions # 35:

Allen works as a Software Developer for ABC Research Center. This research center has its subsidiaries in different cities. Allen 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. Allen decides to use generic rolebased security to secure the SoilTestDetails method from unauthorized users.

Allen 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 Allen use to accomplish the task?

Options:

A.

Dim GenIdentity As GenericIdentity = New GenericIdentity("Generic", "Custom")

Dim GesRoles() As String= {"GeoSurvey"}

Dim GeoPrincipal As GenericPrincipal = New GenericPrincipal(GenIdentity, GeoRoles)

Thread.CurrentPrincipal = GeoPrincipal

B.

Dim GeoIdentity As IIdentity = New GenericIdentity("Generic", "GeoSurvey")

Dim GeoPrincipal As IPrincipal = New WindowsPrincipal((WindowsIdentity) GeoIdentity)

Thread.CurrentPrincipal = GeoPrincipal

C.

Dim GeoIdentity As IIdentity = New GenericIdentity("Generic", "Custom")

Dim WinGeoIdentity As WindowsIdentity = (WindowsIdentity) GeoIdentity

Dim GeoRoles() As String = {"GeoSurvey"}

Dim GenGeoPrincipal As GenericPrincipal = New GenericPrincipal(WinGeoIdentity, GeoRoles)

WindowsIdentity.Impersonate(WinGeoIdentity.Token)

D.

Dim MyGenericIdentity As System.Security.Principal.IIdentity = New GenericIdentity("Generic",

"Custom")

Dim GeoRoles() As String = {"GeoSurvey"}

GenericPrincipal GenGeoPrincipal = new GenericPrincipal(MyGenericIdentity, GeoRoles);

MyGenericIdentity = WindowsIdentity.GetCurrent();

Questions # 36:

Mark works as a Software Developer for Mansoft Inc. He develops an application using Visual

Studio .NET 2005. He writes the following code snippet in the application:

public class MyClass

{

public static void Main(String[] args)

{

try

{

return;

}

finally

{

Console.WriteLine("Finally");

}

}

}

What will happen when Mark attempts to compile and execute the code snippet?

Options:

A.

The code snippet will compile successfully and the output will be displayed as "Finally".

B.

The code snippet will compile successfully, but an exception message will be displayed at ru ntime.

C.

A compile-time error will occur because the catch block is not defined.

D.

The code snippet will compile successfully, but nothing will be displayed as output on execu tion.

Questions # 37:

You work as a Web Application Developer for SunInfo Inc. The company uses Visual Studio 2008 as its application development platform. You create a Web application using .NET Framework 3.5. You want to redirect users to a default error page if an unhandled error occurs within your site. Which of the following actions will you perform to accomplish the task?

Options:

A.

Set the mode attribute of the customErrors element to Off and the defaultRedirect attribute to an error page within your site.

B.

Set the statusCode attribute of the error element to 404 and the redirect attribute to a custom error page.

C.

Set the redirect attribute of the error element to an error page within your site.

D.

Set the mode attribute of the customErrors element to On and the defaultRedirect attribute to an error page within your site.

Questions # 38:

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You are creating an application using the .NET Framework. You need to save a graphical object from the application. The graphical object is a collection of x and y points, each represented by using a single precision floating point number. You want to use the least amount of disk space by the saved object. Which the following classes will you use to accomplish this task?

Options:

A.

XmlWriter

B.

StreamWriter

C.

TextWriter

D.

BinaryWriter

Questions # 39:

You work as a Web Application Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create a Web application using .NET Framework 2.0. The application is for members only. The behavior of the Web application varies according to the role of the user. The Web application uses the ASP.NET Membership control for creation of user accounts. You are required to find out whether a user is a member of a specific role. What will you do?

Options:

A.

Pass the role names to the User.IsInRole method.

B.

Pass the user names and passwords to the Membership.ValidateUser method.

C.

Pass the role names to the Roles.RoleExists method.

D.

Pass the user names to the User.IsUserInRole method.

Questions # 40:

Richard works as a Software Developer for BlueWell Inc. He is writing a component that will be shared by multiple applications. He wants to install the component in the GAC (Global Assembly Access) To install a component in the GAC, he requires to provide a strong name to the component. Which of the following tools will he use to accomplish this task?

Options:

A.

Al.exe

B.

Sn.exe

C.

Cert2spc.exe

D.

Signcode.exe

E.

Gacutil.exe

Viewing page 4 out of 15 pages
Viewing questions 31-40 out of questions
TOP CODES

TOP CODES

Top selling exam codes in the certification world, popular, in demand and updated to help you pass on the first try.