Deck 7: Database Administration

ملء الشاشة (f)
exit full mode
سؤال
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.​
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
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 provide a measure of security.​
سؤال
The existing,permanent tables in a relational database are called stable tables.​
سؤال
You cannot delete a row from a view.​
سؤال
A view can join two or more tables.​
سؤال
The DROP VIEW command removes the tables and data on which the view is based.​
سؤال
You can add rows to a view that includes calculations.​
سؤال
Views provide data validation.​
سؤال
When you create a query that involves a view,the DBMS changes the query to one that selects data from the table(s)in the database that created the view.​
سؤال
The defining query can be any transaction.​
سؤال
With a view,the display of data can be customized to meet each user's needs.​
سؤال
A view cannot involve statistics.​
سؤال
To create a view in Access,create a query to define the view and then save the query object in the database.​
سؤال
Most database management systems support the creation of views.​
سؤال
To create a view definition,use the DEFINE VIEW command.​
سؤال
A view is a derived table.​
سؤال
If the database structure changes,the user cannot access and use the view.​
سؤال
When you create a view,you cannot assign column names that are different from those in the base table.​
سؤال
A view that involves statistics calculated from one or more base tables is the easiest view when attempting to update data.​
سؤال
You use the LEGAL clause of the ALTER TABLE command to ensure that only legal values satisfying a particular condition are allowed in a given column.​
سؤال
You can only specify a primary key when you first create a table.​
سؤال
The GRANT command to indicate that a user has all privileges includes the FULL privilege.​
سؤال
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
سؤال
You can create and maintain an index for any row in any 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
سؤال
The main mechanism for providing access to a database is the ____ command.​

A)PERMIT
B)​ACCESS
C)GRANT
D)​REVOKE
سؤال
When users create,alter,or drop tables or create or drop indexes,the DBMS updates the system catalog automatically.​
سؤال
An auxiliary key is a column in one table whose values match the primary key in another table.​
سؤال
Access does not support the DROP VIEW command.​
سؤال
When the primary key contains more than one column,use commas to separate the column names.​
سؤال
The command to delete a view is ____.​

A)DROP VIEW
B)​DELETE VIEW
C)REMOVE VIEW
D)​REVOKE VIEW
سؤال
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
سؤال
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
سؤال
When you specify a foreign key,the table containing the foreign key is the parent​
سؤال
Normally,when the database administrator grants a particular privilege to a user,the user cannot pass that privilege along to other users.​
سؤال
The clause WITH GRANT OPTION is meaningful as part of a REVOKE command.​
سؤال
A(n)____ is an application program's or an individual user's picture of the database.​

A)transaction
B)​view
C)catalog
D)​index
سؤال
An index makes certain types of retrieval more efficient.​
سؤال
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
سؤال
The privilege ____ can be granted to change data.​

A)WRITE
B)​UPDATE
C)ALTER
D)​READ AND WRITE
سؤال
Which of the following commands deletes an index?​

A)DELETE INDEX
B)​REMOVE INDEX
C)UNINDEX
D)​DROP INDEX
سؤال
A(n)____________________ subset view consists of a subset of the rows and columns in some base table.​
سؤال
In Oracle,the ____ table contains information about the columns within tables.​

A)SYSCOLUMNS
B)​DBA_TAB_COLUMNS
C)COLUMNS
D)​SHOW_COLUMNS
سؤال
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
سؤال
The privilege ____ can be granted to retrieve data.​

A)SELECT
B)​UPDATE
C)RETRIEVE
D)​READ
سؤال
To ensure the uniqueness of values in a nonprimary key column,use the ____ command to create an index.​

A)CREATE UNIQUE INDEX
B)​CREATE NONPRIMARY INDEX
C)CREATE INDEX
D)​CREATE ONLY INDEX
سؤال
To create a view definition,use the ____________________ command.​
سؤال
A view is defined by creating a defining ____________________,which indicates the rows and columns to include in the view.​
سؤال
In general,views that involve joins of ____________________ tables can cause problems at update.​
سؤال
The privilege ____ can be granted to change the table structure.​

A)WRITE
B)​UPDATE
C)ALTER
D)​MODIFY
سؤال
The process of managing a database is called database ____________________.​
سؤال
In Oracle,the ____ table contains information about the tables known to SQL.​

A)DBA_TABLES
B)​SHOW_TABLES
C)ALL_TABLES
D)​SP_TABLES
سؤال
The types of constraints supported in SQL are ____.​

A)primary keys
B)​foreign keys
C)legal values
D)​All of the above
سؤال
The database administrator uses the ____ command to revoke privileges from users.​

A)DROP
B)​REMOVE
C)REVOKE
D)​CANCEL
سؤال
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
سؤال
When you specify a foreign key,the table referenced by the foreign key is the ____.​

