Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Microsoft SQL Server wikipedia , lookup
Entity–attribute–value model wikipedia , lookup
Open Database Connectivity wikipedia , lookup
Concurrency control wikipedia , lookup
Extensible Storage Engine wikipedia , lookup
Microsoft Jet Database Engine wikipedia , lookup
Functional Database Model wikipedia , lookup
Relational model wikipedia , lookup
ContactPoint wikipedia , lookup
Full file at http://testbankeasy.eu/Test-bank-for-Database-Systems,-Introduction-to-D atabases-and-Data-Warehouses---Juki Chapter 10 10.1 Overview of DBMS Functionalities and Database Administration Multiple Choice Questions 1) The data manipulation DBMS component is used: A) By end users, directly only B) By end users, via front-end applications only C) By end users, either directly or via front-end applications D) By no end users Answer: C Diff: 1 Page Ref: 302 2) The application development component provides functionalities to the developers of: A) Database models B) Security and backup procedures C) Data dictionaries D) Front-end applications Answer: D Diff: 2 Page Ref: 302 3) Which of the following is NOT a data administration task? A) Monitoring and maintaining the database system B) Securing the database against unauthorized access C) Creating a conceptual database model D) Providing database backup and recovery Answer: C Diff: 2 Page Ref: 302 4) If, during the use of the database system, it becomes apparent that a new relation needs to be added to the database, the decision to add the new relation to the database will rest with the: A) Database developer B) DBA C) End user D) DBMS software developer Answer: A Diff: 3 Page Ref: 303 5) The data dictionary created by the ________ is often referred to as the catalog. A) TCL B) DML C) DCL D) DBMS Answer: D Diff: 2 Page Ref: 303 full file at http://testbankeasy.com Full file at http://testbankeasy.eu/Test-bank-for-Database-Systems,-Introduction-to-D atabases-and-Data-Warehouses---Juki HAPPY INSURANCE Observe the HAPPY INSURANCE DATABASE: CLIENT ClientID C111 C222 C333 C444 C555 C666 C777 ClientName Tom Karin Cole Dorothy Andy Tina Christina AGENT AgentID A1 A2 A3 A4 AgentName Kate Amy Luke James AREA AreaID 1 2 3 AreaName East West Central ClientAgent A1 A1 A2 A2 A3 A3 A4 AgentArea 1 2 3 3 ClientSpouseName Jenny Bill Amy Amy Matt Mike AgentRating 101 92 100 90 AgentYearOfHire SupervisedBy 1990 2009 A1 1992 2010 A3 AreaHQ Boston San Francisco Chicago This database will be used for the following questions citing tables from the HAPPY INSURANCE database. 6) How many records will the following query in the HAPPY INSURANCE database return? SELECT table_name, column_name FROM user_tab_columns; A) 2 B) 3 C) 10 D) 13 Answer: Diff: 2 D Page Ref: 304 full file at http://testbankeasy.com Full file at http://testbankeasy.eu/Test-bank-for-Database-Systems,-Introduction-to-D atabases-and-Data-Warehouses---Juki 7) How many records will the following query in the HAPPY INSURANCE database return? SELECT DISTINCT table_name FROM user_tab_columns; A) 2 B) 3 C) 10 D) 13 Answer: Diff: 2 B Page Ref: 304 8) What number will the following query in the HAPPY INSURANCE database return? SELECT count (DISTINCT column_name) FROM user_tab_columns; A) 2 B) 3 C) 10 D) 13 Answer: Diff: 3 D Page Ref: 304 9) What will be the outcome of the following SQL statements issued in the HAPPY INSURANCE database? GRANT SELECT, INSERT, ALTER, UPDATE ON client TO shannon; REVOKE INSERT ON client FROM shannon; A) Shannon can read data from CLIENT, change data in CLIENT, change the metadata of CLIENT, insert data in CLIENT B) Shannon can read data from CLIENT, change data in CLIENT, insert data in CLIENT C) Shannon can read data from CLIENT, change data in CLIENT, change the metadata of CLIENT D) Shannon can insert data in CLIENT Answer: C Diff: 2 Page Ref: 305 full file at http://testbankeasy.com Full file at http://testbankeasy.eu/Test-bank-for-Database-Systems,-Introduction-to-D atabases-and-Data-Warehouses---Juki 10) What will be the outcome of the following SQL statements issued in the HAPPY INSURANCE database? CREATE ROLE supervisor; GRANT SELECT, INSERT, UPDATE ON client TO supervisor; GRANT SUPERVISOR TO shannon; A) Shannon can read data from CLIENT, change data in CLIENT, change the metadata of CLIENT, insert data in CLIENT B) Shannon can read data from CLIENT, change data in CLIENT, insert data in CLIENT C) Shannon can read data from CLIENT, change data in CLIENT, change the metadata of CLIENT D) Shannon can change the metadata of CLIENT Answer: B Diff: 2 Page Ref: 306 10.2 True/False Questions 1) The data definition DBMS component uses the SQL commands from the DDL category. Answer: TRUE Diff: 1 Page Ref: 301 2) The data definition component is a part of every DBMS package. Answer: TRUE Diff: 1 Page Ref: 301-302 3) The data manipulation component is a part of every DBMS package. Answer: TRUE Diff: 1 Page Ref: 301-302 4) The application development component is a part of every DBMS package. Answer: FALSE Diff: 1 Page Ref: 301-302 5) The data manipulation DBMS component uses the SQL commands from the DCL category. Answer: FALSE Diff: 1 Page Ref: 302 6) The DCL commands are used by the business end users of a database system. Answer: FALSE Diff: 1 Page Ref: 302 7) The TCL commands are used by the business end users of a database system. Answer: FALSE Diff: 1 Page Ref: 302 full file at http://testbankeasy.com Full file at http://testbankeasy.eu/Test-bank-for-Database-Systems,-Introduction-to-D atabases-and-Data-Warehouses---Juki 8) Regular monitoring helps the DBA recognize instances when maintenance activities are needed. Answer: TRUE Diff: 1 Page Ref: 302 9) In a role-based access control system, the membership of users in roles cannot change. Answer: FALSE Diff: 2 Page Ref: 306 10) In a role-based access control system, users can be assigned several database roles. Answer: TRUE Diff: 2 Page Ref: 306 10.3 Essay Questions 1) What is the purpose of the data definition component of a DBMS? Answer: The data definition component is used by database designers to create the infrastructure components of the database, such as database tables and referential integrity constraints connecting the created tables. Diff: 2 Page Ref: 301 2) What is the purpose of the data manipulation component of a DBMS? Answer: The data manipulation component allows the end users to insert, read, update, and delete information in a database. Diff: 2 Page Ref: 302 3) What is a single-user DBMS? Answer: In a single-user DBMS, the data manipulation component is primarily intended for use, either directly or indirectly, by one user at a time. Diff: 1 Page Ref: 302 4) What is a multiuser DBMS? Answer: In a multiuser DBMS, the data manipulation component can be used either directly or indirectly by multiple users at the same time. Diff: 1 Page Ref: 302 5) What is the purpose of the data administration component of a DBMS? Answer: The database administration component is used to perform the technical, administrative, and maintenance tasks of database systems, such as ensuring security, optimizing performance, and providing backup and recovery. Diff: 2 Page Ref: 302 6) What is view materialization? Answer: View materialization refers to saving a view as an actual physical table. Such a view is referred to as a materialized view. The idea behind view materialization is to improve the performance of queries on frequently used views. full file at http://testbankeasy.com Full file at http://testbankeasy.eu/Test-bank-for-Database-Systems,-Introduction-to-D atabases-and-Data-Warehouses---Juki Diff: 2 Page Ref: 303 full file at http://testbankeasy.com Full file at http://testbankeasy.eu/Test-bank-for-Database-Systems,-Introduction-to-D atabases-and-Data-Warehouses---Juki 7) What is a data dictionary? Answer: A data dictionary is a repository of the metadata (data about the data) of the database. The data dictionary, also sometimes called the metadata repository, contains information such as the names of the tables, names and types of columns in them, the primary keys, referential integrity constraints, and so on. The metadata showing the structure of the functioning database system is automatically stored by the DBMS in the data dictionary. Diff: 2 Page Ref: 303 8) What is an encryption key? Answer: An encryption key is a scrambling algorithm used to make data unreadable to anyone who does not have a decryption key (the algorithm that reverts the encrypted information back to its original state). Diff: 2 Page Ref: 306 9) What is data backup? Answer: Data backup refers to the practice of saving additional physical copies of the data, in addition to the original copy. Diff: 1 Page Ref: 306 10) What is database recovery? Answer: Database recovery refers to recovering the content of the database after a failure. Diff: 1 Page Ref: 306 11) What is a recovery log? Answer: A recovery log is a file recorded to the disk that logs database updates, ensuring that even if the update performed on the data in memory is somehow lost before it is written to the disk, the information about the update will still be captured. Diff: 2 Page Ref: 306 12) What is a checkpoint? Answer: A checkpoint is a part of a recovery log. When a checkpoint is created, all updates recorded in the recovery log—and as a result any updates to data stored in memory—are written to the database in the data file on the disk. Diff: 2 Page Ref: 306 13) What is the purpose of the COMMIT command? Answer: The COMMIT command causes all updates on the database to be recorded on the disk. It is automatically issued during the checkpoints, but can also be manually issued by the user or the DBA. Diff: 2 Page Ref: 307 14) What is the purpose of the ROLLBACK command? Answer: The ROLLBACK command rolls back all the updates since the last COMMIT. Diff: 2 Page Ref: 307 15) What is a complete mirrored backup? Answer: A complete mirrored backup is a separate, complete physical copy of the database that is full file at http://testbankeasy.com Full file at http://testbankeasy.eu/Test-bank-for-Database-Systems,-Introduction-to-D atabases-and-Data-Warehouses---Juki continuously updated, so it fully corresponds to the original database. Diff: 2 Page Ref: 307 16) What is the difference between accidental misuse and malicious data updates? Answer: Accidental misuse refers to data updates (insert, delete, modify) that are the result of an accident rather than a deliberate malicious attempt. Malicious data updates are the result of unauthorized malicious misuse of a database system. Diff: 2 Page Ref: 307 17) What is update failure? Answer: Update failure is the failure of a database system during an update operation. Diff: 2 Page Ref: 307 18) What is query optimization? Answer: Query optimization refers to examining multiple ways of executing the same query and choosing the fastest option. Diff: 2 Page Ref: 308 19) What is a query optimizer? Answer: A query optimizer is a feature in the DBMS that determines how to execute an SQL statement in an efficient manner. Diff: 2 Page Ref: 308 20) What is the query cost? Answer: The query cost is the time length of a query execution. Diff: 2 Page Ref: 308 21) What is a query hint? Answer: A query hint is a suggestion for overriding the default behavior of the query optimizer. only intended to be used by experienced database administrators for fine-tuning. Diff: 2 Page Ref: 308 22) What is a common purpose for all database policies and standards? Answer: A common purpose for all database policies and standards is to reflect and support the business processes and business logic. Diff: 2 Page Ref: 309 full file at http://testbankeasy.com It is