75% found this document useful (4 votes)
3K views9 pages

Distributed Computing Quiz Questions

The document contains 45 multiple choice questions about distributed computing systems. The questions cover topics such as message passing, client-server architectures, replication, consistency models, synchronization, and faults. They assess understanding of fundamental concepts in distributed systems including communication, coordination, naming, and consistency.

Uploaded by

apnijankari info
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
75% found this document useful (4 votes)
3K views9 pages

Distributed Computing Quiz Questions

The document contains 45 multiple choice questions about distributed computing systems. The questions cover topics such as message passing, client-server architectures, replication, consistency models, synchronization, and faults. They assess understanding of fundamental concepts in distributed systems including communication, coordination, naming, and consistency.

Uploaded by

apnijankari info
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
  • Quiz Question 5
  • Quiz Question 3
  • Quiz Question 6
  • Quiz Question 4
  • Quiz Question 2
  • Quiz Question 1
  • Quiz Question 11
  • Quiz Question 10
  • Quiz Question 9
  • Quiz Question 8
  • Quiz Question 7
  • Quiz Question 16
  • Quiz Question 13
  • Quiz Question 14
  • Quiz Question 15
  • Quiz Question 12
  • Quiz Question 19
  • Quiz Question 18
  • Quiz Question 20
  • Quiz Question 21
  • Quiz Question 22
  • Quiz Question 17
  • Quiz Question 27
  • Quiz Question 26
  • Quiz Question 23
  • Quiz Question 25
  • Quiz Question 24
  • Quiz Question 31
  • Quiz Question 29
  • Quiz Question 28

Distributed Computing System Quiz Questions

1. Message passing provides a mechanism to allow processes to communicate and to


synchronize their actions___________

1. without sharing the same address space


2. by sharing the same address space
3. by sharing port number
4. by sharing the same process number and process identifier

Answer: by sharing the same address space

2. Which address is used to identify a process on a host by the transport layer?

1. logical address
2. physical address
3. specific address
4. port address

Answer: port address

3. ____________is an object acting as a gateway for the client side.

1. stub
2. skeleton
3. server
4. remote

Answer: stub

[Link] stands for ________

1. open service internet


2. operating system interface
3. optical service implementation
4. open system interconnection

Answer: open system interconnection

5. In all reliable multicast group communication_______________

1. response from any of the receiver required


2. response from \m\(1<m<n) of the \n\receiver required
3. n\ response expected from the receiver
4. response needed from all the receivers

Answer: response needed from all the receivers

6. Which of the following allocates/deallocates buffers?


1. stub/skeleton layer
2. transport layer
3. rrl
4. networking layer

Answer: rrl

7. An architecture where clients first communicate the server for data then format and
display it to the users, is known as____________

1. three-tier architecture
2. two-tier architecture
3. client/server architecture
4. peer-to-peer architecture

Answer: client/server architecture

8. If processes p and q both receive messages m and m', then p receives m before m' if
and only if q receives m before m'.The order delivery is called

1. consistent ordering
2. absolute ordering
3. causal ordering
4. fifo ordering

Answer: consistent ordering

9. What is the feature of stateful server?

1. quick recovery after reboot


2. file operations must be idempotent
3. longer server recovery time
4. simple server design

Answer: longer server recovery time

10. File Replication is done to_______________

1. increase cost
2. increase complexity
3. increase reliability
4. increase data

Answer: increase reliability

11. Pre transferring also known as_________________

1. premigrating
2. prefiltering
3. postcopying
4. precopying

Answer: precopying

12. To improve performance, many distributed systems___________

1. combine check pointing with message logging


2. combine check pointing with recovery oriented computing
3. All of above
4. None of above

Answer: combine check pointing with message logging

13. Which algorithm requires "1 to ∞" messages to enter and leave a critical region?

1. centralized algorithm
2. decentralized algorithm
3. token ring algorithm
4. distributed algorithm

Answer: token ring algorithm

14. The dynamic replication algorithm takes into account________________

1. files on server can be migrated anywhere


2. schedule process migration
3. to reduce load on server
4. resource sharing

Answer: to reduce load on server

15. Machine that places the request to access the data is generally called
as______________

1. client machine
2. server machine
3. database server
4. request machine

Answer: client machine

16. Which of the following is an example of election algorithm.

