ocp 052最新题库 02

⼗十四.DBlink

 

24. you successfully executed these commands:

connect scott/tiger@prod1; CREAET DATABASE LINK db_prod2

CONNECT TO scott IDENTIFIED BY tiger USING 'PROD2';


Which type of database link is created?


A) private current user database link

B) public connected user database link

C) public current user database link

D) private fixed user database link

need-to-insert-img

E) public fixed user database link



need-to-insert-img

























www.cuug.com26



⼗十五.External Table

25. which is true about external tables?

A) Segments are allocated for external tables.

B) They may have indexes.

C) They do not support partitioning.

D) The ORACLE_DATAPUMP access driver can be used to write data to external tables.

E) DML operations may be performed on external tables.



Answer(验证过)

need-to-insert-img

need-to-insert-img

need-to-insert-img












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

need-to-insert-img

C) They support the ORACLE_DATAPUMP access driver.

D) They have extents.

E) They support all DML operations.


AnswerAC

 

27. You want to access employee details contained in flat files created by an application. Which two methods will achieve this?

A) Use a BFILE column in a table to access the flat file.

B) Use an Oracle Loader type External table.

C) Use an Oracle Data Pump type External table.

D) Use a CLOB column in a table to access the flat file.

E) Use a LONG RAW column in a table to access the flat file.


AnswerAB

 

www.cuug.com27


need-to-insert-img



⼗十六.Temporary table

 

28. Examine this command:

SQL> CREATE GLOBAL TEMPORARY TABLE report_work_area

(startdateDATE,

enddate DATE, class CHAR(20)) ON COMMIT PRESERVE ROWS;

Which three statements are true about rows inserted into REPORT_WORK_AREA?

A) Rows will be lost if a ROLLBACK is done.

B) Rows will be lost upon session failure.

C) Rows are visible to all sessions logged in by the same user until the session that inserted the rows terminates.

D) Rows are visible to all sessions logged in by all users granted the DBA role until the session that inserted the rows terminates.

need-to-insert-img

E) Rows will be lost upon session normal termination.

F) Rows are visible globally to all sessions logged in by any user until the session that inserted the rows terminates.


AnswerABE

need-to-insert-img

 

 

 

need-to-insert-img

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

www.cuug.com28


need-to-insert-img

need-to-insert-img

need-to-insert-img

need-to-insert-img

⼗十七.ADDM

41. Which three are true about the Automatic Database Diagnostic Monitor (ADDM)?

A) It improves database performance by automatically implementing Oracle ‘s best practices.

B) It can assist the DBA in diagnosing database instance startup failures.

C) It can be used by executing the PL/SQL procedures in the DBMS_ADDM package.

D) It runs automatically after each Automatic Workload Repository snapshot is created.

E) It provides recommendations to improve database performance.

F) Its findings are accessible only by using Oracle Enterprise Manager.


AnswerCDE



42. Which is true about the Automatic Diagnostic Repository (ADR) ?

A) It is used only if the DIAGNOSTIC_DEST parameter is manually configured.

B) It only contains the alert log and trace files for background processes.

C) Its location is always set by the ORACLE_BASE variable.

D) It includes diagnostic data for critical errors for each server and background process.


AnswerD


43. Which two statements are true about the Automatic Diagnostic Repository (ADR) ?

A) It only exists if DIAGNOSTIC_DEST is configured in the SPFILE.

B) It includes diagnostic data for critical errors for background processes.

C) It only contains the alert log.

D) It only contains trace files.

E) It includes diagnostic data for critical errors for client processes.

F) It includes diagnostic data for critical errors for server process.


Answer:BF

 在Oracle的11g版本中,alert文件的位置发生了变化,与此同时Oracle提供了一个命令行工具ADRCI,它可以很便利的查看数据库中出现的异常。

1.查看到adrci命令行帮助

$ adrci -help

2.使用 help show alert 命令查看帮助文档

adrci> help

3.使用 show alert 列出各个目录下的日志目录

