Distributed Databases MCQs in DBMS

By: Prof. Dr. Fazal Rehman Shamil | Last updated: September 23, 2024

  1. What is a distributed database?
    a) A database that is located on a single server
    b) A database that is spread across multiple servers or locations
    c) A database that uses distributed transactions
    d) A database that is used for online transaction processingAnswer: b) A database that is spread across multiple servers or locations
  2. Which of the following is NOT a characteristic of distributed databases?
    a) Data is stored in a single location
    b) Data replication across multiple sites
    c) Data is accessed and managed as if it were in a single location
    d) Data can be fragmented and distributedAnswer: a) Data is stored in a single location
  3. What is data fragmentation in a distributed database?
    a) Dividing a large database into smaller parts to enhance performance
    b) Breaking data into pieces and storing them in different locations
    c) Creating copies of the database at different locations
    d) Encrypting data to protect it from unauthorized accessAnswer: b) Breaking data into pieces and storing them in different locations
  4. Which type of data fragmentation involves storing different parts of a database table at different locations based on columns?
    a) Horizontal Fragmentation
    b) Vertical Fragmentation
    c) Mixed Fragmentation
    d) ReplicationAnswer: b) Vertical Fragmentation
  5. In a distributed database, what is the primary purpose of data replication?
    a) To ensure data consistency
    b) To improve data availability and fault tolerance
    c) To reduce database size
    d) To optimize query performanceAnswer: b) To improve data availability and fault tolerance
  6. Which of the following is an advantage of distributed databases?
    a) Increased risk of data inconsistency
    b) Complexity in transaction management
    c) Improved data availability and reliability
    d) Higher costs for maintenanceAnswer: c) Improved data availability and reliability
  7. What is a distributed transaction in the context of distributed databases?
    a) A transaction that operates within a single database
    b) A transaction that involves multiple databases or sites
    c) A transaction that is processed in a single location but replicated across sites
    d) A transaction that is split into multiple smaller transactionsAnswer: b) A transaction that involves multiple databases or sites
  8. Which protocol is commonly used for ensuring the atomicity of distributed transactions?
    a) Two-Phase Commit (2PC)
    b) Three-Phase Commit (3PC)
    c) ACID
    d) CAP TheoremAnswer: a) Two-Phase Commit (2PC)
  9. What does the CAP Theorem state about distributed systems?
    a) A distributed system can achieve consistency, availability, and partition tolerance simultaneously
    b) A distributed system can achieve any two of the three properties: consistency, availability, and partition tolerance
    c) A distributed system cannot achieve data replication
    d) A distributed system can only be consistent or availableAnswer: b) A distributed system can achieve any two of the three properties: consistency, availability, and partition tolerance
  10. In distributed databases, what is ‘transparency’?
    a) The ability to hide the complexity of data distribution from users
    b) The ability to make data accessible only to authorized users
    c) The clarity of data encryption mechanisms
    d) The process of maintaining data consistencyAnswer: a) The ability to hide the complexity of data distribution from users
  11. Which of the following is a challenge associated with distributed databases?
    a) Single point of failure
    b) Uniform data format
    c) Simplified transaction management
    d) Consistency across multiple sitesAnswer: d) Consistency across multiple sites
  12. What is the purpose of a distributed query processor?
    a) To optimize the performance of a single database
    b) To manage and coordinate queries across multiple databases
    c) To perform data encryption
    d) To handle user authenticationAnswer: b) To manage and coordinate queries across multiple databases
  13. Which of the following techniques is used to improve the performance of distributed databases by reducing the amount of data transferred across the network?
    a) Data Fragmentation
    b) Data Replication
    c) Data Encryption
    d) IndexingAnswer: a) Data Fragmentation
  14. What is ‘consistency’ in the context of distributed databases?
    a) The ability to ensure that all copies of data are identical across different sites
    b) The speed at which data is accessed
    c) The availability of data during system failure
    d) The process of backing up dataAnswer: a) The ability to ensure that all copies of data are identical across different sites
  15. Which distributed database architecture involves centralizing control at a single site while data is distributed across multiple locations?
    a) Homogeneous Distributed Database
    b) Heterogeneous Distributed Database
    c) Client-Server Architecture
    d) Peer-to-Peer ArchitectureAnswer: a) Homogeneous Distributed Database

 

