nerdexam
Microsoft

70-516 · Question #51

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

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

Question

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create a Windows Communication Foundation (WCF) Data Services service. WCF Data Services uses an authentication scheme that requires an HTTP request that has the following header format: GET /Odata.svc/Products(1) Authorization: WRAP access_token="123456789" The application includes the following code. (Line numbers are included for reference only.) 01 public class program 02 { 03 Public void GetProducts() 04 { 05 var proxy = new MyDataServiceContext("..."); 06 ... 07 } 08 } You need to ensure that the correct authentication header is present when requests are made by using MyDataServiceContext. What should you do?

Options

  • AInsert the following code segmen at line 06:
  • BInsert the following code segment at line 06:
  • CInsert the following code segmen at line 06:
  • DInsert the following code segment at line 06:

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
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework... | 70-516 Q#51 Answer | NerdExam