JUnit Questions and Answers for Aptitude test on “Distributed File System”.
1. What is a stateless file server?
a) It keeps tracks of states of different objects
b) It maintains internally no state information at all
c) It maintains some information in them
d) None of the mentioned
Answer: b
2. What are the characteristics of the stateless server?
a) Easier to implement
b) They are not fault-tolerant upon client or server failures
c) They store all information file server
d) They are redundant to keep data safe
Answer: a
3. Implementation of a stateless file server must not follow?
a) Idempotency requirement
b) Encryption of keys
c) File locking mechanism
d) Cache consistency
Answer: b
4. What are the advantages of file replication?
a) Improves availability & performance
b) Decreases performance
c) They are consistent
d) Improves speed
Answer: a
5. What are characteristic of NFS protocol?
a) Search for file within directory
b) Read a set of directory entries
c) Manipulate links and directories
d) All of the mentioned
Answer: d
Clarification: None.
6. What is the coherency of replicated data?
a) All replicas are identical at all times
b) Replicas are perceived as identical only at some points in time
c) Users always read the most recent data in the replicas
d) All of the mentioned
Answer: d
Clarification: None.
7. What are the three popular semantic modes?
a) Unix, Coherent & Session semantics
b) Unix, Transaction & Session semantics
c) Coherent, Transaction & Session semantics
d) Session, Coherent semantics
Answer: b
Clarification: None.
8. What are the characteristics of Unix semantics?
a) Easy to implement in a single processor system
b) Data cached on a per process basis using write through case control
c) Write-back enhances access performance
d) All of the mentioned
Answer: d
Clarification: None.
9. What are the characteristics of transaction semantics?
a) Suitable for applications that are concerned about coherence of data
b) The users of this model are interested in the atomicity property for their transaction
c) Easy to implement in a single processor system
d) Write-back enhances access performance
Answer: b
Clarification: None.
10. What are non characteristics of session semantics?
a) Each client obtains a working copy from the server
b) When file is closed, the modified file is copied to the file server
c) The burden of coordinating file sharing is ignored by the system
d) Easy to implement in a single processor system
Answer: d