Deck 7: Database Administration

ملء الشاشة (f)
exit full mode
سؤال
The defining query can be any transaction.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
A view cannot involve statistics.
سؤال
When you create a view, you cannot assign column names that are different from those in the base table .
سؤال
You cannot delete a row from a view.
سؤال
A view can join two or more tables.
سؤال
Most database management systems support the creation of views.
سؤال
With a view, the display of data can be customized to meet each user's needs.
سؤال
If the database structure changes, the user cannot access and use the view.
سؤال
Views provide a measure of security.
سؤال
When you create a query that involves a view, SQL changes the query to one that selects data from the table(s)in the database that created the view.
سؤال
To create a view definition, use the DEFINE VIEW command.
سؤال
MySQL version 4.1 supports views.
سؤال
An index makes certain types of retrieval more efficient.
سؤال
The DROP VIEW command removes the tables and data on which the view is based.
سؤال
The clause WITH GRANT OPTION is meaningful as part of a REVOKE command.
سؤال
A view is a derived table.
سؤال
If two base tables have the same primary key and the primary key is used as the join column, updating the database is a problem.
سؤال
Views furnish a certain amount of security; if users are accessing the database through a view, they cannot access any data that is not included in the view.
سؤال
Views provide data validation.
سؤال
The existing, permanent tables in a relational database are called stable tables.
سؤال
The GRANT command to indicate that a user has all privileges includes the FULL privilege.
سؤال
The correct command to allow user Thompson to delete rows in the CUSTOMER table would be: GRANT ____ ON CUSTOMER TO THOMPSON.

A)DROP
B)REMOVE
C)UPDATE
D)DELETE
سؤال
In a business organization, a person or an entire group known as the ____ is charged with managing the database.

A)database analyst
B)developer
C)database administrator
D)programmer
سؤال
MySQL version 5.0 provides support for views.
سؤال
The types of constraints supported in MySQL are ____.

A)primary keys
B)foreign keys
C)legal values
D)All of the above
سؤال
When you specify a foreign key, the table containing the foreign key is the parent.
سؤال
The DBMS provides integrity administration, the process of specifying integrity constraints for a database that the DBMS will enforce.
سؤال
The defining query for a view can be any valid SQL query.
سؤال
Which of the following commands lists all the privileges granted to a user?

A)SHOW GRANTS
B)SHOW PRIVILEGES
C)SHOW USERS
D)SHOW SECURITY
سؤال
To add a row to your view, simply add a row to each underlying derived table.
سؤال
You can only specify a primary key when you first create a table.
سؤال
You can create and maintain an index for any row in any table.
سؤال
An auxiliary key is a column in one table whose values match the primary key in another table.
سؤال
The CREATE VIEW command includes the words CREATE VIEW, followed by the name of the view, the word ____, and then a query.

A)AC
B)SA
C)AS
D)IN
سؤال
When you specify a foreign key, the table referenced by the foreign key is the ____.

A)super
B)sibling
C)parent
D)child
سؤال
Columns that are not included in the view are not accessible to the view's user.
سؤال
The DROP VIEW command removes only a view definition.
سؤال
When renaming columns, you include the new column names in ____ following the name of the view.

A)single quotes
B)double quotes
C)parentheses
D)square brackets
سؤال
The general form for assigning a foreign key is ADD FOREIGN KEY, the column name(s)of the foreign key, the ____ clause, and then the table name that the foreign key must match.

A)WHERE
B)REFERENCES
C)FROM
D)IN
سؤال
When you specify a foreign key, the table referenced by the foreign key is the parent table.
سؤال
The main mechanism for providing access to a database is the ____ command.

A)PERMIT
B)ACCESS
C)GRANT
D)REVOKE
سؤال
Which of the following commands deletes an index?

A)DELETE INDEX
B)REMOVE INDEX
C)UNINDEX
D)DROP INDEX
سؤال
A(n)____________________ is an application program's or an individual user's picture of the database.
سؤال
The system catalog is also called the ____.

A)system database
B)data dictionary
C)master data table
D)transaction database
سؤال
To create a view definition, use the ____________________ command.
سؤال
In general, views that involve joins of ____________________ tables can cause problems at update.
سؤال
A view is defined by creating a defining ____________________, which indicates the rows and columns to include in the view.
سؤال
A(n)____ is an application program's or an individual user's picture of the database.

A)transaction
B)view
C)catalog
D)index
سؤال
A view is updatable when it is derived from joining two base tables on the ____ of each table.

