出自:Oracle认证

Which two statements complete a transaction?()
A:DELETE employees;
B:DESCRIBE employees;
C:ROLLBACK TO SAVE POINT C;
D:GRANT SELECT ON employees TO SCOTH
E:ALTER TABLE employees SET UNUSED COLUMN sal;
F:Select MAX(sal) FROM employees WHERE department _ id 20;
By mistake, you ran the batch job (for updating the BILL_DETAILS table) twice. You are not sure which rows in the BILL_DETAILS table were affected. You need to identify:  a) A list of changes made along with the transaction identifier of each change.  b) The necessary SQL statements to undo the erroneous changes.  Which option would you choose?()
A: RMAN only.
B: Flashback Table only.
C: Flashback Version Query only.
D: Flashback Database and Flashback Transaction Query.
E: Flashback Version Query and Flashback Transaction Query.
Evaluate this SQL statement: e.employee_id, (.15* e.salary) + (.5 * e.commission_pct) + (s.sales_amount * (.35 * e.bonus)) AS CALC_VALUE FROM employees e, sales s WHERE e.employee_id = s.emp_id; What will happen if you remove all the parentheses from the calculation?()
A:The value displayed in the CALC_VALUE column will be lower.
B:The value displayed in the CALC_VALUE column will be higher.
C:There will be no difference in the value displayed in the CALC_VALUE column.
D:An error will be reported.
You need to create a table named ORDERS that contain four columns: 1. an ORDER_ID column of number data type 2. aCUSTOMER_ID column of number data type 3. an ORDER_STATUS column that contains a character data type 4. aDATE_ORDERED column to contain the date the order was placed. When a row is inserted into the table, if no value is provided when the order was placed, today's date should be used instead. Which statement accomplishes this? ()
A:CREATE TABLE orders ( order_id NUMBER (10), customer_id NUMBER (8), order_status VARCHAR2 (10), date_ordered DATE = SYSDATE);
B:CREATE TABLE orders ( order_id NUMBER (10), customer_id NUMBER (8), order_status VARCHAR2 (10), date_ordered DATE DEFAULT SYSDATE);
C:CREATE OR REPLACE TABLE orders ( order_id NUMBER (10), customer_id NUMBER (8), order_status VARCHAR2 (10), date_ordered DATE DEFAULT SYSDATE);
D:CREATE OR REPLACE TABLE orders ( order_id NUMBER (10), customer_id NUMBER (8), order_status VARCHAR2 (10), date_ordered DATE = SYSDATE);
E:CREATE TABLE orders ( order_id NUMBER (10), customer_id NUMBER (8), order_status NUMBER (10), date_ordered DATE = SYSDATE);
F:CREATE TABLE orders ( order_id NUMBER (10), customer_id NUMBER (8), order_status NUMBER (10), date_ordered DATE DEFAULT SYSDATE);
写出序列在实际操作中的作用。
You are using the Database Configuration Assistant to configure your Oracle database. Which of the following terms pertains to the creation of an object from which creation of the other database can be based? ()
A:Clone 
B:Copy 
C:Template 
D:Terminal 
Immediately after adding a new disk to or removing an existing disk from an Automatic StorageManagement (ASM) instance, you find that the performance of the database decreases initially, until the addition or removal process is completed. Performance then gradually returns to normal levels.  Which two activities could you perform to maintain a consistent performance of the database while adding or removing disks?()
A:increase the number of checkpoint processes
B:define the POWER option while adding or removing the disks
C:increase the number of DBWR processes by setting up a higher value for DB_WRITER_PROCESSES
D:increase the number of slave database writer processes by setting up a higher value for DBWR_IO_SLAVES
E:increase the number of ASM Rebalance processes by setting up a higher value for ASM_POWER_LIMIT during the disk addition or removal process
You executed the following FLASHBACK TABLE command: FLASHBACK TABLE emp TO TIMESTAMP (’11:45’,’hh12:mi’); Which two statements are correct? ()
A: The FLASHBACK TABLE statement will not be written to the alert log file.
B: The EMP table that was dropped by mistake from the database will be restored.
C: The changes made to the EMP table since the specified time will be undone.
D: The FLASHBACK TABLE statement will not maintain the existing indexes on the EMP table.
E: The FLASHBACK TABLE statement will be executed within a single transaction.
F: The list of transactions that have modified the EMP table since the specified time will be displayed.
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
Identify two correct statements to complete the sentance. In a Coherence implementation, it is a best practice to implement PortableObject on all customer objects because:()
A: it leverages Java’s built-in serialization
B: it provides a more efficient serialization of the object
C: it allows the object to be shared across applications
D: it allows the object to be shared across programming platforms
In your multitenant container database (CDB) containing pluggable database (PDBs), the HR user executes the following commands to create and grant privileges on a procedure: CREATE OR REPLACE PROCEDURE create_test_v (v_emp_id NUMBER, v_ename VARCHAR2,v_SALARY NUMBER, v_dept_id NUMBER) BEGIN INSERT INTO hr.test VALUES (V_emp_id, V_ename, V_salary, V_dept_id); END; / GRANT EXECUTE ON CREATE_TEST TO john, jim, smith, king; How can you prevent users having the EXECUTE privilege on the CREATE_TEST procedure from inserting values into tables on which they do not have any privileges?()
A:Create the CREATE_TEST procedure with definer’s rights.
B:Grant the EXECUTE privilege to users with GRANT OPTION on the CREATE_TEST procedure.
C:Create the CREATE_TEST procedure with invoker’s rights.
D:Create the CREATE_TEST procedure as part of a package and grant users the EXECUTE privilege the package.
You are performing an incomplete recovery because some important tables have been dropped and purged from the Recycle Bin. Which clause can you NOT use to perform the incomplete recovery by using the RMAN utility?()
A: UNTIL CANCEL
B: UNTIL SCN
C: UNTIL SEQUENCE
D: UNTIL TIME
Given classes defined in two different files : What is required at line 5 in class SomeApp to use the process method of BitUtils?()
A:process(bytes);
B:BitUtils.process(bytes);
C:app.BitUtils.process(bytes);
D:Util.BitUtils.process(bytes);
E:Importutil.BitUtils.*;process(bytes);
F:Some App can not use the process method in BitUtils.
You decided to configure the flash recovery area in your database to centralize the storage of all the recovery files in a certain location on disk. Which two parameters will you specify in the init.ora file?()
A: DB_CREATE_FILE_DEST
B: DB_RECOVERY_FILE_DEST
C: DB_RECOVERY_FILE_DEST_SIZE
D: DB_ONLINE_LOG_DEST_n
Which statement is true?()
A:A class’s finalize() method CANNOT be invoked explicitly.
B:super.finalize() is called implicitly by any overriding finalize() method.
C:The finalize() method for a given object is called no more than once by the garbage collector.
D:The order in which finalize() is called on two objects is based on the order in which the two objects became finalizable.
You need to allow the user to toggle between automatic query and no automatic query using a pop-up menu. Which built-in would you use in the menu item command to obtain the relationship name? ()
A:GET_RELATION_PROPERTY 
B:SET_RELATION_PROPERTY 
C:GET_BLOCK_PROPERTY 
D:GET_FORM_PROPERTY
Coherence provides the ideal infrastructure for building _____ services, and the ______ applications.()
A: Data Grid; Client and Server based
B: Outster; Client and Server based
C: Data Grid;DNS based
D: Cloud cluster;Client and Server based
Which mode of database shutdown requires an instance recovery at the time of the next database startup?()
A:ABORT
B:NORMAL
C:IMMEDIATE
D:TRANSACTIONAL
声明%TPYE类型的变量时,服务器将会做什么操作?()
A:为该变量检索数据库列的数据类型
B:复制一个变量
C:检索数据库中的数据
D:为该变量检索列的数据类型和值
The DBA issues this SQL command: What privileges does the user Scott have at this point?()
A:No privileges.
B:Only the SELECT privilege.
C:Only the CONNECT privilege.
D:All the privileges of a default user.
你定义了一个对象类型myOBJ,要基于该类型来创建表tab1,语句为()。
A:CREATE TABLE tab1 OF myOBJ
B:CREATE TABLE myOBJ OF tab1
C:CREATE TABLE tab1 AS myOBJ
D:CREATE TABLE tab1 TYPE OF myOBJ
 A user issues a SELECT command against the Oracle database. Which of the following choices describes a step that Oracle will execute in support of this statement?()
