OCP-1Z0-053-V12.02-501题 【转】

http://blog.csdn.net/rlhua/article/details/12225237

501.Note the output of the following query;

SQL> SELECT flashback_archieve_name, status FROM dba_flashback_archieve; 此处表名有点错误,应该为DBA_FLASHBACK_ARCHIVE

FLASHBACK_ARCHIEVE_NAME STATUS

FLA1

You executed the following command to enable Flashback Data Archive on the EXCHANGB_PATE table:

ALTER TABLE exchange_rate FLASHBACK ARCHIEVE;

What is the outcome of this command?

A. The table uses the default Flashback Data Archive.

B. The Flashback Data Archive Is created In the SYSAUX tablespace.

C. The Flashback Data Archive is created in the same tablespace where the tables are stored.

D. The command generates an error because no flashback Data Archive name is specified and there is

no default Flashback Data Achieve.

Answer: A

答案解析:

实验验证:

1、首先创建一个表空间用于存储闪回数据归档

[email protected]> create tablespace fla_tbs1

2  datafile ‘/u01/app/oracle/oradata/test1107/fla_tbs01.dbf‘ size 10M;

Tablespace created.

2、创建闪回数据归档

[email protected]>  create flashback archive fla1 tablespace fla_tbs1 quota 10M retention 1 year;

Flashback archive created.

3、查询有哪些闪回数据归档以及其状态。

[email protected]> select FLASHBACK_ARCHIVE_NAME,STATUS from DBA_FLASHBACK_ARCHIVE;

FLASHBACK_ARCHIVE_NAME         STATUS

------------------------------ -------

FLA1

4、对scott.dept表启用闪回数据归档,报错,因为没有指定默认闪回归档。

[email protected]> alter table scott.dept flashback archive;

alter table scott.dept flashback archive

*

ERROR at line 1:

ORA-55608: Default Flashback Archive does not exist

5、将FLA1指定为默认闪回数据归档。

[email protected]> alter flashback archive FLA1 set default;

Flashback archive altered.

6、查询,此时须注意,status栏位下面的有DEFAULT的状态。

[email protected]> select FLASHBACK_ARCHIVE_NAME,STATUS from DBA_FLASHBACK_ARCHIVE;

FLASHBACK_ARCHIVE_NAME         STATUS

------------------------------ -------

FLA1                           DEFAULT

7、对表启用闪回数据归档,成功。

[email protected]> alter table scott.dept flashback archive;

Table altered.


对于题中的显示,FLA1的状态栏位为空值,即没有指定FLA1为默认的闪回数据归档,所以,此题题库给的答案是错的。正确答案为D.

B答案:这里没有说闪回数据归档被创建在哪个表空间,可以根据DBA_FLASHBACK_ARCHIVE_TS;来查询,此处没有提供。

[email protected]> select * from DBA_FLASHBACK_ARCHIVE_TS;

FLASHBACK_ARCHIVE_NAME FLASHBACK_ARCHIVE# TABLESPACE_NAME QUOTA_IN_MB

------------------------- ------------------ ------------------------------ ---------------

FLA1 1 FLA_TBS1 10

C答案:同B答案一样,此处没有给出相关信息。

D答案:此命令执行时报错。

OCP-1Z0-053-V12.02-501题 【转】

时间: 2024-10-11 19:32:32

OCP-1Z0-053-V12.02-501题 【转】的相关文章

OCP 11G 053题库解析汇总链接(401-600)

Oracle OCP 11G 053(401-600)答案解析目录 V13.02版本,711题 File Version: 3.2,200题 Version: 5.4 401   290 402 http://blog.csdn.net/rlhua/article/details/19548395   291 403 http://blog.csdn.net/rlhua/article/details/14088141 189,202 292 404 http://blog.csdn.net/r

OCP 11G 053题库解析汇总链接(1-200)

Oracle OCP 11G 053(1-200)答案解析目录 V13.02版本,711题 File Version: 3.2,200题 Version: 5.4 1 http://blog.csdn.net/rlhua/article/details/16369867 490 2 http://blog.csdn.net/rlhua/article/details/16527169 491 3 http://blog.csdn.net/rlhua/article/details/1405714

OCP 11G 053题库解析汇总链接(601-712)

Oracle OCP 11G 053(601-712)答案解析目录 V13.02版本,711题 File Version: 3.2,200题 Version: 5.4 601 http://blog.csdn.net/rlhua/article/details/18796271 19 589 602 http://blog.csdn.net/rlhua/article/details/12423809 21 590 603 http://blog.csdn.net/rlhua/article/d

OCP 11G 053题库解析汇总链接(201-400)

Oracle OCP 11G 053(201-400)答案解析目录 V13.02版本,711题 File Version: 3.2,200题 Version: 5.4 201 http://blog.csdn.net/rlhua/article/details/16846383   390 202 http://blog.csdn.net/rlhua/article/details/16846511   391 203   392 204 http://blog.csdn.net/rlhua/a

OCP认证考试之052最新题库及答案整理-第14题

14.Which command is used to display files that no longer conform to the backup retention policy? A) REPORT OBSOLETE B) SHOW DATAFILE BACKUP COPIES C) CROSSCHECK BACKUP D) LIST EXPIRED BACKUP Answer:A 原文地址:http://blog.51cto.com/13854012/2145302

OCP认证11g 052考试最新题库带答案-38题

38.Which three are true about the Automatic Database Diagnostic Monitor (ADDM)? A) Its findings are accessible only by using Oracle Enterprise Manager. B) It improves database performance by automatically implementing Oracle's best practices. C) It c

【OCP题库-12c】最新CUUG OCP 071考试题库(69题)

69.(31-1)choose the best answer: Evaluate the following query: SELECT INTERVAL '300' MONTH, INTERVAL '54-2' YEAR TO MONTH, INTERVAL '11:12:10.1234567' HOUR TO SECOND FROM dual; What is the correct output of the above query? A) +25-00 , +00-650, +00 1

【OCP题库-12c】最新CUUG OCP 071考试题库(70题)

70.(31-2)choose the best answer: View the Exhibit and examine the structure of the Book table. The BOOKS table contains details of 100 books. Examine the commands executed and their outcome: SQL>INSERT INTO books VALUES ('ADV112', 'Adventures of Tom

【OCP题库-12c】最新CUUG OCP 071考试题库(71题)

71.(32-18) choose three Which three statements indicate the end of a transaction? (Choose three.) A) after a CREATE statement is issued B) after a SELECT statement is issued C) after a ROLLBACK is issued D) after a SAVEPOINT is issued E) after a COMM

【OCP题库-12c】最新CUUG OCP 071考试题库(72题)

72.View the exhibit for the structure of the STUDENTand FACULTYtables. STUDENT Name Null? Type STUDENT_ID NOT NULL NUMBER(2) STUDENT_NAME VARCHAR2(20) FACULTY_ID VARCHAR2(2) LOCATION_ID NUMBER(2) FACULTY Name Null? Type FACULTY_ID NOT NULL NUMBER(2)