Machine-translated by Google. Questions are authored in English.
Top

Distributed Databases Questions and Answers

1.

An advantage of distributed database over a centralized database :

Exam Year(s)

MH SET - 2024, SET Exam - 2024,

Answer: A

An advantage of a distributed database is modular growth.

A distributed database can be expanded by adding new sites or nodes, each with its own processing and storage, without disturbing the rest of the system. A centralised system must instead be upgraded as a whole.

Higher software cost and greater software complexity are disadvantages of distributed databases, because of distributed query processing, concurrency control and recovery. Slow response is not an advantage either; local access is usually faster.

Please log in or register to report this question.

2.

Which protocol ensures that mobile hosts can participate in transactions with minimal blocking during disconnections ?

Exam Year(s)

Tripura Public Service Commission - 2026,

Answer: C

The answer is proxy-based commit.

Mobile hosts disconnect often, voluntarily or not. In proxy-based commit schemes for mobile transactions, an agent on the fixed network acts for the mobile host in the commit protocol, keeping its vote and state, so the other participants are not left waiting with locks held while the mobile host is out of contact.

Standard two-phase commit is a blocking protocol: a participant that has voted to commit must wait for the coordinator's decision, and an unreachable participant holds everyone up. Presumed commit is an optimisation of 2PC that saves log writes and messages by assuming commit when no record is found; it does not remove the blocking. Since one listed protocol fits, 'None of these' is wrong.

Please log in or register to report this question.

3.

Which of the following is a disadvantage of a centralized database ?

Exam Year(s)

Tripura Public Service Commission - 2025,

Answer: C

A disadvantage of a centralised database is that it may lead to a single point of failure.

All data is held at one site, so if that server or its network link fails, every user loses access, and a disaster there can lose the data unless backups exist.

Better security through limited access and real-time consistency are advantages of centralisation, and scaling a single central server is harder, not easier.

Please log in or register to report this question.

4.

A distributed database has which of the following advantages over a centralized database?

Answer: D

Correct answer: Modular growth

A distributed system can be extended by adding a site, without replacing or resizing a central machine, so capacity grows in steps matched to demand. The other three options are the recognised disadvantages: the software costs more, is more complex, and can respond more slowly where a query has to reach several sites.

Please log in or register to report this question.

Answer: A

Correct answer: The same DBMS is at each node and each DBMS works independently.

Homogeneous means the same product at every site; autonomous means each site manages itself, with no central authority coordinating access. The combination is common where an organisation has standardised on one product but its sites were developed separately and retain local control.

Please log in or register to report this question.

Answer: D

Correct answer: All of the above.

The transaction manager is responsible for atomicity and isolation, so it must log what each transaction does, hold the before and after images needed to undo or redo it, and apply the concurrency control that keeps concurrent transactions from interfering. All three are aspects of the same duty.

Please log in or register to report this question.

Answer: D

Correct answer: All of the above.

Location transparency means nobody has to know where the data physically sits - not the user writing a query, not the programmer writing an application, not the manager reading a report. The system resolves the location, which is what allows data to be moved between sites without changing anything above.

Please log in or register to report this question.

Answer: D

Correct answer: A different DBMS is used at each location and data are distributed across all nodes.

Heterogeneous means the sites run different products, and the difficulty is exactly that: differing SQL dialects, data types, transaction models and catalogue structures must be reconciled before a single query can span them. Homogeneity is easier to manage but is often not available, since sites arrive through acquisition and separate history.

Please log in or register to report this question.

9.

Some of the columns of a relation are at different sites is which of the following?

Answer: C

Correct answer: Vertical Partitioning

Vertical partitioning divides a relation by column, keeping the primary key with each fragment so the original can be reconstructed by a join. It suits a case where different sites use different attributes of the same entity - personnel data at one site and payroll data at another, for the same employees.

Please log in or register to report this question.

Answer: B

Correct answer: The required data are located in at least one nonlocal site and the distributed DBMS routes requests as necessary.

A transaction is global when it needs data from beyond its own site, and the distributed DBMS then decomposes it and routes the pieces to wherever the data lives. A local transaction is satisfied entirely at one site and needs no such routing - the distinction that decides how much coordination the transaction costs.

Please log in or register to report this question.

Loading…

Other Subjects

Tags: Distributed Databases Questions and Answers || Distributed Databases MCQ Questions and Answers || Distributed Databases GK Questions and Answers || Distributed Databases GK MCQ Questions || Distributed Databases Multiple Choice Questions and Answers || Distributed Databases GK || GK on Distributed Databases || Database Questions and Answers || Database MCQ Questions and Answers || Database GK Questions and Answers || GK on Database