null
US
Iniciar Sesión
Regístrate Gratis
Registro
Hemos detectado que no tienes habilitado Javascript en tu navegador. La naturaleza dinámica de nuestro sitio requiere que Javascript esté habilitado para un funcionamiento adecuado. Por favor lee nuestros
términos y condiciones
para más información.
Siguiente
Copiar y Editar
¡Debes iniciar sesión para completar esta acción!
Regístrate gratis
2996843
Java Concurrency and Session Management
Descripción
Java Concurrency and Session Management
Sin etiquetas
ecsp java
test 5
session management
Test por
Carlos Veliz
, actualizado hace más de 1 año
Más
Menos
Creado por
Carlos Veliz
hace más de 9 años
117
0
0
Resumen del Recurso
Pregunta 1
Pregunta
Concurrency in Java. Which is not a state of a thread?
Respuesta
Dead
Sleeping
Pause
Running
Resumed
Pregunta 2
Pregunta
"Determines if the thread is running or not". This statement is describing:
Respuesta
IsAlive()
Stop()
isDaemon()
run()
start()
Pregunta 3
Pregunta
In Java, the following methods are vulnerable to race condition:
Respuesta
start(), stop(), init(), wait(), pause()
start(), stop(), time(), init(), destroy()
notifiyAll(), notify() syncronized, java.lang.thread
stop(), isDaemon(), getThreadGroup()
none of the above
Pregunta 4
Pregunta
Which of the following statements is for the use of ThreadPool instead of ThreadGroup?
Respuesta
Using few methods of the threadgroup class is not considered thread-safe
Newly created thread may lead to peromance overhead
Controlling too may threads is not easy and might result in errors in the memory
A thread pool is a set of work queue of runnables and running thread connections
None of the above
Pregunta 5
Pregunta
When an object is built and then occurs: the race condition, improper initialization and leaks, it is because:
Respuesta
if "terminated" reference is not used
if "exception handler" is not used
if "this" reference is used
if "terminated" reference is used
if "this" reference is not used
Pregunta 6
Pregunta
Which statement is not a prevention technique DeadLock?
Respuesta
DeadLock detection
Lock Timeout
Ordering of Locks
Deadlock mutable
None of the above
Pregunta 7
Pregunta
Which of the following is not a safe practice for handling threads?
Respuesta
Use join() method
Setting priorities for threads
Ordering of Locks
Avoid publishing "this" reference during construction
Document the order
Pregunta 8
Pregunta
Check the statement that is not a type of session hijacking attack:
Respuesta
User enumeration
Stealing Session ID through HTTP Get request
Attack using Client-Side Scripting
Session Fixation
Attack through HTTP Header response
Pregunta 9
Pregunta
Indicate which are the guidelines for Secured sessions Management :
Respuesta
Password Strength
Password Storage
Password Use
Browser Caching
All of the above
Pregunta 10
Pregunta
"Date formats in java are not synchronized". This feature belongs to:
Respuesta
Race condition prevention
DateFormat in multi-threaded environment
Use join() method
Document the order
Setting priorities for threads
Mostrar resumen completo
Ocultar resumen completo
¿Quieres crear tus propios
Tests
gratis
con GoConqr?
Más información
.
Similar
Introduction to Java Security
Carlos Veliz
Java Mix Test 42p
Carlos Veliz
Authentication and Authorization
Carlos Veliz
ECSP JAVA: JAAS
Carlos Veliz
Criptography
Carlos Veliz
Java - Mix
Carlos Veliz
Java Application Vulnerabilities
Carlos Veliz
Java Mix Test 42p
Jose Luis Vasquez Galvez
CLASIFICACIÓN DE LA QUIMICA
NATALI GUSQUI
Un Mundo de Posibilidades con las Fichas
Diego Santos
Choose the most suitable future form in each sentence
Margarita Beatriz Vicente Aparicio
Explorar la Librería