Deck 7: User Creation and Management

Full screen (f)
exit full mode
Question
The PASSWORD EXPIRE option can be used to force a user to change his or her password at the time of the next login.​
Use Space or
up arrow
down arrow
to flip the card.
Question
Authentication is the process of ensuring that the individuals trying to access the system are who they claim to be.​
Question
Object privileges allow users to perform DML operations on the data contained within database objects.
Question
An object privilege cannot be granted to a role with the WITH GRANT OPTION.​
Question
A user can be granted both system and object privileges in the same GRANT command.​
Question
The system privileges available in Oracle 12c can be viewed through the SYSTEM_PRIVILEGE_MAP data dictionary view.​
Question
Both system and object privileges can be granted with the GRANT command.​
Question
Even if a set of privileges have been assigned to a role,it does not make it any easier for the DBA since the privileges will still need to be granted individually to the users.​
Question
The password for a user can be set with the PASSWORD clause of the CREATE USER command.
Question
Any privilege with the ANY keyword in it is automatically an object privilege.​
Question
User names in Oracle12c can consist of up to 30 characters.​
Question
A role can be created with the CREATE ROLE command.​
Question
The GRANT ROLE command is used to grant roles to users.​
Question
The UPDATE ANY TABLE privilege is a system privilege.​
Question
The INSERT,UPDATE,and DELETE object privileges can be applied to tables and views.
Question
The GRANT clause of the GRANT command identifies the user who is granting a specific privilege.​
Question
A role can only be granted to other roles.​
Question
The WITH GRANT OPTION is required to allow a user to grant the specified object privileges to other users.
Question
Permissions allow users to execute certain SQL statements in Oracle12c.
Question
The ON clause of the GRANT command is used to specify which objects can be altered by the system privilege(s)specified in the command.​
Question
All available system privileges for the current user can be displayed through the USER_SYS_PRIVS data dictionary view.​
Question
The FOR clause of the GRANT command is used to specify the object to which the privilege applies._________________________​
Question
A user can change his or her current password using the PASSWORD command.​
Question
Once a privilege has been granted to a role,it cannot be revoked without re-creating the role.​
Question
All privileges granted to a role must be revoked before the role can be removed from the database.​
Question
A user can be assigned a default role that is automatically enabled whenever the user logs in to the database.
Question
The ALTER USER command can be used to change the name assigned to a user account.​
Question
When a role is removed from the database,users will lose any privileges assigned to them through that role.​
Question
A password cannot be assigned to a role,only to a user.​
Question
Privileges allow Oracle12c users to execute certain SQL statements._________________________
Question
When revoking an object privilege that was issued with the WITH GRANT OPTION,the action will have a cascading effect because if that user granted the privilege to other users,the privilege will be revoked from them also.​
Question
Oracle12c uses a process known as selection to ensure that users are who they say they are._________________________​
Question
Even if users are authenticated by the operating system,the users are still required to have valid Oracle12c accounts to access the database._________________________
Question
Object privileges allow users to execute DDL commands._________________________​
Question
A user can check all his or her currently enabled privileges by examining the SESSION_PRIVS view.
Question
The CHANGE PASSWORD option can be used to force a user to change the user password at the time of the next login._________________________​
Question
The PASS IS clause of the CREATE USER command indicates the password assigned to a user._________________________
Question
The WITH ADMIN OPTION is required to enable the user to grant the specified object privileges to other users._________________________​
Question
The GENERATE ROLE command is used to add a new role to the database._________________________​
Question
Use an asterisk in the REVOKE command to revoke all system and object privileges that have been assigned to a user.​
Question
A role can be removed from the database with the DELETE ROLE command._________________________​
Question
Which of the following commands will change a user's password?

A) ALTER USERNAME username IDENTIFIED BY newpassword;
B) ALTER USER username IDENTITY newpassword;
C) ALTER USER username IDENTIFIED BY newpassword;
D) ALTER USERNAME username PASSWORD newpassword;
Question
​The ____ privilege will allow a user to connect to the Oracle12c database.

A) ​CREATE CONNECT
B) ​CREATE LOG
C) ​CREATE SESSION
D) ​CONNECT
Question
A user can issue the ENABLE ROLE command to enable a role assigned to the user._________________________​
Question
The DEFAULT ROLE option of the ALTER USER command can be used to assign a default role to an existing user._________________________​
Question
When revoking a privilege that was issued with the WITH ADMIN OPTION,the action will have a cascading effect because if that user granted the privilege to other users,the privilege will be revoked from them also._________________________​
Question
The WITH GRANT OPTION cannot be included when assigning privileges to roles._________________________​
Question
The REVOKE command can be used to revoke a role from a user or another role.
Question
Which command will delete a user account from Oracle12c?​

