| Exam Code/Number: | GSSP-NETJoin the discussion |
| Exam Name: | GIAC GIAC Secure Software Programmer - C#.NET |
| Certification: | GIAC |
| Question Number: | 491 |
| Publish Date: | Nov 30, 2026 |
|
Rating
100%
|
|
You work as an Enterprise Application Developer for ABC Inc. The company uses Visual Studio 2008 as its application development platform. You create a web application using .NET Framework 3.5. You have created a form named Form1. You have added Textbox controls for taking Name, Address, and Phone Number of user as input in Form1. You want to ensure that a user enters a value in the Name field. Which of the following validation server controls will you use to accomplish the task?
Mark works as a Web Developer for ABC Inc. He develops an ASP.NET application, named MyApp1, using Visual Studio .NET. MyApp1 allows users to view and purchase company products.
It includes several pages. The start-up page of the application is Page1.aspx. He configures the
application's Web.config file to use form-based authentication.
Mark wants users to log on to Page1.aspx by providing their user names and passwords. To
accomplish this, he creates an ASP.NET page named UsersLogIn.aspx that allows each user to
specify a user name and password. He then writes the following syntax in the Web.config filE.
<authentication mode="Forms">
<forms name="MyName"
loginUrl="/UsersLogIn.aspx"
protection="All"
timeout="60"
slidingExpiration="true">
</forms>
</authentication>
What will be the result?
Each correct answer represents a part of the solution. Choose two.
You work as an ADO.NET Application Developer for ABC Inc. The company uses Microsoft Visual Studio .NET 2008 as its application development platform. You create an ADO.NET application by using .NET Framework 3.5. You write the following code in the application:
string tree = "ABC";
System.Reflection.MethodInfo addMethod = typeof(Dictionary).GetMethod("Add");
You need to create an ElementInit that represents calling Dictionary.Add(tree.Length, tree). Drag and drop the appropriate values to accomplish the task.

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?
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 the .NET Framework 3.5. 91. The application uses ASP.NET AJAX, and you need to deploy it in a Web farm environment. You are required to configure SessionState for the application. Which of the following code segments will you use to accomplish this task?