Complete Recovery with online redo log
Complete Recovery with archived redo log
Tablespace Point-in-Time Recovery (TSPITR)
Incomplete Recovery with system change number (SCN)
第1题:
You execute the following command in your Certkiller .com production database to change the width of the CUST_NAME column of the CUSTOMERS table: ALTER TABLE customers MODIFY (cust_nameVARCHAR2 (40)) / When you execute the command, it displays the following error message: ERROR at line 1: ORA-00054: resource busy and acquire with NOWAIT specified What could be the reason for the error message?()
第2题:
One of the users in the PROD database, Adams, complains that his update on the table, TRANS, is taking an unusually long time to complete. You find that the table gets locked by another database user before Adams starts his transactions, and you are unable to contact the user holding the table lock. As Adams is updating some crucial rows in the table, he should get the highest priority. Which method would you use to overcome this problem?()
第3题:
Users in your production database complain that they are getting the following error message while trying to insert rows into the ORDERS table: ERROR at line 1: ORA-01654: unable to extend index USERS.ORDERS_IND by 8 in tablespace INDEXES While investigating, you find that the INDEXES tablespace has run out of space and there is no more free space on the disk where the data files are available. Which two actions could you perform to overcome this error without affecting the queries that are currently being executed?()
第4题:
User A executes the following command to drop a large table in your database:SQL> DROP TABLE trans; While the drop table operation is in progress, user B executes the following command on the same table:SQL> DELETE FROM trans WHERE tr_type=’SL’; Which statement is true regarding the DELETE command()
第5题:
User A executes the following command to drop a large table in your database: SQL> DROP TABLE trans; While the drop table operation is in progress, user B executes the following command on the same table: SQL> DELETE FROM trans WHERE tr_type=’SL’; Which statement is true regarding the DELETE command()
第6题:
export and import the mapping table
drop and re-create the mapping table
truncate the mapping table and reinsert the values
use the ALTER TABLE···REBUILD command to defragment the mapping table
第7题:
Oneauditrecord is created for every successful DROP TABLE command executed in the session ofSCOTT.
Oneauditrecord is generated for the session when SCOTT grants the DROP ANY TABLE privilege toother users.
One audit record is created for the whole session if user SCOTT successfully drops one or more tablesin his session.
One audit record is created for every session of any other user in which a table owned by SCOTT isdropped successfully.
One audit record is created for every successful DROP TABLE command executed by any user to droptables owned by SCOTT.
第8题:
Export and import the mapping table.
Drop and re-create the mapping table.
Truncate the mapping table and reinsert the values.
Use the ALTER TABLE .. REBUILD command to defragment the mapping table.
第9题:
It fails to delete the records because the records are locked in SHARE mode.
It deletes the rows successfully because the table is locked in SHARE mode
It fails to delete the records because the table is locked in EXCLUSIVE mode.
It deletes the rows successfully because the table is locked in SHARE ROW EXCLUSIVE mode.
第10题:
The database instance is not available.
The ALTER TABLE command does not have WAIT option
The table or a row in the table is currently locked by another user session.
The database instance is busy processing other user sessions commands.
The CUSTOMERS table has no long running query active at the time when this request is made.
The server process executing the ALTER TABLE command is busy with another command execution
第11题:
One audit record is created for the whole session if user SCOTT successfully drops one or more tables in his session.
One audit record is created for every session when any user successfully drops a table owned by SCOTT.
One audit record is created for each successful DROP TABLE command executed by any user to drop tables owned by SCOTT.
One audit record is generated for the session when SCOTT grants the DROP ANY TABLE privilege to other users in his session.
One audit record is created for each successful DROP TABLE command executed in the session of SCOTT.
第12题:
It fails with a Resource Busy error.
It deletes the rows successfully because the table is locked in SHARE mode.
It fails to delete the records because the table is locked in EXCLUSIVE mode.
It deletes the rows successfully because the table is locked in SHARE ROW EXCLUSIVE mode.
第13题:
Users in your production database complain that they are getting the following error message while trying to insert rows into the ORDERS table: ERROR at line 1: ORA-01654: unable to extend index USERS.ORDERS_IND by 8 in tablespace INDEXES.While investigating, you find that the INDEXES tablespace has run out of space and there is no more free space on the disk where the data files are available. Which two actions could you perform to overcome this error without affecting the queries that are currently being executed?()
第14题:
You execute the following set of commands to create a database user and to grant the system privileges in your production environment. SQL> CREATE USER user01 IDENTIFIED BY oracle DEFAULT TABLESPACE tbs1 TEMPORARY TABLESPACE temp PROFILE default / SQL> GRANT create session, create table TO user01; While executing the command to create a table, the user gets the following error message and the CREATE TABLE.. command fails. ERROR at line 1: ORA-01950: no privileges on tablespace What could be the possible reason for this error message?()
第15题:
You are working in an online transaction processing (OLTP) environment. You used the FLASHBACK TABLE command to flash back the CUSTOMERS table. Before executing the FLASHBACK TABLE command, the System Change Number (SCN) was 663571. After flashing back the CUSTOMERS table, you realize that the table is not in the correct state and the resultant changes are not what you had desired. So, you need to reverse the effects of the FLASHBACK TABLE command while ensuring that: a) No other user data in the database is affected. b) The operation takes the minimum possible time. Which option would you choose?()
第16题:
You execute the following command toauditdatabase activities: SQL>AUDITDROP ANY TABLE BY scott BY SESSION WHENEVER SUCCESSFUL; What is the effect of this command()
第17题:
One audit record is created for every successful DROP TABLE command executed in the session of SCOTT.
One audit record is generated for the session when SCOTT grants the DROP ANY TABLE privilege to otherusers.
One audit record is created for the whole session if user SCOTT successfully drops one or more tables inhis session.
One audit record is created for every session of any other user in which a table owned by SCOTT isdropped successfully.
One audit record is created for every successful DROP TABLE command executed by any user to drop Tables owned by SCOTT
第18题:
use the ROLLBACK command with SCN 663571
perform Flashback Transaction Query with SCN 663571
execute the FLASHBACK DATABASE statement to retrieve the CUSTOMERS table as it was at SCN 663571
execute another FLASHBACK TABLE statement to retrieve the CUSTOMERS table as it was at SCN 663571
第19题:
It succeeds with default settings if the EMPLOYEES table belonging to HR is already defined in the database.
It fails because no SQL *Loader data file location is specified.
It fails if the HR user does not have the CREATE ANY DIRECTORY privilege.
It fails because no SQL *Loader control file location is specified.
第20题:
Complete Recovery with online redo log
Complete Recovery with archived redo log
Tablespace Point-in-Time Recovery (TSPITR)
Incomplete Recovery with system change number (SCN)
第21题:
execute the command, ALTER SESSION KILL .., to kill the blocking session
execute the DBMS_SESSION.KILL_SESSION procedure to kill the blocking session
execute the command, ALTER SYSTEM KILL SESSION .., to kill the blocking session
execute the command, ALTER SESSION UNLOCK .., to release the lock for the blocking session
execute the command, ALTER SYSTEM UNLOCK SESSION .., to release the lock for the blocking session
第22题:
Use ROLLBACK command with SCN 663571.
Perform Flashback Transaction Query with SCN 663571.
Execute the FLASHBACK DATABASE statement to retrieve the CUSTOMERS table as it was at SCN 663571.
Execute another FLASHBACK TABLE statement to retrieve the CUSTOMERS table as it was at SCN 663571.
第23题:
The tablespace TBS1 is full.
The user is not the owner of the SYSTEM tablespace.
The user does not have quota on the TBS1 tablespace.
The user does not have sufficient system privileges to create table in the TBS1 tablespace.
The user does not have sufficient privileges to create table on the default permanent tablespace.