PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which methodology should you recommend?

You are designing a testing methodology for an ASP.NET MVC 2 Web application. You
have the following application testing requirements: Verify that security issues are identified
as early within the request as possible. Verify that the effectiveness of input corruption is
minimized. You need to meet the application testing requirements. Which methodology
should you recommend?

You need to eliminate the performance degradation caused by workflow status checks

You are designing an application by using Microsoft .NET Framework 4 and Microsoft
Visual Studio 2010. The application includes Windows Workflow Foundation (WF) hosts that
run thousands of workflow instances. Workflows usually take 2 hours of time to complete.
The application also includes a Windows Communication Foundation (WCF) service that
contains a method to check the completion status of a workflow stored in a database.
External applications that use the WCF service to check the status of workflows every
minute causes performance degradation of the workflow that hosts the application. You
need to eliminate the performance degradation caused by workflow status checks. What
should you do?

<ApplicationMenu> <Menultem name’File’> Menuftem name=’New> <Menultem nameI?

You use Microsoft Visual Studio 2010 and Microsoft NET Framework 4 to create an application. The
application contains the following XML fragment.
<ApplicationMenu>
<Menultem name’File’>
Menuftem name=’New>
<Menultem nameI?rojectw I>
<Menultem name’Web Site’ I> <4Aenultem>
<Menultem name=’Open> <Menultem name=Project”>
<Menultem name’Web Site”>
<iNenultem> <Menultem narner”Save0 1>
</1ienuttem>
<Menultem nameEdr>
<Menultem nameCut” I>

<Menultem name”C0W I>
<Menultem name’Paste01>
<‘Menultem>
<Menultem name’1-4elp’>
<Menultem namezlHeIp I>
<Menultem name”About’ I>
</Menulteni>
</ApplicationMenu’
The application queries the XML fragment by using the Xml Document class. You need to select all
the descendant elements of the Menultem element that has its name attribute as File Which XPath
expression should you use?

Which URL should you use for the query’?

You u Microsoft ‘Visual Studio 2010 and Microsoft NET Framework 410 create a
Windows Communication Foundation (‘ACF) Data Services service
You deploy the service b the following URL http://contoso.comlNorthwtnd. svc .You want to query
the WCF Data Services service to retneve a list at customer objects You need to ensure that the
query meets the following requirements. “Only customers that match the following filter criteria are
retrieved City=Seatttle AND Level > 200 “Data sorted in ascending order by the ContactName arid
Address properties.
Which URL should you use for the query’?

Which two actions should you recommend?

You are designing a Windows Presentation Foundation (WPF) application that uses .NET
Framework 4. The application uses a subset of the functionality provided by a third-party
COM component that will be replaced later. The application developers must have access
to only the required subset of functionality. You need to recommend a solution that meets
the requirements. Which two actions should you recommend? (Each correct answer
presents part of the solution. Choose two.)