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 code fragment should you add?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You write the following code segment.

namespace MyServices
{
[ServiceContract()]
interface IManageOrders
{

}
}
The service metadata must be exposed at the relative address named meta.

You need to add an endpoint element to the app.config file of the service host. Which code fragment should you add?

Which code segment should you insert at line 08?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. The service has an operation contract named GetMessage. You write the following code segment to implement the service. (Line numbers are included for reference only.)

01 public Message GetMessage()
02 {
03 Message msg=null;
04 string action=”GetMessageResponse”;
05 MessageVersion ver=MessageVersion.Default;
06 FileStream stream=new FileStream(@”D:\File.xml”, 07 FileMode.OpenOrCreate);
08
09 return msg;
10 }

You need to send the contents of the File.xml file to a client application by using the SOAP body.
Which code segment should you insert at line 08?

What should you do?

You create a Windows Communication Foundation (WCF) application by using Microsoft Visual Studio 2008 and the .NET Framework 3.5. You create a WCF service by using the following code segment. (Line numbers are included for reference only.)

01 [ServiceContract]
02 public interface IContosoService
03 {
04 [OperationContract]
06 void ProcessTransaction();
07 }
09 public class ContosoService : IContosoService
10 {
11 public void ProcessTransaction() {
12 try {
13 BusinessComponent.ProcessTransaction();
14 }
15 catch (ApplicationException appEx) {
17 }
18 }
19 }

The BusinessComponent.ProcessTransaction method will only throw exceptions from the ApplicationException type. You plan to debug the WCF service. You need to ensure that the WCF service meets the following requirements:

Detailed exception information is provided to the client application. Subsequent calls can be issued to the service by using the same proxy intance after an exception is caught in the client application. What should you do?

What should you do?

You create an application by using Microsoft Visual Studio 2008 and the .NET Framework 3.5.

The application is hosted on a Web server that runs Microsoft Windows Server 2003. It connects to a third-party system by using Web service calls. The third-party system experiences occasional unplanned outages. When a system outage occurs, the application must perform the following tasks:

Log error details.
Notify an on-call technician.

You need to develop a strategy to perform the required tasks. What should you do?

What should you do?

You create an application by using Microsoft Visual Studio .NET 2008 andthe .NET Framework 3.5. You plan to create the presentation layer of the application. Users will access the application

on Windows Vista client computers that have the .NET Framework 3.5 installed. You need to ensure that the application meets the following requirements:

It runs in Microsoft Internet Explorer.
It provides maximum usability by using 3D graphics and animations. It does not require additional components to be installed on the client computers. What should you do?

What should you do?

You create a logging utility class by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. The class writes logs to event log services. You need to ensure that the client applications that use the class can create an instance of the class only if they have permissions to write to the event log services. 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 application exposes a Windows Communication Foundation (WCF) Web service. The Web service is consumed by third-party applications. You need to ensure that the WCF service provides interoperable and secure end-to-end communications. What should you do?

Which technology should you use?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. You have a pre-defined database schema. You plan to design a business object layer in the application. The business object layer must map each database table in the schema to an object in the layer. The application must provide support for different database providers. You need to identify a technology to implement the business object layer by using the minimum amount of development effort. Which technology should you use?

Which authentication mechanism should you use?

You create an ASP.NET application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. The application will be deployed to a Microsoft Windows Server 2008 server. Intranet users will access the application by using Windows Vista client computers. The Web server, client computers, and Windows user accounts are located in the same Active Directory.

You need to identify an appropriate authentication mechanism that meets the following requirements:

Supports security impersonation and delegation.
Avoids passing user credentials as clear text.

Which authentication mechanism should you use?


Page 5 of 14« First...34567...10...Last »