Updated: Aug 02, 2026
No. of Questions: 196 Questions & Answers with Testing Engine
Download Limit: Unlimited
Test4Sure 70-516 questions and answers provide you test preparation information with everything you need. Study with our 70-516 test practice torrent, your professional skills will be enhanced and your knowledge will be expanded. What's more, 70-516 practice pdf will ensure you a define success in our 70-516 actual test.
Test4Sure 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: | Multiple choice, Multiple response, Case studies |
| Exam Price: | $165 USD (varies by region) |
| Real Exam Qty: | Approximately 40–60 (varies; historical exams) |
| Available Languages: | English |
| Certificate Validity Period: | Retired (historical certification; no longer active, no renewal period) |
| Exam Duration: | 120 minutes |
| Passing Score: | 700/1000 |
| Related Certifications: | MCTS: .NET Framework 4, Data Access MCITP Database Developer (related track) |
| Recommended Training: | ADO.NET and Entity Framework training (Microsoft Learn - general) |
| Exam Registration: | Microsoft Certification Portal (historical reference) |
| Sample Questions: | Microsoft 70-516 Sample Questions |
| Exam Way: | Proctored exam (historically Pearson VUE testing centers or online proctoring where available) |
| Pre Condition: | Basic knowledge of C# and .NET Framework 4, familiarity with ADO.NET and database concepts recommended |
| Official Syllabus URL: | https://learn.microsoft.com/en-us/credentials/certifications/ |
| Section | Weight | Objectives |
|---|---|---|
| Topic 1: Form and Organize Reliable Applications | 18% | - Enterprise data access design
|
| Topic 2: Control Connections and Context | 18% | - Entity Framework context management
|
| Topic 3: Control Data | 22% | - Data manipulation and concurrency
|
| Topic 4: Model Data | 20% | - Design conceptual and logical data models
|
| Topic 5: Query Data | 22% | - Use data access technologies
|
1. You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application.
You create an Entity Data Model (EDM) by using the Microsoft ADO.NET Entity Data Model Designer (Entity
Designer).
The EDM contains a complex type. You need to map a stored procedure to the complex type by using the
Entity Designer.
What should you do?
A) Add a code generation item that has the name of the stored procedure.
B) Add an entity that mirrors the properties of the complex type.
C) Add a function import for the stored procedure.
D) Add an association to the stored procedure.
2. 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 retrieve an entity from an object
context.
A different application updates the database. You need to update the entity instance to reflect updated
values in the database.
Which line of code should you use?
A) context.LoadProperty(entity, "Client", MergeOption.OverwriteChanges);
B) context.AcceptAllChanges() ;
C) context.Refresh(RefreshMode.StoreWins, entity);
D) context.LoadProperty(entity, "Server", MergeOption.OverwriteChanges);
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 and contains a LINQ to SQL data model.
The data model contains a function named createCustomer that calls a stored procedure.
The stored procedure is also named createCustomer. The createCustomer function has the following
signature.
createCustomer (Guid customerID, String customerName, String address1)
The application contains the following code segment. (Line numbers are included for reference only.)
01 CustomDataContext context = new CustomDataContext(); 02 Guid userID = Guid.NewGuid();
03 String address1 = "1 Main Steet";
04 String name = "Marc";
05 ...
You need to use the createCustomer stored procedure to add a customer to the database. Which code segment should you insert at line 05?
A) context.ExecuteCommand("createCustomer", customer); Customer customer = new Customer() { ID = userID, Address1 = address1, Name = customer1, };
B) context.ExecuteQuery(typeof(Customer), "createCustomer", customer);
C) context.ExecuteCommand("createCustomer", userID, customer1, address1); Customer customer = new Customer() { ID = userID, Address1 = address1, Name = customer1, };
D) context.createCustomer(userID, customer1, address1);
4. You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. You create stored procedures by using the following signatures:
CREATE procedure [dbo].[Product_Insert](@name varchar(50),@price float)
CREATE procedure [dbo].[Product_Update](@id int, @name varchar(50), @price
float)
CREATE procedure [dbo].[Product_Delete](@id int)
CREATE procedure [dbo].[Order_Insert](@productId int, @quantity int)
CREATE procedure [dbo].[Order_Update](@id int, @quantity int,@originalTimestamp
timestamp)
CREATE procedure [dbo].[Order_Delete](@id int)
You create a Microsoft ADO.NET Entity Data Model (EDM) by using the Product and Order entities as shown in the exhibit:
You need to map the Product and Order entities to the stored procedures. To which two procedures should
you add the @productId parameter?
(Each correct answer presents part of the solution. Choose two.)
A) Product_Update
B) Order_Delete
C) Product_Delete
D) Order_Update
5. 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 includes a table named
dbo.Documents
that contains a column with large binary data. You are creating the Data Access Layer (DAL).
You add the following code segment to query the dbo.Documents table. (Line numbers are included for
reference only.)
01 public void LoadDocuments(DbConnection cnx)
02 {
03 var cmd = cnx.CreateCommand();
04 cmd.CommandText = "SELECT * FROM dbo.Documents";
05 ...
06 cnx.Open();
07 ...
08 ReadDocument(reader);
09 }
You need to ensure that data can be read as a stream. Which code segment should you insert at line 07?
A) var reader = cmd.ExecuteReader(CommandBehavior.SchemaOnly);
B) var reader = cmd.ExecuteReader(CommandBehavior.Default);
C) var reader = cmd.ExecuteReader(CommandBehavior.SequentialAccess);
D) var reader = cmd.ExecuteReader(CommandBehavior.KeyInfo);
Solutions:
| Question # 1 Answer: C | Question # 2 Answer: C | Question # 3 Answer: D | Question # 4 Answer: B,D | Question # 5 Answer: C |
I just got my score letter and I passed my 70-516 exam with an 92% score.
Appreciate your 70-516 products.
All of the dump 70-516 are the actual questions.
70-516 test preparation really helped me in my test.
70-516 practice test is excellent.
70-516 exam is taking care of every problem just like that.
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.
Test4Sure focus on the study of 70-516 practice questions for many years and enjoy a high reputation in this field by its high-quality study materials, updated information. From the 70-516 free demo, you will have an overview about the complete exam materials. The comprehensive questions together with correct answers are the guarantee for 100% pass.
Besides, we have money back guarantee to ensure customers' benefit in case of failure. You just need to show us your failure certification,then we will give you refund after confirming.
Firstly,the contents of the three versions are the same. Besides, the PC test engine is only suitable for windows system wiht Java script,the Online test engine is for any electronic device. While, the pdf is pdf files which can be printed into papers.
Yes, 70-516 exam questions are valid and verified by our professional experts with high pass rate. The contents of 70-516 study materials are most revelant to the actual test, which can ensure you sure pass.
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 online. Our exam products will updates with the change of the real 70-516 test.
You will get an email attached with the 70-516 study materials within 5-10 minutes after purchase. Then you can download it for study soon. If you do not receieve anything, kindly please contact our customer service.
All our products can share 365 days free download for updating version from the date of purchase. So don't worry. The exam materials will be valid for 365 days on our site.
Sure, we offer the 70-516 free demo questions, you can download and have a try. Besides, about the test engine, you can have look at the screenshot of the format.
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. Normally we support Credit Card for most countries. Our refund validity is 60 days from the date of your purchase. Our customer service is 365 days warranty. Users can receive our latest materials within one year.
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 device.
Sure, we have discounts for promotion in some specail festival.
Over 56295+ Satisfied Customers
