PrepAway - Latest Free Exam Questions & Answers

Category: 70-569

Exam 70-569: UPGRADE: Transition your MCPD Enterprise Application Developer Skills to MCPD Enterprise Application Developer 3.5, Part 2

Which binding object should you use?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. The application exposes a Windows Communication Foundation (WCF) service that will be consumed by an ASP.NET application. The WCF application and the ASP.NET application will be

deployed on the same server. You need to ensure that the WCF service meets the following requirements:

The communication between the applications incurs minimum latency.
The binding satisfies the ordered delivery constraint that is specified in the service implementation by using the DeliveryRequirements attribute.

Which binding object should you use?

What should you do?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. Users access the application by using Windows-based client applications or Web-based client applications. All client applications share common business logic to handle transaction processing requests. You need to ensure that the application is easy to maintain. What should you do?

What should you do?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. The component will return custom business objects. You plan to develop a design strategy that meets the following requirements:

The component can be accessed by the .NET Windows applications and JavaScript-based Web applications. The component can be consumed by the client applications by using the minimum amount of code. The least amount of network bandwidth is consumed. You need to implement the design strategy by using the minimum amount of development effort. What should you do?

Which strategy should you recommend?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. The ASP.NET application connects to a shared Microsoft SQL Server 2008 database instance. The application requires certain changes in the relationships represented in the data.

However, any changes to the database schema can break existing applications that share the database instance. You need to recommend a strategy that allows the application to make the required relationship changes without affecting the underlying database schema. You also need to ensure that the strategy uses the minimum amount of development effort. Which strategy should you recommend?

What should you do?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. The application stores human resources data in a Microsoft SQL Server 2008 database. A partial database schema is as shown in the exhibit. (Refer to the Exhibit.) Each time a row is added, modified, or deleted from the Employee table, a corresponding entry must be recorded in the EmployeeChangeLog table. You need to implement the data change logging. What should you do?

Which two tasks should you perform?

You create a Windows Communication Foundation client application by using Microsoft .NET Framework 3.5.
The client application communicates with an existing Web service that requires custom HTTP headers.
You need to ensure that all messages sent to the service include the headers.
Which two tasks should you perform? (Each correct answer presents part of the solution. Choose two.)

Which code segment should you insert at line 04?

You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You write the following code segment. (Line numbers are included for reference only.)

01 [ServiceContract(SessionMode=SessionMode.Required)]
02 public interface IOrderManager
03 {
05 void CloseOrder();
06 }

You need to decorate the operation as the method that closes the current session. Which code segment should you insert at line 04?

Which code segment should you use?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. The service will contain an enumeration named OrderState. The OrderState enumeration will contain the following four values:

Processing
Cancelled
Confirmed
Closed

The client application must be able to set the state of an Order entity to only the following two values:

Cancelled
Closed

You need to create the data contract for OrderState. Which code segment should you use?

Which code segment should you insert at line 05?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You create the following service contract. (Line numbers are included for reference only.)

01 [ServiceContract]
02 public interface IMyService
03 {
04 [OperationContract]
06 List<string> GetData(int index);
07 }

You need to ensure that the GetData operation can be accessed by using the URI in the following manner:

GetData/1 for the index value 1
GetData/2 for the index value 2
..
GetData/n for the index value n

Which code segment should you insert at line 05?


Page 6 of 14« First...45678...Last »