OCP-052考試題庫匯總(60)-CUUG內部解答版

  • 2019 年 10 月 8 日
  • 筆記

Examine these facts about a database:

The database default tablespace to EXAMPLE.

DEFERRED_SEGMENT_CREATION is TRUE (原來為 FALSE,題目有錯)

Examine these commands:

SQL> CREATE USER user1 IDENTIFIED BY oracle_4U PASSWORD EXPIRE;

User created.

SQL>ALTER USER user1 IDENTIFIED BY oracle;

User altered.

SQL>GRANT CREATE SESSION TO user1;

Grant succeeded.

SQL>GRANT CREATE TABLE TO user1 WITH ADMIN OPTION;

Grant succeeded.

Which four are true?

A)User1 can connect to the database instance.

B)User1 can create in the EXAMPLE tablespace.

C)User1 must change the password at first login.

D)User1 can grant the CREATE SESSION privilege to other users.

E)User1 can grant the CREATE TABLE privilege to other users.

F)User1 can REVOKE the CREATE TABLE privilege from users that were granted the privilege by SYS .

G)User1 can REVOKE the CREATE SESSION privilege from users that were granted the privilege by SYS .

Answer: ABEF

趙:

A 對,create session 就是允許使用這個用戶在伺服器上創建 session。就是允許這個用戶登錄。

C 錯,已測試。PASSWORD EXPIRE 使密碼過期,用戶 user1 剛創建時用了 EXPIRE,在下次登錄時必須修改密碼。但是接下來通過 alter 命令行修改了他的密碼,所以下次 USER1 登錄資料庫時就不必再修改密碼了。

D 錯,授權給 user1 用戶 create session 許可權 時沒有用 with admin option。所以他不能將這個許可權授給他人。

F 對,有 WITH ADMIN OPTION 許可權的用戶,可以收回其他用戶的系統許可權。

G 錯,授權 create session 時沒有用 WITH ADMIN OPTION,不能收回其他用戶的系統許可權。