PrepAway - Latest Free Exam Questions & Answers

Category: 70-554

Exam 70-554: UPGRADE: MCSD Microsoft .NET Skills to MCPD Enterprise Application Developer by Using the Microsoft .NET Framework: Part 2

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 Extensible Markup Language (XML) Web Services forms part of your responsibilities at Domain.com. You are currently implementing two SOAP extension classes named EncryptionExtension and CompressionExtension respectively. These two classes encrypt and compress outgoing SOAP messages, and exist in the SoapUtilities namespace in an assembly named SoapUtilities.dll.
You are required to modify the Web.config file for an Extensible Markup Language (XML) Web Service
To ensure that encryption will occur prior to compression for the SOAP messages that are returned from that service.

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

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 Extensible Markup Language (XML) Web Services forms part of your responsibilities at Domain.com. You are currently generating a proxy making use of Microsoft Visual Studio 2005 for a Web Services Enhancements (WSE) 3.0-enabled Extensible Markup Language (XML) Web Service in a client application. Unfortunately you did not have the WSE framework installed on your computer at that stage. You thus need to add the custom code to the proxy. At present your application references the following assemblies:
1. System
2. System Configuration
3. System Data System Deployment
4. System Drawing
5. System Web Services
6. System Windows Forms
7. SystemXml
At this stage you install the WSE 3.0 framework on your computer, and in addition you also added the reference to the required WSE 3.0 assemblies to your application. Now you need to make changes to your project to enable you to dynamically apply WSE 3.0 policies to all outgoing SOAP requests. You must ensure that you do not remove any of the custom code that has already been written.

What should you do?

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 busy developing a client application that will access a Microsoft.NET Remoting messenger application. The messenger application will allow messages to be sent between client applications. A remote class named RemoteMessenger exposes a remote event named MessageReceived. This event will be raised in the event of a client application calling the SendMessage method of the RemoteMessenger class.
A client event sink class named MessengerEventSink handles the remote MessageReceived event in an event handler named OnMessageReceived. In the OnMessage Received handler, the MessengerEventSink class raises its own MessageReceived event.
You are required to allow the client application to be notified as well as log messages when messages are sent through the messenger application. You should take care to not modify the RemoteMessenger class or the MessengerEventSink class.

What should you do?

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 Microsoft.NET Remoting components forms part of your responsibilities at Domain.com. You are busy developing a Microsoft.NET Remoting component that will allow messages to be sent between client applications. To this end you are creating an event named MessageReceived. Message Received is configured to accept two parameters:
1. An Object instance that represents the object that raised the event.
2. A MessageReceivedEventArgs instance that will contain the data about the message that was sent.
You need to enable the client applications to receive details about a message that was sent. You thus need to code the MessageReceivedEventArgs class accordingly.

What should you do?

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 busy developing a Microsoft Windows Form application that will access a Microsoft.NET Remoting component. In the event of a user clicking the Print button on a form, the application must call a remote method asynchronously to print a batch of invoices. The application you are developing must allow users the ability to perform other tasks while the invoices are being printed. Once all of the invoices have been printed, the application must interrupt the user by displaying a message box, notifying the user of the status of the invoice printing.
You thus need to implement the functionality to meet all these requirements.

What should you do?

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 Microsoft.NET Remoting components forms part of your responsibilities at Domain.com. You have just completed the development of a Microsoft.NET Remoting component. You now need to call a remote method asynchronously and obtain an IAsyncResult instance as a result. You thus need to perform additional processing while the asynchronous operation is taking place.

What should you do?

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 implementation of asynchronous calls and remoting events form part of your responsibilities at Domain.com. You have created a Microsoft.NET Remoting component that will import data into a database. The Microsot.NET Remoting component seems to work but you had complaints regarding sluggish client-side performance. To this end you need to apply the OneWay attribute to methods in the component so as to improve the client-side performance.

What should you do?

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 of client applications forms part of your responsibilities at Domain.com. You are currently developing a client application that will use Microsoft.NET Remoting to access functionality implemented by a remote component. This remote component is exposed through the HyperText Transfer Protocol (HTTP) channel. Furthermore the remote component will make use of the default formatter to serialize and deserialize data. You now need to configure the client application in such a way so as to enable it to serialize data in a form that is expected by the remote component. You may not use custom channels and formatters.

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

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 Microsoft.NET Remoting components forms part of your responsibilities at Domain.com. You are currently developing a Microsoft.NET Remoting component that will be used to accept connections over a binary inter-process communication (IPC) channel. You make use of a configuration file to configure the remote host application for .NET Remoting. The component works as expected when you test the component from a client application after you have done the configuration. You then implement an event to notify client implications about any changes to the state of the component. The delegate that declares the event specifies an EventArgs-derived class named StateChangeEventArgs as its second parameter. This now results in a SecurityException instance being invoked when a client application attempts to attach a delegate to the event. This SecurityException instance is thrown with the following message:
Type System.DelegateSerializationHolder and the types derived from it (such as SystemDelegateSerializationHolder) are not permitted to be serialized at this security level.
You need to prevent this exception from being thrown.

What should you do?

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 Microsoft.NET Remoting components forms part of your responsibilities at Domain.com. You have just completed developing a Microsoft.NET Remoting component that will be used by applications within Domain.com. Microsoft Internet Information Services (IIS) 6.0 will be hosting the component. You need to specify a channel and formatter to use so that successful communication can take place between the applications and the remote component.

What should you do?


Page 14 of 43« First...1213141516...203040...Last »