GIAC
GSSP-NET · Question #259
GSSP-NET Question #259: Real Exam Question with Answer & Explanation
Sign in or unlock GSSP-NET to reveal the answer and full explanation for question #259. The question stem and answer options stay visible for context.
Question
You work as a Windows Application Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create a Windows application using the .NET Framework. You create a Semaphore class instance in the application by using the following code snippet: Semaphore tSema = new Semaphore(0, 5); ... tSema.Release(6); What will the above code segment do?
Options
- AIt will set the maximum count for the semaphore to 6.
- BIt will set the initial count for the semaphore to 5.
- CIt will throw a SemaphoreFullException.
- DIt will throw a ThreadAbortException.
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.