OCP-052考试题库汇总(57)-CUUG内部解答版

简介: Examine these facts about a databases:1.USERS is the database default tablespace.2.USER1,USER2,and USER3 have the CREATE SESSION privilege3.

Examine these facts about a databases:

1.USERS is the database default tablespace.

2.USER1,USER2,and USER3 have the CREATE SESSION privilege

3.They also have UNLIMITED QUOTA on the default tablespace USERS.

4.They have no other provileges.

Examine these commands:

SQL>conn / as sysdba

Connected.

SQL>GRANT CREATE TABLE TO user1 WITH ADMIN OPTION

Grant succeeded

SQL>conn user1/oracle_4U

Connected.

SQL>GRANT CREATE TABLE TO user2;

Grant succeeded.

SQL>GRANT CREATE TABLE TO user3 WITH ADMIN OPTION;

Grant succeeded.

Which two are true?

A)If sys revokes CREATE TABLE from USER1,it is not revoked from USER2 and USER3

B)Any user with CREATE TABLE WITH ADMIN OPTION can revoke CREATE TABLE from USER1

C)If sys revokes CREATE TABLE from USER1,it is revoked from USER2 but not from USER3

D)Only sys and USER1 can revoke CREATE TABLE from USER3

E)Only sys can revoke CREATE TABLE from USER1.

Answer: AB

赵:注意与上题的区别是,中间切换到了 user1 对 user2 和 user3 进行的授权,而不是 SYS 直接授权的。

经测试,SYS 和 USER1 可以收回 USER3 的 CREATE TABLE 权限,但 USER2 不能收回 USER3 的建表权。

USER3 可以收回 USER1 和 USER2 的 CREATE TABLE 权限。此题 D 选项虽是对的,但是其中用了 ONLY,没有 B 选项好。

目录
相关文章
OCP-052考试题库汇总(58)-CUUG内部解答版
In one of your databases: 1.USER1 and USER2 have no system privileges. 2.ROLE1 only has these privileges: ?CREATE SESSION ?CREATE TABLE ?CREATE VIEW ...
773 0
|
XML SQL 数据库
OCP-052考试题库汇总(41)-CUUG内部解答版
Examine this session output: SQL> connect scott/tiger Connected. SQL>select name,value 2 from v$parameter 3 where name='audit_trail'; NAME VALUE ----...
898 0
OCP-052考试题库汇总(42)-CUUG内部解答版
You successfully executed these commands: connect scott/tiger@prod1; CREATE DATABASE LINK db_prod2 CONNECT TO scott IDENTIFIED BY tiger USING 'PROD2'...
802 0
|
数据库 关系型数据库 Oracle
OCP-052考试题库汇总(39)-CUUG内部解答版
Which three are true about auditing? A)Auditing is active only when the database is OPEN. B)Audit records are always stored in the database.
742 0
|
SQL 存储 Oracle
OCP-052考试题库汇总(37)-CUUG内部解答版
Examine these facts about objects in the SYSTEM schema: 1.EMP is a table. 2.EMP_PK is a primary key constraint on EMP.
856 0
|
数据库 关系型数据库 Oracle
OCP-052考试题库汇总(32)-CUUG内部解答版
Which state must a database be to enable ARCHIVELOG ? A)NOMOUNT B)OPEN IN READ WRITE mode C)OPEN IN READ ONLY mode D)OPEN IN RESTRICTED mode E)MOUNT ...
716 0
|
Oracle 关系型数据库 数据库
OCP-052考试题库汇总(31)-CUUG内部解答版
which four are true about the tools used to administer Oracle database? A)the Data Pump utility can be used to load data from text files.
803 0
|
Oracle 关系型数据库
OCP-052考试题库汇总(30)-CUUG内部解答版
Which two are true about the Inventory directory? A)It is shared by all Oracle software installations on a single server.
663 0
|
Oracle 关系型数据库
OCP-052考试题库汇总(29)-CUUG内部解答版
When does an incremental checkpoint occur ? A)when an online redo log switch occurs. B)when DBWn writes dirty buffers as part of its normal processing.
1042 0
|
数据库
OCP-052考试题库汇总(26)-CUUG内部解答版
Which three of these must be accessible to keep a database open? A)Control file. B)All members of a redo log group. C)SYSTEM tablespace. D)SYSAUX tablespace. E)spfile Answer: ABC 赵: 1 nomount:实例已经启动,进程和内存已经分配。
681 0