Exam Details

  • Exam Code
    :GSSP-NET-CSHARP
  • Exam Name
    :GIAC Secure Software Programmer - C#.NET
  • Certification
    :GIAC Information Security
  • Vendor
    :GIAC
  • Total Questions
    :491 Q&As
  • Last Updated
    :May 13, 2024

GIAC GIAC Information Security GSSP-NET-CSHARP Questions & Answers

  • Question 31:

    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

  • Question 32:

    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 for the branch in China. You are also implementing encoding in the application for Chinese language. Which of the following encoding types will you use to support Chinese language?

    Each correct answer represents a complete solution. Choose all that apply.

    A. UTF-16

    B. UTF-8

    C. UTF-32

    D. ASCII

  • Question 33:

    You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2005 as its application development platform. You create an application named MyApplication. MyApplication uses the System.IO namespace. You want to ensure that you are able to use a class that specifies read and write operations either in synchronous or asynchronous manner. Which of the following classes will you use to accomplish the task?

    A. StreamReader

    B. FileStream

    C. StreamWriter

    D. MemoryStream

  • Question 34:

    Allen works as a Software Developer for Mansoft Inc. He develops an application using Visual Studio .NET 2005. The application connects to a SQL Server database using a SqlConnection object named NewConnection. Allen creates a few stored procedures in the database. Sometimes an error occurs, when a user executes stored procedures. Allen wants to add an error-handling code to the application to handle errors that occur on executing stored procedures. Which of the following code segments will he use to accomplish this task?

    A. try { NewConnection.Open(); } catch(DBConcurrencyException exep) { //Error-handling code }

    B. try { NewConnection.Open(); } catch(SqlException exep) { //Error-handling code }

    C. try { NewConnection.Open(); } catch(DataException exep) { //Error-handling code }

    D. try { NewConnection.Open(); } catch(InvalidCastException exep) { //Error-handling code }

  • Question 35:

    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 application using .NET Framework 3.5. The application uses a SQL Server 2008 database on the network.

    You use ADO.NET Data Services that exposes data as resources that are addressable by URIs. You need to access and change data, specifically the standard HTTP verbs of GET, PUT, POST, and DELETE. What will you do to accomplish this?

    A. Use Object Relational Mapping.

    B. Use GDI objects.

    C. Use Representational State Transfer.

    D. Use a WCF Service.

  • Question 36:

    John works as a Web Developer for ProLabs Inc. He develops an ASP.NET application, named

    MyWebApp1, using Visual Studio .NET. One of the pages in the application is named as Page1.aspx, which does not need to maintain session state. To improve the performance of the application, John wants to disable session state for Page1. Which of the following actions will he take to accomplish the task?

    A. Set the EnableViewState attribute in the @ Page directive to false.

    B. Set the DisableSessionState attribute in the @ Page directive to true.

    C. In the sessionState configuration section of the application's Web.config file, set the mode attribute to off.

    D. Set the EnableSessionState attribute in the @ Page directive to false.

  • Question 37:

    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. The application contains a class named globalInfo. You need to serialize all public and nonpublic data of the globalInfo class to ensure that the class generates the minimum byte stream so that the minimum load is placed upon network resources. What will you do?

    A. Use the XmlSerializer class.

    B. Use the BinaryFormatter class.

    C. Use the SoapFormatter class.

    D. Use the IXmlSerializable interface.

  • Question 38:

    Samantha works as a Software Developer for InfoWorld Inc. She develops a Web page named SalesReport.aspx for the employees of the company. However, she wants to ensure that all the requests for a particular employee are not stored on the server's memory. She also wants to ensure that no data is lost even after each user session has expired. Which of the following actions will Samantha take to accomplish the task?

    A. Use a cookieless session state for storing information.

    B. Use the profile properties feature for storing information.

    C. Use the application state for storing information.

    D. Use the session state with cookie for storing information.

  • Question 39:

    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 the preceding character or sub expression zero or more times. Which of the following wildcard characters will you use to accomplish the task?

    A. ?

    B. +

    C. *

    D. [n]

  • Question 40:

    You work as an Enterprise Application Developer for ABC Inc. The company uses Visual Studio .NET 2008 as its application development platform. You are creating an Enterprise application using .NET Framework 3.5. The application must

    meet the following requirements:

    l The application loads XML from streams.

    l The application creates XML from scratch by using functional construction.

    l The application queries XML using XPath-like axes.

    l The application validates XML trees using XSD.

    What will you do to meet these requirements with least development efforts?

    A. Use LINQ to XML.

    B. Use LINQ to SQL.

    C. Use the XML Schema Definition Tool.

    D. Use ADO.NET Data Services.

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only GIAC exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your GSSP-NET-CSHARP exam preparations and GIAC certification application, do not hesitate to visit our Vcedump.com to find your solutions here.