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

GSSP-NET Online Practice Questions and Answers

Questions 4

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2008 as its application development platform. You are creating an ASP.NET Web application using .NET Framework 3.5. The application will be used to share any type of photos on Internet. All the photos should be accessible in various sizes and formats. You need to add a download feature that can be easily maintained. You also need to make sure that only a single version of all photos is stored on a SQL server database. What will you do?

A. Create an HttpModule class to determine the request for the photo download. Process the photo according to the given format and size, and after that return the processed photo in the response.

B. Create a user control that converts the photo to the required format and size.

C. Create an HttpHandler class to determine the request for the photo download. Process the photo according to the given format and size, and after that return the processed photo in the response.

D. Create an ActiveX control that converts the photo to the required format and size.

Browse 491 Q&As
Questions 5

Which of the following syntaxes is used for the EncryptionAlgorithm property of the Message class?

A. [MessagingDescriptionAttribute("MessageEncryptionAlgorithm")] public EncryptionAlgorithm : EncryptionAlgorithm { }

B. [MessagingDescriptionAttribute("MessageEncryption")] public EncryptionAlgorithm EncryptionAlgorithm { }

C. [MessagingDescriptionAttribute("MessageEncryption")] public EncryptionAlgorithm EncryptionAlgorithm { get; set; }

D. [MessagingDescriptionAttribute("MessageEncryptionAlgorithm")] public EncryptionAlgorithm : EncryptionAlgorithm { get; set; }

Browse 491 Q&As
Questions 6

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 attach the Visual Studio Debugger to Internet Explorer when the application is running. Which of the following steps will you take to accomplish the task?

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

A. In the Attach to Process dialog box, select the instance of Internet Explorer (iexplorer.exe) to be attached to the debugger.

B. In Visual Studio, go to the Debug menu and select Start Debugging.

C. In Visual Studio, go to the Debug menu, click Windows, and then click Script Explorer.

D. In Visual Studio, go to the Debug menu and click Attach to Process.

Browse 491 Q&As
Questions 7

