Pass4itsure > GIAC > GIAC Certifications > GSSP-NET-CSHARP > GSSP-NET-CSHARP Online Practice Questions and Answers

GSSP-NET-CSHARP Online Practice Questions and Answers

Questions 4

Which of the following classes will you use to specify that a string must be centered when drawn?

A. StringAlignment

B. StingFormat

C. String

D. LineAlignment

Buy Now
Questions 5

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 Forms application using .NET Framework 3.5. The application contains a data-bound control. You use the LinqDataSource control to use LINQ in the ASP.NET application by setting properties in markup text. The LinqDataSource control uses LINQ to SQL to automatically generate the data commands. You are required to perform data operations by using the LinqDataSource control. What is the correct order in which data operations are applied?

A.

Buy Now
Questions 6

You work as a Web Administrator for BlueWell Inc. The company's sales employees access the Web server from remote locations via the Internet using Netscape Navigator or Internet Explorer. You want to secure the Web server. To secure the Web server, you want to use cookieless forms authentication. Which of the following properties will you use to accomplish the task?

A. FormsCookiePath

B. CookieDomain

C. CookieMode

D. FormsCookieName

Buy Now
Questions 7

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 need to use the regular expressions to provide a concise and flexible means for identifying strings of text of interest, such as particular characters, words, or patterns of characters. Which operation will you use to construct the regular expressions?

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

A. Quantification

B. Grouping

C. Alternation

D. Phishing

Buy Now
Questions 8

You work as a Software Developer for ABC Inc. You create a SQL server database named DATA1 that will manage the payroll system of the company. DATA1 contains two tables named EmployeeData and Department. While EmployeeData records detailed information of the employees, Department stores information about the available departments in the company. EmployeeData consists of columns that include EmpID, EmpName, DtOBrth, DtOJoin, DeptNo, Desig, BasicSal, etc. You want to ensure that each employee ID is unique and is not shared between two or more employees. You also want to ensure that the employees enter only valid department numbers in the DeptNo column. Which of the following actions will you perform to accomplish the task?

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

A. Define views in the database.

B. Add constraints to the EmployeeData table.

C. Define triggers in the EmployeeData table.

D. Define indexes in the EmployeeData table.

E. Add stored procedures by using Transact-SQL queries.

Buy Now
Questions 9

You work as a Software Developer for ManSoft Inc. The company has several branches worldwide. The company uses Visual Studio.NET 2005 as its application development platform. You create an application that will be used by all the branches of the company. You use the Regex class in the application to validate some strings. You want to search an input string for an occurrence of a regular expression. Which of the following methods of the Regex class will you use to accomplish the task?

A. Matches

B. Match

C. IsMatch

D. Equals

Buy Now
Questions 10

You work as a Software Developer for ManSoft Inc. The company uses Visual Studio .NET as its application development platform. You create an application named MyRandomGen. You use the System.Security.Cryptography namespace. You want to create a code that randomly rolls the dice fifty times and displays the results on the screen. Which of the following code segments will you use to accomplish this task?

A. for(int x = 0; x <= 50; x++) Console.WriteLine(RollTheDice(6)); public static int RollTheDice(int sides) { byte[] random = new byte[1]; RNGCryptoServiceProvider Gen = new RNGCryptoServiceProvider(); Gen.GetBytes(random); int ran = Convert.ToInt32(random[0]); return ran % sides + 1; }

B. for(int x = 0; x <= 50; x++) Console.WriteLine(RollTheDice(6)); public static int RollTheDice(int sides) { byte[] random = new byte[1]; RNGCryptoServiceProvider Gen = new RNGCryptoServiceProvider(); Gen.GetRandom(random); int ran = Convert.ToInt32(random[0]); return ran % sides + 1; }

C. for(int x = 0; x <= 50; x++) Console.WriteLine(RollTheDice(6)); public static int RollTheDice(int sides) { byte[] random = new byte[1]; RNGCryptoServiceProvider Gen = new RNGCryptoServiceProvider(); Gen.GetBytes(Gen); int ran = Convert.ToInt32(random[0]); return ran % sides + 1; }

D. for(int x = 0; x <= 50; x++) Console.WriteLine(RollTheDice(6)); public static int RollTheDice(int sides) { byte[] random = new byte[1]; RNGCryptoServiceProvider Gen = new RNGCryptoServiceProvider(); Gen.RandomNumber(random); int ran = Convert.ToInt32(random[0]); return ran % sides + 1; }

Buy Now
Questions 11

You work as a Software Developer for ABC Inc. You create an application, and you want to define a component for your application. In some deployments, the component will be deployed on the same computer as the application. In other deployments the component will be deployed on a separate computer. You create a Web service. You want a new object of the Web service to be created whenever a customer makes a call to the Web service. Drag and drop the appropriate statement to accomplish the task.

A.

Buy Now
Questions 12

You work as a Software Developer for ABC Inc. The company's server room is in a highly secured environment. The company wants to ensure that the server room uses thumb impressions for authentication. Which of the following authentication methods will you suggest?

A. SSL certificates

B. Biometrics

C. User policy

D. Smart card

E. Certificate

Buy Now
Questions 13

You work as a Software Developer for Blue Well Inc. The company uses Visual Studio .NET 2005 as its application development platform. You create an application using Visual C# .NET and perform the following operations:

l Create a static array.

l Sort the array.

l Display the sorted array.

Which of the following code snippets will you use to accomplish the task?

A. int array1[] = {12, 16, 18, 22}; Array.Sort(array1); Console.WriteLine(array1[0], array1[1], array1[2], array1[3]);

B. int[] array1 = {12, 16, 18, 22}; Array.Sort(array1); Console.WriteLine("{0}, {1}, {2}, {3}");

C. int[] array1 = {12, 16, 18, 22}; Array.Sort(array1); Console.WriteLine("{0}, {1}, {2}, {3}", array1[0], array1[1], array1[2], array1[3]);

D. int[] array1 = {12, 16, 18, 22}; Array.Sort(array1); Console.WriteLine("{0}, {1}, {2}, {3}", array1[a], array1[b], array1[c], array1[d]);

Buy Now
Exam Code: GSSP-NET-CSHARP
Exam Name: GIAC Secure Software Programmer - C#.NET
Last Update: May 25, 2026
Questions: 491
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99