System Administrator 2026
When the target thread periodically checks if it should terminate and terminates itself in an orderly manner, it is called?
  • A. Asynchronous cancellation
  • B. Systematic cancellation
  • C. Sudden termination
  • D. Deferred cancellation
Cancelling a thread asynchronously ____________
  • A. Frees all the resources properly
  • B. May not free each resource
  • C. Spoils the process execution
  • D. None of the mentioned
Cancellation point is the point where ____________
  • A. The thread can be cancelled €? safely or otherwise doesn’t matter
  • B. The thread can be cancelled safely
  • C. The whole process can be cancelled safely
  • D. None of the mentioned
Thread pools are useful when ____________
  • A. When we need to limit the number of threads running in the application at the same time
  • B. When we need to limit the number of threads running in the application as a whole
  • C. When we need to arrange the ordering of threads
  • D. None of the mentioned
Each connection arriving at multi threaded servers via network is generally ____________
  • A. Is directly put into the blocking queue
  • B. Is wrapped as a task and passed on to a thread pool
  • C. Is kept in a normal queue and then sent to the blocking queue from where it is dequeued
  • D. None of the mentioned
What is the idea behind thread pools?
  • A. A number of threads are created at process startup and placed in a pool where they sit and wait for work
  • B. When a process begins, a pool of threads is chosen from the many existing and each thread is allotted equal amount of work
  • C. All threads in a pool distribute the task equally among themselves
  • D. None of the mentioned
If the thread pool contains no available thread ____________
  • A. The server runs a new process
  • B. The server goes to another thread pool
  • C. The server demands for a new pool creation
  • D. The server waits until one becomes free
Thread pools help in ____________
  • A. Servicing multiple requests using one thread
  • B. Servicing a single request using multiple threads from the pool
  • C. Faster servicing of requests with an existing thread rather than waiting to create a new thread
  • D. None of the mentioned