nerdexam
Microsoft

70-484 · Question #152

A Windows Store app requires data to be downloaded from a remote server and displayed as content. The app has to be responsive while content is being downloaded. The server can send various types of…

The correct answer is A. Use the HttpCompletionOption of the HttpClient class set to ResponseHeadersRead, read the B. Use the MaxResponseContentBufferSize in the HttpClient object to set a maximum size on the D. Set a timeout value to control the time your app needs to wait before the request times out. See the full explanation below for the reasoning.

Question

A Windows Store app requires data to be downloaded from a remote server and displayed as content. The app has to be responsive while content is being downloaded. The server can send various types of messages with varying sizes on a connection that is prone to timeouts. It uses HTTP response headers to provide the meta information on the payload contained in the response. How will you implement this requirement in your app? (Choose all that apply.)

Options

  • AUse the HttpCompletionOption of the HttpClient class set to ResponseHeadersRead, read the
  • BUse the MaxResponseContentBufferSize in the HttpClient object to set a maximum size on the
  • CUse sockets over TCP for an always-on connection.
  • DSet a timeout value to control the time your app needs to wait before the request times out.
  • EUse MessageWebSockets to receive data from the server.

How the community answered

(51 responses)
  • A
    75% (38)
  • C
    10% (5)
  • E
    16% (8)

Community Discussion

No community discussion yet for this question.

Full 70-484 Practice