Summer Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Free GIAC GSSP-NET-CSHARP Practice Exam with Questions & Answers | Set: 7

Questions 61

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?

Options:
A.

Use role based security in the class constructor.

B.

Use declarative security check on the assembly.

C.

Use role based security on the class.

D.

Use code access security on the class.

GIAC GSSP-NET-CSHARP Premium Access
Questions 62

You work as a Software Developer for HiTech Inc. You develop a Web application named

MyWebApp. The application contains several Web pages that display a registration form for a user. You want to perform user input data validation at the server-side, so that you can disable the client-side data input validation. Which of the following actions will you take to accomplish the task?

Options:
A.

Set the CausesValidation property of a server control to false.

B.

Set the Enabled property of a validation control to true.

C.

Set the Enabled property of a validation control to false.

D.

Set the EnableClientScript property of a validation control to true.

E.

Set the EnableClientScript property of a validation control to false.

Questions 63

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 application rarely experiences errors that cannot be reproduced on a test environment. You are required to ensure that the application meets the following requirements:

l All unanticipated errors are logged.

l Logging is configured with a least amount of alteration to the application code.

What will you do?

Options:
A.

Override the base class for all forms in the application to add the Try/Catch blocks to all the major functionalities.

B.

Enable the <customErrors> element in the Web.config file and set the mode attribute to On .

C.

Enable the </customErrors> element in the Web.config file and set the mode attribute to

RemoteOnly.

D.

Add an event handler for the Application.Error event to the Global.asax file of the applicatio n.

Questions 64

Which of the following security methods is used when the code requires a specific set of permissions, which are not known until runtime?

Options:
A.

Role-Based Security

B.

Windows NT Security

C.

Imperative Security

D.

Declarative Security

Questions 65

Which of the following provide simplified access to ASP.NET AJAX login, roles, and profile services from Windows Forms and WPF applications?

Options:
A.

Entity Framework

B.

AJAX application services

C.

Client application services

D.

Sync Framework

Questions 66

Which of the following modifiers is not available in C#?

Options:
A.

private

B.

friend

C.

internal

D.

public

E.

protected

Questions 67

Which of the following syntaxes is used for the EncryptionAlgorithm property of the Message class?

Options:
A.

[MessagingDescriptionAttribute("MessageEncryptionAlgorithm")]

public EncryptionAlgorithm : EncryptionAlgorithm { }

B.

[MessagingDescriptionAttribute("MessageEncryption")]

public EncryptionAlgorithm EncryptionAlgorithm { }

C.

[MessagingDescriptionAttribute("MessageEncryption")]

public EncryptionAlgorithm EncryptionAlgorithm { get; set; }

D.

[MessagingDescriptionAttribute("MessageEncryptionAlgorithm")]

public EncryptionAlgorithm : EncryptionAlgorithm { get; set; }

Questions 68

David works as a Software Developer for McRobert Inc. He develops a Web application named App1 using Visual Studio .NET. App1 contains several Web forms that display information about an online shopping process. David wants to provide a Web-based shopping catalog to users. However, he wants to ensure that the information about the shopping catalog is secure and requires no server resources.

What will David do to accomplish the task?

Options:
A.

Use a query string as a user preference.

B.

Use a session state variable as a user preference.

C.

Use an application state variable as a user preference.

D.

Use a session cookie as a user preference.

Questions 69

You work as a Windows Application Developer for ABC Inc. The company uses Visual Studio .NET 2008 as its application development platform. You create a Windows Forms application using .NET Framework 3.5. The application contains a data-bound control. You use the LinqDataSource control to use LINQ in the ASP.NET application by setting properties in markup text. The LinqDataSource control uses LINQ to SQL to automatically generate the data commands. You are required to perform data operations by using the LinqDataSource control. What is the correct order in which data operations are applied?

GSSP-NET-CSHARP Question 69

Options:
A.

Questions 70

Which of the following APIs is used to collect information about any running state and any errors that occur within an ASP.NET application?

Options:
A.

Profile API

B.

Health Monitoring API

C.

Error Handling API

D.

Personalization API

GIAC Related Exams

GIAC Free Exams

GIAC Free Exams
Prepare for GIAC certification with free access to reliable study resources and practice tests at Examstrack.