Updated: Sep 01, 2026
No. of Questions: 196 Questions & Answers with Testing Engine
Download Limit: Unlimited
Our Online Test Engine & Self Test Software of TestSimulate 70-516 actual study materials can simulate the exam scene so that you will have a good command of writing speed and time. Then multiple practices make you perfect while in the real Microsoft 70-516 exam. The package practice version will not only provide you high-quality 70-516 exam preparation materials but also various studying ways.
TestSimulate 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 Price: | $165 USD (varies by region) |
| Available Languages: | English |
| Exam Format: | Multiple response, Multiple choice, Case studies |
| Related Certifications: | MCITP Database Developer (related track) MCTS: .NET Framework 4, Data Access |
| Exam Duration: | 120 minutes |
| Passing Score: | 700/1000 |
| Certificate Validity Period: | Retired (historical certification; no longer active, no renewal period) |
| Real Exam Qty: | Approximately 40–60 (varies; historical exams) |
| 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: Model Data | 20% | - Design conceptual and logical data models
|
| Topic 2: Control Data | 22% | - Data manipulation and concurrency
|
| Topic 3: Query Data | 22% | - Use data access technologies
|
| Topic 4: Control Connections and Context | 18% | - Entity Framework context management
|
| Topic 5: Form and Organize Reliable Applications | 18% | - Enterprise data access design
|
Question 1
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create a Windows
Communication
Foundation (WCF) Data Services service. You deploy the data service to the following URL: http://
contoso.com/Northwind.svc.
You add the following code segment. (Line numbers are included for reference only.)
01 var uri = new Uri(@"http://contoso.com/Northwind.svc/");
02 var ctx = new NorthwindEntities(uri);
03 var categories = from c in ctx.Categories select c;
04 foreach (var category in categories) {
05 PrintCategory(category);
06 ...
07 foreach (var product in category.Products) {
08 ...
09 PrintProduct(product);
10 }
11 }
You need to ensure that the Product data for each Category object is lazy-loaded. What should you do?
A. Add the following code segment at line 06:
ctx.LoadProperty(category, "Products");
B. Add the following code segment at line 08:
ctx.LoadProperty(product, "*");
C. Add the following code segment at line 08:
var strprdUri= string.format("Products?$filter=CategoryID eq {0}",
category.CategoryID);
var prodcutUri = new Uri(strPrd, UriKind.Relative);
ctx.Execute<Product>(productUri);
D. Add the following code segment at line 06:
var strPrdUri = string.Format("Categories({0})?$expand=Products",
category.CategoryID);
var productUri = new Uri(strPrdUri, UriKind.Relative);
ctx.Execute<Product>(productUri);
Question 2
You use Microsoft .NET Framework 4.0 to develop an ASP.NET 4 Web application.
You need to encrypt the connection string information that is stored in the web.config file. The application is
deployed to multiple servers.
The encryption keys that are used to encrypt the connection string information must be exportable and
importable on all the servers.
You need to encrypt the connection string section of the web.config file so that the file can be used on all of
the servers.
Which code segment should you use?
A. Configuration config = WebConfigurationHanager.OpenWebConfiguration ("~") ; ConnectionStringsSection section = (ConnectionStringsSection)config.GetSection ("connectionStrings") ; section.Sectionlnformation.ProtectSection("DpapiProtectedConfigurationProvider"); config.Save ();
B. Configuration config = WebConfigurationManager.OpenMachineConfiguration("~"); ConnectionStringsSection section = (ConnectionStringsSection)config.GetSection("connectionStrings"); section.Sectionlnformation.ProtectSection("RsaProtectedConfigurationProvider'*); config.Save();
C. Configuration config = WebConfigurationManager.OpenWebConfiguration("~") ; ConnectionStringsSection section = (ConnectionStringsSection)config.GetSection("connectionStrings"); section.Sectionlnformation.ProtectSection("RsaProtectedConfigurationProvider"); config.Save();
D. Configuration config = WebConfigurationManager.OpenMachineConfiguration ("~") ; ConnectionStringsSection section = (ConnectionStringsSection)config.GetSection ("connectionStrings") ; section.Sectionlnformation.ProtectSection("DpapiProtectedConfigurationProvider"); config.Save () ;
Question 3
You use Microsoft Visual Studio 2010 and .NET Framework 4.0 to develop an application.
You use entity Framework Designer to create an Entity Data Model from an existing database by using the
Generate From Database wizard.
The model contains an entity type named Product. The Product type requires an additional property that is
not mapped to database colomn.
You need to add the property to product. What should you do?
A. Add the property in a partial class named Product in a new source file.
B. Create a function import with the name of property in the Entity Framework Designer.
C. Create a comlex type with the name of the property in the Entity Framework Designer.
D. Add the property in the generated class file, and select Run Custom Tool from the solution menu.
Question 4
You use Microsoft .NET Framework 4.0 to develop an application that uses WCF Data Services to persist entities from the following Entity Data Model.
You create a new Blog instance named newBlog and a new Post instance named newPost as shown in the
following code segment.
(Line numbers are included for reference only.)
01 Blog newBlog = new Blog();
02 Post newPost = new Post();
03 ....
04 Uri serviceUri = new Uri("...");
05 BlogsEntities context = new BlogsEntities(serviceUri);
06 ....
You need to ensure that newPost is related to newBlog through the Posts collection property and that
newPost and newBlog are sent to the service.
Which code segment should you insert at line 06?
A. newBlog.Posts.Add(newPost); context.AddToBlogs(newBlog); context.AddToPosts(newPost); context.SaveChanges(SaveChangesOptions.Batch);
B. context.AttachLink(newBlog, "Posts", newPost); context.SaveChanges(SaveChangesOptions.Batch) ;
C. newBlog.Posts.Add(newPost); context.AttachTo("Blogs", newBlog); context.AttachTo("Posts", newPost); context.SaveChanges(SaveChangesOptions.Batch);
D. newBlog.Posts.Add(newPost); context.UpdateObject(newBlog); context.UpdateObject(newPost); context.SaveChanges(SaveChangesOptions.Batch);
Question 5
You use Microsoft .NET framework 4.0 to develop an application that connects to a Microsoft SQL Server
2008 database named AdventureWorksLT.
The database resides on an instance named INSTA on a server named SQL01.
You need to configure the application to connect to the database. Which connection string should you add
to the .config file?
A. Data Source=SQL01; Initial Catalog=INSTA; Integrated Security=true; Application Name=AdventureWorksLT;
B. Data Source=SQL01\INSTA; Initial Catalog=AdventureWorksLT; Integrated Security=true;
C. Data Source=AdventureWorksLT; Initial Catalog=SQL01\INSTA; Integrated Security=true;
D. Data Source=SQL01; Initial Catalog=AdventureWorksLT; Integrated Security=true; Application Name=INSTA;
Solutions:
| Question 1 Answer: A | Question 2 Answer: C | Question 3 Answer: A | Question 4 Answer: C | Question 5 Answer: B |
I hope that TestSimulate 70-516 real exam questions are still valid.
I have passed the 70-516 exam so easily with you, amazing material, so I can confidently suggest you to use the same products for the 70-516 exam.
I have failed once so I am very clear about the real questions.I have got the update version from TestSimulate
I even got the free update of this MCTS exam after I purchased about half an year ago.
I choose the 70-516 exam preparation material for
passing 70-516 exam and I was really pleased to have it, because it is just excellent.
I did pass my 70-516 on first attempt and all credit goes to your dumps.
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.
TestSimulate 70-516 practice test engine provide users the most accurate exam materials so that users can have a good learning about your exam. Most examinees choose our practice test engine as their only exam materials and pass exam successfully. Our high-quality 70-516 practice test engine should be helpful for every user if you pay attention on our exam questions. Every penny will be worth.
Or if you are afraid, we have money back guarantee policy that if you fail exam after purchasing our 70-516 practice test engine, we will full refund to you soon if you send us your failure score scanned and apply for refund. No Pass, Full Refund!
Yes, our 70-516 exam questions are certainly helpful practice materials. Our pass rate is 99%. Our 70-516 exam questions are compiled strictly. Our education experts are experienced in this line many years. We guarantee that our materials are helpful and latest surely. If you want to know more about our products, you can download our PDF free demo for reference. Also we have pictures and illustration for Self Test Software & Online Engine version.
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. It is different for each exam code.
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.
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.
No. After purchase, our system will set up an account and password by your purchasing information. You can use it directly or you can change your password as you like. No need to register an account yourself.
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 should be downloaded and installed in Window system with Java script. After purchase, we will send you email including download link, you click the link and download directly. If your computer is not the Window system and Java script, you can choose to purchase Online Test Engine. It is available for all device such Mac.
Yes, you can choose PDF version and print out. PDF version, Self Test Software and Online Test Engine cover same questions and answers. PDF version is printable.
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.
Over 73990+ Satisfied Customers