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

Which action should you recommend?

You are an enterprise application developer. You are creating a financial application that includes a data access component. This component executes queries against a Microsoft SQL Server database. Application performance deteriorates as the volume of data in the database increases. You need to identify which database queries require the greatest time to execute. You need to minimize the impact on application performance while gathering this information.
Which action should you recommend?

What should you do?

You are an enterprise application developer. You are designing a data access component to meet the following criteria:

The data access component provides data to several business components. The data access component contains methods that retrieve data. The methods retrieve data from a Microsoft SQL Server database.
The data is modified infrequently.

You need to ensure that the data access component provides current data to the business components.
You also need to minimize the number of requests sent to the SQL Server database for this data.
What should you do?

What should you do?

You write an XML Web service.
The XML Web service contains Web methods that return large amounts of non-sensitive public data.
The data is transferred over the Internet.
You need to be able to detect if the data was tampered with during transit.
The implementation must be configurable at run time.
Your solution must minimize the impact on the performance of the Web service.

What should you do?

What should you do?

You are creating a Windows-based application that allows users to store photographs remotely by using a Web service.
The Web service is configured to use Web Services Enhancements (WSE) 3.0, and it has the following configuration XML in its Web.config file.

<microsoft.web.services3>
<messaging>
<mtom serverMode=”always”/>
</messaging>
</microsoft.web.services3>

You need to configure the application to ensure that a photograph can be sent to the Web service.

What should you do?

What should you do?

You write a Web service that uses Web Services Enhancements (WSE) 3.0 for security.
The Web service must support both the kerberosSecurity policy and the mutualCertificateSecurity policy.
Both policies have the same options set for encryption and signatures.
You need to ensure that the Web service can use either policy.

What should you do?

What should you do?

An application calls a Web method asynchronously by using the following code.

(Line numbers are included for reference only.)
01 void ProcessData() {
02 ProcessingService serviceProxy = new ProcessingService();
03 IAsyncResult asyncResult = null;
04 asyncResult = serviceProxy.BeginProcess(data, null, null);
05 while (!asyncResult.IsCompleted) {
06 Thread.Sleep(1000);
07 }
08
09 serviceProxy.EndProcess(asyncResult);
10 }
You need to ensure that the application can process and log any exceptions raised by the Web method.

What should you do?

What should you do?

You write a .NET Framework remoting application that broadcasts messages to client computers through a central server by raising events on the client computers.
Message details are contained in an argument in the event delegate, as shown in the following code segment.

public delegate void MessageArrivedHandler(BroadcastEventArgs args);

public class BroadcastEventArgs
{
public string Message;
public string Sender;
public DateTime TimeSent;
}

You need to ensure that the client computer can access the message details contained in the event argument.
Your solution cannot change the common language runtime (CLR) security restrictions.

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 int 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.
The return value is required to generate reports in the client application.
You need to ensure that calls to the LogData method can be processed without making the client application nonresponsive.

What should you do?

What should you do?

Users report that a Windows-based application does not run properly.
When users attempt to complete a particular action, the following error message text appears.
Unable to find assembly ‘myservices, Version=1.0.0.0,Culture=neutral, PublicKeyToken=29b5ad26c9de9b95’.
You discover that the error occurs when the Windows-based application attempts to call functionality in a serviced component that was registered by using the following command.

regsvcs.exe myservices.dll
You need to ensure that the application can call the functionality in the serviced component without throwing the exception.

What should you do?


Page 21 of 40« First...10...1920212223...3040...Last »