A)row-column
B)foreign key
C)primary key
D)index
سؤال
The privilege ____ can be granted to change the table structure.

A)WRITE
B)UPDATE
C)ALTER
D)MODIFY
سؤال
The privilege ____ can be granted to change data.

A)WRITE
B)UPDATE
C)ALTER
D)READ AND WRITE
سؤال
The ____ command lists all tables in the default database.

A)SHOW TABLES
B)DISPLAY TABLES
C)VIEW TABLES
D)LIST TABLES
سؤال
The database administrator uses the ____ command to revoke privileges from users.

A)DROP
B)REMOVE
C)REVOKE
D)CANCEL
سؤال
To list all the indexes associated with a table, use the ____ command.

A)SHOW INDEX
B)VIEW INDEX
C)LIST INDEX
D)DISPLAY INDEX
سؤال
Which of the following commands deletes a view?

A)DELETE VIEW
B)DROP VIEW
C)REVOKE VIEW
D)REMOVE VIEW
سؤال
A(n)____________________ subset view consists of a subset of the rows and columns in some base table.
سؤال
The privilege ____ can be granted to retrieve data.

A)SELECT
B)UPDATE
C)RETRIEVE
D)READ
سؤال
When a view is no longer needed, you can remove it using the ____________________ command.
سؤال
The process of managing a database is called database ____________________.
سؤال
The ____________________ command lists all the columns in a given table.
سؤال
Explain what happens when you create a query that involves a view.
سؤال
The command used to delete an index is ____________________.
سؤال
To add a primary key after creating a table, you can use the ____________________ clause of the ALTER TABLE command.
سؤال
The database administrator uses the ____________________ command to revoke privileges from users.
سؤال
The main mechanism for providing access to a database is the ____________________ command.
سؤال
If the user needs to be able to pass the privilege to other users, the GRANT command must include the ____________________ clause.
سؤال
Information about tables in the database is kept in the system ____________________.
سؤال
To ensure the uniqueness of values in a non-primary key column, you can create a unique index by using the ____________________ command.
سؤال
What are the benefits of using views?
سؤال
____________________ is the prevention of unauthorized access to a database.
سؤال
The command used to create an index is ____________________.
سؤال
What are the disadvantages of using an index?
سؤال
Within relational model systems on both mainframes and personal computers, the main mechanism for increasing the efficiency with which data is retrieved from the database is the ____________________.
سؤال
You can create and use a(n)____________________ to speed up the searching process significantly.
سؤال
An integrity ____________________ is a rule for the data in the database.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/75
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 7: Database Administration
1
The defining query can be any transaction.
False
2
A view cannot involve statistics.
False
3
When you create a view, you cannot assign column names that are different from those in the base table .
False
4
You cannot delete a row from a view.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
5
A view can join two or more tables.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
6
Most database management systems support the creation of views.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
7
With a view, the display of data can be customized to meet each user's needs.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
8
If the database structure changes, the user cannot access and use the view.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
9
Views provide a measure of security.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
10
When you create a query that involves a view, SQL changes the query to one that selects data from the table(s)in the database that created the view.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
11
To create a view definition, use the DEFINE VIEW command.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
12
MySQL version 4.1 supports views.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
13
An index makes certain types of retrieval more efficient.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
14
The DROP VIEW command removes the tables and data on which the view is based.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
15
The clause WITH GRANT OPTION is meaningful as part of a REVOKE command.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
16
A view is a derived table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
17
If two base tables have the same primary key and the primary key is used as the join column, updating the database is a problem.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
18
Views furnish a certain amount of security; if users are accessing the database through a view, they cannot access any data that is not included in the view.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
19
Views provide data validation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
20
The existing, permanent tables in a relational database are called stable tables.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
21
The GRANT command to indicate that a user has all privileges includes the FULL privilege.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
22
The correct command to allow user Thompson to delete rows in the CUSTOMER table would be: GRANT ____ ON CUSTOMER TO THOMPSON.

A)DROP
B)REMOVE
C)UPDATE
D)DELETE
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
23
In a business organization, a person or an entire group known as the ____ is charged with managing the database.

A)database analyst
B)developer
C)database administrator
D)programmer
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
24
MySQL version 5.0 provides support for views.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
25
The types of constraints supported in MySQL are ____.

A)primary keys
B)foreign keys
C)legal values
D)All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
26
When you specify a foreign key, the table containing the foreign key is the parent.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
27
The DBMS provides integrity administration, the process of specifying integrity constraints for a database that the DBMS will enforce.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
28
The defining query for a view can be any valid SQL query.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
29
Which of the following commands lists all the privileges granted to a user?

