O GoConqr está de visual novo! Conte para nós o que você achou.

Quiz

Java Concurrency and Session Management

Carlos Veliz 10 perguntas

Fazer o quiz

Perguntas do quiz (10)

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

Informações

Descrição
Java Concurrency and Session Management
Idioma
Español
Visualizações
180
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?