PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What should you do?

You create an application for your business partners to submit purchase orders. The application deserializes XML documents sent by your partners into instances of an object named PurchaseOrder. You need to modify the application so that it collects details if the deserialization process encounters any XML content that fails to map to public members of the PurchaseOrder object.
What should you do?

Which approach should you choose?

You are an enterprise application developer. You create a large-scale, managed application that needs a consistent approach to event logging. The application must format and log events to 20 destinations. Events from 15 sources must be collated onto a single computer. The application must perform the following tasks: Maintain consistent logging and instrumentation practices, both
within an application and across the enterprise.Ease the learning curve for developers by using a consistent architectural model.Support custom implementations of formatters and event sinks.Generate log entries as discrete events or as part of a traced process. You need to select an appropriate implementation approach. Which approach should you choose?

What should you conclude to evaluate whether your teams deployment plan meets the requirements and recommend a

You are an enterprise application developer. You create a three-tier Web-based application that accesses 10 external Web services to retrieve currency rates. You need to calculate product prices in ten currencies. A smart client invoicing application accesses the business tier to retrieve and use the product prices in 10 currencies. The business tier calls the 10 external Web services. You create a separate service agent component to encapsulate the logic of which Web service to call. This component also makes it easier to change the Web references when required. Your team plans to deploy this service agent in the Web presentation tier. You need to evaluate whether your teams deployment plan meets the requirements and recommend accordingly. What should you conclude?

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 design and development of application frameworks. Domain.com operates as a medical technological company that manufactures electronic scanning equipment for medical use. You are currently developing a Microsoft Windows Forms application. This application is destined to allow doctors to perform computed Axial Tomography (CAT) scans on patients. When a CAT scan is carried out, it takes over 1,000 two-dimensional scans that are combined to create a three-dimensional image. It takes no more than two seconds to make a two-dimensional scan, however it also takes approximately 20 seconds to combine each image. The Microsoft Windows Forms application that you are developing must allow doctors to take the two-dimensional scans without requiring the patients to wait for a long time. You thus need to choose the appropriate component to meet this requirement.

What should you do? (Choose the correct component.)

What should you do?

You create a class library that contains the class hierarchy defined in the following code segment. (Line numbers are included for reference only.)

01 Public Class Group
02 Public Employees As Employee()
03 End Class
05 Public Class Employee
06 Public Name As String
07 End Class
09 Public Class Manager
10 Inherits Employee
11 Public Level As Integer
12 End Class

You create an instance of the Group class. You populate the fields of the instance. When you attempt to serialize the instance by using the Serialize method of the XmlSerializer class, you receive InvalidOperationException. You also receive the following error message: “There was an error generating the XML document.” You need to modify the code segment so that you can successfully serialize instances of the Group class by using the XmlSerializer class. You also need to ensure that the XML output contains an element for all public fields in the class hierarchy. What should you do?

Which monitoring mechanism should you use?

You are an enterprise application developer. You are designing a monitoring mechanism for an enterprise application. You need to ensure that the monitoring mechanism meets the following requirements: Logs errors and warningsConfigures source for eventsEnables logging for particular countersTraces the execution path of a process through multiple physical tiers Which monitoring mechanism should you use?

What should you do?

You work as the Microsoft.NET 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.
The development and deployment of Client applications forms part of your responsibilities at Domain.com. You are currently developing a client application that will retrieve data from two Extensible Markup Language (XML) Web Services.
1. The one Web service requires the use of username/password authentication.
2. The other Web service requires the use of Kerberos authentication. You make use of the Web Services Enhancements (WSE) 3.0 proxy generation tool (wsewsdl3.exe) to generate the proxies to the two Web services that requires the different authentications. To this end you create a policy file that specifies the authentication requirements. Now you need to ensure that the requirements are enforces when you call each of the Web services.
What should you do? (Each correct answer presents part of the solution. Choose two.)