A)super
B)​sibling
C)parent
D)​child
سؤال
When a view is no longer needed,you can remove it using the ____________________ command.​
سؤال
____________________ is the prevention of unauthorized access to a database.​
سؤال
An integrity ____________________ is a rule for the data in the database.​
سؤال
In a DBMS,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.​
سؤال
The GRANT command to indicate that all users can retrieve data using a SELECT command includes the word ____________________ rather than the specific name of a user.​
سؤال
The command used to create an index is ____________________.​
سؤال
What are the benefits of using views?​
سؤال
What are the disadvantages of using an index?​
سؤال
Explain what happens when you create a query that involves a view.​
سؤال
The command used to delete an index is ____________________.​
سؤال
To ensure the uniqueness of values in a non-primary key column,you can create a unique index by using the ____________________ command.​
سؤال
Information about tables in the database is kept in the system ____________________.​
سؤال
If the user needs to be able to pass the privilege to other users,the GRANT command must include the ____________________ clause.​
سؤال
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.​
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/75
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 7: Database Administration
1
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.​
True
2
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.​
False
3
Views provide a measure of security.​
True
4
The existing,permanent tables in a relational database are called stable tables.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
5
You cannot delete a row from a view.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
6
A view can join two or more tables.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
7
The DROP VIEW command removes the tables and data on which the view is based.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
8
You can add rows to a view that includes calculations.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
9
Views provide data validation.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
10
When you create a query that involves a view,the DBMS changes the query to one that selects data from the table(s)in the database that created the view.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
11
The defining query can be any transaction.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
12
With a view,the display of data can be customized to meet each user's needs.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
13
A view cannot involve statistics.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
14
To create a view in Access,create a query to define the view and then save the query object in the database.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
15
Most database management systems support the creation of views.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
16
To create a view definition,use the DEFINE VIEW command.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
17
A view is a derived table.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
18
If the database structure changes,the user cannot access and use the view.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
19
When you create a view,you cannot assign column names that are different from those in the base table.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
20
A view that involves statistics calculated from one or more base tables is the easiest view when attempting to update data.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
21
You use the LEGAL clause of the ALTER TABLE command to ensure that only legal values satisfying a particular condition are allowed in a given column.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
22
You can only specify a primary key when you first create a table.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
23
The GRANT command to indicate that a user has all privileges includes the FULL privilege.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
24
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
25
You can create and maintain an index for any row in any table.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
26
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
27
The main mechanism for providing access to a database is the ____ command.​

A)PERMIT
B)​ACCESS
C)GRANT
D)​REVOKE
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
28
When users create,alter,or drop tables or create or drop indexes,the DBMS updates the system catalog automatically.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
29
An auxiliary key is a column in one table whose values match the primary key in another table.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
30
Access does not support the DROP VIEW command.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
31
When the primary key contains more than one column,use commas to separate the column names.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
32
The command to delete a view is ____.​

A)DROP VIEW
B)​DELETE VIEW
C)REMOVE VIEW
D)​REVOKE VIEW
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
33
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
34
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
35
When you specify a foreign key,the table containing the foreign key is the parent​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
36
Normally,when the database administrator grants a particular privilege to a user,the user cannot pass that privilege along to other users.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
37
The clause WITH GRANT OPTION is meaningful as part of a REVOKE command.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
38
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
39
An index makes certain types of retrieval more efficient.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
40
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
41
The privilege ____ can be granted to change data.​

A)WRITE
B)​UPDATE
C)ALTER
D)​READ AND WRITE
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 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)____________________ subset view consists of a subset of the rows and columns in some base table.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
44
In Oracle,the ____ table contains information about the columns within tables.​

A)SYSCOLUMNS
B)​DBA_TAB_COLUMNS
C)COLUMNS
D)​SHOW_COLUMNS
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
45
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
46
The privilege ____ can be granted to retrieve data.​

A)SELECT
B)​UPDATE
C)RETRIEVE
D)​READ
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
47
To ensure the uniqueness of values in a nonprimary key column,use the ____ command to create an index.​

A)CREATE UNIQUE INDEX
B)​CREATE NONPRIMARY INDEX
C)CREATE INDEX
D)​CREATE ONLY INDEX
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
48
To create a view definition,use the ____________________ command.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
49
A view is defined by creating a defining ____________________,which indicates the rows and columns to include in the view.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
50
In general,views that involve joins of ____________________ tables can cause problems at update.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
51
The privilege ____ can be granted to change the table structure.​

A)WRITE
B)​UPDATE
C)ALTER
D)​MODIFY
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
52
The process of managing a database is called database ____________________.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
53
In Oracle,the ____ table contains information about the tables known to SQL.​

A)DBA_TABLES
B)​SHOW_TABLES
C)ALL_TABLES
D)​SP_TABLES
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
54
The types of constraints supported in SQL are ____.​

A)primary keys
B)​foreign keys
C)legal values
D)​All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
55
The database administrator uses the ____ command to revoke privileges from users.​

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

A)system database
B)​data dictionary
C)master data table
D)​transaction database
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
58
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
59
When a view is no longer needed,you can remove it using the ____________________ command.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
60
____________________ is the prevention of unauthorized access to a database.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
61
An integrity ____________________ is a rule for the data in the database.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
62
In a DBMS,the main mechanism for increasing the efficiency with which data is retrieved from the database is the ____________________.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
63
You can create and use a(n)____________________ to speed up the searching process significantly.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
64
The GRANT command to indicate that all users can retrieve data using a SELECT command includes the word ____________________ rather than the specific name of a user.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
65
The command used to create an index is ____________________.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
66
What are the benefits of using views?​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
67
What are the disadvantages of using an index?​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
68
Explain what happens when you create a query that involves a view.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
69
The command used to delete an index is ____________________.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
70
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
71
Information about tables in the database is kept in the system ____________________.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
72
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
73
To add a primary key after creating a table,you can use the ____________________ clause of the ALTER TABLE command.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
74
The database administrator uses the ____________________ command to revoke privileges from users.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
75
The main mechanism for providing access to a database is the ____________________ command.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 75 في هذه المجموعة.