GIAC
GSSP-.NET · Question #332
GSSP-.NET Question #332: Real Exam Question with Answer & Explanation
Sign in or unlock GSSP-.NET to reveal the answer and full explanation for question #332. The question stem and answer options stay visible for context.
Question
- (Topic 3) You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You need to write a code segment that transfers the contents of a byte array named ToSend by using a NetworkStream object named NetStr. You want to use a cache of size only 8,192 bytes. Which of the following code segments will you use to accomplish the task?
Options
- AMemoryStream MStream = new MemoryStream(8192); NetStr.Write(ToSend, 0, (int)
- BBufferedStream BStream = new BufferedStream(NetStr); BStream.Write(ToSend, 0,
- CBufferedStream BStream = new BufferedStream(NetStr, 8192); BStream.Write(ToSend,
- DMemoryStream MStream = new MemoryStream(8192); MStream.Write(ToSend, 0, (int)
Unlock GSSP-.NET to see the answer
You've previewed enough free GSSP-.NET questions. Unlock GSSP-.NET 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.