adrci> show alert

ADR的结构和位置:

初始化参数diagnostic_dest指定了ADR的根目录。即使你忽略了该初始化参数。oracle也会创建ADR。

如果你设置了ORACLE_BASE环境变量,那么diagnostic_dest缺省值是该目录。如果你没有设置ORACLE_BASE变量,该参数值为$ORACLE_HOME/log目录。

ADR存储所有oracle产品的诊断数据。ADR为每一个oracle产品及其实例分配一个单独的home目

录。因此一个ADR目录包含多个home目录。每一个ADR的home目录是一个为每一个数据库实例或其它oracle产品或组件存储其诊断文件。其目录结构如下:

ADR_base/diag/product_type/product_id/instance_id/,比如一个 diagnostic_dest初始化参数为 /u05/

app/oracle。那么一个oracle数据库的sid为prod1的home目录就如下所示:

/u05/app/oracle/diag/rdbms/prod1/prod1/



need-to-insert-img



⼗十⼋八.FRA

44. Which two are true about the Fast Recovery Area (FRA)?

A) It should be larger than the database.

B) Only consistent backups can be stored in the FRA.

C) Space management in the FRA is influenced by the database backup retention policy.

D) It must reside on the same file system as the database data files.

E) A database must be in ARCHIVELOG mode to use the FRA.


AnswerAC

 

 

45. Your database is open in ARCHIVELOG mode.

LOG_ARCHIVE_DEST is set to Fast Recovery Area (FRA) and It is 100% full when a log switch takes place.

No alternative or optional archive destinations are defined. What is the outcome?

A) Obsolete backups are automatically deleted and new archivelogs are generated.

B) All active sessions hang until the database administrator (DBA) makes space available in the FRA.

C) The archivelog entries are made in the diagnostic destination and when space is available, new archivelogs are generated.

D) All active sessions are disconnected and their transactions rolled back.

E) No archivelogs are generated.



Answer(验证过)



46. Your DB_RECOVERY_FILE_DEST_SIZE IS 8G,

Currently,5G of the space is used of which 4G consists of obsolete backups, You execute this command;

SQL> ALTER SYSTEM SET db_recovery_file_dest_size=2G;

What is the outcome?

A) It changes DB_RECOVERY_FILE_DEST_SIZE to 2G and deletes the obsolete backups

B) It changes DB_RECOVERY_FILE_DEST_SIZE to 5G

C) It fails because DB_RECOVERY_FILE_DEST_SIZE is a static parameter

D) It changes DB_RECOVERY_FILE_DEST_SIZE to 2G without deleting valid backups

E) It fails because the new size is less than 5G


AnswerD(验证过)




www.cuug.com30


need-to-insert-img


⼗十九.Privileges

47. USER1 grants SELECT, INSERT, and UPDATE privileges on USER1.EMP to USER2. Sys executes this command:

SQL> REVOKE UPDATE ON user1.emp FROM user1;

What will be the outcome?

A) It will fail because USER1 is the owner of USER1.EMP.

B) It will succeed but neither USER1 nor USER2 will be able to perform SELECT, INSERT, or UPDATE on USER1.EMP.

C) It will succeed and only USER1 will be unable to perform SELECT, INSERT, or UPDATE on USER1.EMP.

D) It will succeed and neither USER1 nor USER2 will be able to perform INSERT or UPDATE on USER1.EMP, but both will be able to query USER1.EMP.

E) It will succeed and only USER2 will be unable to perform SELECT, INSERT, or UPDATE on USER1.EMP.


AnswerA

 

 

48. USER1 grants SELECT and UPDATE privileges on USER1.EMP to USER2 SYS executes this command

SQL> REVOKE SELECT ON user1.emp FROM user1;

What will be the outcome?

A) It will succeed and USER2 will be unable to perform SELECT on USER1.EMP

B) It will succeed and USER2 will be unable to perform sELECT or UPDATE on USER1 EMP because updates require select be done internally

