PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What should you do?

You are an enterprise application developer. You are creating a Microsoft Windows-based client application that manages investment portfolios and permits users to monitor stock market data. The application must meet the following requirements:

It must provide asynchronous processing of transactions. It must prevent pending transactions from blocking new transactions.
It must execute transactions immediately.

You need to use an appropriate component implementation approach to meet the requirements.
What should you do?

What should you do?

You are an enterprise application developer. You create a Microsoft Windows client application that consumes a third-party Web service. The Web service is secure and requires user credentials to be passed through SOAP headers. The Web service is currently in its beta. The URL of the Web service will change after it goes live. The beta Web service will be available after the Web service goes live. You need to ensure that the Windows application can switch between the beta version and the live version of the Web service, if required. You need to achieve this goal by using the least maintenance and coding effort. What should you do?

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 Employee[] Employees;
03 }
04 public class Employee {
05 public string Name;
06 }
07 public class Manager : Employee {
08 public int Level;
09 }

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 option should you choose?

You are an enterprise application developer. You create a Microsoft Windows-based application for a high-volume call center.
The Windows-based application performs the following tasks:

The application manages incoming customer calls and requests. The application delivers event information to a company server that consolidates the call statistics into reports.

Your design team recommends an event logging solution for the application to meet the following
requirements:

Minimize customer wait times and increase the number of calls that are handled during the workdays.
Record and log all user activity for historical reporting and auditing. Reliably deliver all event information to a central server. Consolidate all event information on a central server.

You need to identify a delivery mechanism and a data storage solution for event information.
Which option should you choose?