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

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

You work as a Software Developer for ABC Inc. You create an ASP.NET Web application named MyWebApplication. You want to provide secure access to company#39;s customers. You want to enable users to access the site from any browser by providing their user name and password. Which of the following authentication methods will you use to accomplish this task?

  1. Windows NT

  2. Secure Socket Layer

  3. Basic

  4. Single Sign-On

  5. Certificate Server

Answer: C

Question No: 212 – (Topic 2)

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?

  1. Match

  2. Matches

  3. Equals

  4. IsMatch

Answer: A

Question No: 213 – (Topic 2)

You work as an Enterprise Application Developer for ABC Inc. The company uses Visual Studio .NET 2008 as its application development platform. You create a logging utility class using .NET Framework 3.5. The utility class writes logs to event log services. You are required to ensure that the client applications that use the utility class can create an instance of the utility class only if they have access rights to write to the event log services.

What will you do?

  1. Use role based security in the class constructor.

  2. Use declarative security check on the assembly.

  3. Use role based security on the class.

  4. Use code access security on the class.

Answer: D

Question No: 214 – (Topic 2)

Allen works as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2005 as its application development platform. Allen creates an application that will be used to handle security information related to the company. He wants to secure the application by using the most secure authentication method. The method should have a strong key for encryption and send the encrypted password across the network. Which of the following authentication methods will Allen use to accomplish the task?

  1. Integrated Windows authentication

  2. Basic authentication

  3. Certificate-based authentication

  4. Digest authentication

Answer: C

Question No: 215 – (Topic 2)

Mark works as a Software Developer for GenTech Inc. He develops an application, named App1, using Visual Studio .NET. The application contains a Form control, named Form1, which enables users to edit information in a SQL Server database. Mark wants to save all the changes made by users in the database. He defines a boolean variable, named DataIsSaved, in the application code. DataIsSaved indicates whether or not all data are saved in the database. Mark wants to prevent Form1 from closing until all the changes are saved in the database. Which of the following code will he use to accomplish this?

  1. protected void Form1_Leave(object sender, System.ComponentModel.CancelEventArgs

    e) { if(!DataIsSaved)

  2. Cancel = false; else

  3. Cancel = true;

    }

  4. protected void Form1_Leave(object sender, System.ComponentModel.CancelEventArgs

    e) { if(!DataIsSaved)

  5. Cancel = true; else

  6. Cancel = false;

    }

  7. protected void Form1_Closed(object sender, System.ComponentModel.CancelEventArgs e) { if(!DataIsSaved)

  8. Cancel = false; else

  9. Cancel = true;

    }

  10. protected void Form1_Closing(object sender, System.ComponentModel.CancelEventArgs e) { if(!DataIsSaved)

  11. Cancel = false; else

  12. Cancel = true;

    }

  13. protected void Form1_Closed(object sender, System.ComponentModel.CancelEventArgs e) { if(!DataIsSaved)

  14. Cancel = true; else

  15. Cancel = false;

    }

  16. protected void Form1_Closing(object sender, System.ComponentModel.CancelEventArgs e) { if(!DataIsSaved)

  17. Cancel = true; else

  18. Cancel = false;

}

Answer: F

Question No: 216 – (Topic 2)

Sam works as a Software Developer for GenTech Inc. He creates a .NET remote object, named Object1. Object1 holds a Hashtable object, or the name and value pairs. Seven client applications use Object1 to get and set property values. Sam wants to ensure that the properties set by one of the client applications can be accessed by all the applications using Object1. Choose the appropriate actions he will take to accomplish this.

Collectdumps 2017 PDF and VCE

A.

Answer: A

Question No: 217 – (Topic 2)

Martha works as a Software Developer for NetCom Inc. She develops an application, named App1, using Visual Studio .NET. The application contains a form, named MyForm1. MyForm1 contains several controls including a TextBox, named txtDOB. The txtDOB control is used to accept the date of birth from a user. In order to ensure that a user enters a valid date in txtDOB, Martha adds validation logic to the Validating event of txtDOB. When she tests the form by using some invalid dates in txtDOB, the validation logic does not appear to be working as expected. What is the most likely cause of the issue?

  1. Martha has set the Locked property of txtDOB to True.

  2. Martha has set the CausesValidation property of txtDOB to False.

  3. Martha has set the SuppressValidation property of txtDOB to True.

  4. Martha has set the TabIndex property of txtDOB to 0.

Answer: B

Question No: 218 – (Topic 2)

Which of the following code snippets is an example of tight encapsulation?

  1. private int x;

    public void fun(){x=5;}

  2. private int x;

    private void fun(){x=5;}

  3. public int x;

    public void fun() {x=5;}

  4. protected int x; protected void fun(){x=5;}

  5. int x;

public void fun(){x=5;}

Answer: A

Question No: 219 – (Topic 2)

You work as an ADO.NET Application Developer for ABC Inc. The company uses Microsoft Visual Studio .NET 2008 as its application development platform. You create an ADO.NET application by using .NET Framework 3.5. You are using the System.Linq.Expressions namespace to represent the code expression as objects in the form of expression trees.

You want to initialize the members of a newly created object. What will you do to accomplish the task?

  1. Use the MemberBinding class

  2. Use the UnaryExpression class

  3. Use the MemberBindingType enumeration

  4. Use the MemberListBinding class

Answer: A

Question No: 220 – (Topic 2)

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. The application is for members only. The behavior of the Web application varies according to the role of the user. The Web application uses the ASP.NET Membership control for creation of user accounts. You are required to find out whether a user is a member of a specific role. What will you do?

  1. Pass the role names to the User.IsInRole method.

  2. Pass the user names and passwords to the Membership.ValidateUser method.

  3. Pass the role names to the Roles.RoleExists method.

  4. Pass the user names to the User.IsUserInRole method.

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