wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Distributed Database Systems MCQs 1-7

Total questions: 40

Worksheet time: 20mins

Name
Class
Date
1.

What is a Distributed Database System (DDBS)?

a)

A single database stored on one server

b)

Multiple, logically related databases connected over a network

c)

A backup system for centralized databases

d)

A local database for offline access

2.

Which of the following is not an advantage of distributed databases?

a)

Scalability

b)

Improved reliability

c)

Simplicity of management

d)

Faster access for local users

3.

What is the primary goal of data fragmentation?

a)

To hide data from users

b)

To improve performance and availability

c)

To increase database redundancy

d)

To minimize storage space

4.

In horizontal fragmentation, a relation is divided based on:

a)

Columns

b)

Rows

c)

Tables

d)

Keys

5.

Which two properties can always be guaranteed in a distributed system according to the CAP theorem?

a)

Consistency and Availability

b)

Consistency and Partition Tolerance

c)

Availability and Partition Tolerance

d)

Only one property at a time

6.

What distinguishes a client–server architecture from a P2P architecture?

a)

Client–server uses no servers

b)

P2P allows nodes to act as both clients and servers

c)

Client–server offers no scalability

d)

P2P requires central coordination between the client–server

7.

In a homogeneous DDBMS, all nodes:

a)

Have different DBMS and schemas

b)

Share the same DBMS and schema

c)

Operate independently without coordination

d)

Use unrelated data models

8.

Which type of fragmentation divides a relation into subsets of columns?

a)

Vertical

b)

Horizontal

c)

Mixed

d)

Allocated

9.

What is the key advantage of Shared-Nothing Architecture (SNA)?

a)

Centralized control

b)

Shared memory for faster processing

c)

High scalability and fault isolation

d)

Redundant hardware sharing

10.

In master–slave replication, which database handles write operations?

a)

Slave

b)

Both

c)

Master

d)

Backup node

11.

In a multi-tier architecture, the “logic tier” is primarily responsible for:

a)

Storing and retrieving data

b)

User interaction and presentation

c)

Processing business rules and logic

d)

Managing client authentication

12.

Which replication strategy copies only a subset of a database?

a)

Full replication

b)

Partial replication

c)

Sharding

d)

Snapshot replication

13.

Which CAP theorem trade-off is most suitable for social media applications?

a)

CP (Consistency + Partition Tolerance)

b)

AP (Availability + Partition Tolerance)

c)

CA (Consistency + Availability)

d)

None of the above

14.

Which scenario best demonstrates horizontal fragmentation?

a)

Splitting CUSTOMER table into “Name” and “Address” columns

b)

Storing product catalog copies in all sites

c)

Dividing CUSTOMER table into Luzon, Visayas, and Mindanao rows

d)

Splitting database tables by data type

15.

What is the main challenge of maintaining data consistency in asynchronous replication?

a)

High latency due to synchronous updates

b)

Data changes may not immediately appear in replicas

c)

Network partitions reduce availability

d)

Writes are blocked until all replicas confirm

16.

A distributed system that prioritizes correctness over availability during network failures is a:

a)

CP system

b)

AP system

c)

CA system

d)

Peer-to-Peer system

17.

Which replication configuration requires acknowledgment from at least one replica before committing a transaction?

a)

Asynchronous

b)

Semi-synchronous

c)

Full replication

d)

Partial replication

18.

Which type of DDBMS supports nodes with different DBMS software and schemas?

a)

Homogeneous

b)

Heterogeneous

c)

Parallel

d)

Shared-Nothing

19.

Why can’t CA systems exist in a truly distributed environment?

a)

Network partitions are inevitable

b)

They use only one node

c)

They require redundant schemas

d)

They are slower than AP systems

20.

Which statement about hybrid replication is correct?

a)

It replicates the entire database at all times

b)

It combines multiple replication methods to meet specific goals

c)

It requires a homogeneous DDBMS setup

d)

It only applies to peer-to-peer architectures

21.

What is the main purpose of a Distributed Database System (DDBS)?

a)

To centralize all data in one physical location

b)

To distribute logically related databases across multiple sites while appearing as one system