You work as a Software Developer for InfoTech Inc. You create a Windows form in a Windows- based application named MyWinApp1. You use graphics in the form. You write the following code in your form: private void MyMouseEvent1(object sender1, MouseEventArgs event) { // Code to handle mouse events } You want to implement a property of the MouseEventArgs object. This property will return a Point structure that contains the x-coordinate and y-coordinate of the mouse. Which of the following properties of the MouseEventArgs object will you

use to accomplish this?

A. Y

B. Delta

C. Location

D. Button

E. Clicks

F. X

Browse 491 Q&As
Questions 8

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 rarely experiences errors that cannot be reproduced on a test environment. You are required to ensure that the application meets the following requirements:

l All unanticipated errors are logged.

l Logging is configured with a least amount of alteration to the application code.

What will you do?

A. Override the base class for all forms in the application to add the Try/Catch blocks to all the major functionalities.

B. Enable the element in the Web.config file and set the mode attribute to On .

C. Enable the element in the Web.config file and set the mode attribute to RemoteOnly.

D. Add an event handler for the Application.Error event to the Global.asax file of the applicatio n.

Browse 491 Q&As
Questions 9

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2008 as its application development platform. You have recently finished the development of an ASP.NET Web application using .NET Framework 3.5. The application must be deployed by using the http://www.ABC.com/ URL. The application has several Web forms.

You need to implement Really Simple Syndication (RSS) feeds functionality. The RSS feeds will be used by the http://www.ABC.com/Updates.rss URL. You must ensure that the application displays the RSS-formatted information when accessing the given URL. What will you do to accomplish this?

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

A. Create and register a custom HttpHandler class that releases the RSS feeds.

B. Create a Web form named Updates that releases the RSS feeds.

C. Create an ASMX Web service component named Updates.

D. Add the HttpHandler class to the .rss extension.

E. Create and register a custom HttpModule class.

Browse 491 Q&As
Questions 10

Peter works as a Software Developer for PatSoluTech Inc. He develops a Web application using Visual Studio .NET. The application contains an online ordering Web form named WebForm1. WebForm1 contains several Web server controls that include a TextBox control named TextBox1 and an ImageButton control named ImageButton1. He wants data entered in TextBox1 to be validated whenever ImageButton1 is clicked. Which of the following will Peter use to accomplish the task?

A. ImageButton1.CausesValidation

B. ImageButton1.OnClientClick

C. ImageButton1.ValidationGroup

D. ImageButton1.Enabled

Browse 491 Q&As
Questions 11

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. You need to represent a strongly typed lambda expression as a data structure in the form of an expression tree. Which of the following classes will you use to accomplish the task?

A. MethodCallExpression

B. Expression

C. LambdaExpression

D. Expression(TDelegate)

Browse 491 Q&As
Questions 12

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?

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.

Browse 491 Q&As
Questions 13

You work as a Software Developer for ABC Inc. The company has several branches worldwide. The company uses Visual Studio.NET 2005 as its application development platform. You are creating an application using .NET Framework 2.0. The application will be used by all the branches of the company. You sometimes require a variable number of arguments to be passed to a method. For example, you may require a sum method, which calculates the total of the numbers passed to it no matter how many numbers are passed. What will you do to accomplish the task?

A. Use the base keyword.

B. Use the ref keyword.

C. Use the params keyword.

D. Use the out keyword.

E. Use the volatile keyword.

Browse 491 Q&As
Questions 14

You work as a Software Developer for ABC Inc. The company uses Visual Studio.NET 2005 as its application development platform. You create a Web service application using .NET Framework. The Web service provides confidential data of employees to applications that manage access to company facilities. The Web service is accessible by using TCP and is sheltered by using WSE 3.0. The company has implemented fingerprint readers to grant employees access to the facilities. All the captured images of the employees' fingerprints are retained by the Web service application. You must make certain that the existing WSE encryption policy can be applied to the fingerprint image. You are required to provide the solution that must reduce the size of the Web service message.

What will you do to accomplish this task?

A. Configure the Web service to use base64 encoding to pass the binary fingerprint image.

B. Configure the Web service to use Message Transmission Optimization Mechanism to pass the binary fingerprint image.

C. Create a SOAP filter to manage encryption for the message.

D. Create a SOAP extension to manage encryption for the message.

Browse 491 Q&As
Questions 15

You work as a Software Developer for ABC Inc. You create a Web page named MyWebForm1.aspx that displays a student's registration form. The page uses three CheckBox controls and several other Web server controls on the page. The CheckBox controls contain information about the educational qualifications. You want to ensure that a message containing educational status and relevant information is displayed as soon as a user clicks the CheckBox controls. Which of the following actions will you take to accomplish the task?

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

A. Set the AutoPostBack property to false.

B. Use the CheckedChanged event.

C. Set the CausesValidation property to false.

D. Set the CausesValidation property to true.

E. Set the Checked property to true.

F. Set the AutoPostBack property to true.

Browse 491 Q&As
Questions 16

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 uses the health monitoring events to raise application audit events in the following situations:

l When users login

l When users modify their password

l When users perform other security-related actions

You must ensure that the application logs all audit events for all applications on the Web server.

What will you do?

A. Configure the eventMappings Element in the Web.config file to allow an entry for success a udits.

B. Configure the eventMappings Element in the Web.config file to allow a single entry for auditing events that is present for all audits.

C. Configure the eventMappings Element in the Machine.config file to allow an entry for success audits.

D. Configure the eventMappings Element in the Machine.config file to allow a single entry for auditing events that is present for all audits.

Browse 491 Q&As
Questions 17

You work as a Software Developer for ABC Inc. The company uses Visual Studio.NET 2005 as its application development platform. You are in process of creating an application using the .NET Framework 2.0. The application must collect data from different streams by performing the following operations: l Reading data from the byte stream l Reading data from the memory stream l Reading data from the file stream Which of the following stream classes will you use to accomplish the task? Each correct answer represents a part of the solution. Choose all that apply.

A. MemoryStream

B. StreamWriter

C. FileStream

D. StreamReader

Browse 491 Q&As
Questions 18

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 ASP.NET application using .NET Framework 3.5. You have already created a

data contract for a WCF service and the ASP.NET Web application, which consumes the WCF service. The application has the following requirements:

l On low network bandwidth the serialized format of the data contract type should be minimum.

l The application uses AJAX to retrieve the data from the WCF service.

l Use the least amount of development effort.

What will you do?

A. Use the XML format.

B. Use the WPF format.

C. Use the Binary Format Description format.

D. Use the Java Script Notation format.

Browse 491 Q&As
Exam Code: GSSP-NET
Exam Name: GIAC GIAC Secure Software Programmer - C#.NET
Last Update: Apr 28, 2024
Questions: 491 Q&As

PDF

$45.99

VCE

$49.99

PDF + VCE

$59.99