Distributed database architecture MCQs MCQs in DBMS
- What is a distributed database architecture?
a) A single database located on multiple servers
b) A database distributed across multiple locations or nodes
c) A database architecture that relies on cloud storage
d) A database that is replicated in real-timeAnswer: b) A database distributed across multiple locations or nodes - Which of the following best describes a homogeneous distributed database system?
a) A system where all nodes use different database management systems (DBMS)
b) A system where all nodes use the same DBMS and have the same schema
c) A system where data is only partially replicated
d) A system where nodes have different schemas but the same DBMSAnswer: b) A system where all nodes use the same DBMS and have the same schema - In a heterogeneous distributed database system, what is typically required for interoperability between different databases?
a) Data encryption
b) Data fragmentation
c) A middleware or translation layer
d) A single point of failureAnswer: c) A middleware or translation layer - Which architecture involves a centralized database system that coordinates data access and updates across multiple distributed databases?
a) Peer-to-Peer Architecture
b) Client-Server Architecture
c) Centralized Architecture
d) Distributed Coordination ArchitectureAnswer: d) Distributed Coordination Architecture - What is the main characteristic of a peer-to-peer distributed database architecture?
a) Centralized control with a master database
b) All nodes have equal authority and share responsibilities
c) Data is replicated at a central server
d) All nodes have different database schemasAnswer: b) All nodes have equal authority and share responsibilities - In a client-server distributed database architecture, what is the role of the client?
a) To manage the database schema and structure
b) To perform data storage and retrieval operations
c) To request and utilize data from the server
d) To coordinate data distribution across nodesAnswer: c) To request and utilize data from the server - Which type of distributed database architecture relies on a central node to manage transactions and coordinate data access?
a) Peer-to-Peer Architecture
b) Federated Architecture
c) Centralized Architecture
d) Client-Server ArchitectureAnswer: c) Centralized Architecture - In a distributed database system, what is a ‘federated database’?
a) A system where multiple autonomous databases are integrated and appear as a single database to users
b) A database that uses a single server to manage all data
c) A system that relies on a single DBMS for all nodes
d) A database that is replicated across multiple locationsAnswer: a) A system where multiple autonomous databases are integrated and appear as a single database to users - Which distributed database architecture allows for data to be managed and queried in a way that appears as if it is stored in a single database, even though it is distributed?
a) Homogeneous Distributed Database
b) Heterogeneous Distributed Database
c) Federated Database System
d) Centralized Database SystemAnswer: c) Federated Database System - What is the primary advantage of a distributed database system over a centralized database system?
a) Easier to manage a single point of failure
b) Improved scalability and fault tolerance
c) Simplified database design
d) Reduced complexity in transaction managementAnswer: b) Improved scalability and fault tolerance - Which of the following is a challenge in a distributed database architecture?
a) Single point of failure
b) Data replication
c) Network latency
d) Centralized controlAnswer: c) Network latency - In a distributed database, what does ‘data fragmentation’ typically involve?
a) Storing all data at a central site
b) Breaking data into pieces and distributing them across multiple nodes
c) Encrypting data for security
d) Creating backup copies of dataAnswer: b) Breaking data into pieces and distributing them across multiple nodes - What is the purpose of a ‘middleware’ in a heterogeneous distributed database system?
a) To handle database encryption
b) To manage backup and recovery processes
c) To enable communication and coordination between different database systems
d) To perform data replicationAnswer: c) To enable communication and coordination between different database systems - Which type of distributed database system is best suited for applications requiring high availability and fault tolerance?
a) Centralized Database System
b) Federated Database System
c) Peer-to-Peer Architecture
d) Client-Server ArchitectureAnswer: c) Peer-to-Peer Architecture - What is the main function of a ‘distributed query processor’ in a distributed database system?
a) To optimize single-node queries
b) To coordinate and execute queries across multiple nodes
c) To manage user authentication
d) To handle backup and recovery operationsAnswer: b) To coordinate and execute queries across multiple nodes