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 ...
2827 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.
736 0
|
Oracle 关系型数据库 数据库
OCP-052考试题库汇总(49)-CUUG内部解答版
Which two statements are true about the Automatic Diagnostic Repository (ADR) ? A)It only exists if DIAGNOSTIC_DEST is configured in the SPFILE.
963 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...
770 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 ----...
890 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'...
791 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.
792 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 ...
708 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
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.
512 0