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 are creating a Web service for the application. A Web service method will implement the following validation rules: Non-critical validation rules
return a warningCritical validation rules return an immediate error You create a diagram that displays the application flow as shown in the exhibit. (Click the Exhibit button.) The application contains a rule base class to abstract a validation rule and an execute method to perform validation. A critical validation error in the execution of the method will terminate the validation cycle and throw a custom exception. The Web service method must include warnings from all previous validation rules in a single response. You need to modify the diagram to incorporate the necessary corrections. What should you do?

What should you do?

You are an enterprise application developer. You plan to design the component architecture of a new large-scale application. You need to design a component architecture to meet the following requirements: Class objects must consist of multiple aggregate objects.Multiple aggregate objects must be instantiated only through the object that is enclosed within the class.Certain aggregate objects must be directly instantiated by user code.Multiple aggregate objects must allow user code to override properties within the object.All class objects must be versioned together. What should you do?

Which type of object(s) should you choose?

You are an enterprise application developer. You are creating a distributed application. The application transfers a parent table and a child table from a business component. The application modifies the two tables and transfers updates to the business component. The distributed application must enforce the constraints for referential integrity. The components must provide access to values of the correct type at compile time. You need to identify the type of object for serialization. Which type of object(s) should you choose?

What should you do?

You are an enterprise application developer. You are reviewing the following code segment.
(Line
numbers are included for reference only.)
01 public class MyResource: IDisposable {02 03 private bool disposed = false;04 05 public void Dispose() {06 Dispose(true);07 }08 09 private void Dispose(bool disposing) {10 if(!this.disposed) {11 if(disposing) {12 ReleaseManagedResources();13 }14 ReleaseUnmanagedResources();15 disposed = true;16 }17 }18 19 ~MyResource() {20 ReleaseManagedResources();21 ReleaseUnmanagedResources();22 }23 } You discover that the Dispose pattern is implemented incorrectly. You need to modify the code segment to ensure that the dispose pattern is implemented correctly. What should you do?

What should you do?

You are an enterprise application developer. You develop an application that contains a service component that is exposed as a Web service. You plan to expose the service component by using Remoting and Microsoft Message Queuing (MSMQ). You need to test the service component. You also need to ensure that the tests can be reused, regardless of the technology used for communication. What should you do?

What should you do?

You are an enterprise application developer. You review the design of a component. The component processes billing for an online store application. The application is developed by using
ASP.NET 2.0. The component must be highly available during business hours. You need to ensure that the component meets the following requirements: It reads all orders that must be billed. It sends an e-mail notification to the users.It receives confirmation for credit card and bank account transactions. What should you do?

What should you do?

You are an enterprise application developer. You are creating an ASP.NET Web service. You identify an existing COM component that provides the necessary functionality required by your Web service. You need to wrap the COM component so that it can be accessed by your Web service. You also need to minimize marshalling overhead. What should you do?

Which two actions should you perform?

You are an enterprise application developer. You are designing an event logging mechanism for a serviced component. You need to ensure that the event logging mechanism meets the following requirements: All exception data must be logged after the deployment of the serviced component.Access to methods that handle mathematical computations must be logged during development only. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)


Page 12 of 21« First...1011121314...20...Last »