A) ​DELETE USER username;
B) ​DELETE USER username IDENTIFIED BY password;
C) ​DROP USER username IDENTIFIED BY password;
D) ​DROP USER username;
Question
The REVOKE command can be used to revoke system and object privileges,but not both in the same command._________________________​
Question
Which of the following will revoke a user's object privileges?​

A) ​REVOKE objectprivilege ON OBJECT objectname FROM username;
B) ​REVOKE objectprivilege ON objectname FROM username;
C) ​REVOKE objectprivilege ON objectname FOR username;
D) ​DROP objectprivilege ON objectname FROM username;
Question
A(n)group is a collection of privileges that can be granted to users._________________________​
Question
Which of the following commands can be used to revoke system or object privileges previously granted to a user?

A) UNGRANT
B) REMOVE
C) REVOKE
D) DROP
Question
Which of the following commands is used to establish a user account?​

A) ​CREATE NEW USER username IDENTIFIED BY password;
B) ​CREATE USERNAME username IDENTITY password;
C) ​CREATE USER username PASSWORD password;
D) ​CREATE USER username IDENTIFIED BY password;
Question
​Which of the following commands will allow a use to connect to the Oracle database?

A) GRANT SESSION TO username;
B) GRANT CREATE SESSION TO username;
C) GRANT CREATE SESSION FOR username;
D) GRANT CREATE LOGON TO username;
Question
A user can query the ROLE_SYS_PRIVS data dictionary view to determine the privileges currently enabled for that user._________________________​
Question
All system and object privileges currently enabled for a user are displayed in the SESSION_PRIVS view._________________________​
Question
User names can consist of up to 30 characters and include the _,#,and $ symbols._________________________​
Question
A system privilege can be taken away from a user through the UNGRANT command._________________________​
Question
A user can have several roles enabled at the same time._________________________​
Question
​Which of the following privileges will allow a user to reference a table when creating a FOREIGN KEY constraint?

A) ​FOREIGN KEY
B) ​REFERENCES
C) ​SELECT
D) ​none of the above
Question
Which of the following statements about creating a username is incorrect?

A) A user name can contain up to 30 characters.
B) A user name can contain the symbols _ ,$,and #.
C) A user name cannot contain numbers.
D) A user name can contain upper-case letters.
Question
Which of the following commands can be used to assign a default role to a user?​

A) ​ASSIGN
B) ​ROLE ASSIGNMENT
C) ​RESET DEFAULT
D) ​ALTER USER
Question
Which of the following is not a method used by the Oracle 12c database to prevent illegal access into the software?​

A) ​automatic encryption of all user input
B) ​limiting user privileges to access data
C) authentication through user name and password​
D) ​support for third-party security software and hardware devices
Question
Which of the following refers to the process of ensuring that individuals trying to access the system are who they say they are,thus preventing them from illegally accessing data?

A) ​authorization
B) ​authentication
C) ​individualization
D) ​accreditation
Question
Which of the following commands will grant a role to a user?​

A) ​GRANT rolename TO username;
B) ​GRANT ROLE rolename TO username;
C) ​GRANT rolename FOR username;
D) ​GRANT ROLE rolename FOR username;
Question
The ____ command will assign a default role to a user.​

A) ​ALTER USER username MODIFY ROLE rolename;
B) ​ALTER DEFAULT ROLE rolename GRANT username;
C) ​ALTER ROLE rolename MODIFY USER username;
D) ​ALTER USER username DEFAULT ROLE rolename;
Question
Which of the following statements about privileges is incorrect?​

A) ​There are five types of privileges,including DATATYPE,ROLETYPE,and USERNAME privileges.
B) ​System privileges allow access to the Oracle 12c database and let users perform DDL operations such as CREATE,ALTER,and DROP on database objects.
C) ​Object privileges allow users to perform DML operations on the data contained within the database objects.
D) ​When a user creates an object,he or she automatically has all the object privileges associated with that object.
Question
Which command will remove an existing role from a database?​

A) ​DROP rolename;
B) ​DROP ROLE rolename;
C) ​DELETE ROLE rolename;
D) ​DELETE rolename;
Question
Which of the following clauses is required when granting an objective privilege to a user?

A) ​FOR
B) ​ON
C) ​OBJECT
D) ​none of the above
Question
Which of the following statements about granting object privileges is incorrect?