1. bully algorithm
2. cristian’s algorithm
3. berkley algorithm
4. lamport’s

Answer: bully algorithm


17. Full form of NTP is_____________

1. network time protocol


2. new timestamp protocol
3. new time protocol
4. network time stamp protocol

Answer: network time protocol

18. This is not feature of cooperative algorithm_____________

1. larger overhead
2. complex
3. worst stability
4. better stability

Answer: worst stability

19. The local operating system on the server machine passes the incoming packets to
the______________

1. server stub
2. binding agent
3. client operating system
4. client stub

Answer: server stub

20. NTP is_________ layer protocol.

1. session
2. application
3. physical
4. transport

Answer: application

21. Transient communication done by layer______________

1. transport
2. network
3. session
4. physical

Answer: transport

22. Which mutual exclusion algorithm is useful when the membership of the group is
unknown?

1. lamport’s.
2. centralized
3. decentralized algorithm
4. token ring

Answer: centralized

23. Distributed system consists of set of resource____________

1. printer
2. cd
3. processor
4. processes

Answer: processor

24. What are the characteristics of data migration?

1. execute an entire process or parts of it at different sites


2. transfer the computation rather than the data
3. transfer data by entire file or immediate portion required
4. execute an entire process or parts of it at same site

Answer: transfer data by entire file or immediate portion required

25. A “glue” between client and server parts of application____________

1. firmware
2. middleware
3. package
4. system software

Answer: middleware

26. Absolute time synchronization can be achieved using______________

1. christian’s method
2. vector time stamping method
3. ricart-agrawala algorithm
4. lamport’s method

Answer: christian’s method

27. What are the characteristics of computation migration?

1. transfer the computation rather than the data


2. transfer data by entire file or immediate portion required
3. execute an entire process or parts of it at different sites
4. execute an entire process or parts of it at same site

Answer: transfer the computation rather than the data


28. In Casual consistency model all processes hared accesses in____________

1. sequential order
2. same order
3. random order
4. specific order

Answer: same order

29. ______consistency is that write operations by the same process are performed in the
correct order everywhere.

1. strict
2. weak
3. fifo
4. eventual

Answer: fifo

30. In which of the following consistency model all writes become perceptible to all
processes___________

1. weak
2. strict
3. sequential
4. casual

Answer: strict

31. In RMI, the objects are passed by_____________

1. reference
2. value
3. All of above
4. Object

Answer: value

32. _________is a process that prevents multiple threads or processes from accessing
shared resources at the same time.

1. critical section
2. message passing
3. deadlock
4. mutual exclusion

Answer: mutual exclusion

33. Any successive write operation by a process on a data item x will be performed on a
copy of x that is up to date with the value most recently read by that process.
1. writes follows reads
2. monotonic-write
3. monotonic-read
4. read your writes

Answer: writes follows reads

34. The hardware of DS has two types____________

1. multiprocessor system, unicomputer system


2. uniprocessor system, multicomputer system
3. multiprocessor system, multicomputer system
4. uniprocessor system, unicomputer system

Answer: multiprocessor system ,multicomputer system

35. Replicas are used only to improve access time on data _________________

1. server initiated
2. client initiated
3. permanent
4. dynamic

Answer: client initiated

36. In __________ receivers never acknowledge the successful delivery of multicast


message but instead report only when missing the message.

1. non-hierarchical feedback control


2. hierarchical feedback control
3. basic reliable multicasting
4. atomic multicast

Answer: non-hierarchical feedback control

37. Process Fail - Stop in process omission faults_____________

1. can be detected in asynchronous system.


2. can be detected in synchronous system.
3. can be detected in standalone system.
4. can be detected in synchronous and asynchronous system.

Answer: can be detected in synchronous system.

38. Scaling transparency hides______________

1. system collaboration
2. system failure
3. system security
4. system expansion
Answer: system expansion

39. Staleness deviations relate to the a replica was updated________

1. most recent time


2. first time
3. previous time
4. last time

Answer: last time

40. A problem with the ____________ protocol is that when the coordinator has
crashed, participants may not be able to reach afinal decision

1. three-phase commit
2. one-phase commit
3. two-phase commit
4. virtual synchrony

Answer: two-phase commit

41. Type of grid computing is_______________

