The document discusses various concepts related to distributed database management systems (DDBMS). It includes questions and answers related to different types of database fragmentation (horizontal, vertical, hybrid), advantages of distributed databases over centralized databases, semijoins, replication, and other core DDBMS concepts. The key ideas covered are the definitions of horizontal and vertical fragmentation, advantages of distributed databases like modular growth, and semijoins involving transmitting only joining attributes between sites.
Download as TXT, PDF, TXT or read online on Scribd
100%(1)100% found this document useful (1 vote)
6K views
DDBMS MCQS
The document discusses various concepts related to distributed database management systems (DDBMS). It includes questions and answers related to different types of database fragmentation (horizontal, vertical, hybrid), advantages of distributed databases over centralized databases, semijoins, replication, and other core DDBMS concepts. The key ideas covered are the definitions of horizontal and vertical fragmentation, advantages of distributed databases like modular growth, and semijoins involving transmitting only joining attributes between sites.
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 11
A fragmentation technique where in every tuple of a table is assigned to one or
more fragments as a result of fragmentation is called.
A. Vertical Fragmentation B. Horizontal Fragmentation C. Hybrid Fragmentation D. None of the above ANSWER:B
A fragmentation technique where in every coloumn of a table is assigned to one or
more fragments as a result of fragmentation is called. A. Vertical Fragmentation B. Horizontal Fragmentation C. Hybrid Fragmentation D. None of the above ANSWER:A A fragmentation technique where in every tuple and coloumn of a table is assigned to one or more fragments as a result of fragmentation is called. A. Vertical Fragmentation B. Horizontal Fragmentation C. Hybrid Fragmentation D. None of the above ANSWER:C A fragmentation technique where in metadata of a table is assigned to one or more fragments as a result of fragmentation is called. A. Vertical Fragmentatio B. Horizontal Fragmentation C. Hybrid Fragmentation D. None of the above ANSWER:D Commit and rollback are related to A. Data integrity B. Data sharing C. Data security D. Data consistency ANSWER:D The transaction wants to edit the data item is called as. A.Exclusive Mode B.Shared Mode C Inclusive Mode D.Unshared Mode ANSWER:A Some of the columns of a relation are at different sites is which of the following? A.Data Replication B.Horizontal Partitioning C.Vertical Partitioning D.Horizontal and Vertical Partitioning ANSWER:C Distributed database is which of the following? A.A single logical database that is spread to multiple locations and is interconnected by a network B.A loose collection of file that is spread to multiple locations and is interconnected by a network C.A single logical database that is limited to one location. D.A loose collection of file that is limited to one location. ANSWER:A Semijoin is which of the following? A.Only the joining attributes are sent from one site to another and then all of the rows are returned. B.All of the attributes are sent from one site to another and then only the required rows are returned. C.Only the joining attributes are sent from one site to another and then only the required rows are returned. D.All of the attributes are sent from one site to another and then only the required rows are returned. ANSWER:C Which of the following is a disadvantage of replication? A.Reduced network traffic B.If the database fails at one site, a copy can be located at another site. C.Each site must have the same storage capacity. D.Each transaction may proceed without coordination across the network. ANSWER:C Which of the following is a disadvantage of replication? A.Reduced network traffic B.If the database fails at one site, a copy can be located at another site. C. Each site must have the same storage capacity. D.Each transaction may proceed without coordination across the network. ANSWER:C Which of the following is not one of the stages in the evolution of distributed DBMS? A.Unit of work B.Remote unit of work C.Distributed unit of Work D.Distributed request ANSWER:A A distributed transaction can be ............. if queries are issued at one or more nodes. A.fully read-only B.partially read-only C.fully read-write D.partially read-write ANSWER:B Depending on the situation each node in the Distributed Database system can act as, _________ . A. A client B. A server C. Both A & B D. None of the above ANSWER:C Which transaction contains statements that access more than one node? A.A Remote Transaction B.A Distributed transaction C.Both A & B D.None of the above ANSWER:B Which of the following is true concerning a global transaction? A.The required data are at one local site and the distributed DBMS routes request as necessary B.The required data are located in at least one nonlocal site and the distributed DBMS routes request as necessary. C.The required data are at one local site and the distributed DBMS passes the request to only the local DBMS D.The required data are located in at least one nonlocal site and the distributed DBMS passes the request to only the local DBMS Answer:B A homogenous distributed database is which of the following? A.The same DBMS is used at each location and data are not distributed across all nodes B.The same DBMS is used at each location and data are distributed across all nodes. C.A different DBMS is used at each location and data are not distributed across all nodes D.A different DBMS is used at each location and data are distributed across all nodes. Answer:B Storing a separate copy of the database at multiple locations is which of the following A. Data Replication B. Horizontal Partitioning C. Vertical Partitioning D. None of the above Answer: A Which of the following is the advantage of a distributed database over a centralized database? A.Module wise growth B.Simplicity and ease C.Slow Response D.None of the above Answer:A A distributed database is a collection of data which belong —————– to the same system but are spread over the ————– of the network. A.Logically, sites B.Physically, sites C.Database, DBMS D.None of the above Answer:A In a distributed Database reduction of redundancy is obtained by ——————— A.Data fragmentation B.Data Replication C.Data Sharing D.None of the above Answer:C Which of the following strategies is used by a distributed database? A.Totally centralized at one location and accessed by many sites B.Totally or partially at one location and distributed at many sites C.Partitioned into segments at different sites D.All of the above Answer:D Which of the following is not one of the stages in the evolution of distributed DBMS? A . Union of work B.Remote unit of work C Distributed unit of work D Distributed request ANSWER: A Which is the following is a disadvantage of replication? A. Reduce network traffic B. If the database fails at one site, a copy can be located at another site. C. Each site must have the same storage capacity. D. Each transaction may proceed without coordination across the network. ANSWER: C A transaction manager is which of the following? A. Maintains appropriate concurrency control B. Maintain before and after database image C. Maintain a log of transactions D. All of the Above ANSWER: D How many concepts of uses in DDBMS? A. 5 B. 3 C. 6 D. 2 ANSWER: D The final form of transparency that needs to be addressed within the context of a distributed database system is that of A. Fragmentation Transparency B. Replication Transparency C. Network Transparency D. Data Independence ANSWER: A A distributed database is a collection of data which belong —————– to the same system but are spread over the ————– of the network. A. Logically, sites B. Physically, sites C. Database, DBMS D. None of the above Answer: A —————– mean programs can be written as if a database is not distributed for its user. A. Transparency B. Distribution Transparency C. Robustness D. None of the above Answer: B An autonomous homogenous environment is which of the following? A. The same DBMS is used at each site and each DBMS works independently B. The same DBMS is at each site and a central DBMS coordinates database access C. A different DBMS is at each node and each DBMS works independently D. None of the above Answer: A Which of the following is a heterogeneous distributed database? A. The same DBMS is used at each location and data are not distributed across all nodes B. The same DBMS is used at each location and data are distributed across all nodes C. A different DBMS is used at each location and data are not distributed across all nodes D. A different DBMS is used at each location and data are distributed across all nodes Answer: D Which of the following strategies is used by a distributed database? A. Totally centralized at one location and accessed by many sites B. Totally or partially at one location and distributed at many sites C. Partitioned into segments at different sites D. All of the above Answer :D What is DDBS stands for? A. database database distributed system B. distributed database management system C. distribution data management system D. none Answer:B What is an advantage of distributed database management system? A. increase cost B. lack of standards C. integrity control more difficult D. improved performance Answer:D What are the types of distributed database design? A. 2 B. 4 C. 3 D. 7 Answer:C Storing same data in multiple location is called? A. Data replication B. Horizontal partitioning C. Vertical partitioning D. Both horizontal and vertical partitioning Answer:A A fragmentation technique where in every column of a table is assigned to one or more fragments is called? A. vertical fragmentation B. horizontal fragmentation C. hybrid fragmentation D. all Answer: A
First component of distributed DBMS “user-procedure” has ___ elements.
A.2 B.3 C.4 D.5 Answer:C Second major component of a distributed DBMS is? A.Image processor B.User Procedure C.Data processor D.Interface Procedure Answer:C Different subsets of attributes are stored at different places in? A.Horizontal Fragmentation B.Vertical Fragmentation C.Hybrid Fragmentation D.None of these Answer:B There are two versions of horizontal partitioning. A.Primary & Derived B.Secondary & Primary C.Secondary & Derived D.None of these Answer:A A distributed database has which of the following advantages over a centralized database? A. Software cost. B. Software complexity. C. Slow Response. D. Modular growth. ANSWER:D A semijoin is which of the following? A. Only the joining attributes are sent from one site to another and then all of the rows are returned. B. All of the attributes are sent from one site to another and then only the required rows are returned. C. Only the joining attributes are sent from one site to another and then only the required rows are returned. D. All of the attributes are sent from one site to another and then only the required rows are returned. ANSWER:C A distributed database can use which of the following strategies? A. Totally centralized at one location and accessed by many sites B. Partially or totally replicated across sites C. Partitioned into segments at different sites D. All of the above ANSWER: A heterogeneous distributed database is which of the following? A. The same DBMS is used at each location and data are not distributed across all nodes. B. The same DBMS is used at each location and data are distributed across all nodes. C. A different DBMS is used at each location and data are not distributed across all nodes. D. A different DBMS is used at each location and data are distributed across all nodes. ANSWER:D Some of the columns of a relation are at different sites is which of the following? A. Data Replication B. Horizontal Partitioning C. Vertical Partitioning D. Horizontal and Vertical Partitioning ANSWER:C .....servers which is widely used in relational database systems. A. Data servers B. Transaction servers C. Query servers D. Client servers ANSWER: B The ............is responsible for ensuring correct execution in the presence of failures. A. Database Manager B. Transaction Manager C. Recovery Manager D. Executive Manager ANSWER: A If a transaction obtains a shared lock on a row, it means that the transaction wants to ….. that row. A. write B. insert C. execute D. read ANSWER: D A transaction processing system is also called as …….. A. processing monitor B. transaction monitor C. TP monitor D. monitor ANSWER: C ………… protocol grantees that a set of transactions becomes serializable. A. two-phase locking B. two-phase commit C. transaction locking D. checkpoints ANSWER: A A distributed database has which of the following advantages over a centralized database? A.Software cost B.Software complexity C.Slow Response D.Modular growth ANSWER:D Storing a separate copy of the database at multiple locations is which of the following A.Data Replication B.Horizontal Partitioning C.Vertical Partitioning D.None of the above ANSWER:A Which of the following is the advantage of a distributed database over a centralized database? A.Module wise growth B.Simplicity and ease C.Slow Response D.None of the above ANSWER:A A distributed database is a collection of data which belong —————– to the same system but are spread over the ————– of the network. A.Logically, sites B.Physically, sites C.Database, DBMS D.None of the above ANSWER:A In a distributed Database reduction of redundancy is obtained by ——————— A.Data fragmentation B.Data Replication C.Data Sharing D.None of the above ANSWER:C A distributed database is a collection of data which belong —————– to the same system but are spread over the ————– of the network. A.Logically, sites B.Physically, sites C.Database, DBMS D.None of the above Answer:A In a distributed Database reduction of redundancy is obtained by ——————— A.Data fragmentation B.Data Replication C.Data Sharing D.None of the above Answer:C A distributed database has which of the following advantages over a centralized database? A.Software cost B.Software complexity C.Slow Response D.Modular growth Answer: D A distributed database is which of the following? A.A single logical database that is spread to multiple locations and is interconnected by a network B.A loose collection of file that is spread to multiple locations and is interconnected by a network C.A single logical database that is limited to one location. D.A loose collection of file that is limited to one location. Answer: A A distributed database can use which of the following strategies? A.Totally centralized at one location and accessed by many sites B.Partially or totally replicated across sites C.Partitioned into segments at different sites D.All of the above Answer: D 1) Commit and rollback are related to .......... A. data integrity B. data consistency C. data sharing D. data security ANSWER: B 2) A Transaction ends A. only when it is Committed. B. only when it is Rolled-back C. when it is Committed or Rolled-back D. only when it is initialized ANSWER: C 3)The ............is responsible for ensuring correct execution in the presence of failures. A. Database Manager B. Transaction Manager C. Recovery Manager D. Executive Manager ANSWER: A 4)The distributed transaction can be completely read-only and the transaction is started with a .......... READ ONLY statement. A. DISTRIBUTED_TRANSACTIONS B. TRANSACTION C. SET TRANSACTION D. READ TRANSACTION ANSWER: C 5)A homogenous distributed database is which of the following? A. The same DBMS is used at each location and data are not distributed across all nodes B. The same DBMS is used at each location and data are distributed across all nodes. C. A different DBMS is used at each location and data are not distributed across all nodes D. A different DBMS is used at each location and data are distributed across all nodes. ANSWER: B Data mining is? A. time variant non-volatile collection of data B. The actual discovery phase of a knowledge C. The stage of selecting the right data D. None of these ANSWER:B Which of the following is general characteristics or features of a target class of data? A. Data selection B. Data discrimination C. Data Classification D. Data Characterization ANSWER:D A distributed database is composed of several parts known as database? B. Sections C. Fragments D. Partitions E. Parts ANSWER:C A(n) ____ database stores each database fragment at a single site. A. Partially replicated B. Fully replicated C. Partitioned D. Unreplicated ANSWER:B The data is stored, retrieved & updated in ____? A. OLAP B. OLTP C. SMTP D. FTP ANSWER:B _____ is one reason for problems of data integrity. A. Data redundancy B. Security constraints C. Data inconsistency D. Data availability constraints ANSWER: A A transaction manager is which of the following? A. A manager that maintains a log of transactions B. That maintains before and after database images C. That maintains appropriate concurrency control D. All of the above ANSWER:D Replication should be used when which of the following exist? A.When transmission speeds and capacity in a network prohibit frequent refreshing of large tables. B.When using many nodes with different operating systems and DBMSs and database designs. C.The application's data can be somewhat out-of-date. D.All of the above. ANSWER:C Which of the following is not one of the stages in the evolution of distributed DBMS? A.Unit of work B.Remote unit of work C.Distributed unit of Work D.Distributed request Answer:A Location transparency allows for which of the following? A.Users to treat the data as if it is at one location B.Programmers to treat the data as if it is at one location C.Managers to treat the data as if it is at one location D.All of the above. Storing a separate copy of the database at multiple location is which of the following A. Data Replication B. Horizontal Partitioning C. Vertical Partitioning D. None of the above ANSWER :A Which of the following is the advantage of a distributed database over a centralized database A. Module wise growth B. Simplicity and ease C. Slow Response D. None of the above ANSWER : A . --------mean programs can be written as if a database is not distributed for its user A. Transparency B. Distribution Transparency C. Robustness D. None of the above ANSWER : B In a distributed database reduction of redundancy is obtained by---- A. Data fragmentation B. Data Replication C. Data Sharing D. None of the above ANSWER : C Which of the following is /are the main goals of a distributed database A. Interconnection of database B. Incremental growth C. Reduced communication overhead D. All of the above ANSWER : D Which of the following is the advantage of a distributed database over a centralized database? A. Module wise growth B. Simplicity and ease C. Slow Response D. None of the above Answer A A distributed database is a collection of data which belong —————– to the same system but are spread over the ————– of the network. A. Logically, sites B. Physically, sites C. Database, DBMS D. None of the above Answer A programs can be written as if a database is not distributed for its user. A. Transparency B. Distribution Transparency C. Robustness D. None of the above Answer B In a distributed Database reduction of redundancy is obtained by A. Data fragmentation B. Data Replication C. Data Sharing D. None of the above Answer C Which of the following is/are the main goals of a distributed database? A. Interconnection of database B. Incremental growth C. Reduced communication overhead D. All of the above Answer D