Distributed Databases(Database ) Questions and Answers

Question 1. A distributed database has which of the following advantages over a centralized database?
  1.    Software cost
  2.    Software complexity
  3.    Slow Response
  4.    Modular growth
Explanation:-
Answer: Option D. -> Modular growth

Question 2. An autonomous homogenous environment is which of the following?
  1.    The same DBMS is at each node and each DBMS works independently.
  2.    The same DBMS is at each node and a central DBMS coordinates database access.
  3.    A different DBMS is at each node and each DBMS works independently.
  4.    A different DBMS is at each node and a central DBMS coordinates database access.
Explanation:-
Answer: Option A. -> The same DBMS is at each node and each DBMS works independently.

Question 3. Location transparency allows for which of the following?
  1.    Users to treat the data as if it is at one location
  2.    Programmers to treat the data as if it is at one location
  3.    Managers to treat the data as if it is at one location
  4.    All of the above
Explanation:-
Answer: Option D. -> All of the above

Question 4. A transaction manager is which of the following?
  1.    Maintains a log of transactions
  2.    Maintains before and after database images
  3.    Maintains appropriate concurrency control
  4.    All of the above
Explanation:-
Answer: Option D. -> All of the above

Question 5. A heterogeneous distributed database is which of the following?
  1.    The same DBMS is used at each location and data are not distributed across all nodes.
  2.    The same DBMS is used at each location and data are distributed across all nodes.
  3.    A different DBMS is used at each location and data are not distributed across all nodes.
  4.    A different DBMS is used at each location and data are distributed across all nodes.
Explanation:-
Answer: Option D. -> A different DBMS is used at each location and data are distributed across all nodes.

Question 6. A semijoin is which of the following?
  1.    Only the joining attributes are sent from one site to another and then all of the rows are returned.
  2.    All of the attributes are sent from one site to another and then only the required rows are returned.
  3.    Only the joining attributes are sent from one site to another and then only the required rows are returned.
  4.    All of the attributes are sent from one site to another and then only the required rows are returned.
Explanation:-
Answer: Option C. -> Only the joining attributes are sent from one site to another and then only the required rows are returned.

Question 7. A distributed database is which of the following?
  1.    A single logical database that is spread to multiple locations and is interconnected by a network
  2.    A loose collection of file that is spread to multiple locations and is interconnected by a network
  3.    A single logical database that is limited to one location.
  4.    A loose collection of file that is limited to one location.
Explanation:-
Answer: Option A. -> A single logical database that is spread to multiple locations and is interconnected by a network

Question 8. Which of the following is a disadvantage of replication?
  1.    Reduced network traffic
  2.    If the database fails at one site, a copy can be located at another site.
  3.    Each site must have the same storage capacity.
  4.    Each transaction may proceed without coordination across the network.
Explanation:-
Answer: Option C. -> Each site must have the same storage capacity.

Question 9. A distributed database can use which of the following strategies?
  1.    Totally centralized at one location and accessed by many sites
  2.    Partially or totally replicated across sites
  3.    Partitioned into segments at different sites
  4.    All of the above
Explanation:-
Answer: Option D. -> All of the above

Question 10. Which of the following is not one of the stages in the evolution of distributed DBMS?
  1.    Unit of work
  2.    Remote unit of work
  3.    Distributed unit of Work
  4.    Distributed request
Explanation:-
Answer: Option A. -> Unit of work