[Free] 2017(Sep) EnsurePass Dumpsleader GIAC GSSP-NET-CSHARP Dumps with VCE and PDF 241-250

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

GIAC GIAC Secure Software Programmer – C#.NET

Question No: 241 – (Topic 2)

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2005 as its application development platform. You are presently busy implementing a custom trace that logs errors and warnings in a MS SQL Server database. The implementation should allow different applications to decide whether errors or warnings should be logged at a specified time. You install the assembly that contains the trace listener in the GAC on an application server. You want to enable all Web services on the application server to utilize the trace listener by default. You need to ensure that the implementation does not force Microsoft Windows Forms applications that run on the server to utilize the trace listener. What will you do to accomplish this task?

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

  1. Add the trace listener to the Web.config file for every Web service.

  2. Add the trace listener to the global Web.config file.

  3. Specify trace switches for every Web service in the Web.config file.

  4. Add the trace listener to the machine.config file.

  5. Specify trace switches in the machine.config file.

Answer: B,C

Question No: 242 – (Topic 2)

You are working on an ASP.NET application that will handle shopping cart for online users. You wish to generate images of all your company#39;s products dynamically on one of the application#39;s Web pages. You need to modify your configuration settings file for this purpose. Which of the following sections of the configuration file will you use to accomplish the task?

  1. lt;httpHandlersgt;

  2. lt;httpModulesgt;

  3. lt;httpRuntimegt;

  4. lt;httpCookiesgt;

Answer: A

Question No: 243 – (Topic 2)

Andrew works as a Software Developer for Mansoft Inc. The company#39;s network has a Web server that hosts the company#39;s Web site. Andrew wants to enhance the security of the Web site by implementing Secure Sockets Layer (SSL). Which of the following types of encryption does SSL use?

Each correct answer represents a complete solution. Choose two.

  1. IPSec

  2. Asymmetric

  3. Symmetric

  4. Secret

Answer: B,C

Question No: 244 – (Topic 2)

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 using the .NET Framework. You need to save a graphical object from the application. The graphical object is a collection of x and y points, each represented by using a single precision floating point number. You want to use the least amount of disk space by the saved object. Which the following classes will you use to accomplish this task?

  1. XmlWriter

  2. StreamWriter

  3. TextWriter

  4. BinaryWriter

Answer: D

Question No: 245 – (Topic 2)

You work as a Software Developer for ABC Inc. You use C# .NET to develop a windows application. The application will implement a role-based authorization scheme that is based on a Microsoft SQL Server database of user names. Users will enter their names in a text box named UserName. You must ensure that users are assigned the supervisor role and the PG role by default. Which of the following code segments will you use to accomplish this task?

  1. GenericIdentity identity =

    new GenericIdentity(UserName.Text); string[] RoleArray = {quot;Supervisorquot;, quot;PGquot;};

    GenericPrincipal principal = new GenericPrincipal(identity, RoleArray);

  2. GenericIdentity identity =

    new GenericIdentity(UserName.Text); string[] RoleArray = {quot;Supervisorquot;, quot;PGquot;};

    WindowsPrincipal principal = new WindowsPrincipal(identity);

  3. WindowsIdentity identity =

    new WindowsIdentity.GetCurrent(); string[] RoleArray ={quot;Supervisorquot;, quot;PGquot;};

    GenericPrincipal principal = new GenericPrincipal(identity, RoleArray);

  4. WindowsIdentity identity =

new WindowsIdentity.GetAnonymous(); string[] RoleArray = {quot;Supervisorquot;, quot;PGquot;};

WindowsPrincipal principal = new GenericPrincipal(identity, RoleArray);

Answer: A

Question No: 246 – (Topic 2)

You work as a Software Developer for ABC Inc. You create a Console application. You write the following code in the application:

RC2CryptoServiceProvider TestRC2 = new RC2CryptoServiceProvider(); Console.WriteLine(TestRC2.Mode);

What output will the above code display?

  1. Cipher Block Chaining (CBC)

  2. Output Feedback (OFB)

  3. Cipher Text Stealing (CTS)

  4. Electronic Codebook (ECB)

  5. Cipher Feedback (CFB)

Answer: A

Question No: 247 – (Topic 2)