A)SHOW GRANTS
B)SHOW PRIVILEGES
C)SHOW USERS
D)SHOW SECURITY
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
30
To add a row to your view, simply add a row to each underlying derived table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
31
You can only specify a primary key when you first create a table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
32
You can create and maintain an index for any row in any table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
33
An auxiliary key is a column in one table whose values match the primary key in another table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
34
The CREATE VIEW command includes the words CREATE VIEW, followed by the name of the view, the word ____, and then a query.

A)AC
B)SA
C)AS
D)IN
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
35
When you specify a foreign key, the table referenced by the foreign key is the ____.

A)super
B)sibling
C)parent
D)child
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
36
Columns that are not included in the view are not accessible to the view's user.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
37
The DROP VIEW command removes only a view definition.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
38
When renaming columns, you include the new column names in ____ following the name of the view.

A)single quotes
B)double quotes
C)parentheses
D)square brackets
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
39
The general form for assigning a foreign key is ADD FOREIGN KEY, the column name(s)of the foreign key, the ____ clause, and then the table name that the foreign key must match.

A)WHERE
B)REFERENCES
C)FROM
D)IN
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
40
When you specify a foreign key, the table referenced by the foreign key is the parent table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
41
The main mechanism for providing access to a database is the ____ command.

A)PERMIT
B)ACCESS
C)GRANT
D)REVOKE
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
42
Which of the following commands deletes an index?

A)DELETE INDEX
B)REMOVE INDEX
C)UNINDEX
D)DROP INDEX
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
43
A(n)____________________ is an application program's or an individual user's picture of the database.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
44
The system catalog is also called the ____.

A)system database
B)data dictionary
C)master data table
D)transaction database
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
45
To create a view definition, use the ____________________ command.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
46
In general, views that involve joins of ____________________ tables can cause problems at update.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
47
A view is defined by creating a defining ____________________, which indicates the rows and columns to include in the view.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
48
A(n)____ is an application program's or an individual user's picture of the database.

A)transaction
B)view
C)catalog
D)index
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
49
A view is updatable when it is derived from joining two base tables on the ____ of each table.

A)row-column
B)foreign key
C)primary key
D)index
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
50
The privilege ____ can be granted to change the table structure.

A)WRITE
B)UPDATE
C)ALTER
D)MODIFY
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
51
The privilege ____ can be granted to change data.

A)WRITE
B)UPDATE
C)ALTER
D)READ AND WRITE
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
52
The ____ command lists all tables in the default database.

A)SHOW TABLES
B)DISPLAY TABLES
C)VIEW TABLES
D)LIST TABLES
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
53
The database administrator uses the ____ command to revoke privileges from users.

A)DROP
B)REMOVE
C)REVOKE
D)CANCEL
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
54
To list all the indexes associated with a table, use the ____ command.

A)SHOW INDEX
B)VIEW INDEX
C)LIST INDEX
D)DISPLAY INDEX
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
55
Which of the following commands deletes a view?

A)DELETE VIEW
B)DROP VIEW
C)REVOKE VIEW
D)REMOVE VIEW
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
56
A(n)____________________ subset view consists of a subset of the rows and columns in some base table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
57
The privilege ____ can be granted to retrieve data.

A)SELECT
B)UPDATE
C)RETRIEVE
D)READ
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
58
When a view is no longer needed, you can remove it using the ____________________ command.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
59
The process of managing a database is called database ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
60
The ____________________ command lists all the columns in a given table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
61
Explain what happens when you create a query that involves a view.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
62
The command used to delete an index is ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
63
To add a primary key after creating a table, you can use the ____________________ clause of the ALTER TABLE command.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
64
The database administrator uses the ____________________ command to revoke privileges from users.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
65
The main mechanism for providing access to a database is the ____________________ command.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
66
If the user needs to be able to pass the privilege to other users, the GRANT command must include the ____________________ clause.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
67
Information about tables in the database is kept in the system ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
68
To ensure the uniqueness of values in a non-primary key column, you can create a unique index by using the ____________________ command.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
69
What are the benefits of using views?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
70
____________________ is the prevention of unauthorized access to a database.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
71
The command used to create an index is ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
72
What are the disadvantages of using an index?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
73
Within relational model systems on both mainframes and personal computers, the main mechanism for increasing the efficiency with which data is retrieved from the database is the ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
74
You can create and use a(n)____________________ to speed up the searching process significantly.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
75
An integrity ____________________ is a rule for the data in the database.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.