C) It will fail because sys can not revoke object privileges for other users

D) It will fail because USER1 owns USER1.EMP


AnswerD

 

 

 

49. Examine these facts about a database:

1. USER is the database default tablespace.

2. USER1, USER2, and USER3 have the CREATE SESSION privilege.

3. They also have UNLIMITED QUOTA on the default tablespace USERS.

4. They have no other privileges.



Examine these commands:






www.cuug.com31


need-to-insert-img



SQL> conn / as sysdba Connected.

SQL> GRANT CREATE TABLE TO user1 WITH ADMIN OPTION;

Grant succeeded.

SQL> conn user1/oracle_4U Connected.

SQL> GRANT CREATE TABLE TO user2;

Grant succeeded.

SQL> GRANT CREATE TABLE TO user3 WITH ADMIN OPTION;

Grant succeeded.


Which two are true?

A) If SYS revokes CREATE TABLE from USER1, it is not revoked from USER2 and USER3.

B) Only SYS can revoke CREATE TABLE from USER1.

C) If SYS revokes CREATE TABLE from USER1, it is revoked from USER2 but not from USER3.

D) Any user with CREATE TABLE WITH ADMIN OPTION can revoke CREATE TABLE from USER1.

E) Only SYS and USER1 can revoke CREATE TABLE from USER3.(为什么错了?)


AnswerAD

 

 

50. Examine the facts about a database:

1. USERS is the database default tablespace.

2. USER1,USER2,and USER3 have the CREATE SESSION privilege.

3. They also have UNLIMITED QUOTA on the default tablespace USERS.

4. They have no other privileges. Examine these commands:


SQL > conn / as sysdba Connected

SQL > GRANT CREATE TABLE TO user1 WITH ADMIN OPTION;

Grant succeeded.

SQL > GRANT CREATE TABLE TO user2;

Grant succeeded.

SQL > GRANT CREATE TABLE TO user3 WITH ADMIN OPTION;

Grant succeeded.


Which two are true ?

A) If sys revokes CREATE TABLE from user1 , it is not revoked from USER2 and USER3.

B) Only sys can revoke CREATE TABLE from user1.





www.cuug.com32


need-to-insert-img


C) If sys revokes CREATE TABLE FROM user1 , it is revoked from user2 but not from user3.

D) Any user with CREATE TABLE WITH GRANT OPTION can revoke CREATE TABLE from user1.

E) Only sys and USER1 can revoke CREATE TABLE from user3.


Answer: AD

 

 

 

51. Examine these facts about a databases:

1. USERS is the database default tablespace.

2. USER1,USER2,and USER3 have the CREATE SESSION privilege

3. They also have UNLIMITED QUOTA on the default tablespace USERS.

4. They have no other provileges. Examine these commands:

SQL>conn / as sysdba Connected.

SQL>GRANT CREATE TABLE TO user1 WITH ADMIN OPTION

Grant succeeded

SQL>conn user1/oracle_4U Connected.

SQL>GRANT CREATE TABLE TO user2;

Grant succeeded.

SQL>GRANT CREATE TABLE TO user3 WITH ADMIN OPTION;

Grant succeeded.

Which two are true?

A) If sys revokes CREATE TABLE from USER1,it is not revoked from USER2 and USER3

B) Any user with CREATE TABLE WITH ADMIN OPTION can revoke CREATE TABLE from USER1

C) If sys revokes CREATE TABLE from USER1,it is revoked from USER2 but not from USER3

D) Only sys and USER1 can revoke CREATE TABLE from USER3

E) Only sys can revoke CREATE TABLE from USER1.


AnswerAB

 

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

Examine these commands: SQL> conn / as sysdba Connected.





www.cuug.com33


need-to-insert-img


SQL> GRANT create table, role1 TO user1 WITH ADMIN OPTION; Grant succeeded.

SQL> conn user1/oracle_4U Connected.

SQL> GRANT role1 TO user2;

Grant succeeded.

Which command would you execute and as which user, to revoke the create table privilege from USER2?