More MCQs Of Database Systems

  1. Database Models MCQs in DBMS
    1. Hierarchical model MCQs in DBMS
    2. Network model MCQs in DBMS
    3. Relational model MCQs in DBMS
    4. Object-oriented model MCQs in DBMS
    5. NoSQL databases MCQs in DBMS
  2. Relational Database Model MCQs in DBMS
    1. tables, attributes, tuples, and relations MCQs in DBMS
    2. Primary keys and foreign keys MCQs in DBMS
    3. Integrity constraints MCQs in DBMS
  3. SQL (Structured Query Language) MCQs in DBMS
    1. Data Definition Language (DDL) MCQs in DBMS
    2. Data Manipulation Language (DML) MCQs in DBMS
    3. Data Control Language (DCL) MCQs in DBMS
    4. Transaction Control Language (TCL) MCQs in DBMS
    5. Advanced SQL queries and functions MCQs in DBMS
  4. Database Design MCQs in DBMS
    1. Entity-Relationship (ER) modeling MCQs in DBMS
    2. Extended ER modeling MCQs in DBMS
    3. Normalization and normal forms (1NF, 2NF, 3NF, BCNF) MCQs in DBMS
    4. Denormalization MCQs in DBMS
  5. Database Management System Architecture MCQs in DBMS
    1. Three-schema architecture (external, conceptual, internal) MCQs in DBMS
    2. Data independence MCQs in DBMS
    3. DBMS components and functions MCQs in DBMS
  6. Storage and File Structure MCQs in DBMS
    1. Data storage on physical media MCQs in DBMS
    2. File organization and access methods MCQs
    3. Indexing (B-trees, hash indexing) MCQs in DBMS
    4. RAID technology MCQs in DBMS
  7. Query Processing and Optimization MCQs in DBMS
  8. Database Transaction Management MCQs in DBMS
    1. ACID properties (Atomicity, Consistency, Isolation, Durability) MCQs in DBMS
    2. Transaction states and lifecycle MCQs in DBMS
    3. Concurrency control techniques (locking, timestamping, multiversion) MCQs in DBMS
    4. Deadlock detection and resolution MCQs in DBMS
  9. Database Security and Authorization MCQs in DBMS
    1. Authentication and authorization mechanisms MCQs in DBMS
    2. Data encryption techniques MCQs in DBMS
    3. Role-based access control MCQs in DBMS
    4. SQL injection prevention MCQs in DBMS
  10. Backup and Recovery MCQs in DBMS
    1. Backup types and strategies MCQs in DBMS
    2. Recovery techniques (log-based, shadow paging) MCQs in DBMS
    3. Disaster recovery planning MCQs in DBMS
  11. Distributed Databases MCQs in DBMS
    1. Distributed database architecture MCQs MCQs in DBMS
    2. Data fragmentation, replication, and allocation in DBMS
    3. Distributed query processing MCQs in DBMS
    4. Consistency models and protocols MCQs in DBMS
  1. SET 1: database design mcqs (database design mcqs )
  2. SET 2: database mcqs with answers pdf (database mcqs with answers pdf )
  3. SET 3: modern database management 12th edition mcqs (modern database management 12th edition mcqs)
  4. SET 4: database systems mcqs (database systems mcqs)
  5. SET 5: dbms mcqs (dbms mcqs )
  6. SET 6: dbms mcqs with answers (dbms mcqs with answers)
  7. SET 7: solved mcqs of dbms (solved mcqs of dbms)
  8. SET 8: dbms mcqs with answers pdf(dbms mcqs with answers pdf)
  9. SET 9: relational database management system mcqs(relational database management system mcqs)
  10. SET 10: solved mcqs of database management system(solved mcqs of database management system)
  11. SET 11: basic database mcqs pdf (basic database mcqs pdf)
  12. SET 12: relational database management system mcqs (relational database management system mcqs )
  13. SET 13: database mcqs online test (database mcqs online test)
  14. SET 14: database interview questions mcqs (database interview questions mcqs)
  15. SET 15: database developer mcqs (database developer mcqs)
  16. SET 16: database Repeated mcqs (database Repeated mcqs)
  17. SET 17: Database mcqs PPSC (Database mcqs PPSC)
  18. SET 18: Database mcqs FPSC (Database mcqs FPSC)
  19. SET 19: DBMS mcqs FPSC (DBMS mcqs FPSC)

New Arrival

Database interview questions