c)

To back up a single database for fault recovery

d)

To encrypt data across multiple databases

22.

Which of the following is not a motivation for distributed databases?

a)

Reliability

b)

Autonomy

c)

Complexity

d)

Scalability

23.

In distributed query processing, which optimization strategy reduces data transfer between sites?

a)

Projection expansion

b)

Predicate pushdown and semijoin strategy

c)

Centralized query execution

d)

Delayed join evaluation

24.

The main goal of query decomposition in distributed query processing is to:

a)

Encrypt data for security

b)

Break SQL queries into site-specific subqueries for parallel execution

c)

Merge different database schemas into site-specific subqueries for parallel execution

d)

Convert data into JSON format

25.

What major problem does the Two-Phase Commit (2PC) protocol face?

a)

It cannot ensure atomicity

b)

It may cause blocking if the coordinator fails

c)

It doesn’t communicate with participants

d)

It ignores concurrency control

26.

Compared to 2PC, the Three-Phase Commit (3PC) protocol:

a)

Removes the need for coordinators to increase blocking and worsen fault tolerance

b)

Adds an extra phase to reduce blocking and improve fault tolerance

c)

Reduces communication cost

d)

Allows transactions to commit independently

27.

In distributed concurrency control, what is one advantage of timestamp ordering over locking?

a)

Allows higher transaction priority regardless of timestamp

b)

Eliminates deadlocks since no locks are used

c)

Avoids transaction rollbacks completely

d)

Uses fewer timestamps for faster processing

28.

Which condition must be present for a deadlock to occur in a distributed system?

a)

High network latency

b)

Mutual exclusion of resources

c)

Unbalanced query load

d)

Redundant data replication

29.

Which deadlock detection approach avoids a single point of failure by letting all nodes participate?

a)

Centralized detection

b)

Distributed detection

c)

Banker’s algorithm

30.

In the CAP theorem, a distributed database that continues operation despite network partitioning but allows temporary inconsistencies is an example of:

a)

CA system

b)

CP system

c)

AP system

d)

ACID system

31.

What are Enhanced Database Models designed to address?

a)

Faster network communication

b)

Complex and unstructured data beyond simple tables

c)

File compression

d)

Improved data encryption

32.

Which of the following is not a limitation of the traditional relational model?

a)

Difficulty handling multimedia data

b)

Inability to represent hierarchies naturally

c)

Lack of support for fixed structures like rows and columns

d)

Poor handling of unstructured data

33.

Which database model stores data as objects containing both attributes and methods?

a)

RDBMS

b)

OODBMS

c)

ORDBMS

d)

NoSQL

34.

In an OODBMS, what ensures that each object is uniquely identifiable?

a)

Object Query Language (OQL)

b)

Object Identifier (OID)

c)

Primary Key

d)

Foreign Key

35.

Which concept in OODBMS allows a subclass to inherit attributes and behaviors from a superclass?

a)

Encapsulation

b)

Inheritance

c)

Polymorphism

d)

Aggregation

36.

What is the purpose of Object Query Language (OQL)?

a)

To store large binary files

b)

To query objects instead of tables

c)

To translate SQL to XML

d)

To create primary keys for objects

37.

What best describes an Object-Relational Database Management System (ORDBMS)?

a)

Fully object-based with no tables

b)

Combines relational structure with object-oriented features

c)

A database without SQL support

d)

Used only for multimedia storage

38.

In ORDBMS, a User-Defined Type (UDT) allows:

a)

Automatic data compression

b)

Users to create custom data types beyond standard SQL types

c)

Tables to store only primitive data types

d)

Faster query execution

39.

Which statement best differentiates RDBMS, OODBMS, and ORDBMS?

a)

RDBMS handles only objects; OODBMS stores tables; ORDBMS is non-relational

b)

RDBMS uses tables, OODBMS uses objects, ORDBMS blends both models

c)

All three are purely hierarchical

d)

ORDBMS removes SQL support entirely

40.

Which model is best suited for web applications that use both structured and multimedia data?

a)

RDBMS

b)

OODBMS

c)

ORDBMS

d)

Hierarchical DBMS