A) REVOKE CREATE TABLE FROM user2 as SYS

B) REVOKE CREATE TABLE FROM role1 as SYS

C) REVOKE CREATE TABLE FROM role1 as USER1

D) REVOKE CREATE TABLE FROM user1 as SYS


Answer: B

 

只有sys用户才能够从role中revoke权限,而user1只能把role授权给其它用户,或者从其它用户回收role。



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

Examine these commands: SQL> conn / as sysdba Connected.

SQL> GRANT create table, role1 TO user1 WITH ADMIN OPTION; Grant succeeded.

SQL> conn user1/oracle_4U Connected.

SQL> GRANT role1 TO user2; Grant succeeded.

Which command would you execute and as which user, to revoke the create table privilege from USER2?

A) REVOKE CREATE TABLE FROM user2 as USER1

B) REVOKE CREATE TABLE FROM user1 as SYS

C) REVOKE CREATE TABLE FROM role1 as USER1

D) REVOKE CREATE TABLE FROM role1 as SYS

E) REVOKE CREATE TABLE FROM user2 as SYS

Answer: D

 

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


www.cuug.com34


need-to-insert-img


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

 

 

52. IN one of your databases;

The database default tablespace is EXAMPLE. DEFERRED_SEGMENT_CREATION IS FALES.

Examine these commands;

SQL.>CREATE USERuser1 IDENTIFIED BY oracle_4U password expire; User created.

SQL>ALTER USER user1 ACCOUUNT UNLOCK;

User altered.

SQL>GRANT CREATE SEAAION TO user1;

Grant succeeded;

SQL>GRANT CREATE TABLE TO user1 WITH ADMIN OPTION;

Grant succeeded.

Which three are true?

A) USER1 can create indexes in EXAMPLE tablespace

B) USER1 can grant the CREATE TABLE privilege to other users

C) USER1 can log into the database instance

D) USER1 must change it’s password at first login

E) USER1 can create tables in the EXAMPLE tablespace


AnswerBCD

 

 

 

 

 

www.cuug.com35


need-to-insert-img




53. IN one of your databases;

• The database default tablespace is EXAMPLE.

• DEFERRED_SEGMENT_CREATION IS FALSE. Examine these commands;

SQL> CREATE USER user1 IDENTIFIED BY oracle_4U;

User created.

SQL>GRANT CREATE SESSION TO user1;

User altered

Which two are true?

A) USER1 can create tables in EXAMPLE tablespace

B) USER1 must change their password at first login

C) USER1 can create tables in the EXAMPLE tablespace

D) USER1 can be granted access to tables in other schemas

E) USER1 can log in to the database instance.


AnswerDE

 

 

54. You have decided to implement the principle of least privilege and separation of duties. Which two actions must you take?

A) Grant SYSOPER to application schema owners.

B) Grant access to the Oracle software owner O/S account to all database administrators.

C) Assign the OSOPER and OSDBA groups to the Oracle software owner O/S account.

D) Assign different O/S groups to the OSOPER and OSDBA credentials.

E) Assign the DBA role to application schema owners.


AnswerCD

 

 

55. Examine these facts about a database:

1. USERS is the database default tablespace.

2. USER1 and USER2 have the CREATE SESSION privilege.

3. They also have UNLIMITED QUOTA on the USERS tablespace. Examine these commands:

SQL> conn / as sysdba Connected.

SQL> GRANT CREATE TABLE TO USER1 WITH ADMIN OPTION;

Grant succeeded.

SQL> GRANT CREATE VIEW TO USER1 WITH ADMIN OPTION;

Grant succeeded.






www.cuug.com36


need-to-insert-img


SQL> GRANT CREATE MATERIALIZED VIEW TO USER1 WITH ADMIN OPTION;

Grant succeeded.

SQL> GRANT CREATE MATERIALIZED VIEW TO USER2 WITH ADMIN OPTION;

Grant succeeded.

SQL> conn user1/oracle Connected.