Adam works as a Software Developer for ABC Inc. He creates an ASP.NET application, named MyApp. During beta testing of MyApp, he ensures that both developers and beta testers see the actual text of error messages. Adam performs beta testing of other applications on the same test server. All the other applications display ASP.NET error messages. After completing beta testing, Adam promotes the beta test server to a production server. He wants all the applications to display a single, userfriendly error message. Adam also wants to configure MyApp and the production server to meet these goals. What will he do to accomplish the required task with minimum administrative effort?

  1. In the Web.config file for MyApp, add the following element:

    lt;customErrors mode=quot;RemoteOnlyquot; /gt;

  2. In the Machine.config file, add the following element:

    lt;customErrors mode=quot;Onquot; /gt;

  3. In the MyApp.config file, add the following element:

    lt;customErrors mode=quot;Onquot; /gt;

  4. In the MyApp.config file, add the following element:

    lt;customErrors mode=quot;RemoteOnlyquot; /gt;

  5. In the Web.config file for MyApp, add the following element:

    lt;customErrors mode=quot;Onquot; /gt;

  6. In the Machine.config file, add the following element:

lt;customErrors mode=quot;RemoteOnlyquot; /gt;

Answer: B

Question No: 248 – (Topic 2)

Dilton works as a Software Developer for GREC Research Center (Central). This research center has its subsidiaries in several different cities. Dilton wants to retrieve a Soil Test Report for the Geological Survey Department. He wants the test report to be available to all the members of the department over the Internet. He creates an XML Web service named SampleReport. SampleReport contains a Web method named SoilTestDetails that requires additional security.

Dilton decides to use generic role-based security to secure the SoilTestDetails method from unauthorized users. Dilton writes code to ensure that once a user is authenticated, a user identity named Generic is created. The Generic user identity has a group membership named GeoSurvey to allow the authenticated users access to the SoilTestDetails Web method. Which of the following code segments should Dilton use to accomplish the task?

  1. GenericIdentity GenIdentity = new GenericIdentity(quot;Genericquot;, quot;Customquot;); string[] GeoRoles = {quot;GeoSurveyquot;};

    GenericPrincipal GeoPrincipal = new GenericPrincipal(GenIdentity, GeoRoles); Thread.CurrentPrincipal = GeoPrincipal;

  2. IIdentity GeoIdentity = new GenericIdentity(quot;Genericquot;, quot;Customquot;); WindowsIdentity WinGeoIdentity = (WindowsIdentity) GeoIdentity; string[] GeoRoles = {quot;GeoSurveyquot;};

    GenericPrincipal GenGeoPrincipal = new GenericPrincipal(WinGeoIdentity, GeoRoles ); WindowsIdentity.Impersonate(WinGeoIdentity.Token);

  3. IIdentity GeoIdentity = new GenericIdentity(quot;Genericquot;, quot;GeoSurveyquot;); IPrincipal GeoPrincipal = new WindowsPrincipal((WindowsIdentity) GeoIdentity); Thread.CurrentPrincipal = GeoPrincipal;

  4. System.Security.Principal.IIdentity MyGenericIdentity = new GenericIdentity(quot;Genericquot;, quot;Customquot;);

string[] GeoRoles = {quot;GeoSurveyquot;};

GenericPrincipal GenGeoPrincipal = new GenericPrincipal(MyGenericIdentity, GeoRoles); MyGenericIdentity = WindowsIdentity.GetCurrent();

Answer: A

Question No: 249 – (Topic 2)

You work as a Database Developer for a Web based music company named Music2Music. You are designing a database for online order management application. The customers use the company#39;s Web site to place orders for the music CDs. Orders details are first inserted into an online database named OrdersData. The Orders database includes a table named Orders and a table named OrderDetails. The Orders table contains basic information about the orders. The OrderDetails table contains information about the individual items in the orders. Fragments of the Orders database is given below:

Ensurepass 2017 PDF and VCE

Requirements of the database design are given below:

l Customers must be able to use the company#39;s Web site to view orders stored in the OrdersData database.

l Customers should be able to see only their own orders. l Customers should not be able to modify the orders.

l The primary key values of the orders are not relevant to the customers and should not be visible. What will you do?

  1. Create a view that displays the order information for a customer.

  2. Create a stored procedure that retrieves the order information for a customer.

  3. Grant SELECT permissions on the Orders and OrderDetails tables to the customers

  4. Create a scalar user-defined function that retrieves the order information for a customer.

Answer: B

Question No: 250 – (Topic 2)

You work as a Software Developer for ABC Inc. The company uses Visual Studio.NET 2005 as its application development platform. You are creating an application using .NET Framework 2.0. The application has multiple threads that execute one after another. You want to ensure that the application terminates only when all the threads complete their tasks. Which of the following methods will you use to accomplish the task?

  1. Join

  2. Abort

  3. Sleep

  4. Suspend

Answer: A

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

EnsurePass 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 EnsurePass IT Certification PDF and VCE

You may also like

Leave a Reply