Pass4itsure > GIAC > GIAC Information Security > GSSP-NET-CSHARP > GSSP-NET-CSHARP Online Practice Questions and Answers

GSSP-NET-CSHARP Online Practice Questions and Answers

Questions 4

You work as a Software Developer for ABC Inc. The company uses Visual Studio.NET 2005 as its application development platform. You are creating an application using .NET Framework 2.0. You are using regular expression in the application to validate email, phone number, etc. You are required to match any single character except "\n". Which of the following wildcard characters will you use to accomplish the task?

A. x/y

B. +

C. ?

D. .

Buy Now
Questions 5

You work as a Windows Application Developer for ABC Inc. The company uses Visual Studio .NET 2008 as its application development platform. You create a Windows Forms

application using .NET Framework 3.5. You need to execute a method named ProcAmount in the background of the application. The method requires that an integer value 101 is passed to it. You are required to pass an integer value 101 to start a background thread. Which of the following code segments should you use?

Each correct answer represents a part of the solution. Choose two.

A. ParameterizedThreadStart tStart; tStart = new ParameterizedThreadStart(ProcAmount); Thread thd = new Thread(tStart);

B. thd.Start(101);

C. ThreadStart tStart = new ThreadStart(ProcAmount); Thread thd = new Thread(tStart, 101);

D. thd.Start();

Buy Now
Questions 6

Allen works as a Software Developer for ManSoft Inc. The company uses Visual Studio.NET as its application development platform. He creates an application. He wants to allow remote users to connect and access the application through a dial-up connection via the Internet. All data will be sent across a public network. For security reasons, the management wants to send data through the Internet in an encrypted form. The company plans to use a Layer 2 Tunneling Protocol (L2TP) connection. Which of the following communication protocols will Allen use to accomplish the task?

A. IP Security (IPSec)

B. Secure Electronic Transaction (SET)

C. Pretty Good Privacy (PGP)

D. Triple Data Encryption Standard (3DES)

Buy Now
Questions 7

You work as a Software Developer for ABC Inc. The company uses Visual Studio.NET 2005 as its application development platform. You create a Windows service application that will be used by Visual Studio .NET applications. You want to ensure that an access to the Windows service is restricted. Therefore, you decide to use the ServiceInstaller class. You want to specify the security context of the Windows service application. Whic

A. Password property

B. UserName property

C. Context property

D. Account property

Buy Now
Questions 8

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You are creating an assembly. The assembly contains a public method. The Global Assembly Cache contains a second assembly. You require that the public method is only called from the second assembly. Which of the following permission classes will you use to accomplish this task?

A. DataProtectionPermission

B. DBDataPermission

C. StrongNameIdentityPermission

D. GacIdentityPermission

E. PublisherIdentityPermission

Buy Now
Questions 9

John works as a Software Developer for CyberOrbit Inc. He develops an application, named App1, using Visual C# .NET. He implements security by using the security classes of the .NET Framework. In the application code, he uses the

following statements to create two PrincipalPermission objects representing two different administrative users:

PrincipalPermission Perm1 = new PrincipalPermission("Mark", "Manager");

PrincipalPermission Perm2 = new PrincipalPermission("Davis", "Manager");

John wants to create a new PrincipalPermission object by combining these two objects and use the new object to make a demand. He wants the demand to succeed only if the current principal object represents either Mark or Davis in the role

of Manager. Which of the following methods will he use to create the new permission?

A. Intersect

B. Copy

C. IsSubSetOf

D. Union

Buy Now
Questions 10

Allen works as a Software Developer for Mansoft Inc. He creates a Console application. He writes the following line of code in the application:

String str="ABC's World";

According to the given line of code, which of the following are legal statements?

Each correct answer represents a part of the solution. Choose all that apply.

A. String st1="Hello" + str;

B. int j=str.Length;

C. str[2]="y";

D. str=str+10;

E. str=5;

Buy Now
Questions 11

Peter works as a Software Developer for GenTech Inc. He develops an application named App1 using Visual Studio .NET. App1 uses an assembly named Assembly1. Peter installs App1 and Assembly1 to the C:\Program Files\App1 and C: \Program Files\Assembly1 folders respectively. While executing App1, Peter finds that App1 fails to execute with TypeLoadException. What will he do to resolve this issue.

Each correct answer represents a part of the solution. Choose all that apply.

A. Uninstall Assembly from the C:\Program Files\Assembly1 folder.

B. Reinstall Assembly1 to the C:\Windows\Microsoft .NET Framework\Assembly1 folder.

C. Reinstall Assembly1 to the C:\Program Files\App1 folder.

D. Change the system path to C:\Program Files\Assembly1.

Buy Now
Questions 12

You work as a Software Developer for ABC Inc. You create an application, and you want to define a component for your application. In some deployments, the component will be deployed on the same computer as the application. In other deployments the component will be deployed on a separate computer. You create a Web service. You want a new object of the Web service to be created whenever a customer makes a call to the Web service. Drag and drop the appropriate statement to accomplish the task.

A.

Buy Now
Questions 13

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 for a Bank using the .NET Framework. You create a method that gets the images of cancelled checks and displays them. You presently have access to a method that reads the images from a SQL server database as a sequence of bytes. You need to transfer the image from the SQL server database to a form with the least amount of temporary buffers and files. Which of the following classes will you use to accomplish this task?

A. FileStream

B. NetworkStream

C. BufferedStream

D. MemoryStream

Buy Now
Exam Code: GSSP-NET-CSHARP
Exam Name: GIAC Secure Software Programmer - C#.NET
Last Update: Apr 29, 2024
Questions: 491
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$45.99

VCE

$49.99

PDF + VCE

$59.99