SQL> GRANT CREATE TABLE TO USER2 WITH ADMIN OPTION;

Grant succeeded.

SQL> GRANT CREATE VIEW TO USER2 WITH ADMIN OPTION;

Grant  succeeded. SQL> conn / as sysdba Connected.

SQL> REVOKE CREATE TABLE FROM USER1;

Revoke succeeded.

Which two are true?

A) USER1 cannot create tables but can create views and materialized views.

B) USER1 cannot create tables or materialized views, but can create views.

C) USER1 cannot create tables, views or materialized views.

D) USER2 cannot create tables but can create views and materialized views.

E) USER2 cannot create tables or materialized views, but can create views.

F) USER2 can create tables, views and materialized vies.


Answer: AF

 

 

 

 

56. In a database,EXAMPLE is the default tablespace and DEFERED_SEGMENT_CREATION is FLASE. Examine these commands executed by SYS:


SQL> CREATE USER u1 IDENTIFIED BY oracle;

SQL> CREATE TABLE u1.tab1 (c1 number);

What will be the outcome and why?

A) It will fail because U1 does not have the CREATE SESSION privilege.

B) It will fail because U1 has no quota on EXAMPLE.

C) U1.TAB1 will be created.

D) It will fail because U1 does not have the CREATE TABLE privilege.

E) It will fail because U1 has no default tablespace.


Answer(已验证)







www.cuug.com37


need-to-insert-img


⼆二⼗十.Undo

57. Examine these SQL statements and their output:

SQL> select name,value

2 from v$parameter

3 where name like 'undo%'; NAMEVALUE

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

undo_managementAUTO

undo_tablespaceUNDO

undo_retention900


SQL> select contents,retention

2 from dba_tablespaces

3 where tablespace_name='UNDO'; CONTENTSRETENTION

---------------------------------- UNDOGUARANTEE


SQL> select blocks,autoextensible,maxblocks

2 from dba_data_files

3 Where tablespace_name='UNDO'; BLOCKSAUTMAXBLOCKS

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

6400NO0

Which two are true?

A) Transactions will wait until free space becomes available in the undo tablespace when they have failed to allocate space

B) The undo tablespace will grow automatically if there is not enough space to retain active undo

C) Inactive undo will be retain for at least 15 minutes

D) Expired undo will be retained as long as possible within the limits of the current size of the undo tablespace

E) Active undo will be retained as long as needed by the transactions


AnswerCE

 

58. Examine these SQL statements and their output:

SQL> select name,value

2 from v$parameter

3 where name like 'undo%'; NAMEVALUE

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

undo_managementAUTO

undo_tablespaceUNDO





www.cuug.com38


need-to-insert-img


undo_retention900


SQL> select contents,retention

2 from dba_tablespaces

3 where tablespace_name='UNDO'; CONTENTSRETENTION

---------------------------------- UNDONOGUARANTEE


SQL> select blocks,autoextensible,maxblocks

2 from dba_data_files

3 Where tablespace_name='UNDO'; BLOCKSAUTMAXBLOCKS

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

6400YES64000

Which two are true?

A) Inactive UNDO will be retained as long as possible within the limits of the current size of the UNDO tablespace.

B) The UNDO tablespace can grow automatically if there is not enough space to retain active UNDO.

C) Active UNDO will be retained as long as needed by transactions.

D) Inactive UNDO will never be retained for more than 15 minutes.

E) Inactive UNDO will always be retained for at least 15 minutes.


AnswerBC

 

 

59. Examine these SQL statements and their output:

SQL> select name,value

2 from v$parameter

3 where name like 'undo%'; NAMEVALUE

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

undo_managementAUTO

undo_tablespaceUNDO

undo_retention900


SQL> select contents,retention

2 from dba_tablespaces

3 where tablespace_name='UNDO'; CONTENTSRETENTION

---------------------------------- UNDONOGUARANTEE


SQL> select blocks,autoextensible,maxblocks

2 from dba_data_files






