Which code segment should you use?
You create a Web Form. You add the following CreateUserWizard server control to the Web Form.
<asp:CreateUserWizard runat=”server” ID=”CU1″
FinishCompleteButtonText=”Continue”>
<WizardSteps>
<asp:CreateUserWizardStep ID=”CWS1″ Runat=”server”
Title=”New Account”/>
<asp:WizardStep ID=”CWS2″ Title=”More Info” StepType=”Step”> Given Name:<asp:TextBox runat=”server” ID=”txtGivenName” /> Last Surname:<asp:TextBox runat=”server” ID=”txtSurname” /> </asp:WizardStep>
<asp:CompleteWizardStep ID=”CWS3″ Runat=”server”
Title=”Complete”/>
</WizardSteps>
</asp:CreateUserWizard>
You need to write code that redirects users to the first page of the wizard after they click the Continue button on the last page. Which code segment should you use?
Which methods should you use?
You are an enterprise application developer. You are designing a new component to prioritize security requirements and performance. The component contains methods as shown in the following table. Method NameFunctionBuildCompositeInputConsolidates input to the component
from other components.BuildPrivateInputInputs data that is private to other component routines.UserInputInputs data from the user. You need to identify the methods that require run time validation of inputs. You also need to ensure that these methods do not add performance overhead. Which methods should you use?
What conclusion can you draw?
You work as the Enterprise application developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003. Your responsibilities at Domain.com include the support and deployment of applications.
Domain.com operates as a credit bureau.
You are currently developing an Extensible Markup Language (XML) Web service that is destined to allow companies to retrieve credit reports from Domain.com. You created a Performance Session in Microsoft Visual Studio 2005 Team Edition for Software Developers. Following are the measurements you obtained from a Web method named ObtainCreditReport:
* When the Web method is called once: execution time for the method is measured to be 8,340.211 milliseconds memory consumption is measured to be 10,200 Kilobytes (K).
* When the Web method is called twice: total execution time for the method is measured to be 33,360.844 milliseconds memory consumption is measured to be 10.296K.
* When the Web method is called thrice: total execution time for the method is measured to be 133,443.376 milliseconds memory consumption is measured to be 10,264 K.
You need to analyze the performance trends.
What conclusion can you draw?
What should you do?
You deploy Groove Server Manager without the Groove Audit Service. You need to monitor the content of all Groove instant messages sent between members and the changes to workspaces made by all members. 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 strategy should you use?
You are an enterprise application developer. You plan to create a data access layer for an application. The application will store the data in a relational database. The application supports multiple database implementations. The application must use the vendor-provided database interaction component libraries whenever they are available. You need to identify a strategy to access data that supports these criteria. Which strategy should you use?
What should you do?
You work as the Enterprise application developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003. Your responsibilities at Domain.com include the support and deployment of applications. You completed the development of a Microsoft ASP.NET Web application using Microsoft Visual Studio 2005 Team Edition for Software Developers. You then deploy the Microsoft ASP.NET Web application to a production server. Then you discover that the central processing unit (CPU) usage on the Web server sometimes reaches 100%. You then assume that the Web application can be the cause of the sudden increase of CPU usage, but you have no idea of where in the application the problem can be.
You now need to ascertain the reason why this performance spike occurs.
What should you do?
What should your first step be?
You work as the Enterprise application developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003. Your responsibilities at Domain.com include the testing and stabilization of applications.
Domain.com operates as a retailer. You are currently developing a sales management application. You are making use of Microsoft ASP.NET Web and the application will be hosted on a Production Web server that runs Microsoft Internet Information Services (IIS) 6.0. Another Domain.com tester named Rory Allen discovered a bug and reported as follows:
If 30 users access the application simultaneously, an error page is displayed. At present this is unacceptable since Domain.com requirements state that the application should support up to 60 concurrent users. You are thus required to address the issue. To this end you need to reproduce and isolate the bug.
What should your first step be?
Which command should you run?
You plan to install Groove Server Relay. You need to confirm that your server hard disks meet the throughput requirements for Groove Server Relay. Which command should you run?
Which two actions should you perform?
You are creating a custom user control. The custom user control will be used on 10 Web Forms for an ASP.NET Web site that allows users to register and log on to a personalized experience. The custom user control uses two TextBox controls and two Button controls. You need to ensure that the controls are visible only when users are not logged on to the Web site. You also need to minimize the amount of effort in development and maintenance for the Web site. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)