1. process grid
2. system grid
3. collaborative grid
4. channel grid

Answer: collaborative grid

42. Distributed pervasive system is also known as__________

1. user interface design


2. graphical user interface
3. ubiquitous computing
4. peer to peer system

Answer: ubiquitous computing

43. Optimistic logging protocols need to keep track of___________

1. checking points
2. independencies
3. erroneous state
4. dependencies

Answer: dependencies

44. Processor Consistency model guarantees and conforms that________________


1. all write accomplished on random memory location in random sequence
2. all write accomplished on identical memory location in identical sequence.
3. All of above
4. None of above

Answer: all write accomplished on identical memory location in identical sequence.

45. Type of cluster computing is_______________

1. load sharing cluster


2. load replication cluster
3. load balancing cluster
4. load holding cluster

Answer: load balancing cluster

Common questions

Powered by AI

File replication enhances system reliability by duplicating data across multiple servers or locations, which ensures data availability in the event of a system failure. This redundancy allows systems to continue operations seamlessly, thereby improving fault tolerance and data access reliability .

Christian's method is used for absolute time synchronization as it provides a simple yet effective means of synchronizing clocks by adjusting them closer to a reference time. It differs from other methods by directly using a time server to provide a time update message, which is adjusted based on the estimated delay, unlike vector time stamping or Lamport’s method, which focus on event ordering .

FIFO consistency in distributed systems implies that write operations made by a single process will be seen in the order issued across all other processes. This ensures that operations from a single source appear in sequence, preserving causal relationships. However, it does not guarantee order consistency for operations from different sources, potentially leading to varied system state views .

Centralized algorithms manage mutual exclusion by designating a central coordinator responsible for granting permission to access the critical section. This approach is particularly useful when the membership of the group is unknown, as it simplifies the management of access control and reduces communication overhead between processes seeking access to shared resources .

Middleware acts as a 'glue' between client and server parts of an application, facilitating communication and data management between distributed components. It abstracts the complexities of the underlying hardware and network communications, thus enabling interoperability and scalable system interactions .

Optimistic logging protocols improve efficiency by deferring the decision to log until the dependencies of the execution are known, allowing processes to proceed without waiting for immediate logging. This approach reduces latency and improves system throughput, as it allows more concurrent operations at the expense of potentially increased complexity in recovery .

The two-phase commit protocol faces challenges such as the inability to reach a final decision if the coordinator crashes during the process, leading to potential deadlock situations. It requires reliable communication channels and persistent storage to ensure all participants can either commit or abort transactions, imposing higher overhead and complexity compared to simpler protocols .

Consistent ordering in message delivery is significant because it ensures that all processes receive messages in a consistent sequence, minimizing discrepancies in process synchronization and data consistency. This is critical for maintaining coherent system states and is particularly important in coordinating distributed processes .

Message passing provides a mechanism for processes to communicate and synchronize their actions without sharing the same address space. This separation allows independent processes to interact efficiently by exchanging data, thus maintaining data consistency and process isolation .

The token ring algorithm is crucial for managing resource access as it ensures mutual exclusion by circulating a token that allows only one process to access the critical section at any time. This method is efficient in systems where processes frequently enter and exit the critical section, reducing the overall message passing overhead .

Distributed Computing System Quiz Questions 
1. Message passing provides a mechanism to allow processes to communicate an
1. stub/skeleton layer 
2. transport layer 
3.  rrl 
4. networking layer 
Answer:  rrl 
7. An architecture where clients
4. precopying 
Answer: precopying 
12. To improve performance, many distributed systems___________ 
1. combine check poin
17. Full form of NTP is_____________ 
1. network time protocol 
2. new timestamp protocol 
3. new time protocol 
4. netwo
2. centralized 
3. decentralized algorithm 
4. token ring 
Answer: centralized 
23. Distributed system consists of set of
28. In Casual consistency model all processes hared accesses in____________ 
1. sequential order 
2. same order 
3. rando
1. writes follows reads 
2. monotonic-write 
3. monotonic-read 
4. read your writes 
Answer: writes follows reads 
34. Th
Answer: system expansion 
39. Staleness deviations relate to the a replica was updated________ 
1. most recent time 
2. f
1. all write accomplished on random memory location in random sequence 
2. all write accomplished on identical memory loc

You might also like