Deck 12: Distributed Databases
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/109
Play
Full screen (f)
Deck 12: Distributed Databases
1
Which of the following is an advantage to data replication?
A) Reliability
B) Fast response
C) Node decoupling
D) All of the above
A) Reliability
B) Fast response
C) Node decoupling
D) All of the above
D
2
Which of the following characterizes homogeneous environments?
A) Contains simple pathways
B) Same DBMS used at all locations
C) Some users require only local access
D) Cross-linked systems easily communicate
A) Contains simple pathways
B) Same DBMS used at all locations
C) Some users require only local access
D) Cross-linked systems easily communicate
B
3
Which of the following environments uses the same DBMS at each node with a central or master DBMS coordinating database access across nodes?
A) Centralized; maximum
B) Centralized; minimum
C) Homogeneous; nonautonomous
D) Federated; nonautonomous
A) Centralized; maximum
B) Centralized; minimum
C) Homogeneous; nonautonomous
D) Federated; nonautonomous
C
4
________ is a design goal for a distributed database,which says a user does not need to know the location of data to use the data.
A) Location transparency
B) Location autonomy
C) Location dependency
D) Distributed locatability
A) Location transparency
B) Location autonomy
C) Location dependency
D) Distributed locatability
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
5
Which of the following environments uses a different DBMS at each node,and supports local databases for unique data requests?
A) Gateways; local
B) Centralized; minimum
C) Homogeneous; cross-linked
D) Heterogeneous; federated
A) Gateways; local
B) Centralized; minimum
C) Homogeneous; cross-linked
D) Heterogeneous; federated
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
6
One way to generate store and forward messages for completed transactions to be broadcast across a network is through the use of:
A) stored procedures.
B) triggers.
C) functions.
D) SQL statements.
A) stored procedures.
B) triggers.
C) functions.
D) SQL statements.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
7
An integrated partition strategy is ________ to manage.
A) excellent
B) difficult
C) easy
D) medium
A) excellent
B) difficult
C) easy
D) medium
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
8
Which of the following are business conditions that encourage the use of distributed databases?
A) Business unit autonomy
B) Data sharing needs
C) Data communication reliability
D) All of the above
A) Business unit autonomy
B) Data sharing needs
C) Data communication reliability
D) All of the above
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
9
All of the following are advantages of vertical partitioning EXCEPT:
A) efficiency.
B) security.
C) ease of querying.
D) easier to set up than horizontal partitioning.
A) efficiency.
B) security.
C) ease of querying.
D) easier to set up than horizontal partitioning.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
10
Which of the following is true about horizontal partitioning?
A) Data can be stored to optimize local access.
B) Data are less secure.
C) There is consistent access speed.
D) None of the above
A) Data can be stored to optimize local access.
B) Data are less secure.
C) There is consistent access speed.
D) None of the above
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
11
Which of the following supports a simple path to other databases,without the benefits of one logical database?
A) Linked; differential
B) Gateways
C) Autonomous; cross-linked
D) Federated; nonautonomous
A) Linked; differential
B) Gateways
C) Autonomous; cross-linked
D) Federated; nonautonomous
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
12
All of the following are disadvantages of data replication EXCEPT:
A) storage requirements.
B) reduced network traffic at prime time.
C) complexity and cost of updating.
D) none of the above.
A) storage requirements.
B) reduced network traffic at prime time.
C) complexity and cost of updating.
D) none of the above.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
13
Snapshot replication is most appropriate for:
A) a data warehouse application.
B) an application where the processing of data follows a workflow across the business units.
C) a transaction processing system.
D) none of the above.
A) a data warehouse application.
B) an application where the processing of data follows a workflow across the business units.
C) a transaction processing system.
D) none of the above.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
14
A synchronized replication strategy has a(n)________ reliability.
A) excellent
B) good
C) fair
D) medium
A) excellent
B) good
C) fair
D) medium
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
15
Replication should be used when:
A) data currency and timing doesn't matter.
B) there is a highly heterogeneous network.
C) when there are no or few triggers.
D) all of the above.
A) data currency and timing doesn't matter.
B) there is a highly heterogeneous network.
C) when there are no or few triggers.
D) all of the above.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
16
Which of the following is true of data replication?
A) Additional storage requirements
B) Faster response
C) Node decoupling
D) All of the above
A) Additional storage requirements
B) Faster response
C) Node decoupling
D) All of the above
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
17
With a pull strategy of replication,the ________ node determines when a database is updated.
A) user
B) source
C) target
D) all of the above
A) user
B) source
C) target
D) all of the above
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
18
Which of the following is true of distributed databases?
A) Less reliable
B) Better local control
C) Slower response time
D) None of the above
A) Less reliable
B) Better local control
C) Slower response time
D) None of the above
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
19
A(n)________ is a database stored on multiple computers in multiple locations that are NOT connected by a data communications link.
A) distributed database
B) decentralized database
C) unlinked database
D) data repository
A) distributed database
B) decentralized database
C) unlinked database
D) data repository
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
20
A centralized strategy has ________ expandability.
A) excellent
B) good
C) poor
D) medium
A) excellent
B) good
C) poor
D) medium
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
21
A ________ allows a single SQL statement to refer to tables in more than one remote DBMS.
A) distributed UOW
B) join SQL statement
C) distributed request
D) data transfer command
A) distributed UOW
B) join SQL statement
C) distributed request
D) data transfer command
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
22
Users of distributed database systems always need to know the location of the data.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
23
________ insures that a transaction is successfully completed or else it is aborted.
A) Failure protocol
B) TCP/IP protocol
C) Commit protocol
D) None of the above
A) Failure protocol
B) TCP/IP protocol
C) Commit protocol
D) None of the above
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
24
Distributed databases make data sharing more difficult because of the data communication problems.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
25
With ________,users can act as if all the data were located at a single node.
A) location transparency
B) local autonomy
C) client-based control
D) all of the above
A) location transparency
B) local autonomy
C) client-based control
D) all of the above
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
26
A distributed database must:
A) keep track of data locations.
B) present a single logical database that is physically distributed.
C) provide consistency among data copies.
D) all of the above.
A) keep track of data locations.
B) present a single logical database that is physically distributed.
C) provide consistency among data copies.
D) all of the above.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
27
In a homogeneous environment,the same DBMS is used at each location.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
28
A design goal for distributed databases that states that although a distributed database runs many transactions,it appears that a given transaction is the only one in the system is called:
A) linear run.
B) concurrency transparency.
C) transaction CPU transparency.
D) location transparency.
A) linear run.
B) concurrency transparency.
C) transaction CPU transparency.
D) location transparency.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
29
A design goal for distributed databases to allow programmers to treat a data item replicated at several sites as though it were at one site is called:
A) location transparency.
B) replication accessibility.
C) replication transparency.
D) data accessibility.
A) location transparency.
B) replication accessibility.
C) replication transparency.
D) data accessibility.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
30
Local autonomy means that data are not accessible from remote sites.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
31
In a heterogeneous environment,not all users use the same DBMS.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
32
An optimization strategy that allows sites that can update to proceed and other sites to catch up is called:
A) read-only commit.
B) lazy commit.
C) sequenced commit.
D) linear set up.
A) read-only commit.
B) lazy commit.
C) sequenced commit.
D) linear set up.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
33
The sequence of instructions required to process a transaction is called the:
A) unit of work.
B) logical program unit.
C) rollback.
D) commit.
A) unit of work.
B) logical program unit.
C) rollback.
D) commit.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
34
In a distributed database,a transaction that requires reference to data at one or more nonlocal sites is called a ________ transaction.
A) link
B) tight
C) global
D) loose
A) link
B) tight
C) global
D) loose
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
35
Which of the following are factors in deciding on database distribution strategies?
A) Organizational forces
B) Frequency of data access
C) Reliability needs
D) All of the above
A) Organizational forces
B) Frequency of data access
C) Reliability needs
D) All of the above
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
36
A joining operation in which only the joining attribute from one site is transmitted to the other site is called a(n):
A) attribute linkup.
B) key data element transfer.
C) key data element join.
D) semijoin.
A) attribute linkup.
B) key data element transfer.
C) key data element join.
D) semijoin.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
37
A distributed database is not just a collection of files.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
38
Distributed databases do not easily satisfy both transaction and analytical processing systems.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
39
With ________ all of the actions of a transaction are either committed or not committed.
A) location transparency
B) replication transparency
C) failure transparency
D) commit transparency
A) location transparency
B) replication transparency
C) failure transparency
D) commit transparency
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
40
The step in which a distributed database decides the order in which to execute the distributed query is called:
A) decomposition.
B) localization.
C) step optimization.
D) none of the above.
A) decomposition.
B) localization.
C) step optimization.
D) none of the above.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
41
A local transaction is one that requires reference only to data that are stored at the site where the transaction originates.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
42
Organizational forces such as funding availability drive the choice of distributed database strategy.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
43
Location transparency is used to inform users of where data are located within the distributed database.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
44
Replicated databases usually result in tightly coupled nodes.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
45
A replicated database with snapshots is very manageable.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
46
Replication is often used for noncollaborative data.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
47
Replication should not be used if timely updates are important.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
48
Shared ownership of data is most appropriate as business activities move across time zones.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
49
A distributed database may require more costly and complex software than a centralized database.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
50
Applications that can tolerate out-of-date data are not the best candidates for data replication.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
51
Replication transparency allows a programmer or user to treat a replicated data item as if it were a single item at a single node.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
52
A transaction manager is an algorithm that coordinates updates or aborts them.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
53
With an asynchronous distributed database,all data across the network is continuously kept up-to-date.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
54
A distributed DBMS must provide consistency among copies of data across the remote sites.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
55
Horizontal partitioning offers increased efficiency because data are close to use areas.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
56
Combining data across vertical partitions is generally more difficult than combining across horizontal partitions.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
57
The reliability of a decentralized distributed database system with independent partitions is poor.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
58
One way to generate messages for near-real-time replication is through the use of database triggers.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
59
The overriding principle in distributed database design is that data should be stored at one central site.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
60
Applications such as decision support or data warehousing often do not require current data and are supported by periodic snapshots.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
61
Simple paths to other databases without the benefits of one logical database are called ________.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
62
Failure transparency is a design goal for distributed databases that guarantees that all the actions associated with a transaction are either committed or none of them are committed.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
63
Data localization involves transforming a query into fragments that explicitly reference data at one site.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
64
________ is an application that can effectively employ snapshot replication in a distributed environment.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
65
The purpose of time-stamping is to allow transactions to be processed in parallel.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
66
A(n)________ is a single logical database spread physically across computers in multiple locations that are connected by a data communications link.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
67
In a(n)________ replication strategy,the target,not the source,controls when a local database is updated.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
68
An environment in which data are distributed across all nodes,and there is a global schema,is called a(n)________ environment.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
69
A distributed request allows a single SQL statement to refer to tables in more than one remote DBMS.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
70
In a semijoin,all of the selected attributes from every selected row are transmitted to each site.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
71
With a two-phase commit strategy for synchronizing distributed data,committing a transaction is faster than if the originating location were able to work alone.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
72
________ is a design goal for a distributed database that says a site can independently administer and operate its database.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
73
In a homogeneous distributed database environment,all users access the database through one ________.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
74
________ enables a user to access data without knowing exactly where the data are located.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
75
Two-phase commit is an algorithm for coordinating deletions in a distributed database management system.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
76
When separate copies of data are stored at each of two or more sites,it is called ________.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
77
A form of distributed database in which all data across a network are kept continuously updated,so a user can access any data anywhere on the network and get the same answer is called a(n)________ distributed database.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
78
A remote unit of work allows updates at the single remote computer.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
79
A distributed unit of work does not support location transparency.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck
80
Concurrency transparency allows each transaction to appear as if it were the only activity in a distributed database management system.
Unlock Deck
Unlock for access to all 109 flashcards in this deck.
Unlock Deck
k this deck