PrepAway - Latest Free Exam Questions & Answers

Tag: Exam 70-516 (update October 26th, 2015)

Exam 70-516: TS: Accessing Data with Microsoft .NET Framework 4 (update October 26th, 2015)

<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 perform?

You use Microsoft Visual Studio 2010 and Microsoft NET Framework 4 to create a multi-tier
application. You use Microsoft ADONET Entity Data Model (EDU) to model entities. The model
contains entities named Sales Order Header and Sales Order Detail. For performance considerations
in querying sales order header you detach SalesOrderdetail entities from Object Context. You need
to ensure that changes made to existing Sales Order Detail entities updated Hi other areas of your
application are persisted to the database. Which two actions should you perform?

Which object type should you use to store data from the database tables?

You use Microsoft Visual Studio 2010 and Microsoft NET Framework 4 to create an application. The
application connects to a Microsoft SQL Server database over the network.
The application uses data from multiple related database tables. You need to ensure that the
application can be used it the connection is disconnected or unavailable. Which object type should
you use to store data from the database tables?

You need to ensure that entities changed in offline mode can be successfully updated m the data store

You use Microsoft Visual Studio 2010 and Microsoft NET Framework 4 to create an application. The
application uses the ADO NET Entity Framework to model entities The application allows users to
make changes while disconnected from the data store Changes are submitted to the data store by
using the Submit changes method of the Data Context object You receive an exception when you call
me Submit changes method to submit entities that a user has changed in offline mode You need to
ensure that entities changed in offline mode can be successfully updated m the data store. What
should you do?

You need to ensure mat users cannot reao passwards extracted irom the database

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The
apphcation connects to a Microsoft SQL Server database. The application stores user names and
passwords in the database. You need to ensure mat users cannot reao passwards extracted irom the
database. What should you do?

You need to achieve this goal without affecting other applications

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create a Microsoft
ASP.NET application. The application connects to a Microsoft SQL Server database. The application is
hosted on a Web server along with other applications. You need to secure the transmission of data
between the application and the database. You need to achieve this goal without affecting other
applications. What should you do?


Page 14 of 31« First...1213141516...2030...Last »