Client server vs Peer to Peer

Computer Science Master

Question 1. What is the primary role of a server in the client-server model?

□ A. To request services and resources from clients

□ B. To provide services, resources, or data to clients

□ C. To act as an intermediary between two clients

□ D. To manage peer connections in a decentralized network

Question 2. Which of the following is a characteristic of a peer in a Peer-to-Peer (P2P) network?

□ A. A peer only consumes resources but cannot provide them

□ B. A peer depends on a central server for communication

□ C. A peer has equal status and can both request and provide resources

□ D. A peer requires specialized hardware to function

Question 3. One disadvantage of the client-server model is:

□ A. Peers have equal status

□ B. It has a single point of failure

□ C. Network scalability is limited

□ D. Decentralization reduces security

Question 4. In a P2P network, what happens if one peer goes offline?

□ A. The entire network stops functioning

□ B. Only that peer loses connection, the rest of the network continues

□ C. All peers lose access to shared resources

□ D. A central server takes over resource management

Question 5. Which advantage is unique to Peer-to-Peer networks compared to client-server networks?

□ A. Centralized management of resources

□ B. Single point of failure

□ C. Distributed architecture with no central authority

□ D. Higher server overhead

Question 6. Fill in the blank(s)

In the client-server model, clients ____________ communication by sending requests to servers.

Question 7. Fill in the blank(s)

A key feature of peer-to-peer networks is ________________________, meaning there is no central server.

Question 8. Fill in the blank(s)

One disadvantage of client-server networks is the __________________________________ if the server crashes.

Question 9. Fill in the blank(s)

Peers in a P2P network share resources such as files, ________________________, and bandwidth.

Question 10. Fill in the blank(s)

In P2P networks, all peers have __________________, allowing them to both request and provide services.

Question 11. What is one main advantage of the client-server model regarding resource management?

Question 12. Why can Peer-to-Peer networks be considered more resilient than client-server networks?

Question 13. Name two functions a peer can perform in a P2P network.

Question 14. What challenge related to security might arise in a P2P network?

Question 15. How does the client-server model impact the hardware requirements of clients?

Question 16. Explain how the client-server model handles scalability and what limitations it might face.

Question 17. Describe the key differences between client-server and peer-to-peer network models in terms of architecture and resource sharing.

Question 18. Discuss the advantages and challenges of using a Peer-to-Peer network for file sharing.

Client server vs Peer to Peer

Answer Sheet

Question 1. What is the primary role of a server in the client-server model?

A. To request services and resources from clients

□ B. To provide services, resources, or data to clients

C. To act as an intermediary between two clients

D. To manage peer connections in a decentralized network

Question 2. Which of the following is a characteristic of a peer in a Peer-to-Peer (P2P) network?

A. A peer only consumes resources but cannot provide them

B. A peer depends on a central server for communication

□ C. A peer has equal status and can both request and provide resources

D. A peer requires specialized hardware to function

Question 3. One disadvantage of the client-server model is:

A. Peers have equal status

□ B. It has a single point of failure

C. Network scalability is limited

D. Decentralization reduces security

Question 4. In a P2P network, what happens if one peer goes offline?

A. The entire network stops functioning

□ B. Only that peer loses connection, the rest of the network continues

C. All peers lose access to shared resources

D. A central server takes over resource management

Question 5. Which advantage is unique to Peer-to-Peer networks compared to client-server networks?

A. Centralized management of resources

B. Single point of failure

□ C. Distributed architecture with no central authority

D. Higher server overhead

Question 6. Fill in the blank(s)

In the client-server model, clients [[initiate]] communication by sending requests to servers.

Question 7. Fill in the blank(s)

A key feature of peer-to-peer networks is [[decentralization]], meaning there is no central server.

Question 8. Fill in the blank(s)

One disadvantage of client-server networks is the [[single point of failure]] if the server crashes.

Question 9. Fill in the blank(s)

Peers in a P2P network share resources such as files, [[processing power]], and bandwidth.

Question 10. Fill in the blank(s)

In P2P networks, all peers have [[equal status]], allowing them to both request and provide services.

Question 11. What is one main advantage of the client-server model regarding resource management?

Servers can centrally manage and secure resources efficiently.

Question 12. Why can Peer-to-Peer networks be considered more resilient than client-server networks?

Because they have a distributed architecture with no single point of failure.

Question 13. Name two functions a peer can perform in a P2P network.

A peer can both request resources from other peers and provide or share resources.

Question 14. What challenge related to security might arise in a P2P network?

There is no central authority to enforce security, so malicious peers can pose risks.

Question 15. How does the client-server model impact the hardware requirements of clients?

Clients can operate with lower hardware requirements because servers handle resource-intensive tasks.

Question 16. Explain how the client-server model handles scalability and what limitations it might face.

Question 17. Describe the key differences between client-server and peer-to-peer network models in terms of architecture and resource sharing.

Question 18. Discuss the advantages and challenges of using a Peer-to-Peer network for file sharing.