nerdexam
Microsoft

70-484 · Question #151

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…

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

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.

Unlock 70-484 to see the answer

You've previewed enough free 70-484 questions. Unlock 70-484 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-484 Practice