[Free] 2017(Sep) CollectDumps Testking GIAC GSSP- Dumps with VCE and PDF 101-110

CollectDumps 2017 Sep GIAC Official New Released GSSP-
100% Free Download! 100% Pass Guaranteed!
http://www.CollectDumps.com/GSSP-.html

GIAC GIAC Secure Software Programmer – C#.NET

Question No: 101 – (Topic 1)

Peter works as a Software Developer for NessCom Inc. He creates a Web application named WebApp using Visual Studio .NET. WebApp contains an .aspx page named DataValidatePage.aspx, which has several Web server controls. Two TextBox controls,

txtProdID and txtProdName, are used. The txtProdID control is used to enter the identification number of the products used by the company. The txtProdName control is used to enter valid product names. Peter wants to ensure that only valid data is entered in these two TextBox controls. Therefore, he implements a RequiredFieldValidator class in the DataValidatePage.aspx page. Choose the appropriate actions Peter will perform to accomplish the task.

Collectdumps 2017 PDF and VCE

A.

Answer: A

Question No: 102 – (Topic 1)

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. You need to represent a strongly typed lambda expression as a data structure in the form of an expression tree. Which of the following classes will you use to accomplish the task?

  1. MethodCallExpression

  2. Expression(TDelegate)

  3. Expression

  4. LambdaExpression

Answer: B

Question No: 103 – (Topic 1)

You work as a Software Developer for ManSoft Inc. You create an assembly. You place the

assembly in a specific folder. Which of the following classes can you use to determine whether the assembly was located in a specific folder?

Each correct answer represents a complete solution. Choose two.

  1. UrlMembershipCondition

  2. ApplicationDirectoryMembershipCondition

  3. GacMembershipCondition

  4. SiteMembershipCondition

Answer: A,B

Question No: 104 – (Topic 1)

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#39;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#39;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.

  1. Set the EnableEventValidation attribute to false.

  2. Set the EnableEventValidation attribute to true.

  3. Set the EnableViewState attribute to true.

  4. Set the EnableViewState attribute to false.

Answer: B,C

Question No: 105 – (Topic 1)

Patrick works as a Software Developer for GenTech Inc. He develops an application, named App1, using Visual C# .NET. He implements security using the security classes of the .NET Framework. He defines the following statements in the application:

PrincipalPermission Principal_Perm1 = new PrincipalPermission(quot;Nickquot;, quot;General

Managerquot;);

PrincipalPermission Principal_Perm2 = new PrincipalPermission(quot;Jackquot;, quot;Accountantquot;);

Patrick wants to check whether all demands that succeed for Principal_Perm1 also succeed for Principal_Perm2. Which of the following methods of the PrincipalPermission class will he use to accomplish this?

  1. Intersect

  2. IsSubSetOf

  3. IsUnrestricted

  4. Union

Answer: B

Question No: 106 – (Topic 1)

Sam works as a Software Developer for GenTech Inc. He develops an application named App1 using Visual Basic .NET. App1 uses a non-COM DLL named Value1.dll, which contains unmanaged code. Sam writes a method named Method1 in Value1.dll as follows:

Method1 Lib quot;Value1.dllquot;(ByVal InputVar As String, ByRef WordsVar As String, ByRef NumbersVar As Integer) As Integer

Sam wants to use Method1 for parsing a string into an array of string values and an array of integers. Sam wants to enable App1 to call this function. Which of the following statements about the method are true?

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

  1. The value of the first parameter cannot be changed by a procedure or a function.

  2. The second parameter will contain all string values found in the first parameter.

  3. The third parameter will contain all integer values found in the second parameter.

  4. The third parameter will contain all string values found in the second parameter.

Answer: A,B,C

Question No: 107 – (Topic 1)

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET as

its application development platform. You need to write a code segment that transfers the contents of a byte array named ToSend by using a NetworkStream object named NetStr. You want to use a cache of size only 8,192 bytes. Which of the following code segments will you use to accomplish the task?

  1. MemoryStream MStream = new MemoryStream(8192); NetStr.Write(ToSend, 0, (int) MStream.Length);

  2. BufferedStream BStream = new BufferedStream(NetStr); BStream.Write(ToSend, 0, 8192);

  3. BufferedStream BStream = new BufferedStream(NetStr, 8192); BStream.Write(ToSend, 0, ToSend.Length);

  4. MemoryStream MStream = new MemoryStream(8192); MStream.Write(ToSend, 0, (int) NetStr.Length);

Answer: C

Question No: 108 – (Topic 1)

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2005 as its application development platform. You have recently finished development of a Windows application using .NET Framework. Users report that the application is not running properly. When the users try to complete a particular action, the following error message comes out:

Unable to find assembly #39;myservices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=29b5ad26c9de9b95#39;.

You notice that the error occurs as soon as the application tries to call functionality in a serviced component that was registered by using the following command:

regsvcs.exe myservices.dll

You must make sure that the application can call the functionality in the serviced component with no exceptions being thrown. What will you do to accomplish this task?

  1. Run the command line tool: regasm.exe myservices.dll.

  2. Copy the serviced component assembly into the C:\Program Files\ComPlus Applications fold er.

  3. Run the command line tool: gacutil.exe /i myservices.dll.

  4. Copy the serviced component assembly into the C:\WINDOWS\system32\Com folder.

Answer: C

Question No: 109 – (Topic 1)

Allen works as a Software Developer for ABC Inc. The company uses Visual Studio.NET as its application development platform. He creates an application using .NET Framework. He wants to encrypt all his e-mails that he sends to anyone. Which of the following will he use to accomplish the task?

  1. PPP

  2. FTP

  3. PPTP

  4. PGP

Answer: D

Question No: 110 – (Topic 1)

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 recently finished the development of an application using .NET Framework 2.0. The application can be used only for cryptography. Therefore, you have implemented the application on a computer. What will you call the computer that implemented cryptography?

  1. Cryptographic toolkit

  2. Cryptosystem

  3. Cryptographer

  4. Cryptanalyst

Answer: B

100% Free Download!
Download Free Demo:GSSP- Demo PDF
100% Pass Guaranteed!
Download 2017 CollectDumps GSSP- Full Exam PDF and VCE

CollectDumps ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
PDF VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

2017 CollectDumps IT Certification PDF and VCE