70-516 Exam Questions
260 real 70-516 exam questions with expert-verified answers and explanations. Page 3 of 6.
- Question #102
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to develop an ASP.NET Web application that uses the Entity Framework. The build configuration is set to Releas...
- Question #103Querying Data
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to develop an application. You use the ADO.NET Entity Framework Designer to model entities. You need to retrie...
Entity FrameworkMergeOptionNoTrackingdetached entity - Question #104Querying Data
How do you define a WCF Data Service query to grab the first 10 records. Options are something like:
WCF Data ServicesOData$top query optionDataServiceQuery - Question #105Manipulating and Validating Data
There are Entities-States Class, Cities class. Deleting of state id raises exception. Which of the following?
Entity Frameworkdelete exceptionreferential integrityConstraintException - Question #106Querying Data
Class Workflow-Has Workstepflow inside. Get workflow data as well as related workstepflow.
Entity FrameworkLoadPropertyexplicit loadingnavigation property - Question #107
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to develop an application. A file named books.xml contains the following XML. <bib> <book title="Programming in...
- Question #108
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to develop an application that uses the Entity Framework. The application has the entity model shown in the foll...
- Question #109
You use Microsoft .NET Framework 4 to develop an application that connects to a Microsoft SQL Server 2008 database. You add the following stored procedure to the database. CREATE P...
- Question #110
You use Microsoft .NET Framework 4 to develop an application that connects to a Microsoft SQL Server 2008 database. The database contains a ClassStudent table that contains the Stu...
- Question #111Implementing Data Access
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application uses the ADO.NET Entity Framework to model entities. You define a Ca...
POCOvirtual propertylazy loadingEntity Framework - Question #112Deploying and Troubleshooting Data Access
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create a Windows Forms application. You plan to deploy the application to several shared client computers....
connection string encryptionConfigurationManagerProtectedConfigurationProviderWindows Forms - Question #113
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server database. The application uses th...
- Question #114Querying Data
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. You use the ADO.NET Entity Framework to model entities. You write the following code...
Entity FrameworkMergeOptionPreserveChangeschange tracking - Question #115Implementing Data Access
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. You use the ADO.NET Entity Framework to model entities. You write the following code...
Entity FrameworkEntityStateObjectStateEntryOnChanging - Question #116Implementing Data Access
You use Microsoft Visual Studio 2010, Microsoft Sync Framework, and Microsoft .NET Framework 4.0 to create an application. You have a ServerSyncProvider connected to a Microsoft SQ...
Sync FrameworkSyncDirectionbidirectional syncServerSyncProvider - Question #117Deploying and Troubleshooting Data Access
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create a Windows Communication Foundation (WCF) Data Services service. The service connects to a Microsoft...
WCF Data ServicesIIS 6.0HTTP verbsPUT DELETE configuration - Question #118Implementing Data Access
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server 2008 database. The database inclu...
CommandBehaviorSequentialAccessDbDataReaderlarge binary data - Question #119Implementing Data Access
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server database. You create a DataSet ob...
DataAdapterTableMappingsDataSetmultiple result sets - Question #120
You are calling a stored procedure in SQL Server 2008 that returns a UDT as an output parameter. This UDT, called MyCompanyType, was created by your company. The UDT has a method c...
- Question #121
You want to execute a SQL insert statement from your client application, so you set the CommandText property of the command object and open the connection. Which method will you ex...
- Question #122
In ADO.NET, which class can start an explicit transaction to update a SQL Server database?
- Question #123
You want to store the contents of a data set to an XML file so you can work on the data while disconnected from the database server. How should you store this data?
- Question #124
To which of the following types can you add an extension method? (Each correct answer presents a complete solution. Choose five.)
- Question #125
You want to page through an element sequence, displaying ten elements at a time, until you reach the end of the sequence. Which query extension method can you use to accomplish thi...
- Question #126Manipulating and Validating Data
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. You use the ADO.NET Entity Data Model (EDM) to define a Customer entity. You need to...
Entity FrameworkCreateObjectEDMentity creation - Question #127Manipulating and Validating Data
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server 2008 database. You use the ADO.NE...
self-tracking entitiesApplyChangesObjectContextEntity Framework - Question #128Implementing Data Access
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application uses the ADO.NET Entity Framework to manage Plain Old CLR Objects (P...
POCOchange-tracking proxyvirtual propertiesICollection - Question #129Manipulating and Validating Data
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application uses the ADO.NET Entity Framework to model entities. The application...
LINQ to SQLDataContextObjectTrackingEnabledoffline changes - Question #130Querying Data
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server database. The application uses th...
LINQ to SQLDataContextObjectTrackingEnabledread-only query - Question #131Manipulating and Validating Data
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. You use the ADO.NET Entity Framework to model your entities. You use Plain Old CLR O...
POCOsnapshot change trackingDetectChangesObjectContext - Question #132Manipulating and Validating Data
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application uses the ADO.NET Entity Framework to model entities. The application...
Entity FrameworkGuid primary keySavingChanges eventidentity columns - Question #133Manipulating and Validating Data
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. You use the ADO.NET Entity Framework to model entities. The application connects to...
Entity FrameworkRefreshRefreshModeoptimistic concurrency - Question #134Deploying and Troubleshooting Data Access
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server database. The application uses th...
ObjectQueryToTraceStringquery loggingEntity Framework - Question #135Deploying and Troubleshooting Data Access
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create a Windows Forms application. The application connects to a Microsoft SQL Server database. You need t...
connection poolingperformance countersSqlConnectionmonitoring - Question #137Querying Data
You use Microsoft Visual Studio 2010 and Microsoft.NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server database. You use the ADO.NET LINQ...
LINQ to EntitiesEdmFunctionAttributeconceptual model functionCLR method mapping - Question #138
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. You use Microsoft ADO.NET Entity Data Model (EDM) to model entities. You create an e...
- Question #139Implementing Data Access
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server database. You use the ADO.NET Ent...
complex typestored proceduresSSDLEntity Framework mapping - Question #140Implementing Data Access
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create a Microsoft ASP.NET application. You want to connect the application to a Microsoft SQL Server Expre...
connection stringSQL ExpressAttachDbFilenameDataDirectory - Question #141Implementing Data Access
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server 2008 database. The application us...
connection stringIntegrated SecurityWindows authenticationcredential security - Question #142Manipulating and Validating Data
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server database. The application uses th...
ObjectContextAddObjectentity trackingEntity Framework - Question #143Deploying and Troubleshooting Data Access
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to develop an application. You use the Entity Framework Designer to create an Entity Data Model using model-fi...
T4 templateDDL generationmodel-firstEntity Framework Designer - Question #144
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to develop an application. You use the ADO.NET Entity Framework Designer to model entities as shown in the fol...
- Question #145
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to develop an application that uses the Entity Framework. You create the following Entity Data Model. You add...
- Question #146
You have executed the Where query extension method on your collection, and it returned IEnumerable of Car, but you want to assign this to a variable whose type is List Of Car. How...
- Question #147
When working with LINQ to SQL, what is the main object that moves data to and from the database?
- Question #148
You want to use LINQ to SQL to run queries on a table that contains a column that stores large photos. Most of the time, you won't need to view the photo, but occasionally you will...
- Question #149
You retrieved a row of data into an entity object by using a LINQ to SQL DataContext object. You haven't made any changes to the object, but you know that someone else has modified...
- Question #150
You ran a LINQ to SQL query to retrieve the products that you are going to mark as discontinued. After running the query, you looped through the returned products and set their Dis...
- Question #151
You are working with an ObjectContext object that targets the mainframe and another ObjectContext object that targets SQL Server. When it's time to save the changes, you want all c...
- Question #152
What can you add to the end of the URI to retrieve only a list of Order entities for the Customer entity whose CustomerID is `BONAP'?