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

2019-09-29 17:35:45 浏览数 (1)

In one of your databases,The database default tablespace is EXAMPLE.

DEFERRED_SEGMENT_CREATION IS FALSE.

Examine these commands;

SQL.>CREATE USER user1 IDENTIFIED BY oracle_4U password expire;

User created.

SQL>ALTER USER user1 ACCOUNT UNLOCK;

User altered.

SQL>GRANT CREATE SESSION TO user1;

Grant succeeded;

SQL>GRANT CREATE TABLE TO user1 WITH ADMIN OPTION;

Grant succeeded.

Which three are true?

A)USER1 can create indexes in EXAMPLE tablespace

B)USER1 can grant the CREATE TABLE privilege to other users

C)USER1 can log into the database instance

D)USER1 must change it’s password at first login

E)USER1 can create tables in the EXAMPLE tablespace

Answer: BCD

赵:

DEFERRED_SEGMENT_CREATION 段延迟创建,值为 TRUE 时,表刚被创建还没有插入数据时,表不会被分配存储空间。只要有一条数据被插入到表后,无论是否 COMMIT,表对象才被正式创建。值为FALSE 时,表创建后立即分配空间,无论是否有数据插入。

D 对,已测试。

E 错,没有给 user1 分配在 example 表空间上的 quota,而且延迟段参数设置了不可延迟。

0 人点赞