www.cuug.com39


need-to-insert-img


3 Where tablespace_name='UNDO'; BLOCKSAUTMAXBLOCKS

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

6400YES64000

Which two are true?

A) Inactive expired UNDO will be retained as long as possible within the limits of the current size of the UNDO tablespace.

B) The UNDO tablespace can grow automatically if there is not enough space to retain active UNDO.

C) Active UNDO will be retained as long as needed by transactions.

D) Inactive expired UNDO will never be retained for more than 15 minutes.

E) Inactive expired UNDO will always be retained for at least 15 minutes.


AnswerBC

 

 

60. Examine these SQL statements and their output:

SQL> select name,value

2 from v$parameter

3 where name like 'undo%'; NAMEVALUE

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

undo_managementAUTO

undo_tablespaceUNDO

undo_retention900


SQL> select contents,retention

2 from dba_tablespaces

3 where tablespace_name='UNDO'; CONTENTSRETENTION

---------------------------------- UNDOGUARANTEE


SQL> select blocks,autoextensible,maxblocks

2 from dba_data_files

3 Where tablespace_name='UNDO'; BLOCKSAUTMAXBLOCKS

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

6400NO0

Which three are true?

A) Active UNDO might be retained for 15 or more minutes.

B) Inactive UNDO might be retained for 15 or more minutes.

C) The UNDO tablespace is guaranteed to be retained forever.

D) Expired UNDO might be retained for 15 or more minutes.

E) UNDO Blocks are retained for 900 days.






www.cuug.com40


need-to-insert-img


F) UNDO segments are guaranteed to be retained forever.


AnswerABD

这道题目答案不严谨

61. Which two are true about transactions, UNDO segments, and UNDO tablespaces?

A) UNDO tablespaces are created and dropped automatically.

B) UNDO tablespaces are brought ONLINE or OFFLINE as required.

C) All transactions belonging to a single session use the same UNDO segment.

D) UNDO segments grow or shrink automatically.

E) UNDO segments are created and dropped automatically.



AnswerDE

 

 

62. Which four are true about transactions, undo segments, and undo tablespaces?

A) undo tablespaces contain undo segments and Global Temporary Table Data.

B) undo segments can be brought offline automatically by Oracle.

C) undo segment updates are logged in redo logs.

D) A single transaction can use multiple undo segments simultaneously.

E) undo segments can be brought online automatically by Oracle.

F) undo segments can be used simultaneously by multiple transactions.


AnswerBCEF

 

 

63. Which three are true about UNDO data?

A) It is used to rewind a database by using FLASHBACK DATABASE.

B) It is used to recover dropped tables by using FLASHBACK TABLE … TO BEFORE DROP.

C) It is used to enable ROLLBACK statements to roll back uncommitted updates.

D) It is used to roll back failed transactions.

E) It is used during online backups to guarantee their consistency.

F) It is used to provide read consistency.


AnswerCDF

 

64. Which four are true about UNDO ?

A) Guaranteed UNDO retention prevents inactive and expired undo from being deleted.

B) DML statements generate UNDO.

C) Active UNDO is never deleted.

D) Inactive and expired UNDO is never deleted.





www.cuug.com41


need-to-insert-img


E) Inactive and unexpired UNDO is never deleted.

F) It can by used to restore a table by using FLASHBACK TABLE. G) DDL statements generate UNDO (因为会对数据字典进行修改)

AnswerBCFG

 

 

65. Which three are true about UNDO segments and UNDO tablespaces in the same database and instance ?

A) A database can have multiple UNDO tablespaces.

B) UNDO segments are automatically dropped shortly after transactions that use them commit

C) Multiple transactions run by different Oracle users can share a single UNDO segment.

D) Multiple transactions run by the same Oracle user can share a single UNDO segment.

E) A serial transaction can use multiple UNDO segments

F) A new UNDO segment is always creted for each transaction


AnswerACD

 

 

66. Which two are true about UNDO segments and UNDO tablespaces in the same database and instance ?

