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 选项好。

目录
相关文章
|
数据安全/隐私保护 关系型数据库 Oracle
OCP-052考试题库汇总(60)-CUUG内部解答版
Examine these facts about a database: The database default tablespace to EXAMPLE. DEFERRED_SEGMENT_CREATION is TRUE (原来为 FALSE,题目有错) Examine these co...
3730 0
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 ...
769 0
OCP-052考试题库汇总(55)-CUUG内部解答版
Examine these facts about a database: 1.USER is the database default tablespace. 2.USER1, USER2, and USER3 have the CREATE SESSION privilege.
3050 0
|
数据库 存储
OCP-052考试题库汇总(48)-CUUG内部解答版
Which is true about the Automatic Diagnostic Repository (ADR) ? A) It is used only if the DIAGNOSTIC_DEST parameter is manually configured.
740 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.
853 0
OCP-052考试题库汇总(34)-CUUG内部解答版
Where is an expdp operation tracked? A)dump files B)control file C)log files D)Automatic Diagnostic Repository(ADR) E)master table (MT) Answer: E 赵: 题译:哪里有一个 Exdp 操作跟踪? Master table 是一个临时 table,专门为 import pump 和 export pump 创建的,一旦完成就会自动被 drop。
599 0
|
Oracle 关系型数据库 数据库
OCP-052考试题库汇总(33)-CUUG内部解答版
Which two can be exported by a non-administrative account by using Data Pump? A)directory objects B)tables C)tablespaces D)schemas E)database Answer: BD 赵: EXP 和 IMP 是客户端工具程序,它们既可以在客户端使用,也可以在服务端使用。
649 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.
1033 0
|
Oracle 关系型数据库 数据库
OCP-052考试题库汇总(28)-CUUG内部解答版
Archivelog mode is enabled for your database and DB_CREATE_FILE_DEST is set to ‘/u01/oracle/db01’. The parameters, DB_CREATE_ONLINE_LOG_DEST_n and DB_RECOVERY_FILE_DEST, and not specified.
612 0
|
机器学习/深度学习 Oracle 关系型数据库
OCP-052考试题库汇总(25)-CUUG内部解答版
Which four database objects never have any segments? A)A partitioned index B)A view selecting from a populated table C)An empty index D)An Oracle Loader type external table E)An empty table F)A view selecting from an empty table G)An Oracle Data Pump type external table Answer: BDFG 赵:视图和外部表不存在段。
734 0