A:Acquire locks on table queried 
B:Generate redo for statement 
C:Fetch data from disk into memory 
D:Write changes to disk
Which two statements are true about the Automatic Diagnostic Repository (ADR)?() (Choose two.)
A:The ADR base keeps all diagnostic information in binary format
B:SQL*Plus provides the ADRI script, which can be used to work with ADR
C:The ADR can be used for problem diagnosis only when the database is open
D:The ADR can be disabled by settting the DIAGNOSTIC_DEST parameter to null
E:The ADR can be used for problem diagnosis even when the database instance is down
F:The ADR base is shared across multiple instances
You are managing an Oracle Database 11g database with ASM storage. The ASM disk group has the COMPATIBLE.ASM attribute set to 11.1.  Which statements are true regarding extent management and allocation units in the ASM disk group?()
A: The au_size disk group attribute determines the size of allocation units in the disk group. 
B: The allocation unit size may vary but the extent size is fixed.
C: The allocation unit size and extent size are fixed for all the disks in a disk group and cannot be changed.
D: Extent management is completely automated.
You executed the command to create a password file in the database server: $ orapwd file=orapworcl entries=5ignorecase=N  Which statement describes the purpose of the above password file()
A:It records usernames and passwords of users when granted the DBA role.
B:It contains usernames and passwords of users for whom auditing is enabled.
C:It is used by Oracle to authenticate users for remote database administration.
D:It records usernames and passwords of all users when they are added to OSDBA or OSOPER operatingsystem groups
You have a server that has very limited memory but has a very large table. You will use mysqldump to back up this table. Which option will ensure mysqldump will process a row at a time instead of buffering a set of rows?()
A:— quick
B:— skip-buffer
C:— single-transaction
D:— tab
In a dedicated sever configuration, which two statements describe the actions that can be taken to complete a client/server connection when the client and server are NOT on the same computer?()
A:A
B:B
C:C
D:D
E:E
Identify three advantages of Active GridLink for RAC over multidata source.()
A:isolates WebLogic from RAC changes
B:has a simple configuration
C:enables statement caching  
D:performs faster failure detection and failover
E:is supported in WebLogic Domain Templates
The RECYCLEBIN parameter is set to ON for your database. You drop a table, PRODUCTS, from the SCOTT schema. Which two statements are true regarding the outcome of this action? ()(Choose two)
A:All the related indexes and views are automatically dropped
B:The flashback drop feature can recover only the table structure
C:Only the related indexes are dropped whereas views are invalidated
D:The flashback drop feature can recover both the table structure and its data
View the Exhibits. You performed operations on the DEPT4 table as shown in the Exhibit. When you perform the FlashbackVersions Query, you find that the first two updates are not listed. What could be the reason?() 
A:The row movement is not enabled on the table.
B:The first two updates were not explicitly committed.
C:The Flashback Versions Query lists only the most recent update.
D:The Flashback Versions Query stops producing rows after it encounters a time in the past when the  table structure was changed.