A) Multiple transactions may share a single UNDO segment.

B) A database can have multiple active UNDO tablespaces.

C) Multiple transactions run by the same Oracle user must share a single UNDO segment.

D) Automatic Undo Management attempts to minimize the number of active transactions that share the same UNDO segment

E) Multiple transactions run by the same Oracle user must not share a single UNDO segment.

F) Multiple transactions run by the different Oracle user must not share a single UNDO segment


Answer: AD

 

 

67. Which two are true about UNDO data ?

A) Inactive UNDO cannot be overwritten until the elapsed time since becoming inactive exceeds UNDO_RETENTION.

B) Active UNDO can never be overwritten.

C) Active UDNO is always kept in memory.

D) It can be used to restore a table by using FLASHBACK TABLE.

E) Inactive UNDO is never written to disk.

F) Only DML statements generate UNDO.


AnswerBD

 

 

 

 

 

 

www.cuug.com42

need-to-insert-img


need-to-insert-img



68. Which two are true about undo tablespaces?

A) Tables can be created in undo tablespaces by sys

B) Single-instance databases can have only on active undo tablespace

C) They must have only one data file

D) They can be recovered only when an instance is in MOUNT state

E) They always retain undo for the time period defined by UNDO_RETENTION


AnswerBD

 

 

69. Which three are true about undo tablespaces?

A) They can contain undo blocks and data blocks.

B) They can be configured to prevent ORA-1555 snapshot too old errors.

C) An administrator can create multiple undo tablespaces In a single-instance database.

D) They are opened even when the database Is In mount state.

E) They can be smallfile tablespaces.


AnswerBCE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

www.cuug.com43


need-to-insert-img


⼆二⼗十.Initialization parameter

70. which is true about initialization parameter administration?

A) Some Dynamic parameter values can be modified to affect only one session

B) Dynamic parameters, when modified, always revert to their original values after the database instance is restarted

C) Static parameter values can be changed in the spfile only by using the alter system command with scope=spfile when the database is closed

D) Static parameter values can be changed for the current instance by using alter system command with scope=memory


AnswerA(基本验证过)



71. You want to use the ALTER SYSTEM statement with SCOPE=MEMORY to change an initialization parameter value.

Which is true?

A) It can be used only if a pfile is used.

B) The change occurs immediately in memory for static parameters but it is not persistent after instance restart.

C) The change occurs immediate in memory for dynamic parameters but it is not persistent after instance restart.

D) In can be used only if an spfile is used.


AnswerC

 

72. which three statements are true about initialization parameters and files?

A) An idle instance must start with a PFILE.

B) Session modifiable initialization parameters can only be changed by a user with the DBA role.

C) The ALTER SYSTEM command can be used to change parameter values for an instance started using a PFILE.

D) An SPFILE can be created from an idle instance.

E) Session modifiable initialization parameters can only be changed once per session.

F) The ALTER SYSTEM command can be used to change parameter values for an instance started using an SPFILE

G) System modifiable initialization parameters can only be changed by the SYS user.



AnswerDFG

 

 

 

 

 

 

www.cuug.com44


need-to-insert-img


⼆二⼗十⼀一.Backup

73. Table EMP resides in the USERS tablespace. Examine this command:

SQL> DROP TABLE emp PURGE;

Which two methods would you use to recover EMP?

A) Flashback Table.

B) re-creating the table and reinserting the rows.

C) performing a tablespace point in time recovery of USERS.

D) Flashback Transaction Backout.

E) Flashback Drop.


AnswerBC

 

74. Which two are true about consistent database backups?

A) They can only be taken by using RMAN commands.

B) They can only be taken by using RMAN when the database is in MOUNT state.

C) They can only be taken when a RECOVERY CATALOG is used.

D) They can only be taken if the database is in ARCHIVELOG mode.

E) They can only be taken if a NORMAL, TRANSACTIONAL, or IMMEDIATE shutdown has been performed and the backup is taken before the database is reopened.


