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?
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
but A does not make sense since it first compresses stream and then copies it to uncompressed stream.
upvoted 4 times
...
...
This section is not available anymore. Please use the main Exam Page.70-486 Exam Questions
Log in to ExamTopics
Sign in:
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.
arohh
4 years, 4 months agoozner16
5 years, 3 months agoyapi
5 years, 1 month ago