nerdexam
Microsoft

70-516 · Question #78

70-516 Question #78: Real Exam Question with Answer & Explanation

Sign in or unlock 70-516 to reveal the answer and full explanation for question #78. The question stem and answer options stay visible for context.

Question

You are developing a WCF data service that will expose an existing Entity Data Model (EDM). You have the following requirements: - Users must be able to read all entities that are exposed in the EDM. - Users must be able to update or replace the SalesOrderHeader entities. - Users must be prevented from inserting or deleting the SalesOrderHeader entities You need to ensure that the data service meets the requirements. Which code segment should you use in the Initialize method?

Options

  • Aconfig.SetEntitySetAccessRule("*", EntitySetRights.AllRead);
  • Bconfig.SetEntitySetAccessRule("*", EntitySetRights.AllRead);
  • Cconfig.SetEntitySetAccessRule("*", EntitySetRights.AllRead);
  • Dconfig.SetEntitySetAccessRule("*", EntitySetRights.AllRead);

Unlock 70-516 to see the answer

You've previewed enough free 70-516 questions. Unlock 70-516 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 70-516 Practice