A) The grantor has a choice to either grant individual privileges,or to use the ALL keyword in the GRANT clause.
B) The FROM clause is used to identify the password of the user to which the privilege(s)applies.
C) The TO clause identifies the user or role receiving the privilege.
D) The WITH GRANT OPTION gives the user the ability to grant the same object privileges to other users.
Question
Which of the following are examples of object privileges?

A) SELECT and UPDATE
B) CREATE USER and CREATE TABLE
C) UPDATE ANY TABLE and ALTER ANY TABLE
D) all of the above
Question
The ____ command is used to revoke a role.​

A) ​REVOKE rolename FROM username;
B) ​ALTER rolename REVOKE username;
C) ​DROP rolename FROM username;
D) ​DROP rolename REVOKE FROM username;
Question
Which command will grant a system privilege to a user?​

A) ​GRANT systemprivilege USERNAME username
B) ​GRANT PRIVILEGE systemprivilege TO username
C) ​GRANT systemprivilege TO username
D) ​GRANT systemprivilege ON username
Question
Which of the following will add a password to a role?

A) ALTER USER username SET ROLE rolename;
B) ALTER ROLE rolename SET USER username
C) ALTER USER username PASSWORD password;
D) ALTER ROLE rolename IDENTIFIED BY password;
Question
Which of the following is a valid SQL command?

A) GRANT SELECT ON orders TO rthomas WITH ADMIN OPTION;
B) GRANT SELECT TO rthomas;
C) GRANT SELECT ON orders TO rthomas WITH GRANT OPTION;
D) none of the above
Question
Which of the following can be considered potential threats to an organization's data?

A) ​natural disaster
B) ​disgruntled employees
C) ​computer criminals
D) ​all of the above
Question
The ____ keywords are used to grant object privileges to users and roles.​

A) ​GRANT...FOR...TO
B) ​CREATE...WITH...TO
C) ​GRANT...WITH...TO
D) ​GRANT...ON...TO
Question
​Which command will establish a new role?

A) ​CREATE NEW ROLE rolename;
B) ​CREATE ROLE rolename;
C) ​CREATE ROLE rolename FOR username;
D) ​CREATE ROLE rolename WITH privilege;
Question
Which of the following commands will enable a role for a user?​

A) ​ENABLE ROLE rolename;
B) ​ENABLE rolename;
C) ​SET ROLE rolename;
D) ​ROLE rolename;
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/130
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 7: User Creation and Management
1
The PASSWORD EXPIRE option can be used to force a user to change his or her password at the time of the next login.​
True
2
Authentication is the process of ensuring that the individuals trying to access the system are who they claim to be.​
True
3
Object privileges allow users to perform DML operations on the data contained within database objects.
True
4
An object privilege cannot be granted to a role with the WITH GRANT OPTION.​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
5
A user can be granted both system and object privileges in the same GRANT command.​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
6
The system privileges available in Oracle 12c can be viewed through the SYSTEM_PRIVILEGE_MAP data dictionary view.​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
7
Both system and object privileges can be granted with the GRANT command.​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
8
Even if a set of privileges have been assigned to a role,it does not make it any easier for the DBA since the privileges will still need to be granted individually to the users.​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
9
The password for a user can be set with the PASSWORD clause of the CREATE USER command.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
10
Any privilege with the ANY keyword in it is automatically an object privilege.​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
11
User names in Oracle12c can consist of up to 30 characters.​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
12
A role can be created with the CREATE ROLE command.​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
13
The GRANT ROLE command is used to grant roles to users.​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
14
The UPDATE ANY TABLE privilege is a system privilege.​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
15
The INSERT,UPDATE,and DELETE object privileges can be applied to tables and views.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
16
The GRANT clause of the GRANT command identifies the user who is granting a specific privilege.​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
17
A role can only be granted to other roles.​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
18
The WITH GRANT OPTION is required to allow a user to grant the specified object privileges to other users.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
19
Permissions allow users to execute certain SQL statements in Oracle12c.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
20
The ON clause of the GRANT command is used to specify which objects can be altered by the system privilege(s)specified in the command.​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
21
All available system privileges for the current user can be displayed through the USER_SYS_PRIVS data dictionary view.​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
22
The FOR clause of the GRANT command is used to specify the object to which the privilege applies._________________________​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
23
A user can change his or her current password using the PASSWORD command.​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
24
Once a privilege has been granted to a role,it cannot be revoked without re-creating the role.​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
25
All privileges granted to a role must be revoked before the role can be removed from the database.​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
26
A user can be assigned a default role that is automatically enabled whenever the user logs in to the database.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
27
The ALTER USER command can be used to change the name assigned to a user account.​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
28
When a role is removed from the database,users will lose any privileges assigned to them through that role.​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
29
A password cannot be assigned to a role,only to a user.​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
30
Privileges allow Oracle12c users to execute certain SQL statements._________________________
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
31
When revoking an object privilege that was issued with the WITH GRANT OPTION,the action will have a cascading effect because if that user granted the privilege to other users,the privilege will be revoked from them also.​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
32
Oracle12c uses a process known as selection to ensure that users are who they say they are._________________________​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
33
Even if users are authenticated by the operating system,the users are still required to have valid Oracle12c accounts to access the database._________________________
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
34
Object privileges allow users to execute DDL commands._________________________​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
35
A user can check all his or her currently enabled privileges by examining the SESSION_PRIVS view.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
36
The CHANGE PASSWORD option can be used to force a user to change the user password at the time of the next login._________________________​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
37
The PASS IS clause of the CREATE USER command indicates the password assigned to a user._________________________
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
38
The WITH ADMIN OPTION is required to enable the user to grant the specified object privileges to other users._________________________​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
39
The GENERATE ROLE command is used to add a new role to the database._________________________​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
40
Use an asterisk in the REVOKE command to revoke all system and object privileges that have been assigned to a user.​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
41
A role can be removed from the database with the DELETE ROLE command._________________________​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
42
Which of the following commands will change a user's password?

