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 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 configuration and customization of Web Service applications forms part of your responsibilities at Domain.com.
You are currently busy developing an Extensible Markup Language (XML) Web Service named MarketService. This MarketService will be used by the Domain.com Marketing department. You are now required to create a Web method named ObtainMarket. The ObtainMarket Web method must return global posisioning system (GPS) coordinates of a mobile phone given a mobile phone number.
In you development of the ObtainMarket Web method, you must ensure that it can be uniquely identified among all the Web services that are implemented by the Sales and Transport departments.

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. The development and deployment of Web Service applications forms part of your responsibilities at Domain.com. You have just developed an Extensible Markup Language (XML) Web service application by making use of Microsoft Visual Studio 2005. Now you need to deploy the project that contains the application to another computer on the Domain.com network. The other computer intended to have the project deployed does not have Microsoft Internet Information Services (IIS) 6.0 installed. However, you need to deploy the project.

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 Extensible Markup Language (XML) Web Services forms part of your responsibilities at Domain.com.
After receiving instructions, you have just finished developing and deploying public and private Extensible Markup Language (XML) Web services to a production server. This production server has been configured with Microsoft Internet Information Services (IIS) 6.0. The Web services are located on different IIS virtual directories. Each of these IIS virtual directories hosts either public Web services or private Web services, but not both. Part of the instructions that you received also states that Web service clients must have the ability to discover the public Web services dynamically, but not the private Web services. The Web Service clients should also be granted the ability to ability to dynamically discover any new public Web services that are added to an existing virtual directory. To this end you now need to configure the server to meet these requirements. You should take care that your configuration does not prevent the discovery of Web services in new virtual directories unless you reconfigure the server.

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

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.
After receiving instructions you have just completed the development and the deployment of an Extensible Markup Language (XML) Web service application. This XML Web service application contains ten (10) Web services. At present dynamic discovery on the Web server that hosts the application has been disabled. To this end you now need to configure the Web.config file of the application to allow Web service clients the ability to dynamically discover all the Web services. You also want to ensure that the Web service clients will be able to discover any future Web services that will be added.

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.
After receiving instruction you have just finished developing an ASP.NET Web application named WebServices. WebServices contains the Web services for each of the Domain.com clients. Microsoft Internet Information Services (IIS) 6.0 is hosting the Web application. And the Web application is configured in such a way so as to map host header names to client-specific virtual directories. Each Domain.com client has its own virtual directory. These virtual directories are located in a root virtual directory named WebServices. The following exhibit illustrates an example of the virtual directory structure:

WebSite
WebServices (Web Application)

Client A (VirtualDirectory)
WebService1.asmx
WebService2.asmx

Client B (VirtualDirectory)
WebService3.asmx
WebService4.asmx

Client C (VirtualDirectory)
WebService5.asmx
WebService6.asmx

You received further instructions to ensure that all Domain.com clients have the ability to discover all of the Web services that are implemented in the Web application for that client. You need to accomplish this task while also making provision for those Web services that is intended for future implementation. However, you also need to ensure that the Domain.com clients should not have the ability to discover implemented Web services intended for other clients.

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

<?xml version="1.0"?

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.
The following exhibit illustrates a configuration.
Exhibit:
<?xml version=”1.0″?>
<dynamicDiscovery xmlns=”urn:schemas-dynamicdiscovery:disco.2007.02.19″> <exclude path=”_vti_cnf” />
<exclude path=”_vti_pvt” />
<exclude path=”_vti_log” />
<exclude path=”_vti_script” />
<exclude path=”_vti_txt” />
<exclude path=”Web References” />
</dynamicDiscovery>
You have just added the above configuration to a new file by means of using a text editor. You need to save this file to a production server to provide the Web service discovery.

What should you do?

What should you do?

You are an enterprise application developer. You develop an ASP.NETapplication that interacts with a Windows service. The application and the Windows service exchange Microsoft Message Queuing (MSMQ) messages. You need to define an integration test to ensure that the application and the Windows service interact appropriately.
What should you do?

What should you do?

You are an enterprise application developer. You are reviewing the design of a component. The component is used to communicate with a legacy system. The component must meet the following requirements: It must handle high-latency network communications.It must accept synchronous calls from Windows and Web-based applications developed by using .NET Framework 2.0 in the local network.It must use asynchronous communications. You need to implement the design of the component.
What should you do?

Which methods should you use?

You are an enterprise application developer. You are designing a new component to prioritize security requirements and performance. The component contains methods as shown in the following table. Method NameFunctionBuildCompositeInputConsolidates input to the component from other components. BuildPrivateInputInputs data that is private to other component routines. UserInputInputs data from the user.
You need to identify the methods that require run time validation of inputs. You also need to ensure that these methods do not add performance overhead.
Which methods should you use?

What should you do?

You are an enterprise application developer. The data access layer of an application contains the following code segment. (Line numbers are included for reference only.)

01 static public List<Employee> GetEmployees()
{
02 List<Employee> employees = new List<Employee>();
03 using (SqlConnection cnn = new SqlConnection(_cnnStr))
{
04 SqlCommand cmd = new SqlCommand(“GetEmployees”, cnn);
05 cnn.Open();
06 DataSet ds = new DataSet();
07 SqlDataAdapter da = new SqlDataAdapter(cmd);
08 da.Fill(ds);
09 foreach (DataRow row in ds.Tables[0].Rows)
{
10 Employee emp = new Employee();
11 emp.ID = Convert.ToInt32(row[“Id”]);
12 emp.Name = Convert.ToString(row[“Name”]);
13 employees.Add(emp);
14
}
15
}
16 return employees;
17
}

You review the code segment and discover that it takes a long time to execute. You need to modify the code segment to improve the performance.
What should you do?


Page 2 of 4012345...102030...Last »