Certbus > GIAC > GIAC Information Security > GSSP-NET-CSHARP > GSSP-NET-CSHARP Online Practice Questions and Answers

GSSP-NET-CSHARP Online Practice Questions and Answers

Questions 4

The element does not apply to errors that occur in __________.

A. XML Web services

B. Windows services

C. Web services directory

D. Web services

Browse 491 Q&As
Questions 5

Which of the following is not a type of Remote object?

A. Server-activated object

B. Client-activated object

C. Singleton object

D. Single call object

Browse 491 Q&As
Questions 6

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2005 as its application development platform. You have created an application for the company. The application uses string concatenation to gather data from multiple email messages, and format the data before displaying it. You want to ensure that the data displays as quickly as possible. Which of the following actions will you take to accomplish the task?

A. Write code that uses the Concat() method of the String object.

B. Write code that uses the Substring() method of the String object.

C. Write code that uses the plus-sign (+) operator to concatenate the strings.

D. Write code that uses the Append() method of the StringBuilder object.

Browse 491 Q&As
Questions 7

Mark works as a Software Developer for CyberNet Inc. He develops a serviced component, named MyComponent1, using Visual Studio .NET. MyComponent1 uses a SQL Server database. In the code, Mark uses the ExecuteNonQuery method of the SqlCommand class to execute a Transact- SQL statement. Which of the following values will the ExecuteNonQuery method return?

A. A string type value

B. A boolean type value

C. An integer type value

D. A double type value

Browse 491 Q&As
Questions 8

John works as a Software Developer for DawnStar Inc. He creates a class, named MyClass1. He wants to generate a key pair that he will use to give the compiled assembly a strong name. Which of the following tools will he use to accomplish the task?

A. Gacutil.exe

B. Sn.exe

C. Installutil.exe

D. Al.exe

Browse 491 Q&As
Questions 9

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. You create a HTTP module that is called on each and every request made by the application. It is called as part of the ASP.NET request pipeline. Other then this, under which of the following operations will you use the HTTP module?

Each correct answer represents a complete solution. Choose three.

A. Custom headers or footers

B. Image server

C. Security

D. Statistics and logging

Browse 491 Q&As
Questions 10

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 have received a file in ASCII encoded from one of the company's branch. Therefore, you are required to decode the file encoded in ACSII. Which of the following decoding types will you use to get the correct results?

Each correct answer represents a complete solution. Choose two.

A. UTF-32

B. UTF-16

C. UTF-7

D. UTF-8

Browse 491 Q&As
Questions 11

You work as a Web Application Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create a Web application using .NET Framework 2.0. You configure the application at the following levels:

l Root Web

l Web application root directory

l Web site

l Web application subdirectory

In which of the following files will these levels be stored?

A. Proxy auto-config

B. ApplicationName.config

C. Manhine.config

D. Web.config

Browse 491 Q&As
Questions 12

You work as a Windows Application Developer for ABC Inc. The company uses Visual Studio .NET 2008 as its application development platform. You have recently finished development of a Windows Forms application using .NET Framework 3.5. You have written complex foreach loops to retrieve data from collections. However, you want to modify the application, so that it uses LINQ queries in place of foreach loops. What will be the advantages of using LINQ queries instead of foreach loops?

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

A. They provide powerful filtering, ordering, and grouping capabilities with least application co de.

B. They can be ported to other data sources with slight or no alteration.

C. They provide lambda expression in the form of an expression tree.

D. They are more concise and readable, particularly when filtering multiple conditions.

Browse 491 Q&As
Questions 13

Mark works as a Software Developer for BlueWell Inc. He develops four Windows-based applications using Visual Studio .NET. All the applications use an assembly, named Assembly1. Mark deploys the applications on the company's intranet. Later, he modifies Assembly1 and wants to ensure that all the applications use the latest version of Assembly1. Which of the following files will Mark use to accomplish this?

A. Publisher policy configuration file

B. Security configuration file

C. Machine configuration file

D. Application configuration file

Browse 491 Q&As
Questions 14

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?

A. RequiredFieldValidator

B. RangeValidator

C. CompareValidator

D. CustomValidator

Browse 491 Q&As
Questions 15

Allen works as a Software Developer for ManSoft Inc. He develops a Web application using Visual Studio .NET. He adds a Web reference to an XML Web service named MyWebService in the application. MyWebService includes a method named MyMethod, which takes user identification number as a parameter and returns a DataSet object containing user information. The System.ArgumentException is thrown if the user identification number is not positioned between 1 and

500. Allen writes a try/catch block to capture the exceptions thrown by the Web service. Which of the following exceptions will the try/catch block catch if a user calls MyMethod passing 501 as a parameter?

A. System.ApplicationException

B. System.ArgumentNullException

C. System.Web.Service.Protocols.SoapException

D. System.Web.Service.Protocols.SoapHeaderException

Browse 491 Q&As
Questions 16

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 for a Bank using the .NET Framework. You create a method that gets the images of cancelled checks and displays them. You presently have access to a method that reads the images from a SQL server database as a sequence of bytes. You need to transfer the image from the SQL server database to a form with the least amount of temporary buffers and files. Which of the following classes will you use to accomplish this task?

A. FileStream

B. NetworkStream

C. BufferedStream

D. MemoryStream

Browse 491 Q&As
Questions 17

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

Browse 491 Q&As
Questions 18

You work as a Software Developer for Mansoft Inc. You create an application and use it to create users as members of the local Users group. Which of the following code snippets imperatively demands that the current user is a member of the local Users group?

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

A. System.AppDomain.CurrentDomain.SetPrincipalPolicy(PrincipalPolicy.WindowsPrincipal); PrincipalPermission MyPermission = new PrincipalPermission(null, @"BUILTIN\Users", true); MyPermission.Demand();

B. PrincipalPermission MyPermission = new PrincipalPermission(null, @"BUILTIN\Users", true); MyPermission.Demand();

C. System.AppDomain.CurrentDomain.SetPrincipalPolicy(PrincipalPolicy.WindowsPrincipal); PrincipalPermission MyPermission = new PrincipalPermission(null, @"Users", true); MyPermission.Demand();

D. PrincipalPermission MyPermission = new PrincipalPermission(null, @"Users", true); MyPermission.Demand();

Browse 491 Q&As
Exam Code: GSSP-NET-CSHARP
Exam Name: GIAC Secure Software Programmer - C#.NET
Last Update: May 10, 2024
Questions: 491 Q&As

PDF

$45.99

VCE

$49.99

PDF + VCE

$59.99