OCP-1Z0-053-V12.02-629题

629.Which option is best practice for creating a recovery catalog owner in the catalog database?


A. Granting UNLIMITED QUOTA on the SYSTEM tablespace to the owner

B. Allocating the SYSTEM tablespace as the default tablespace and granting the SYSDBA privilege to the

user

C. Creating a new tablespace, allocating this as the default, and granting UNLIMITED QUOTA on this

tablespace to the user

D. Allocating the SYSAUX tablespace as the default tablespace and granting UNLIMITED QUOTA on this

tablespace to the user

Answer: C

答案解析:

参考:http://blog.csdn.net/rlhua/article/details/13169205


创建恢复目录所用的表空间,这将成为恢复目录所有者的默认表空间。
SQL>  CREATE TA BLESPA CE r cat_ts DATAF ILE S IZE 15M;
确定要在其中安装恢复目录方案的数据库。请务必考虑此数据库的 备份和恢复过程。
恢复目录方案所需的空间量取决于恢复目录监视的数据库数。所需空间随每个数据库的归档重做日志文件数和 备份数的增加而增加。如果使用RMAN 存储 脚本,则必须分配这些 脚本使用的空间。在恢复目录中注册的每个数据库的示例空间需求为15 M B

• 创建恢复目录所有者。
• 授予 RECOVERY_CATALOG_OWNER角色。
SQL>  CREATE USER r cowner  IDENT IF IED  BY r cpass
2 TEMPORARY TA BLESPA CE temp
3  DEFAULT TABLESPACE rcat_ts
QUOTA  UNL IM ITED ON r cat_ts;
SQL> GRANT re co very_ catalog_owner TO r cowner;
创建一个作为恢复目录所有者的用户。将此用户的默认表空间设置为你为恢复目录创建的表空间。 请务必为该用户提供对该表空间的UNLIM ITED限额。创建用户之后,请为其授予RE CO VERY_ CATALOG_OWNER角色。RE CO VERY_ CATALOG_OWNER角色提供恢复目录所有者的权限。该角色包含下列系统权限:ALTER SESS ION、 CREATE  CLUSTER、
CREATE DATA BASE L INK、 CREATE PRO CEDURE、 CREATE SEQUEN CE、 CREATE
SESS ION、 CREATE SYNONYM、 CREATE TA BLE、 CREATE TR IGGER、 CREATE TYPE
CREATE  V IEW。
可以使用SQL 命令或Ora cle Enterpr ise Manager 创建用户并授予角色。

你可能感兴趣的:(OCP-1Z0-053-V12.02-629题)