Which event should you use?
You create a Web application. The Web application enables users to change fields in their personal profiles. Some of the changes are not persisting in the database. You need to raise a custom event to track each change that is made to a user profile so that you can locate the error.
Which event should you use?
Which feature should you choose?
You are an enterprise application developer. You create a Microsoft Windows-based service application.
The application must perform the following tasks:
* Monitor running processes for critical events.
* Log critical events to an e-mail and send the e-mail to the system administrators.
* Record and include stack information as part of the critical event.
You must be able to configure application event logging at run time. Application event logging must have minimal impact on runtime performance. You need to choose an appropriate monitoring feature to fulfill these requirements. Which feature should you choose?
What should you do?
You create a Web site that is for members only. The behavior of the Web site changes according to the role of the user. The Web site uses the ASP.NET Membership control for creation of user accounts. You need to find out whether a user is a member of a particular role. What should you do?
What should you do?
You are an enterprise application developer. You create 10 applications. Your companys application server will host the applications. You are responsible for designing a monitoring solution for the applications.
Your monitoring solution must meet the following criteria:
* The solution must be reusable.
* The solution must aggregate all data into one display.
You need to design a solution to meet the requirements. What should you do?
which event handler should you write the code?
You create a Web Form. The Web Form allows users to log on to an application. You include a Login control named Login1 on the Web Form. You need to write code in one of Login1’s event handlers. This code must implement your custom logic that validates the user’s credentials. In which event handler should you write the code?
Which component type should you choose?
You are an enterprise application developer. A Web-based application manages the employee information in your company. A rapid increase in the number of employees renders scalability difficult. You must suggest a component strategy that permits the application to scale as the number of employees grows.
The component must implement the following application features:
* It resides completely behind a company firewall.
* It has complex transactional and auditing requirements.
* It operates across multiple servers within the company.
* It provides runtime identity services for each employee.
You need to choose a component type that implements these features in a scalable manner. You need to achieve this goal by using the least coding effort. Which component type should you choose?
Which code segment should you use?
You create the following Web user control named ErrorMessages.
<%@ Control Language=”VB” AutoEventWireup=”false”
CodeFile=”ErrorMessages.ascx.vb” Inherits=”ErrorMessages” %> <script>
Protected m_Text As String = “This is a default message!”
Public Property Text() As String
Get
Return m_Text
End Get
Set(ByVal value As String)
m_Text = value
End Set
End Property
</script>
The ErrorMessages control uses a public property that displays the error message. You need to change the default error message property on the Web Form in which the control is implemented. Which code segment should you use?
What should you choose?
You are an enterprise application developer. You are developing several Web services that are accessed by smart client applications. The Web services might be installed on different Web servers. The smart client applications must authenticate users by using credentials issued by a single sign-on service. The single sign-on service was developed by a different group in your organization.
The security policy of the application includes the following requirements:
* User identity must be transmitted across application boundaries.
* User identity must be logged for auditing purposes.
You need to choose a strategy to propagate user information securely across the application boundaries.
What should you choose?
What should you do?
You are transferring records from one database to another. You need to decide whether you can use the SqlBulkCopy class to transfer the records. What should you do?
What should you choose?
You are an enterprise application developer. You create a distributed invoicing solution. Operating requirements state that the memory that is used by the Microsoft Windows-based applications must not exceed a specified value. Technology requirements state that all execution failures must be reported.
The Windows-based application must meet the following criteria:
* Alert system administrators when the memory usage reaches a critical value.
* Alert system administrators when a technical exception occurs.
* Log processor and disk space usage on all client computers.
You need to select an event management implementation to meet the criteria. What should you choose?