Quiz
Java Concurrency and Session Management
Erstelle ein kostenloses Konto, um dieses Quiz zu beenden
Speichere deinen Fortschritt und sieh dir dein Endergebnis an.
oder mit deiner E-Mail registrieren
Schon ein Konto? Anmelden
Fragen in diesem Quiz (10)
1Concurrency in Java. Which is not a state of a thread?
- ADead
- BSleeping
- CPause
- DRunning
- EResumed
2"Determines if the thread is running or not". This statement is describing:
- AIsAlive()
- BStop()
- CisDaemon()
- Drun()
- Estart()
3In Java, the following methods are vulnerable to race condition:
- Astart(), stop(), init(), wait(), pause()
- Bstart(), stop(), time(), init(), destroy()
- CnotifiyAll(), notify() syncronized, java.lang.thread
- Dstop(), isDaemon(), getThreadGroup()
- Enone of the above
4Which of the following statements is for the use of ThreadPool instead of ThreadGroup?
- AUsing few methods of the threadgroup class is not considered thread-safe
- BNewly created thread may lead to peromance overhead
- CControlling too may threads is not easy and might result in errors in the memory
- DA thread pool is a set of work queue of runnables and running thread connections
- ENone of the above
5When an object is built and then occurs: the race condition, improper initialization and leaks, it is because:
- Aif "terminated" reference is not used
- Bif "exception handler" is not used
- Cif "this" reference is used
- Dif "terminated" reference is used
- Eif "this" reference is not used
6Which statement is not a prevention technique DeadLock?
- ADeadLock detection
- BLock Timeout
- COrdering of Locks
- DDeadlock mutable
- ENone of the above
7Which of the following is not a safe practice for handling threads?
- AUse join() method
- BSetting priorities for threads
- COrdering of Locks
- DAvoid publishing "this" reference during construction
- EDocument the order
8Check the statement that is not a type of session hijacking attack:
- AUser enumeration
- BStealing Session ID through HTTP Get request
- CAttack using Client-Side Scripting
- DSession Fixation
- EAttack through HTTP Header response
9Indicate which are the guidelines for Secured sessions Management :
- APassword Strength
- BPassword Storage
- CPassword Use
- DBrowser Caching
- EAll of the above
10"Date formats in java are not synchronized". This feature belongs to:
- ARace condition prevention
- BDateFormat in multi-threaded environment
- CUse join() method
- DDocument the order
- ESetting priorities for threads
Informationen
- Beschreibung
- Java Concurrency and Session Management
- Autor
- Carlos Veliz
- Sprache
- Español
- Aufrufe
- 180
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz