Deck 7: User Creation and Management
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/132
Play
Full screen (f)
Deck 7: User Creation and Management
1
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.
False
2
A user can be granted both system and object privileges in the same GRANT command.
False
3
The GRANT clause of the GRANT command identifies the user who is granting a specific privilege.
False
4
The PASSWORD EXPIRE option can be used to force a user to change his or her password at the time of the next login.
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
5
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 132 flashcards in this deck.
Unlock Deck
k this deck
6
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 132 flashcards in this deck.
Unlock Deck
k this deck
7
The GRANT ROLE command is used to grant roles to users.
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
8
Any privilege with the ANY keyword in it is automatically an object privilege.
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
9
Authentication is the process of ensuring that the individuals trying to access the system are who they claim to be.
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
10
An object privilege cannot be granted to a role with the WITH GRANT OPTION.
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
11
The UPDATE ANY TABLE privilege is a system privilege.
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
12
The system privileges available in Oracle11g can be viewed through the SYSTEM_PRIVILEGE_MAP data dictionary view.
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
13
The INSERT, UPDATE, and DELETE object privileges can be applied to tables and views.
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
14
User names in Oracle11g can consist of up to 30 characters.
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
15
A role can be created with the CREATE ROLE command.
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
16
Both system and object privileges can be granted with the GRANT command.
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
17
Permissions allow users to execute certain SQL statements in Oracle11g.
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
18
The password for a user can be set with the PASSWORD clause of the CREATE USER command.
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
19
Object privileges allow users to perform DML operations on the data contained within database objects.
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
20
A role can only be granted to other roles.
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
21
The clause of the GRANT command is used to specify the object to which the privilege applies. _________________________
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
22
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 132 flashcards in this deck.
Unlock Deck
k this deck
23
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 132 flashcards in this deck.
Unlock Deck
k this deck
24
Even if users are by the operating system, the users are still required to have valid Oracle11g accounts to access the database. _________________________
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
25
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 132 flashcards in this deck.
Unlock Deck
k this deck
26
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 132 flashcards in this deck.
Unlock Deck
k this deck
27
A user can check all his or her currently enabled privileges by examining the SESSION_PRIVS view.
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
28
A user can change his or her current using the PASSWORD command. _________________________
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
29
The 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 132 flashcards in this deck.
Unlock Deck
k this deck
30
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 132 flashcards in this deck.
Unlock Deck
k this deck
31
The is required to enable the user to grant the specified object privileges to other users. _________________________
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
32
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 132 flashcards in this deck.
Unlock Deck
k this deck
33
allow Oracle11g users to execute certain SQL statements. _________________________
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
34
Oracle11g uses a process known as to ensure that users are who they say they are. _________________________
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
35
The ALTER USER command can be used to change the name assigned to a user account.
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
36
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 132 flashcards in this deck.
Unlock Deck
k this deck
37
The clause of the CREATE USER command indicates the password assigned to a user. _________________________
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
38
There are object privileges available in Oracle11g. _________________________
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
39
privileges allow users to execute DDL commands. _________________________
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
40
A password cannot be assigned to a role, only to a user.
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
41
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;
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 132 flashcards in this deck.
Unlock Deck
k this deck
42
The command is used to add a new role to the database. _________________________
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
43
A(n) is a collection of privileges that can be granted to users. _________________________
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
44
A user can query the data dictionary view to determine the privileges currently enabled for that user. _________________________
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
45
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;
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 132 flashcards in this deck.
Unlock Deck
k this deck
46
The command can be used to revoke system and object privileges, but not both in the same command. _________________________
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
47
Which command will delete a user account from Oracle11g?
A) DELETE USER username;
B) DELETE USER username IDENTIFIED BY password;
C) DROP USER username IDENTIFIED BY password;
D) DROP USER username;
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 132 flashcards in this deck.
Unlock Deck
k this deck
48
When revoking a privilege that was issued with the WITH 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 132 flashcards in this deck.
Unlock Deck
k this deck
49
A user can issue the command to enable a role assigned to the user. _________________________
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
50
All system and object privileges currently enabled for a user are displayed in the view. _________________________
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
51
A role can be removed from the database with the command. _________________________
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
52
User names can consist of up to characters and include the _, #, and $ symbols. _________________________
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
53
The command can be used to revoke a role from a user or another role. _________________________
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
54
The ____ privilege will allow a user to connect to the Oracle11g database.
A) CREATE CONNECT
B) CREATE LOG
C) CREATE SESSION
D) CONNECT
A) CREATE CONNECT
B) CREATE LOG
C) CREATE SESSION
D) CONNECT
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
55
A system privilege can be taken away from a user through the command. _________________________
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
56
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;
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 132 flashcards in this deck.
Unlock Deck
k this deck
57
The 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 132 flashcards in this deck.
Unlock Deck
k this deck
58
A user can have several enabled at the same time. _________________________
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
59
The cannot be included when assigning privileges to roles. _________________________
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
60
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;
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 132 flashcards in this deck.
Unlock Deck
k this deck
61
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
A) UNGRANT
B) REMOVE
C) REVOKE
D) DROP
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
62
There are ____ object privileges in Oracle11g.
A) 7
B) 13
C) 15
D) 25
A) 7
B) 13
C) 15
D) 25
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
63
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;
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 132 flashcards in this deck.
Unlock Deck
k this deck
64
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;
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 132 flashcards in this deck.
Unlock Deck
k this deck
65
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
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 132 flashcards in this deck.
Unlock Deck
k this deck
66
Which of the following is not a method used by the Oracle11g 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
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 132 flashcards in this deck.
Unlock Deck
k this deck
67
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 Oracle10g 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.
A) There are five types of privileges, including DATATYPE, ROLETYPE, and USERNAME privileges.
B) System privileges allow access to the Oracle10g 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 132 flashcards in this deck.
Unlock Deck
k this deck
68
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
A) natural disaster
B) disgruntled employees
C) computer criminals
D) all of the above
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
69
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
A) FOREIGN KEY
B) REFERENCES
C) SELECT
D) none of the above
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
70
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
A) ASSIGN
B) ROLE ASSIGNMENT
C) RESET DEFAULT
D) ALTER USER
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
71
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;
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 132 flashcards in this deck.
Unlock Deck
k this deck
72
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
A) FOR
B) ON
C) OBJECT
D) none of the above
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
73
Which command will remove an existing role from a database?
A) DROP rolename;
B) DROP ROLE rolename;
C) DELETE ROLE rolename;
D) DELETE rolename;
A) DROP rolename;
B) DROP ROLE rolename;
C) DELETE ROLE rolename;
D) DELETE rolename;
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
74
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;
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 132 flashcards in this deck.
Unlock Deck
k this deck
75
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;
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 132 flashcards in this deck.
Unlock Deck
k this deck
76
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
A) GRANT...FOR...TO
B) CREATE...WITH...TO
C) GRANT...WITH...TO
D) GRANT...ON...TO
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
77
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
A) authorization
B) authentication
C) individualization
D) accreditation
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
78
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;
A) ENABLE ROLE rolename;
B) ENABLE rolename;
C) SET ROLE rolename;
D) ROLE rolename;
Unlock Deck
Unlock for access to all 132 flashcards in this deck.
Unlock Deck
k this deck
79
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
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 132 flashcards in this deck.
Unlock Deck
k this deck
80
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.
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 132 flashcards in this deck.
Unlock Deck
k this deck