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
    :

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

  • Question 21:

    You work as a Software Developer for ManSoft Inc. You create an application using Visual Studio .NET

    2005. You write the following code snippet in the application:

    int amt = 50;

    String s = "John gave me " + amt + " dollars";

    Console.WriteLine(s);

    What will be the output of the above code?

    A. "John gave me amt dollars"

    B. "John gave me 50 dollars"

    C. Integer variable cannot concatenate with the string

    D. Invalid type cast exception

  • Question 22:

    You work as a Software Developer for ABC Inc. The Company uses .NET Framework 2.0 as its application development platform. You are creating an application that will perform different types of comparison operations. Therefore, you decide to use only those methods that are available in all the classes of .NET Framework 2.0. Which of the following methods will you use to accomplish the task?

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

    A. Compare

    B. ToString

    C. Copy

    D. Equals

    E. GetType

  • Question 23:

    Mark works as a Software Developer for TechBook Inc. He develops an ASP.NET application, named MyApp1, using Visual Studio .NET. MyApp1 contains an ASP.NET page that is used to register new participants to a quiz contest, which is to be held recently in the city of New York. In order to take part in the quiz contest, an applicant must be between the age of fifteen and twenty- five. Mark adds a TextBox control, named txtDateOfBirth, to the page. He wants to ensure that each prospective participant enters his date of birth in txtDateOfBirth. He also wants to verify that prospective participants meet the age requirement. For this, Mark wants to use a custom client script function. He also wants to minimize the number of trips made to the server. Which of the following actions will Mark perform to accomplish the task?

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

    A. Add a RequiredFieldValidator control to the page. Set its ControlToValidate property to txtDateOfBirth.

    B. Set the ClientValidationFunction property of the CustomValidator control to the name of the script function that performs the client-side validation.

    C. Set the AutoPostBack property of txtDateOfBirth to True.

    D. Add a CustomValidator control to the page. Set its ControlToValidate property to txtDateOf Birth.

    E. Set the ClientValidationFunction property of txtDateOfBirth to the name of the script function that performs the client-side validation.

    F. Set the AutoPostBack property of txtDateOfBirth to False.

  • Question 24:

    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.

    The application is used to exchange structured and type information on the Web using Soap. You want to use the BinaryFormatter and SoapFormatter classes to support RPCs and serialization of a graph of objects. Which of the following interfaces will the BinaryFormatter and SoapFormatter classes implement to accomplish the task?

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

    A. IFormatter

    B. IFormatable

    C. IRemotingFormatter

    D. IComparable

  • Question 25:

    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.

  • Question 26:

    Daniel works as a Software Developer for GenTech Inc. He develops an ASP.NET application, named

    App1, using Visual Studio .NET. He creates an interface in App1, named Employees. The Employees interface contains declaration for a method, named Method1. Daniel creates another interface, named HeadOfDept. HeadOfDept inherits

    from the Employees interface and contains the declaration for a method, named Method2. He then creates a class named Manager as follows:

    public class Manager : HeadOfDept

    Which of the following statements about the application are true?

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

    A. The Manager class must implement the Method1 method.

    B. The Manager class implements the HeadOfDept interface.

    C. The Manager class must implement the Method2 method.

    D. The Method1 method can have any access modifier.

  • Question 27:

    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 Forms authentication. Your company uses Active Directory.

    You need to modify the application to enable users to make use of their existing Active Directory account to access the application through the Internet. You are required to ensure that the application must be modified with the least amount of user interface changes, cost, and development effort. What will you do to accomplish this?

    A. Remove Forms authentication and create an ASP.NET membership.

    B. Change the membership provider to ActiveDirectoryMembershipProvider.

    C. Create a custom membership provider that has access to the corporate Active Directory.

    D. Change the application to use the Windows authentication provider instead of Forms authentication.

  • Question 28:

    You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create an application using the .NET Framework. You create a class named Master that contains numerous child objects. The Master class contains a method named ProcessChild that executes actions on the child objects. The Master class objects will be serializable. You must ensure that the ProcessChild method is executed subsequent to the Master class object and all its child objects are reformed. Which of the following actions will you take to accomplish the task?

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

    A. Create an OnDeserialization method that calls the ProcessChild method.

    B. Apply the OnDeserializingAttribute class to the ProcessChild method.

    C. Specify that the Master class implements the IDeserializationCallback interface.

    D. Apply OnSerializedAttribute to the ProcessChild method.

    E. Specify that the Master class inherits from the ObjectManager class.

  • Question 29:

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

    You create a database to maintain the record of the students. You create a table named Student. You want to retrieve names and roll number of those students whose age is less than ten years. An instance of the SqlCommand class named StudentCommand is already created. Which of the following code segments should you use to execute the query?

    A. StudentCommand.CommandType = CommandType.StoredProcedure; StudentCommand.CommandText = "Name and Roll number of students less than ten years";

    B. StudentCommand.CommandType = CommandType.StoredProcedure; StudentCommand.CommandText = "SELECT Name, Roll number FROM Student WHERE Age < 10";

    C. StudentCommand.CommandType = CommandType.Text; StudentCommand.CommandText = "SELECT Name, Roll number FROM Student WHERE Age < 10";

    D. StudentCommand.CommandText = CommandText.Text; StudentCommand.CommandType = "SELECT Name, Roll number FROM Student WHERE Age < 10";

  • Question 30:

    Maria works as a Software Developer for BlueWell Inc. She develops an application named App1 using Visual Studio .NET 2005. App1 contains several pages. Maria wants to use components that provide services and resources. She also wants to release the resources explicitly by the components. Which of the following methods will she use to accomplish this task?

    A. The Finalize method of the BackgroundWorker class

    B. The Dispose method of the BackgroundWorker class

    C. The Dispose method of the Component class

    D. The Finalize method of the Component class

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.