exam questions

Exam 70-486 All Questions

View all questions & answers for the 70-486 exam

Exam 70-486 topic 4 question 4 discussion

Actual exam question from Microsoft's 70-486
Question #: 4
Topic #: 4
[All 70-486 Questions]

You need to maximize performance of video delivery.
Which code segment should you use as the body of the GetVideoStream function in the Video-Controller class?

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
arohh
4 years, 4 months ago
I think the answer is right: https://stackoverflow.com/questions/3802107/how-to-gzip-content-in-asp-net-mvc
upvoted 1 times
...
ozner16
5 years, 3 months ago
I think answer is A because in 'DownloadVideo' method you are waiting for a 'stream' object from the 'GetVideoStream' function, then: - from 'B' you get a gzipstream instance or a FileStream object - from 'C' you get a gzipstream instance - from 'D' you get a gzipstream instance or a FileStream object - from 'A' you always get a MemoryStream object (which inherits from Stream object) 'FileStream' also inherites from Stream but for B and D there is also possibly that you can get a gzip instance so I dont think that could be correct
upvoted 1 times
yapi
5 years, 1 month ago
but A does not make sense since it first compresses stream and then copies it to uncompressed stream.
upvoted 4 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...