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

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: 221 – (Topic 2)

You work as a Software Developer for ABC Inc. You develop a multi-threaded application named MyMultThreadApp using Visual Studio .NET. The application logs all warning and informational messages in an event log that keeps track of significant events when the application is running. The event log records information that might be useful for troubleshooting or performance analysis. Which of the following are the considerations that you must keep in mind when logging events with multithreaded components?

Each correct answer represents a complete solution. Choose three.

  1. An exclusive lock should be obtained on the log to avoid race conditions.

  2. Each shared component should be thread-safe when interacting with an event log.

  3. The System.Threading namespace should be used to record the identity of each thread for logging messages.

  4. The Debug and Trace classes should be used to log events.

Answer: A,B,C

Question No: 222 – (Topic 2)

John works as a Web Developer for ProMetaworks Inc. He creates an ASP.NET application, named MyApp1, by using Visual Studio .NET. MyApp1 contains a page, named Page1. Page1 contains several TextBox controls that accept users#39; input. John uses several validation controls on the page to validate input controls. He wants to display all the validation error messages on the page in a message box. However, he does not want the validation summary to be displayed inline on the Web page. What will he do to accomplish the task?

  1. Add a CustomValidator control to the page. Write a custom client-side script function. Set the ClientValidationFunction property of the control to the name of the function.

  2. Add a ValidationSummary control to the page. Set its ShowMessageBox and ValidationSummary properties to True.

  3. Add a ValidationSummary control to the page. Set its ShowMessageBox property to True and ValidationSummary property to False.

  4. Add a ValidationSummary control to the page. Set its DisplayMode property to MessageBox .

Answer: C

Question No: 223 – (Topic 2)

Allen works as a Software Developer for ManSoft Inc. The company uses Visual Studio.NET as its application development platform. He creates an application. He wants to allow remote users to connect and access the application through a dial-up connection via the Internet. All data will be sent across a public network. For security reasons, the management wants to send data through the Internet in an encrypted form. The company plans to use a Layer 2 Tunneling Protocol (L2TP) connection. Which of the following communication protocols will Allen use to accomplish the task?

  1. IP Security (IPSec)

  2. Secure Electronic Transaction (SET)

  3. Pretty Good Privacy (PGP)

  4. Triple Data Encryption Standard (3DES)

Answer: A

Question No: 224 – (Topic 2)

Maria works as a Software Developer for ABC Inc. She develops a Console application using Visual Studio .NET 2005. She writes the following code in the application:

String st=quot;Hello Worldquot;; int MyBegin=1;

int MyEnd=3; Console.WriteLine(st.Substring(MyBegin, MyEnd));

What will happen when she tries to compile and execute the application?

  1. The application will compile successfully and display quot;elquot; as the output.

  2. The application will compile successfully and display quot;ellquot; as the output.

  3. A compile-time error will occur stating quot;No method matching substring(int, char) existsquot;.

  4. The application will compile successfully and display quot;Helquot; as the output.

Answer: B

Question No: 225 – (Topic 2)

Ricky works as a Software Developer for SoftTech Inc. He creates an XML Web service, named XmlWeb, by using Visual Studio .NET. He wants to publish XmlWeb within the

company#39;s intranet. Which of the following actions will Ricky take to publish XmlWeb? Each correct answer represents a part of the solution. Choose all that apply.

  1. Register XmlWeb in the private UDDI registry.

  2. Use XML Spy to register XmlWeb.

  3. Register XmlWeb in the public UDDI registry.

  4. Build a discovery (disco) document for XmlWeb.

Answer: A,D

Question No: 226 – (Topic 2)

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. The company hosts a Web site. The Web site offers an online community and shows personal information of the site members. An e-mail account that is used as the user name is compulsory to register with the online community. Therefore, only registered users of the Web site can view the personal information of other members. You are required to ensure that illegal, automated scripts or bots are not permissible to carry out any of the following tasks:

l Register with the Web site.

l Access the personal information of the members. What will you do?

Each correct answer represents a part of the solution. Choose three.

  1. Bind all personal information of the members within SPAN and DIV controls that will toggle to show/hide.

  2. Implement a CAPTCHA image control during the registration and login process.

  3. Deny new user accounts access to the Web site as long as the user does not respond to the e-mail message.

  4. Implement CDATA during the registration and login process.

  5. Implement a one-way function during login process.

  6. Send confirmation email messages to all new registered users.

Answer: B,C,F

Question No: 227 – (Topic 2)

You work as a Software Developer for ABC Inc. The company uses Visual Studio.NET 2005 as its application development platform. You create a Windows service application that will be used by Visual Studio .NET applications. You want to ensure that an access to the Windows service is restricted. Therefore, you decide to use the ServiceInstaller class. You want to specify the security context of the Windows service application. Whic

  1. Password property

  2. UserName property

  3. Context property

  4. Account property

Answer: D

Question No: 228 – (Topic 2)

You work as a Web Application Developer for SunInfo Inc. The company uses Visual Studio 2008 as its application development platform. You create a Web application using

.NET Framework 3.5. You want to implement state management in your application. In which of the following stages of the application life cycle will your application actually start?

  1. On creation of an instance of the HttpApplication class

  2. When an instance of the ApplicationManager class is created

  3. When instances of the core objects such as HTTPContext, HTTPRequest, and HTTPResponse are created

  4. When a user first makes a request for a page in your Web site

Answer: A

Question No: 229 – (Topic 2)

Charles works as a Web Developer for Cyber Net Inc. The company frequently receives production information from external vendors in the form of XML data. Charles stores these XML data in a disk container of the Web server as .xsd schema files and .xdr schema files. There are specific rules for writing XML codes to define the structure and data types for XML documents. Which of the following criteria should NOT be considered while writing an XML document?

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

  1. A well-formed XML document should contain a start tag but not necessarily an end tag.

  2. An XML document must enclose the beginning and ending points of a tag by using the symbols #39;lt;#39; and #39;gt;#39; respectively.

  3. A well-formed XML document should contain a start tag and an end tag.

  4. An XML document should be specified according to the application or business requirement s.

  5. An XML document should have predefined elements and attributes.

Answer: A,E

Question No: 230 – (Topic 2)

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create a Windows Forms application by using the

.NET Framework. The application executes a background thread. You are required to create the thread to exit, but you must also inform the main thread when the background thread has finished. What will you do to accomplish this?

  1. Call the Join method of the Thread class.

  2. Call the Sleep method of the Thread class.

  3. Call the Abort method of the Thread class.

  4. Call the Interrupt method of the Thread class.

Answer: A

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