A) ALTER USERNAME username IDENTIFIED BY newpassword;
B) ALTER USER username IDENTITY newpassword;
C) ALTER USER username IDENTIFIED BY newpassword;
D) ALTER USERNAME username PASSWORD newpassword;
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
43
​The ____ privilege will allow a user to connect to the Oracle12c database.

A) ​CREATE CONNECT
B) ​CREATE LOG
C) ​CREATE SESSION
D) ​CONNECT
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
44
A user can issue the ENABLE ROLE command to enable a role assigned to the user._________________________​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
45
The DEFAULT ROLE option of the ALTER USER command can be used to assign a default role to an existing user._________________________​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
46
When revoking a privilege that was issued with the WITH ADMIN OPTION,the action will have a cascading effect because if that user granted the privilege to other users,the privilege will be revoked from them also._________________________​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
47
The WITH GRANT OPTION cannot be included when assigning privileges to roles._________________________​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
48
The REVOKE command can be used to revoke a role from a user or another role.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
49
Which command will delete a user account from Oracle12c?​

A) ​DELETE USER username;
B) ​DELETE USER username IDENTIFIED BY password;
C) ​DROP USER username IDENTIFIED BY password;
D) ​DROP USER username;
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
50
The REVOKE command can be used to revoke system and object privileges,but not both in the same command._________________________​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
51
Which of the following will revoke a user's object privileges?​

A) ​REVOKE objectprivilege ON OBJECT objectname FROM username;
B) ​REVOKE objectprivilege ON objectname FROM username;
C) ​REVOKE objectprivilege ON objectname FOR username;
D) ​DROP objectprivilege ON objectname FROM username;
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
52
A(n)group is a collection of privileges that can be granted to users._________________________​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
53
Which of the following commands can be used to revoke system or object privileges previously granted to a user?

A) UNGRANT
B) REMOVE
C) REVOKE
D) DROP
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
54
Which of the following commands is used to establish a user account?​

A) ​CREATE NEW USER username IDENTIFIED BY password;
B) ​CREATE USERNAME username IDENTITY password;
C) ​CREATE USER username PASSWORD password;
D) ​CREATE USER username IDENTIFIED BY password;
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
55
​Which of the following commands will allow a use to connect to the Oracle database?

A) GRANT SESSION TO username;
B) GRANT CREATE SESSION TO username;
C) GRANT CREATE SESSION FOR username;
D) GRANT CREATE LOGON TO username;
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
56
A user can query the ROLE_SYS_PRIVS data dictionary view to determine the privileges currently enabled for that user._________________________​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
57
All system and object privileges currently enabled for a user are displayed in the SESSION_PRIVS view._________________________​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
58
User names can consist of up to 30 characters and include the _,#,and $ symbols._________________________​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
59
A system privilege can be taken away from a user through the UNGRANT command._________________________​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
60
A user can have several roles enabled at the same time._________________________​
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
61
​Which of the following privileges will allow a user to reference a table when creating a FOREIGN KEY constraint?

A) ​FOREIGN KEY
B) ​REFERENCES
C) ​SELECT
D) ​none of the above
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
62
Which of the following statements about creating a username is incorrect?

