PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which two actions should you recommend?

You are an enterprise application developer. You create a component that generates medical documents. Your component is used by multiple document management systems. Users generate documents throughout the entire day and most documents are generated during business hours. You notice that user load is increasing and performance is degrading. You need to identify sections of code on which to focus performance tuning efforts. Which two actions should you recommend? (Each correct answer presents part of the solution. Choose two.)

Which code segment should you add at line 05?

You need to activate a Microsoft Office 2007 form template named SalesTemplate in a site collection. You write the following code segment:

01: Dim siteColl As New SPSite(“http://companysite”)
02: Dim services As SPServiceCollection = SPFarm.Local.Services
03: For Each service As SPService in services
04: Dim formService As FormService = DirectCast(service, formService)
05:
06: Next

Which code segment should you add at line 05?

What should you do?

You are an enterprise application developer. You are creating a component that processes loan requests. Your component will be used inside Microsoft Windows Forms client applications. The loan request form is complex and time consuming to complete. Loan data is saved to a Microsoft SQL Server 2005 database. You need to ensure that in case of a system failure the loan officer does not need to re-enter any loan data. What should you do?

What should you do?

Your Web site uses custom Themes. Your Web site must support additional Themes based on the user’s company name. The company name is set when a user logs on to the Web site. The company’s Theme name is stored in a variable named ThemeName. You need to use this variable to dynamically set the Web site’s Theme. What should you do?

What should you do?

You are an enterprise application developer. You are creating a .NET Remoting component. The Version 1.0 of the component is deployed as a well-known server-activated object. The strong- named component is installed into the global assembly cache. Ten distributed applications in your
company utilize the component, and each application has an independent schedule for upgrades and deployment. You add new features to the component. These additions will change the signatures of the public methods on the component. You need to devise a deployment strategy for the component. What should you do?

Which two actions should you perform?

You create a Web Form. The Web Form calls a method as part of its processing. The method takes a long time to process. In addition, the other Web Forms in the ASP.NET Web site are now taking longer to process. You need to decrease the page response times by executing the long running method in parallel to other requests. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)