AnswerBE

 

75. Which four are true about consistent database backups?

A) They can only be taken using O/S utilities if the database is in mount state.

B) They can only be taken using RMAN when the database is in mount state.

C) They can be taken using O/S utilities.

D) They can only be taken using RMAN when the database instance is shut down.

E) They can be taken if the database is in archivelog mode.

F) They can be taken by using rman commands.

G) They can be taken if the database is in noarchivelog mode.


AnswerCEFG

 

76. Which three can be used to schedule automated backups of the database?

A) a cron job

B) Enterprise Manager Database Control

C) DBMS_SCHEDULER

D) DBMS_BACKUP_RESTORE





www.cuug.com45


need-to-insert-img


E) expdp

F) RMAN


AnswerABC

 

77. Which four can be used to schedule automated backups of an Oracle database?

A) data Guard

B) DBMS_JOB

C) Enterprise Manager

D) anacron jobs

E) cron jobs

F) Automatic Storage Management (ASM)


AnswerBCDE

 

 

78. Which two tools or utilities can be used to configure and schedule on-line database backups to run automatically?

A) the RMAN command line utility

B) SQL*PLUS

C) Enterprise Manager Cloud Control

D) The Database Configuration Assistant(DBCA)

E) the DBMS_SCHEDULER package


AnswerCE

 

 

 

79. Your database is open in ARCHIVELOG mode.

LOG_ARCHIVE_DEST is set to Fast Recovery Area (FRA) and it is 100% full when a log switch takes place. No alternative or optional archive destinations are defined.

What is the outcome?

A) All active sessions hang until the database administrator (DBA) makes space available in the FRA

B) No archivelogs are generated.

C) The archivelog entries are made in the diagnostic destination and when space is available, new archivelog are generated.

D) All active sessions are disconnected and their transactions rolled back.

E) Obsolete backups are automatically deleted and new archivelogs are generated.


AnswerE(验证过)





www.cuug.com46


need-to-insert-img



80. In which two cases is a consistent database backup created ?

A) when the RMAN BACKUP AS COPY command is used while the database is open

B) when the RMAN BACKUP command is used while the database is OPEN READ ONLY

C) when the RMAN BACKUP AS COPY command is used while the database is OPEN RESTRICTED

D) when the RMAN BACKUP command is used while the database is MOUNTED

E) when O/S commands are used to copy database files after a database instance is shut down normally


AnswerDE

 

81. Which command is used to display files that no longer conform to the backup retention policy?

A) LIST EXPIRED BACKUP

B) REPORT OBSOLETE.

C) SHOW DATAFILE BACKUP COPIES.

D) CROSSCHECK BACKUP.


AnswerB

 

©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 212,686评论 6 492
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 90,668评论 3 385
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 158,160评论 0 348
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 56,736评论 1 284
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 65,847评论 6 386
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 50,043评论 1 291
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 39,129评论 3 410
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 37,872评论 0 268
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 44,318评论 1 303
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 36,645评论 2 327
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 38,777评论 1 341
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 34,470评论 4 333
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 40,126评论 3 317
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 30,861评论 0 21
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 32,095评论 1 267
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 46,589评论 2 362
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 43,687评论 2 351

推荐阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,312评论 0 10
  • **2014真题Directions:Read the following text. Choose the be...
    又是夜半惊坐起阅读 9,442评论 0 23
  • 参考Android多进程的数据库访问问题Android中多进程的应用Android IM 开发小结关于 Andro...
    合肥黑阅读 1,124评论 0 1
  • 当鲜艳的五星红旗再次冉冉升起的时候,中国女排姑娘脸上向世人诉说着中国崛起的故事。 她们几经失败,饱受争议,但从没有...
    凤啸阅读 277评论 0 0
  • 对于成长,都有不同于别人的看法,自己对于成长,也是浅薄的认识,只是自己一直以来都没有综合理解成长意味着什么,成长...
    亦文誉晨阅读 180评论 0 0