A) A user name can contain up to 30 characters.
B) A user name can contain the symbols _ ,$,and #.
C) A user name cannot contain numbers.
D) A user name can contain upper-case letters.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
63
Which of the following commands can be used to assign a default role to a user?​

A) ​ASSIGN
B) ​ROLE ASSIGNMENT
C) ​RESET DEFAULT
D) ​ALTER USER
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
64
Which of the following is not a method used by the Oracle 12c database to prevent illegal access into the software?​

A) ​automatic encryption of all user input
B) ​limiting user privileges to access data
C) authentication through user name and password​
D) ​support for third-party security software and hardware devices
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
65
Which of the following refers to the process of ensuring that individuals trying to access the system are who they say they are,thus preventing them from illegally accessing data?

A) ​authorization
B) ​authentication
C) ​individualization
D) ​accreditation
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
66
Which of the following commands will grant a role to a user?​

A) ​GRANT rolename TO username;
B) ​GRANT ROLE rolename TO username;
C) ​GRANT rolename FOR username;
D) ​GRANT ROLE rolename FOR username;
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
67
The ____ command will assign a default role to a user.​

A) ​ALTER USER username MODIFY ROLE rolename;
B) ​ALTER DEFAULT ROLE rolename GRANT username;
C) ​ALTER ROLE rolename MODIFY USER username;
D) ​ALTER USER username DEFAULT ROLE rolename;
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
68
Which of the following statements about privileges is incorrect?​

A) ​There are five types of privileges,including DATATYPE,ROLETYPE,and USERNAME privileges.
B) ​System privileges allow access to the Oracle 12c database and let users perform DDL operations such as CREATE,ALTER,and DROP on database objects.
C) ​Object privileges allow users to perform DML operations on the data contained within the database objects.
D) ​When a user creates an object,he or she automatically has all the object privileges associated with that object.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
69
Which command will remove an existing role from a database?​

A) ​DROP rolename;
B) ​DROP ROLE rolename;
C) ​DELETE ROLE rolename;
D) ​DELETE rolename;
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
70
Which of the following clauses is required when granting an objective privilege to a user?

A) ​FOR
B) ​ON
C) ​OBJECT
D) ​none of the above
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
71
Which of the following statements about granting object privileges is incorrect?

A) The grantor has a choice to either grant individual privileges,or to use the ALL keyword in the GRANT clause.
B) The FROM clause is used to identify the password of the user to which the privilege(s)applies.
C) The TO clause identifies the user or role receiving the privilege.
D) The WITH GRANT OPTION gives the user the ability to grant the same object privileges to other users.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
72
Which of the following are examples of object privileges?

A) SELECT and UPDATE
B) CREATE USER and CREATE TABLE
C) UPDATE ANY TABLE and ALTER ANY TABLE
D) all of the above
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
73
The ____ command is used to revoke a role.​

A) ​REVOKE rolename FROM username;
B) ​ALTER rolename REVOKE username;
C) ​DROP rolename FROM username;
D) ​DROP rolename REVOKE FROM username;
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
74
Which command will grant a system privilege to a user?​

A) ​GRANT systemprivilege USERNAME username
B) ​GRANT PRIVILEGE systemprivilege TO username
C) ​GRANT systemprivilege TO username
D) ​GRANT systemprivilege ON username
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
75
Which of the following will add a password to a role?

A) ALTER USER username SET ROLE rolename;
B) ALTER ROLE rolename SET USER username
C) ALTER USER username PASSWORD password;
D) ALTER ROLE rolename IDENTIFIED BY password;
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
76
Which of the following is a valid SQL command?

A) GRANT SELECT ON orders TO rthomas WITH ADMIN OPTION;
B) GRANT SELECT TO rthomas;
C) GRANT SELECT ON orders TO rthomas WITH GRANT OPTION;
D) none of the above
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
77
Which of the following can be considered potential threats to an organization's data?

A) ​natural disaster
B) ​disgruntled employees
C) ​computer criminals
D) ​all of the above
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
78
The ____ keywords are used to grant object privileges to users and roles.​

A) ​GRANT...FOR...TO
B) ​CREATE...WITH...TO
C) ​GRANT...WITH...TO
D) ​GRANT...ON...TO
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
79
​Which command will establish a new role?

A) ​CREATE NEW ROLE rolename;
B) ​CREATE ROLE rolename;
C) ​CREATE ROLE rolename FOR username;
D) ​CREATE ROLE rolename WITH privilege;
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
80
Which of the following commands will enable a role for a user?​

A) ​ENABLE ROLE rolename;
B) ​ENABLE rolename;
C) ​SET ROLE rolename;
D) ​ROLE rolename;
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 130 flashcards in this deck.