nerdexam
GIAC

GSSP-NET · Question #473

You work as a Software Developer for ABC Inc. The company uses Visual Studio.NET as its application development platform. You have recently finished development of an application using .NET…

The correct answer is A. Use a WaitCallback delegate to synchronize the threads. GIAC GSSP-.NET Exam

Secure Deployment and Configuration Management

Question

You work as a Software Developer for ABC Inc. The company uses Visual Studio.NET as its application development platform. You have recently finished development of an application using .NET Framework. The application used two threads named threadOne and threadTwo. You are required to modify the code of the application to prevent the execution of threadOne until threadTwo completes execution. What will you do to accomplish this task?

Options

  • AUse a WaitCallback delegate to synchronize the threads.
  • BConfigure threadTwo to run at a higher priority.
  • CConfigure threadOne to run at a lower priority.
  • DCall the Sleep method of threadOne.
  • ECall the SpinLock method of threadOne

How the community answered

(23 responses)
  • A
    78% (18)
  • B
    13% (3)
  • C
    4% (1)
  • D
    4% (1)

Explanation

GIAC GSSP-.NET Exam

Topics

#thread synchronization#WaitCallback delegate#thread coordination#.NET threading

Community Discussion

No community discussion yet for this question.

Full GSSP-NET Practice