-
You issue the following command on the RMAN prompt. REPORT NEED BACKUP DAYS 5; Which statement is true about executing this command?()
A . It will display a list of files that need incremental backup
B . It will display a list of files that need backup after five days
C . It will display a list of files that were backed up in the last five days
D . It will display a list of files that have not been backed up in the last five days
E . It will apply the current retention policy to determine the files that need to be backed u
-
Consider the following statement on a RANGE partitioned table: ALTER TABLE orders DROP PARTITION p1, p3; What is the outcome of executing the above statement?()
A . A syntax error will result as you cannot specify more than one partition in the same statement
B . All data in p1 and p3 partitions are removed and the table definition is changed
C . All data in p1 and p3 partitions are removed, but the table definition remains unchanged
D . Only the first partition (p1) will be dropped as only one can be dropped at any time
-
You executed the following SQL statement to shrink the EMPLOYEES table segment stored in the EXAMPLE tablespace: ALTER TABLE employees SHRINK SPACE CASCADE; Which statement is correct in this scenario?()
A . The EMPLOYEES table will be changed to read-only mode during the shrink operation.
B . The indexes created on the EMPLOYEES table will need to be rebuilt after the shrink operation is over.
C . The shrink behavior will be cascaded to all dependent segments of the table that support a shrink operation.
D . Data manipulation language (DML) operations will not be possible on the EMPLOYEES table during the COMPACTION phase of the shrink operation.
-
You issue the following command on the RMAN prompt. REPORT NEED BACKUP DAYS 5; Which statement is true about executing this command?()
A . It will display a list of files that need incremental backup
B . It will display a list of files that need backup after five days
C . It will display a list of files that were backed up in the last five days
D . It will display a list of files that have not been backed up in the last five days
E . It will apply the current retention policy to determine the files that need to be backed u
-
Which statement describes the effect of the execution of the above PL/SQL block?()
A . The plan baselines are verified with the SQL profiles.
B . All fixed plan baselines are converted into nonfixed plan baselines.
C . All the nonaccepted SQL profiles are accepted into the plan baseline.
D . The nonaccepted plans in the SQL Management Base are verified with the existing plan baselines.
-
Examine the statement: SQL> CREATE TABLESPACE user_data 2> EXTENT MANAGEMENT LOCAL 3> SEGMENT SPACE MANAGEMENT AUTO; Which twp assumptions must be true for this statement to execute successfully?()
A . Oracle Managed Files are used for this instance.
B . The USER_DATA tablespace is managed using FET$/UET$ tables.
C . The COMPATIBLE initialization parameter must be 9.0.0 or higher.
D . Space within segments in the USER_DATA tablespace is managed with freelists.
-
You executed the following command: RMAN> RECOVER COPY OF DATAFILE ’/u01/app/oracle/oradata/orcl/users01.dbf’; Which statement regarding the above command is correct?()
A . The ’/u01/app/oracle/oradata/orcl/users01.dbf’ data file is recovered from the image copy.
B . The ’/u01/app/oracle/oradata/orcl/users01.dbf’ data file is recovered from the last incremental backup.
C . Image copies of the ’/u01/app/oracle/oradata/orcl/users01.dbf’ data file are updated with all changes up to incremental backup SCN.
D . Image copies of the ’/u01/app/oracle/oradata/orcl/users01.dbf’ data file are recovered using the above command if data file recovery fails.
-
You executed the following command: RMAN> RECOVER COPY OF DATAFILE '/u01/app/oracle/oradata/orcl/users01.dbf'; Which statement regarding the above command is correct?()
A . The '/u01/app/oracle/oradata/orcl/users01.dbf' data file is recovered from the image copy
B . The '/u01/app/oracle/oradata/orcl/users01.dbf' data file is recovered from the last incremental backup
C . Image copies of the '/u01/app/oracle/oradata/orcl/users01.dbf' data file are updated with all changes up to incremental backup SCN. '/ u01/app/oracle/oradata/orcl/users01.dbf
D . Image copies of the '/u01/app/oracle/oradata/orcl/users01.dbf' data file are recovered using the above command if data file recovery fail
-
The user is trying to execute a SELECT statement. Which of the following background processes will obtain data from a disk for the user?()
A . DISPATCHER
B . USER
C . SERVER
D . LGWR
E . DBW0
-
Your Oracle Database 10g is online when you execute the following statement: SQL>ALTER TABLESPACE MY_TABLESPACE FLASHBACK OFF; What is the result of executing this statement if the Flashback Database feature is already enabled in the database?()
A . The database does not record flashback logs for MY_TABLESPACE
B . The tables residing in MY_TABLESPACE are not protected by the Recycle Bin.
C . All the tablespaces except MY_TABLESPACE can be recovered using Flashback Database feature.
D . None of the flashback technologies, such as Flashback Table, Flashback Transaction Query and Flashback Version Query can be used to recover individual rows within the objects from MY_TABLESPACE
-
You are the Database Administrator (DBA) of your company. You execute the following statement on an Oracle 10g instance: SQL> ALTER SYSTEM SWITCH LOGFILE; Which two tasks are performed when the statement is executed? ()
A . The DBWn process writes to the datafile.
B . Changes in the background process are recorded.
C . The log file is updated with the current SCN number.
D . The System Change Number (SCN) is recorded in the control file.
E . The changes to the listener configuration in the listener.ora file are recorded.
-
You want to create a temporary table while executing a procedure in a form. Which statement is true?()
A . You cannot create a table form within Forms.
B . You must use the FORMS_DDL built-in to create the table.
C . You must use the DBMS_DYNAMIC_DDL package to create the table.
D . You can write the CREATE TABLE statement directly into the trigger.
-
Which statement is true about the objects referenced by snoog, snooch, and booch immediately after line 23 executes?()https://assets.asklib.com/images/image2/2018080114292072522.jpg
A . None of these objects are eligible for garbage collection.
B . Only the object referenced by booth is eligible for garbage collection.
C . Only the object referenced by snoog is eligible for garbage collection.
D . Only the object referenced by snooch is eligible for garbage collection.
E . The objects referenced by snooch and booth are eligible for garbage collection.
-
You executed the following SQL statement to shrink the EMPLOYEES table segment stored in the EXAMPLE tablespace: ALTER TABLE employees SHRINK SPACE CASCADE; Which statement is correct in this scenario?()
A . The data in the segment will be compacted but the high water mark will not be adjusted
B . The EMPLOYEES table will be changed to read-only mode during the shrink operation
C . The indexes created on the EMPLOYEES table will need to be rebuilt after the shrink operation is over
D . The shrink behavior will be cascaded to all dependent segments of the table that support a shrink operation
E . Data manipulation language (DML) operations will not be possible on the EMPLOYEES table during the COMPACTION phase of the shrink operatio
-
You executed the following query: SELECT operation, undo_sql, table_name FROM flashback_transaction_query; Which statement is correct regarding the query output?()
A . It would return information regarding only the last committed transaction.
B . It would return only the active transactions in all the undo segments in the database.
C . It would return only the committed transactions in all the undo segments in the database.
D . It would return both active and committed transactions in all the undo segments in the database.
E . It would return information regarding the transactions that began and were committed in the last 30 minutes.
-
A user executes the statement; PURGE BINARY LOGS TO 'mysql-bin.010'; What is the result?()
A . It deletes all binary log files, except 'mysql-in.010'
B . It deletes all binary log files up to and including 'mysql-bin.010'
C . It deletes all binary log files before 'mysql-bin.010'
D . It deletes all binary log files after 'mysql-bin.010'
-
You executed the following query: SELECT operation, undo_sql, table_name FROM flashback_transaction_query; Which statement is correct regarding the query output?()
A . It would return information regarding only the last committed transaction.
B . It would return only the active transactions in all the undo segments in the database.
C . It would return only the committed transactions in all the undo segments in the database.
D . It would return both active and committed transactions in all the undo segments in the database.
E . It would return information regarding the transactions that began and were committed in the last 30 minutes.
-
You issue the following command on the RMAN prompt. RMAN> REPORT NEED BACKUP DAYS = 5 DATABASE; Which statement is true about executing this command?()
A . It will display a list of files that need incremental backup.
B . It will display a list of files that need backup after five days.
C . It will display a list of files that were backed up in the last five days.
D . It will display a list of files that have not been backed up in the last five days.
E . It will apply the current retention policy to determine the files that need to be backed up.
-
Statement接口的executeUpdate(String sql)方法用于执行SQL中的insert、______________和delete语句。
-
下面是创建Statement接口并执行executeUpdate方法的代码片段:conn=DriverManager.getConnection(\jdbc:odbc:book\,\\,\\);stmt=conn.createStatement();String strsql=\insert into bookvalues('TP003', 'ASP.NET','李','清华出版社',35)
-
JDBC接口________中创建Statement的方法是________;创建PreparedStatement的方法是________;
-
A user executes the statement;PURGE BINARY LOGS TO ‘mysql-bin.010‘;What is the result?()
A.It deletes all binary log files, except ‘mysql-in.010‘
B.It deletes all binary log files up to and including ‘mysql-bin.010‘
C.It deletes all binary log files before ‘mysql-bin.010‘
D.It deletes all binary log files after ‘mysql-bin.010‘
-
4、JDBC中,接口Statement中定义的execute方法的返回类型是()
A.ResultSet
B.Int
C.Boolean
D.String
-
If a=5 、 b=6 、 c=7 、 d=8 、 m=2 、 n=2 , what is the value of n, when the following statement is executed ()
A.1
B.2
C.3
D.4