OCP 考试日记 031 20041018

8. Which file records all changes made to the database and is used only
when recovering an instance?
A. Archive log file
B. Redo log file  
C. Control file
D. Alert log file

答案:B

10. How many ARCn processes can be associated with an instance?
A. Five
B. Four
C. Ten
D. Operating system dependent

答案:C

11. Which of the following is an invalid status code in the V$LOGFILE view?
A. STALE
B. Blank
C. ACTIVE
D. INVALID

答案:C

12. If you have two redo log groups with four members each, how many
disks does Oracle recommend to keep the redo log files?
A. Eight
B. Two
C. One
D. Four

答案:D

15.
Which of the following statements is NOT true regarding the use of
OMF for redo logs?
A.
Dropping log files with OMF automatically drops the related
operating system file.
B.
OMF manages archived redo log files using the initialization
parameter DB_CREATE_ARCHIVE_LOG_DEST_n.
C.
A new log file group can be added without specifying a filename in
the ALTER DATABASE statement.
D.
A log file group managed with OMF can be dropped by specifying
only the log group number.

答案:B

16. Querying which view will show whether automatic archiving is
enabled?
A. V$ARCHIVE_LOG
B. V$DATABASE
C. V$PARAMETER
D. V$LOG

答案:C

17. If you need to have your archive log files named with the log sequence
numbers as arch_0000001, arch_0000002, and so on (zero filled,
fixed width), what should be the value of the LOG_ARCHIVE_FORMAT
parameter?
A. arch_%S
B. arch_%s
C. arch_000000%s
D. arch_%0%s

答案:A

19. Which of the following commands is a key step in multiplexing redo
log files using an SPFILE?
A. ALTER SYSTEM SET CONTROL_FILES=
‘/u01/oradata/PRD/cntrl01.ctl’,
‘/u01/oradata/PRD/cntrl02.ctl’ SCOPE=SPFILE;
B. ALTER SYSTEM SET CONTROL_FILES=
‘/u01/oradata/PRD/cntrl01.ctl’,
‘/u01/oradata/PRD/cntrl02.ctl’ SCOPE=MEMORY;
C. ALTER SYSTEM SET CONTROL_FILES=
‘/u01/oradata/PRD/cntrl01.ctl’,
‘/u01/oradata/PRD/cntrl02.ctl’ SCOPE=BOTH;
D. The number of control files is fixed when the database is created.

答案:A

18. Following are the steps needed to rename a redo log file. Order them
in the proper sequence.
A. Use an operating system command to rename the redo log file.
B. Shut down the database.
C. ALTER DATABASE RENAME FILE ‘oldfile’ TO ‘newfile’
D. STARTUP MOUNT
E. ALTER DATABASE OPEN
F. Backup the control file.
答案:
18. B, A, D, C, E, and F. The correct order is:
1. Shut down the database.
2. Use an operating system command to rename the redo log file.
3. STARTUP MOUNT
4. ALTER DATABASE RENAME FILE ‘oldfile’ TO ‘newfile’
5. ALTER DATABASE OPEN
6. Back up the control file.






评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值