PrepAway - Latest Free Exam Questions & Answers

Category: 70-549

Exam 70-549: PRO: Designing and Developing Enterprise Applications by Using the Microsoft .NET Framework

What should you do?

You are an enterprise application developer. You plan to evaluate the performance of an ASP.NET application. You review a performance monitoring log. You notice that the ASP.NET Worker Process Restarts performance counter shows a consistent measure over several days. However, the performance counter spikes unexpectedly at irregular intervals. You need to provide the following information: An explanation for the performance spike.A plan to ensure that
the performance spike does not recur. What should you do?

What should you do?

You are an enterprise application developer. You are designing a component that will perform the following tasks: Read data from a transaction that accesses multiple data sources.Display a computed result to the user. The component contains the following routines: A routine that displays the returned dataA routine that retrieves the transacted data You want data to be displayed only when the results are complete. You need to design the component to use the threading architecture to optimize performance and to minimize the usage of resources. What should you do?

Which code fragment should you use?

You are an enterprise application developer. You create a component that has a method named IsPrinterLicensed. The method invokes a Web service named printLicensing. The Web service provides a method named checkLicense. You want to recieve the feedback from the Web service when the call to the Web service is completed. You write the following code segment. void pl_Completed(Object sender, printLicense.checkLicenseCompletedEventArgs args){ bool Result
= args.Result; // process result} You need to invoke the Web service asynchronously. You also need to ensure that the component is notified when the call to the Web service is completed.
Which code fragment should you use?

Which assembly/assemblies should you include?

You are an enterprise application developer. You create an ASP.NET application that calls a .NET remoting object named TradingEngine. The object implements an interface named ITradingEngine. This interface defines a method that returns a SecurityDataTable object. The application types are partitioned into assemblies in the following manner: The TradingEngine class is implemented in an assembly named TradingEngineLib.The ITradingEngine interface is implemented in an assembly named TradingEngineInterfaceLib.The SecurityDataTable class is implemented in an assembly named TradingEntities. You need to identify the minimum set of assemblies necessary for deployment in the ASP.NET application. Which assembly/assemblies should you include?

Which namespace structure should you use?

You are an enterprise application developer. You develop an application for a food store subsidiary of a company named Contoso, Ltd. The application contains the following components: ASP.NET applicationBusiness entitiesBusiness componentsData access layerLoggingData access helper The application design must meet the following requirements:
Use an N-tier environmentUse components that can be reusedUse assembly names that map to the first three sections of the namespaces You need to identify the structure of the namespaces.
Which namespace structure should you use?

What should you do?

You are an enterprise application developer. You are creating a component that will be used to analyze various data sources. The component performs the following tasks in sequence: It accepts data from multiple online sources.It analyzes the data from each source.It returns a computed aggregate value. The types of data sources can change over the life of the component. You need to design the component to improve scalability. You also need to ensure that the component design allows for addition of data sources in future and also for modifications in the existing data sources. What should you do?

What should you do?

You are an enterprise application developer. You are working on an enterprise-wide reporting application. The physical design of the application currently requires four servers that must be configured in the following manner: Two application servers as a failover cluster in the application
tierTwo database servers as a failover cluster in the data tier You need to evaluate the physical design for maximum utilization of the servers and provide a solution that is scalable. What should you do?

Which three tasks should you perform?

You are an enterprise application developer. You are creating a component that will be deployed as part of a class library. The component must meet the following specifications: The interface of the component must be accessible to components outside the hosting assembly.The interface of the component must be interoperable with components written in any other .NET Framework languages.The implementation of the component cannot be expanded upon by a derived class. You need to design the interface of the component. Which three tasks should you perform? (Each correct answer presents part of the solution. Choose three.)

What should you conclude and recommend?

You are an enterprise application developer. You are manipulating a collection of customer, product, and supplier objects. The collection objects must fulfill the following requirements: The objects must use custom sort methods on different properties of the respective classes.The objects must be strongly typed. A developer from your team decides to use the following collection classes. abstract class MyCollectionBase : System.Collections.CollectionBase { abstract public void Sort();}public class CustomerCollection : MyCollectionBase { //Code overriding CollectionBase methods public override void Sort(){ //Customer sorting code }}public
class SupplierCollection :
MyCollectionBase { //Code overriding CollectionBase methods public override void Sort(){ //Supplier sorting code }}public class ProductCollection : MyCollectionBase { //Code overriding CollectionBase methods public override void Sort(){ //Product sorting code }} You need to review
the code and recommend improvements to simplify maintenance, if necessary. What should you conclude and recommend?

What should you conclude?

You are an enterprise application developer. You create a layered enterprise application that consists of a user interface layer, a business layer, and a data layer. The user interface layer is currently implemented as a smart client. End users now also need to access the enterprise application over the Web. To permit this, you create a Web client application. You also create a user interface process layer as a separate assembly. This assembly encapsulates the validation rules that apply to the end user interaction with the system. In the new version of the application, all user interfaces will use the new user interface process layer. The implementation of the new version of the application is as shown in the following diagram. (Click the Exhibit button.) Your team plans to deploy the user interface process assembly on the Web server. You need to evaluate whether the deployment plan fulfills the requirements and recommend change, if required. What should you conclude?


Page 9 of 21« First...7891011...20...Last »