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 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 SOAP similar to the one illustrated below:

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

To this end you create a Web method named GetLocation and apply the appropriate SoapDocumentMethod attribute to this method. Now 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. Domain.com operates as a credit bureau.
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 legitimate third parties to access credit scores, pull credit records, and update credit information for customers. You need to implement a Web method named ObtainCreditScore. ObtainCreditScore should accept a String parameter and return an integer. You need to make use of Remote Procedure Call (RPC) style for this Web method; you also need to make use of the Document style for all Web methods that will be implemented. To this end you need to make use of the appropriate code segment for the Web service.
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 ASP.NET Web application development forms part of your responsibilities at Domain.com. You are currently developing an ASP.NET Web application that contains three Web services and eight Web pages. You further received instructions to deploy the application to a production server named Certkiller -SR03. You need to ensure that no human-readable code is stored on the Web server when you deploy the application.
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 Extensible Markup Language (XML) Web service development forms part of your responsibilities at Domain.com. You are currently developing an Extensible Markup Language (XML) Web Service that contains four Web methods. Each of these four methods accepts a different number of parameters and each method is configured to make use of remote procedure call (RPC) SOAP formatting. You must ensure that each of these four Web methods is capable of being exposed as a Web method by the Web service.

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. Domain.com is a Publishing and distribution company and works in joint ventures with many book stores that carries it products.
The provision of stock on hand updates to third party companies (the book stores) forms part of your responsibilities at Domain.com. You are currently developing an Extensible Markup Language (XML) Web Service that provides stock on hand updates. To this end you created a Web method named GetStock that accesses the third party company’s XML Web service to retrieve the required information. Following are some factors that you need to keep in mind:
1. The third parties’ XML Web Service updates it information regarding stocks once every hour.
2. Domain.com is charged for each call to the third party Web service. It is thus essential that you limit the number of calls that the Domain.com Web service makes to the third party company’s Web service:
1. Thus you apply the Webmethod attribute to the GetStock method.
2. You need to configure the attribute to limit the number of calls to the third party Web service.
3. You must ensure that no cookies are required.

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 following exhibit illustrates the class definition for a data processing Web service:
Exhibit:
[WebService(Namespace-“urn:DataProcessingService”)] Public class DataProcessingService : Webservice
{
[WebMethod(MessageName-“ProcessDataSet”)]
Public void Process(DataSet dataset)
{
}
}
You have been instructed to apply an attribute to the Process method that will result in an immediate return to the caller without invoking a SOAP response. You need to ensure that the attribute that you apply in your solution is Web Services-Interoperability (WS-1) compliant. You thus need to make use of a code segment.
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 access control to Web services is part of your responsibility. To this end you are currently exposing an existing class as an Extensible Markup Language (XML) Web service. You need to ensure that this Web service is accessible exclusively accessible to Web service clients within the Domain.com domain. To comply with this requirement you need to change the access modifiers on methods that must be exposed as Web methods.

What should you do?

What should you do?

A .NET Framework remoting server hosts a class library that contains the following class.

public class SimpleMathClass : MarshalByRefObject
{
public void LogData(DataRow dr)
{
//Lengthy database calls …
}
}

Users of a Windows-based client application report that the application often becomes nonresponsive.
You discover that the application makes calls to the LogData method that take several seconds to return.
You need to ensure that calls to the LogData method can be processed without causing the client application to become nonresponsive.

What should you do?

What should you do?

A .NET Framework remoting application must host two linked-list collections, including one collection of integers and one collection of strings.
Both collections must be instances of a single collection type.
The application must be configured so that there is only one instance of each collection at run time.
You need to implement a linked-list collection type that meets these requirements.

What should you do?

What should you do?

You are debugging a .NET Framework remoting application in Microsoft Visual Studio 2005.
Your solution contains three projects as follows:
SimpleMathLib is a class library project.
SimpleMathLib contains the remoting classes that will compile to a common assembly.
SimpleMathHost is a Windows service project.

SimpleMathHost is installed on your computer and it hosts SimpleMathLib.
SimpleMathClient is a Windows Forms application project.
SimpleMathClient is the remoting client application.

When you run the SimpleMathClient application, you receive an error message.
You set a breakpoint in the SimpleMathLib class library where you suspect the error.
When you run SimpleMathClient in the debugger, the error occurs again, and the debugger does not stop on the breakpoint.
You confirm that the breakpoint has been configured correctly.
You need to ensure that you can hit the breakpoint and step through the code.

What should you do?


Page 19 of 43« First...10...1718192021...3040...Last »