Updated: Aug 27, 2026
No. of Questions: 196 Questions & Answers with Testing Engine
Download Limit: Unlimited
Choosing our 70-516 study torrent as your study guide means you choose a smart and fast way to get succeed in the certification exam.The Microsoft 70-516 real questions together with the verified answers will boost your confidence to solve the difficulty in the 70-516 actual test and help you pass.
SureTorrent has an unprecedented 99.6% first time pass rate among our customers.
We're so confident of our products that we provide no hassle product exchange.
| Certification Vendor: | Microsoft |
|---|---|
| Exam Name: | TS: Accessing Data with Microsoft .NET Framework 4 |
| Exam Number: | 70-516 |
| Exam Format: | Case Studies, Multiple Choice, Hot Area, Reorder, Drag-and-Drop |
| Exam Duration: | 90–120 |
| Available Languages: | English, Japanese, Spanish, German, French |
| Certificate Validity Period: | Retired (no longer active) |
| Related Certifications: | MCPD: Web Developer 4 MCPD: Windows Developer 4 |
| Passing Score: | 700 out of 1000 |
| Real Exam Qty: | 45–55 |
| Exam Price: | USD $100 |
| Recommended Training: | Self-Paced Training Kit (Exam 70-516) |
| Exam Registration: | Microsoft Certification Registration |
| Sample Questions: | Microsoft 70-516 Sample Questions |
| Exam Way: | Online proctored or on-site at Prometric test centers |
| Pre Condition: | No mandatory prerequisites; recommended 2–3 years experience developing data access layers with .NET Framework 4 and ADO.NET |
| Official Syllabus URL: | https://learn.microsoft.com/en-us/previous-versions//gg615038(v=msdn.10) |
| Section | Weight | Objectives |
|---|---|---|
| Querying Data | 22% | - Query with WCF Data Services
|
| Modeling Data | 20% | - Create and customize entities
|
| Manipulating Data | 22% | - Handle change tracking
|
| Developing and Deploying Reliable Applications | 18% | - Deploy and configure
|
| Managing Connections and Context | 18% | - Manage database connections
|
Question 1
The database contains orphaned Color records that are no longer connected to Part records.
You need to clean up the orphaned records. You have an existing ContosoEntities context object named
context.
Which code segment should you use?
A. context.Colors.TakeWhile(c => !c.Parts.Any()); context.SaveChanges();
B. context.Colors.ToList().RemoveAll(c => !c.Parts.Any()); context.SaveChanges();
C. var unusedColors = context.Colors.Where(c => !c.Parts.Any()).ToList(); foreach (var unused in unusedColors){
context.DeleteObject(unused)
}
context.SaveChanges();
D. var unusedColors = context.Colors.Where(c => !c.Parts.Any()); context.DeleteObject(unusedColors); context.SaveChanges();
Question 2
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 SQL Server 2008 database. The service is hosted by an Internet
Information Services (IIS) 6.0 server.
You need to ensure that applications authenticate against user information stored in the database before
the application is allowed to use the service.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Enable the WCF Authentication Service.
B. Configure IIS to require Windows authentication.
C. Configure IIS to require basic authentication.
D. Configure IIS to allow anonymous access.
E. Modify the Data Services service to use a Microsoft ASP.NET membership provider.
Question 3
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 Entity SQL to retrieve data from the
database.
You need to find out whether a collection is empty. Which entity set operator should you use?
A. IN
B. ANYELEMENT
C. EXISTS
D. EXCEPT
Question 4
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application.
The application connects to two different Microsoft SQL Server 2008 database servers named Server1 and
Server2.
A string named sql1 contains a connection string to Server1. A string named sql2 contains a connection
string to Server2.
01 using (TransactionScope scope = new
02 ...
03 )
04 {
05 using (SqlConnection cn1 = new SqlConnection(sql1))
06 {
07 try{
08 ...
09 }
10 catch (Exception ex)
11 {
12 }
13 }
14 scope.Complete();
15 }
You need to ensure that the application meets the following requirements:
-There is a SqlConnection named cn2 that uses sql2.
-The commands that use cn1 are initially enlisted as a lightweight transaction.
The cn2 SqlConnection is enlisted in the same TransactionScope only if commands executed by cn1 do not
throw an exception.
What should you do?
A. Insert the following code segment at line 02.
TransactionScope(TransactionScopeOption.RequiresNew)
Insert the following code segment at line 08.
cn1.Open();
...
using (SqlConnection cn2 = new SqlConnection(sql2))
{
try
{
cn2.Open();
...
}
catch (Exception ex){}
}
B. Insert the following code segment at line 02.
TransactionScope(TransactionScopeOption.RequiresNew)
Insert the following code segment at line 08.
using (SqlConnection cn2 = new SqlConnection(sql2)) {
try{
cn2.Open();
...
cn1.Open();
...
}
catch (Exception ex){}
}
C. Insert the following code segment at line 02.
TransactionScope(TransactionScopeOption.Suppress)
Insert the following code segment at line 08.
cn1.Open();
...
using (SqlConnection cn2 = new SqlConnection(sql2))
{
try
{
cn2.Open();
...
}
catch (Exception ex){}
}
D. Insert the following code segment at line 02.
TransactionScope(TransactionScopeOption.Suppress)
Insert the following code segment at line 08.
using (SqlConnection cn2 = new SqlConnection(sql2))
{
try
{
cn2.Open();
...
cn1.Open();
...
}
catch (Exception ex){}
}
Question 5
The database contains a table named Categories. The Categories table has a primary key identity column
named CategoryID.
The application inserts new records by using the following stored procedure.
CREATE PROCEDURE dbo.InsertCategory @CategoryName nvarchar(15), @Identity int OUT
AS INSERT INTO Categories (CategoryName) VALUES(@CategoryName) SET @Identity = SCOPE_IDENTITY() RETURN @@ROWCOUNT
You write the following code segment.
SqlDataAdapter adapter = new SqlDataAdapter("SELECT categoryID, CategoryName
FROM dbo.Categories",connection);
adapter.InsertCommand = new SqlCommand("dbo.InsertCategory", connection);
adapter.InsertCommand.CommandType = commandType.StoredProcedure;
adapter.InsertCommand.Parameters.Add(new SqlParameter("@CategoryName",
SqlDbType.NVarChar, 15,"CategoryName"));
You need to retrieve the identity value for the newly created record. Which code segment should you add?
A. SqlParameter parameter = adapter.InsertCommand.Parameters.Add("@CategoryName", SqlDbType.Int); parameter.Direction = ParameterDirection.Output; parameter = adapter.InsertCommand.Parameters.Add("@Identity", SqlDbType.Int, 0, "CategoryID"); parameter.Direction = ParameterDirection.ReturnValue;
B. SqlParameter parameter = adapter.InsertCommand.Parameters.Add("@RowCount", SqlDbType.Int);
parameter.Direction = ParameterDirection.Output;
parameter = adapter.InsertCommand.Parameters.Add("@Identity", SqlDbType.Int, 0, "CategoryID");
parameter.Direction = ParameterDirection.ReturnValue;
C. SqlParameter parameter = adapter.InsertCommand.Parameters.Add("@RowCount", SqlDbType.Int); parameter.Direction = ParameterDirection.ReturnValue; parameter = adapter.InsertCommand.Parameters.Add("@Identity", SqlDbType.Int, 0, "CategoryID"); parameter.Direction = ParameterDirection.Output;
D. SqlParameter parameter = adapter.InsertCommand.Parameters.Add("@CategoryName", SqlDbType.Int); parameter.Direction = ParameterDirection.Output; parameter = adapter.InsertCommand.Parameters.Add("@Identity", SqlDbType.Int, 0, "CategoryID"); parameter.Direction = ParameterDirection.Output;
Solutions:
| Question 1 Answer: C | Question 2 Answer: D,E | Question 3 Answer: C | Question 4 Answer: C | Question 5 Answer: C |
I just got high score with my 70-516 exam by using your real exam questions.
As soon as I found SureTorrent was relaxed to know that from onwards I am going to get handy and reliable helping material for 70-516 exam.
All of the 70-516 questions are the same.
70-516 and passed my 70-516.
Access SureTorrent and gain the utmost success in 70-516 exam.
70-516 exam is not easy for me,as I searched the exam material for training online then I found SureTorrent, so I think it can give a good direction to prepare for the exam test well.
Disclaimer Policy: The site does not guarantee the content of the comments. Because of the different time and the changes in the scope of the exam, it can produce different effect. Before you purchase the dump, please carefully read the product introduction from the page. In addition, please be advised the site will not be responsible for the content of the comments and contradictions between users.
SureTorrent 70-516 practice torrent is valid and accurate, which is specially designed for all the candidates for the 70-516 actual test. The key points which 70-516 pdf material have given will help you to master the knowledge quickly and easily. Besides,our 70-516 free demo questions are available for all of you. 100% sure pass is our promise
All we have done is to meet candidates' needs and protect the interests of customers. We have the money refund policy in case of failure by our products. You can show us your failure certification, then after confirming, we will give you refund.
Yes, our 70-516 exam questions are certainly helpful practice materials. We have a professional expert for the research of the 70-516 training questions. The validity & reliability can ensure 99% pass rate. We guarantee that our materials are helpful and latest surely.
Self Test Software should be downloaded and installed in Window system with Java script. The online test engine is suitable for all electronic system. Both of them can simulate the actual test and let you practice in a real test environment. The pdf version is in pdf file and can be printed into papers.
All our products are the latest version. If you want to know details about each exam materials, our service will be waiting for you 7*24*365 online. Our exam products will updates with the change of the real 70-516 test. If there is any update, we will inform our customers
Sure, we offer free pdf demo questions for you to try. You can free download it and practice. Besides, we have pictures and illustration for Self Test Software & Online Engine version.
All our products can share one year free download for updated version from the date of purchase. So don't worry. The exam materials will be valid for 365 days on our site.
Dear, you will recieve an email attached with our 70-516 exam torrent within 5-10 minutes after purchase
We have professional system designed by our strict IT staff. Once the 70-516 exam materials you purchased have new updates, our system will send you a mail to notify you including the downloading link automatically, or you can log in our site via account and password, and then download any time. As we all know, procedure may be more accurate than manpower.
Yes, we have money back guarantee if you fail exam with our products. Applying for refund is simple that you send email to us for applying refund attached your failure score scanned. Money will be back to what you pay.Our refund validity is 60 days from the date of your purchase. Our customer service is 365 days warranty. The money will be back to you within 7 days.
Self Test Software can be downloaded in more than two hundreds computers. It is no limitation for the quantity of computers. So does Online Test Engine. You can use Online Test Engine in any electronic device.
Over 59076+ Satisfied Customers
