A.execute the command, ALTER SESSION KILL .., to kill the blocking session
B.execute the DBMS_SESSION.KILL_SESSION procedure to kill the blocking session
C.execute the command, ALTER SYSTEM KILL SESSION .., to kill the blocking session
D.execute the command, ALTER SESSION UNLOCK .., to release the lock for the blocking session
E.execute the command, ALTER SYSTEM UNLOCK SESSION .., to release the lock for the blocking session
您可能感兴趣的试卷
你可能感兴趣的试题
A.ORA_PATH
B.ORACLE_SID
C.ORACLE_BASE
D.ORACLE_HOME
E.LD_LIBRARY_PATH
While setting up the database for your production environment, you want to create a user with following requirements.
1.The objects created by the user must be stored in a tablespace, TBS1, if the TABLESPACE option is not defined during the object creation.
2.The user should be able to use 10MB of space in the tablespace TBS1.
3.The user must change the password immediately after logging in for the first time.
Which three options of the CREATE USER command would you use to achieve this objective?()
A.profile
B.account lock
C.account unlock
D.password expire
E.quota 10MB on TBS1
F.password never expire
G.default tablespace TBS1
H.quota unlimited on TBS1
I.temporary tablespace TEMP
J.temporary tablespace SYSTEM
A.no profiles
B.the default profile
C.same as the profile of SYS user
D.same as the profile of SYSTEM user
You are connecting to an Oracle database server from a client by using the following connect string:
SQL> CONNECT hr/hr@pdserver.us.oracle.com:1521/proddb
Which naming method is being used in this case?()
A.Local Naming
B.Easy Connect
C.External Naming
D.Directory Naming
A.You performed rollback after commit.
B.If a log switch occurs in your database.
C.Thearchiverfails to generate an archived log file.
D.Instance recovery fails to find one of the redo log files.
E.A long-running query is unable to get read-consistent image.
F.If you perform manual undo management operations in auto mode.
A.Start the instance and open the database, instance recovery automatically recoverscontrol files
B.Create a file based on the contents of the trace file and save it to the control file locations and start the database
C.Re-create the database (The recovery of the control file is not possible because you have lost all the control files.)
D.Start the instance, in the NOMOUNTstate,re-create the control file using the CREATE CONTROLFILE command stored in the trace file.
E.Start the instance and MOUNT the database, then re-create the control file using the CREATE CONTROLFILE command stored in the trace file.
A.Enable instance failover
B.Configure shared server
C.Enable database failover
D.Enable connect-time failover
E.Enable Transparent Application Failover (TAF)
A.All control files are opened
B.All redo files are opened
C.The password file is opened
D.The parameter file is opened
E.All online data files are opened
A.Monitor thealert.logfile
B.Enable server-side SQL tracing for user sessions
C.Enable fine-grained auditing for the customer table
D.Enable Fine-Grained Access Control (FGAC) for the customer table
E.Write a database trigger on the customer table on the SELECT event
A.Uses undo data for roll forward
B.Uses Flashback Log for recovery
C.Uses online redo logs to roll back
D.Uses undo data to roll back the transaction
E.Uses Recovery Manager (RMAN) to roll back
F.Uses the System Monitor (SMON) background process to perform instance recovery
最新试题
You execute the following command to audit the database activities: SQL> AUDIT DROP ANY TABLE BY scott BY SESSION WHENEVER SUCCESSFUL; What is the effect of this command?()
You started a long transaction. Before committing, you executed a query on one of the tables currently being modified. You received the following error: ORA-01555: snapshot too old How would you prevent such an error in the future?()
Your database is in NOARCHIVELOG mode and a logswitch happens every 20 minutes. On Thursday morning, media failure resulted in corruption of a data file belonging to the TOOLS tablespace. Backups are taken on every Sunday.What would you do in this situation?()
Your database is running under automatic undo management and the UNDO_RETENTION parameter is set to 900 sec. You executed the following command to enable retention guarantee: SQL> ALTER TABLESPACE undotbs1 RETENTION GUARANTEE; What effect would this statement have on the database?()
A constraint in a table is defined with the INITIALLY IMMEDIATE clause. You executed the ALTER TABLE command with the ENABLE VALIDATE option to enable the constraint that was disabled. What are the two effects of this command?()
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?()
Your database is open and users are connected using the LISTENER listener. The new DBA of the system stops the listener by using the following command:LSNRCTL> STOP What would happen to the sessions that are presently connected to the database instance?()
Your database is started by using the server parameter file (SPFILE). You issued this command to change the value of the LOG_BUFFER initialization parameter: ALTER SYSTEM SET LOG_BUFFER=24M SCOPE=BOTH; What would be the outcome of this command?()
The application workload on your database is same between 10 a.m. and 11 a.m. on weekdays. Suddenly you observe poor performance between 10 a.m. and 11 a.m. in the middle of the week. How would you identify the changes in configuration settings, workload profile,and statistics to diagnose the possible causes of the performance degradation?()
A user receives the following error while executing a query:ORA01555:snapshot too oldWhich two options can be the solutions to avoid such errors in future?()