PrepAway - Latest Free Exam Questions & Answers

Tag: 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 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 testing and stabilization of applications. Domain.com operates in the international retail environment. You are currently developing an order fulfillment solution for Domain.com. In this solution, the Domain.com customer’s order is represented by the Order class. The Order class has a property named Status. It is possible to set Status to one of the following enumeration members:
1. Created – the order has been created.
2. BackOrdered – the order has been placed on backorder.
3. Scheduled – the order is scheduled for delivery.
4. Cancelled – the order has been cancelled.
5. Shipped – the order has been shipped.
6. Delivered – the order has been delivered.

Domain.com works in joint ventures with courier companies world-wide due to the nature of the business. A method named Ship is implemented to invoke a Web method of an Extensible Markup Language (XML) Web service at these courier companies. The courier companies are then responsible for the delivery of the order. When the Ship method is called, the Status property is set to Shipped. You are required to unit test the Ship method to ensure that the test passes.

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 creation and assessment of serviced components form part of your responsibilities at Domain.com. After receiving the instruction, you complied and have just created a private message queue on an application server. You have configured the message queue in such a way than whenever a message arrives in the queue, you will need to simultaneously run two executables to process the message. To this end you need to create a rule or more rules and triggers to ensure that these two executables run simultaneously when a message arrives in the queue.

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 currently creating a message queue programmatically. This message queue will be accessed by two applications. Each message represents an instance of a public class named OrderInfo. The OrderInfo class does not derive from ServicedComponent, and it does not implement any interfaces. You need to ensure that the state of the class is preserved when a message is sent to and received from the message queue. This state of the class would include the values of private members. The message receiving application understands only the basic .NET Framework classes, and the OrderInfo class. To this end you need to specify the formatter that will be used to serialize and dessserialize messages.

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 have received instruction to develop and order fulfillment application. This order fulfillment application must send multiple messages to the queue in the case of it receiving an order. After the application sends the messages to the queue, it must update an inventory database accordingly. In the event of an error occurring for one of the messages while it is busy updating the database, the application must automatically remove all messages that were sent for the current order. In the event of the database update being successful, another application on the same computer must read and process the messages. Only these two applications must be allowed to access the messages.
Now you need to create the message queue manually.

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 Extensible Markup Language (XML) Web Services forms part of your responsibilities at Domain.com. You are currently developing an Extensible Markup Language (XML) Web Service that will allow Domain.com to locate the delivery trucks that it provides to companies. The Web service clients will send a similar request to the one illustrated below:

<soap:envelope>
<soap:body>
<GetLocation xmins=urn:gov:DOT”>
<mobilePhoneNumber>000-000-0000</mobilePhoneNumber> </GetLocation>
</soap:body>
<soap:envelope>

To this end you need to configure the attribute to enable it to support the SOAP request.
What should you do? (Each correct answer presents part of the solution. Choose two.)

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 have developed a serviced component that will be used by both managed and unmanaged applications within Domain.com. A remote computer will be hosting this serviced component. The serviced component will be accessible through DCOM. The computers that host the client applications have the .NET Framework 2.0 installed. You have received instruction to allow both managed and unmanaged client applications to reference the serviced component.

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 implemented a strong-named managed assembly that makes use of Enterprise Services. The assembly is not registered for use within a COM+ context. And no RunInstaller attributes have been applied to any of the classes in the assembly. You have been instructed to register the assembly with COM+ to accommodate the COM clients.

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. Domain.com operates as a realtor and property management company. The exhibit below illustrates the currently existing class definition:

public class PropertyManager : ServicedComponent
{
public void MoveInNewCustomer(Customer customer, Unit unit) {}
}

Client applications call the MoveInNewCustomer method to move a new customer into a unit. You have been instructed to ensure that this process occurs within the context of a transaction. If a transaction does not already exist when this method is called, a transaction should be created. Only in the event of an exception being thrown; would you want the transaction to abort.
To this end you need to modify the class to meet these requirements.

What should you do? (Choose the correct code segment.)

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. Domain.com operates as an Internet Auctioneer. The development and deployment of Microsoft.NET Remoting components forms part of your responsibilities at Domain.com. You have been instructed to develop an OrderProcessor class that is responsible for charging a customer’s credit card, notifying the shipping department of the particular product that must be shipped, as well as updating the product inventory database. A COM+ application will be hosting the OrderProcessor class. To this end you need to create the class definition.

What should you do? (Choose the appropriate code segment.)

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 Microsoft Windows Forms client application that will retrieve data from an Extensible Markup Language (XML) Web Service. This XML Web Services requires Kerberos authentication. To this end you use the Web Services Enhancements (WSE) 3.0 proxy generation tool (wsewsdl3.exe) to generate a proxy to the Web service. You then create a policy file named policies.config. Policies.config specifies the authentication requirements.
You now need to specify the policy file in the app.config file.

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


Page 38 of 40« First...102030...3637383940