Deck 2: Distributed Systems and Resource Management
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/25
Play
Full screen (f)
Deck 2: Distributed Systems and Resource Management
1
------------------ all related objects moved and left to a server upon the first RPC
A)call by value
B)call by move
C)call by visit
D)call by reference
A)call by value
B)call by move
C)call by visit
D)call by reference
call by move
2
What is the feature of stateful server?
A)longer server recovery time
B)quick recovery after reboot
C)file operations must be idempotent
D)simple server design
A)longer server recovery time
B)quick recovery after reboot
C)file operations must be idempotent
D)simple server design
longer server recovery time
3
------------------- is a process that prevents multiple threads or processes from accessing shared resources at the same time.
A)critical section
B)deadlock
C)message passing
D)mutual exclusion
A)critical section
B)deadlock
C)message passing
D)mutual exclusion
mutual exclusion
4
Absolute time synchronization can be achieved using
A)vector time stamping method
B)christian's method
C)lamport's method
D)ricart-agrawala algorithm
A)vector time stamping method
B)christian's method
C)lamport's method
D)ricart-agrawala algorithm
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
5
Which mutual exclusion algorithm is useful when the membership of the group is unknown?
A)centralized
B)lamport's.
C)token ring
D)decentralized algorithm
A)centralized
B)lamport's.
C)token ring
D)decentralized algorithm
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
6
Which event is concurrent with the vector clock (2, 8, 4)?
A)(3,9,5)
B)(3,8,4)
C)(1,7,3)
D)(4,8,2)
A)(3,9,5)
B)(3,8,4)
C)(1,7,3)
D)(4,8,2)
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
7
A client gets a timestamp of 4:12:30.500 from atime server. The elapsed time between the requestand response was 20 msec (0.020 sec).The currenttime on the client is 4:12:30.510. Using Cristian'salgorithm, what is the time set to on theclient?
A)1970-01-01 04:12:30
B)1970-01-01 04:12:30.
C)1970-01-01 04:12:32
D)1970-01-01 04:12:32.
A)1970-01-01 04:12:30
B)1970-01-01 04:12:30.
C)1970-01-01 04:12:32
D)1970-01-01 04:12:32.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
8
NTP is-----------------layer protocol.
A)application
B)session
C)transport
D)physical
A)application
B)session
C)transport
D)physical
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
9
Which of the following is an example of election algorithm.
A)berkley algorithm:
B)bully algorithm.
C)cristian's algorithm
D)lamport's
A)berkley algorithm:
B)bully algorithm.
C)cristian's algorithm
D)lamport's
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
10
For each critical section (CS) execution, Ricart-Agrawala algorithm requires ---------------------- messages per CS execution and the Synchronization delay in thealgorithm is .
A)3(n ? 1), t
B)2(n ? 1), t
C)(n ? 1), 2t
D)(n ? 1), t
A)3(n ? 1), t
B)2(n ? 1), t
C)(n ? 1), 2t
D)(n ? 1), t
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
11
For each critical section (CS) execution, maekawa's algorithm requires ----------------------messages per CS execution and the Synchronization delay in thealgorithm is .
A)?n , t
B)2?n , t
C)3?n , t
D)3?n , 2t
A)?n , t
B)2?n , t
C)3?n , t
D)3?n , 2t
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
12
RAYMOND'S TREE BASED ALGORITHM is an
A)non- token based algorithm.
B)token based algorithm.
C)centralized based algorithm
D)physical clock synchronization algorithm.
A)non- token based algorithm.
B)token based algorithm.
C)centralized based algorithm
D)physical clock synchronization algorithm.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
13
Suzuki-Kasami's Broadcast Algorithm is an
A)non- token based algorithm.
B)token based algorithm.
C)centralized based algorithm
D)physical clock synchronization algorithm.
A)non- token based algorithm.
B)token based algorithm.
C)centralized based algorithm
D)physical clock synchronization algorithm.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
14
Full form of NTP is:
A)network time protocol
B)new time protocol
C)new timestamp protocol
D)network timestamp protocol
A)network time protocol
B)new time protocol
C)new timestamp protocol
D)network timestamp protocol
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
15
Which algorithm requires "1 to ?" messages to enter and leave a critical region?
A)token ring algorithm
B)centralized algorithm
C)decentralized algorithm
D)distributed algorithm
A)token ring algorithm
B)centralized algorithm
C)decentralized algorithm
D)distributed algorithm
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
16
Pretransfering also known as
A)premigrating
B)precopying
C)prefiltering
D)postcopying
A)premigrating
B)precopying
C)prefiltering
D)postcopying
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
17
change the state of thread from suspe
A)run()
B)yield()
C)destroy()
D)start()
A)run()
B)yield()
C)destroy()
D)start()
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
18
Distributed syatem consists of set of resour
A)printer
B)processor
C)cd
D)processes
A)printer
B)processor
C)cd
D)processes
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
19
This is not feature of cooperative algorithm
A)complex
B)larger overhead
C)worst stability
D)better stability
A)complex
B)larger overhead
C)worst stability
D)better stability
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
20
How is access to resources of various machines is done?
A)remote logging using ssh or telnet
B)zone are configured for automatic access
C)ftp is not used
D)ftp is used
A)remote logging using ssh or telnet
B)zone are configured for automatic access
C)ftp is not used
D)ftp is used
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
21
What are the characteristics of data migration?
A)transfer data by entire file or immediate portion required
B)transfer the computation rather than the data
C)execute an entire process or parts of it at different sites
D)execute an entire process or parts of it at same site
A)transfer data by entire file or immediate portion required
B)transfer the computation rather than the data
C)execute an entire process or parts of it at different sites
D)execute an entire process or parts of it at same site
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
22
What are the characteristics of computation migration?
A)transfer data by entire file or immediate portion required
B)transfer the computation rather than the data
C)execute an entire process or parts of it at different sites
D)execute an entire process or parts of it at same site
A)transfer data by entire file or immediate portion required
B)transfer the computation rather than the data
C)execute an entire process or parts of it at different sites
D)execute an entire process or parts of it at same site
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
23
What are the characteristics of process migr
A)transfer data by entire file or immediate portion required
B)transfer the computation rather than the data
C)execute an entire process or parts of it at different sites
D)execute an entire process or parts of it at same site
A)transfer data by entire file or immediate portion required
B)transfer the computation rather than the data
C)execute an entire process or parts of it at different sites
D)execute an entire process or parts of it at same site
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
24
When the process issues an I/O request
A)it is placed in an i/o queue
B)it is placed in a waiting queue
C)it is placed in the ready queue
D)it is placed in the job queue
A)it is placed in an i/o queue
B)it is placed in a waiting queue
C)it is placed in the ready queue
D)it is placed in the job queue
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
25
Absolute time ordering of all shared accesses matters in
A)sequential consistency
B)casual consistency
C)strict consistency
D)weak consistency
A)sequential consistency
B)casual consistency
C)strict consistency
D)weak consistency
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck