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...

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,不能收回其他用户的系统权限。

目录
相关文章
OCP-052考试题库汇总(59)-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 ...
2860 0
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 privilege 3.
775 0
|
数据库管理
OCP-052考试题库汇总(46)-CUUG内部解答版
Examine this command: SQL> CREATE GLOBAL TEMPORARY TABLE report_work_area (startdate DATE, enddate DATE, class CHAR(20)) ON COMMIT PRESERVE ROWS; Whi...
805 0
|
SQL
OCP-052考试题库汇总(44)-CUUG内部解答版
Which two are true about external tables? A)They can be stored in an ASM Cluster File System(ACFS). B)They can always be updated using SQL.
8289 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'...
836 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.
780 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。
628 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.
707 0
OCP-052考试题库汇总(27)-CUUG内部解答版
Which two of these must be available READ/WRITE to keep a database open? A)all copies of the control file.
548 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.
656 0