GIAC GIAC Secure Software Programmer - C#.NET Sample Questions:
1. George works as a Software Developer for GenTech Inc. He creates an application named App1 using Visual Studio .NET. App1 uses the version 2.0.0.0 of an assembly named Assembly1. However, he wants App1 to use a new version i.e. 2.1.0.0 of Assembly1. Therefore, he needs to specify Assembly1's location so that App1 can use version 2.1.0.0 of Assembly1. What will George use to accomplish the task?
Each correct answer represents a complete solution. Choose all that apply.
A) The <codeBase> element.
B) The <probing> element.
C) An unmanaged code.
D) A managed code.
2. You work as a Web Application Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You are creating an ASP.NET Web application using the .NET Framework. The application will allow users to post and reply to messages after logging. You create the authentication mechanisms for the application. You use SQL Server 2005 and the Active Directory service interchangeably for authentication. You are required to provide a method for users of the application to register. You also want to ensure that the application utilizes multiple authentication methods when users register. What will you do?
A) Create a form that contains a CreateUserWizard control and configure custom membership providers.
B) Create a Web custom component that offers a new user registration form and stores the outcome in XML that matches a defined schema.
C) Create a form that contains a CreateUserWizard control and configure Membership provider s.
D) Create a Web custom component and Configure Membership Providers.
3. John works as a Software Developer for CyberTech Inc. He creates an ASP .NET page named BookItemList.aspx, which displays a price list of computer books. Registered users have to first log on to the company's Web site in order to view the current price list of different computer books available on the Web site. Users want to maintain the page requests as long as they are accessing the Web page.
John wants to ensure that whenever the Web page BookItemList.aspx is posted back to the server, the price list should not be changed on the registered user's computer. He also wants to validate the page sent back to the server. Which of the following actions will John take to accomplish the task?
Each correct answer represents a part of the solution. Choose two.
A) Set the EnableViewState attribute to true.
B) Set the EnableEventValidation attribute to true.
C) Set the EnableViewState attribute to false.
D) Set the EnableEventValidation attribute to false.
4. 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. The application contains many controls. You add an ErrorProvider component named errorPro and a DateTimePicker control named datePick to the application. You are required to configure the application to display an error notification icon next to datePick when a user enters a date that is greater than today's date. What will you do to accomplish this task?
Each correct answer represents a part of the solution. Choose two.
A) Create an event handler named verifyDate for the Validated event of datePick.
B) Create an event handler named verifyDate for the Validating event of datePick.
C) In the verifyDate event handler, call errorPro.SetError(datePick, "Date is greater then today's date") if the value of datePick value is greater than today's date.
D) In the verifyDate event handler, call errorPro.SetError(datePick, "") if the datePick.Value is greater than today's date.
5. You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You are creating a Windows service application using the .NET Framework. The service is used to execute several tasks that require background processing. You do not want to actively manage threads in the service application, but you must make sure that security checks are performed during the execution of the task. What will you do to accomplish the task?
A) thread2 raises its own priority
B) Use the Thread.Start method.
C) Use the ThreadPool.UnsafeQueueUserWorkItem method.
D) Use the ThreadPool.QueueUserWorkItem method.
E) Use the Thread.Resume method.
Solutions:
| Question # 1 Answer: A,B | Question # 2 Answer: C | Question # 3 Answer: A,B | Question # 4 Answer: B,D | Question # 5 Answer: D |














960 Customer Reviews
Quality and ValueITCertKing Practice Exams are written to the highest standards of technical accuracy, using only certified subject matter experts and published authors for development - no all study materials.
Tested and ApprovedWe are committed to the process of vendor and third party approvals. We believe professionals and executives alike deserve the confidence of quality coverage these authorizations provide.
Easy to PassIf you prepare for the exams using our ITCertKing testing engine, It is easy to succeed for all certifications in the first attempt. You don't have to deal with all dumps or any free torrent / rapidshare all stuff.
Try Before BuyITCertKing offers free demo of each product. You can check out the interface, question quality and usability of our practice exams before you decide to buy.
