nerdexam
GIAC

GSSP-NET · Question #406

Maria works as a Software Developer for MarcLync Inc. She creates an XML Web service, named MyWebService, using Visual Studio .NET. Maria wants to debug MyWebService. Therefore, she attaches a…

The correct answer is D. Set the timeout value for the MyWebService call to -1. See the full explanation below for the reasoning.

Question

Maria works as a Software Developer for MarcLync Inc. She creates an XML Web service, named MyWebService, using Visual Studio .NET. Maria wants to debug MyWebService. Therefore, she attaches a debugger to the Web service process. However, Maria notices that whenever MyWebService is executed, it throws an exception System.Net.WebException after a certain time period. The exception displays the message "The current operation has timed-out." Maria wants to modify the code in MyWebService. Which of the following actions will Maria take GIAC GSSP-.NET Exam in order to resolve this issue?

Options

  • ASet the timeout value for the MyWebService call to zero.
  • BSet the timeout value for the MyWebService call to false.
  • CAdd an exception handling block.
  • DSet the timeout value for the MyWebService call to -1.

How the community answered

(48 responses)
  • A
    2% (1)
  • B
    4% (2)
  • C
    8% (4)
  • D
    85% (41)

Community Discussion

No community discussion yet for this question.

Full GSSP-NET Practice