nerdexam
Microsoft

70-484 · Question #151

70-484 Question #151: Real Exam Question with Answer & Explanation

The correct answer is C. Use an HttpClient with its user-agent set in its DefaultRequestHeaders property and a URL with. See the full explanation below for the reasoning.

Question

You are developing a Windows Store app that requires data to be downloaded from a remote server. The server enables secure connections from browsers and other clients only with the user-agent present in the request header. The data is a string never exceeding 1 KB. What is the best way to implement this requirement in your app?

Options

  • AUse Windows sockets over TCP to create and send requests to the server.
  • BCreate a request, encrypt it, and send it to the server using Windows sockets over TCP.
  • CUse an HttpClient with its user-agent set in its DefaultRequestHeaders property and a URL with
  • DUse a StreamWebSocket to send the request to a URL with the https:// prefix.

Community Discussion

No community discussion yet for this question.

Full 70-484 Practice