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 are writing a Web service that will serve multiple client applications.
Some client applications will send billing information as SOAP headers, but you do not know the format of these headers.
You need to handle these SOAP headers so that the billing information is saved for analysis.

What should you do? (Each correct answer presents part of the solution. Choose two.)

What should you do?

A Console Application calls a Web service named SessionStateService five times, sequentially.
The IncrementSessionCounter Web service method increments and returns an integer value that is held in a cookie.

(Line numbers are included for reference only.)
01 void IncrementSession5Times() {
02 SessionStateService service = null;
03 …
04 for (int i = 0; i < 5; i++) {
05 …
06 Console.WriteLine(“Loop Pass {0} – result = {1}”,
07 i,
08 service.IncrementSessionCounter());
09 }
10 }

You need to ensure that when the IncrementSession5Times method is run, the following output is displayed.

Loop Pass 0 – result = 1
Loop Pass 1 – result = 2
Loop Pass 2 – result = 3
Loop Pass 3 – result = 4
Loop Pass 4 – result = 5

What should you do?

What conclusion can you draw?

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 design and development of application frameworks.
You are currently developing a Microsoft Windows Forms application. You used Microsoft Visual Studio 2005 Team Edition for Software Developers. This Windows Forms application that you are developing, when completed will allow users to access data on the Domain.com mainframe. This data access will happen as follows: A Microsoft .NET Remoting component accesses the mainframe, and the application connects to the Remoting component via Transmission Control Protocol (TCP) channel.
You need to keep in mind that there is a performance requirement that the application should not perform excessive and unnecessary security checks. A performance monitoring solution that will be put in place will consists a measuring the Total Runtime Checks and Stack Walk Depth performance counters in the .NETCLR Security category.
You need to make a decision as to whether the monitoring solution is correct.

What conclusion can you draw?

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 design and development of application frameworks.
You are currently developing a Microsoft Windows Forms monitoring application for Domain.com. This application is destined to read data in a Microsoft SQL Server 2005 database and display it graphically on a form. All Domain.com users need to be able to:
1. choose the refresh rate for displaying data
2. choose an interval in multiples of one second
To this end you need to reuse a component to meet these requirements without requiring excessive coding.

What should you do?

What should you do?

A file named Util.asmx contains the following code segment.

(Line numbers are included for reference only.)
01 <%@ WebService Language=”C#” class=”Exam.Util” %>
02 namespace Exam {
03 public class Util {
04 public string GetData() {
05 return “data”;
06 }
07 }
08 }

You need to expose the GetData method through a Web service.

What should you do?

Which two actions should you perform?

You are writing an application that handles the batch processing of user accounts.
The application assigns network identities for users by calling the following Web service method.

[WebMethod]
public string GetNetworkID(string name)
{ …}

The application calls the Web
service using the following code.

(Line numbers are included for reference only.)
01 void ProcessPeople(List<Person> people) {
02 PersonService serviceProxy = new PersonService();
03 serviceProxy.GetNetworkIDCompleted += new
04 GetNetworkIDCompletedEventHandler(GetNetworkIDCompleted);
05 for (int i = 0; i < people.Count;i++) {
06 …
07 }
08 }
09
10 void GetNetworkIDCompleted(object sender,
11 GetNetworkIDCompletedEventArgs e){
12 Person p = null;
13 …
14 p.NetworkID = e.Result;
15 ProcessPerson(p);
16 }

You need to ensure that the application can use the data supplied by the Web service to update each Person instance. Which two actions should you perform? (Each correct answer
presents part of the solution. Choose two.)

Which two actions should you recommend?

You are an enterprise application developer. You create a component that generates medical documents. Your component is used by multiple document management systems. Users generate documents throughout the entire day and most documents are generated during business hours. You notice that user load is increasing and performance is degrading. You need to identify sections of code on which to focus performance tuning efforts. Which two actions should you recommend? (Each correct answer presents part of the solution. Choose two.)

What should you do?

You are an enterprise application developer. You are creating a .NET Remoting component. The Version 1.0 of the component is deployed as a well-known server-activated object. The strong- named component is installed into the global assembly cache. Ten distributed applications in your
company utilize the component, and each application has an independent schedule for upgrades and deployment. You add new features to the component. These additions will change the signatures of the public methods on the component. You need to devise a deployment strategy for the component. What should you do?


Page 23 of 40« First...10...2122232425...3040...Last »