出自:Oracle认证

在Oracle中,你需要创建索引提高薪水审查的性能,该审查要对员工薪水提高12个百分点后进行分析处理,下面哪个createindex命令能解决此问题()。
A:CREATE INDEX my_idx_1 ON employee(salary*1.12)
B:CREATE UNIQUE INDEX my_idx_1 ON employee(salary)
C:CREATE BITMAP INDEX my_idx_1 ON employee(salary)
D:CREATE INDEX my_idx_1 ON employee(salary)REVERSE
Click the Exhibit button. Which two are possible results?()
A:0, 2, 4, 4, 6, 8, 10, 6
B:0, 2, 4, 6, 8, 10, 2, 4
C:0, 2, 4, 6, 8, 10, 12, 14
D:0, 0, 2, 2, 4, 4, 6, 6, 8, 8, 10, 10, 12, 12, 14, 14
The character mode sales report is stored on the network drive as a .REX. You need to make changes to the report layout. Using the report builder how would you change this file?()
A:Open the file using the menu option file->open make the changes and recompile the report. 
B:Convert the file into .REP file using the report compiler make the changes and convert the file back to a .REX file. 
C:Execute the R30CONV command to convert the file to a .RDF file, make the changes and convert the file back to a .REX file. 
D:Choose file -> administration->compile. Convert the file to a .REP file, make the changes and convert the file back to a .REX file. 
E:Execute the R30CONV command to convert the file to a .REP file, make the changes and convert the file back to a .REX file.
Which of the following options enables a user to get authenticated though a single password instead of using multiple passwords?()
A:Wallet Manager
B:Radius
C:Oracle Internet Directory
D:None of the above
Your boss at Certkiller .com wants you to clarify Oracle 10g. Which statement is true about the analysis of the Automatic Database Diagnostic Monitor (ADDM)?()
A:A
B:B
C:C
D:D
E:E
F:F
You are creating a recovery catalog for use with RMAN. You have issued these commands: SQL> CREATE TABLESPACE rman_ts DATAFILE  ’/DISK1/rman_ts01.dbf’ 2> SIZE 20M 3> DEFAULT STORAGE (initial 100K next 100K pctincrease 0); SQL> CREATE USER rman_db01 IDENTIFIED BY rman_db01 2> DEFAULT TABLESPACE rman_ts 3> QUOTA unlimited ON rman_ts;  Which command should you issue next?()
A:RESYNC CATALOG;
B:REGISTER DATABASE;
C:CREATE CATALOG TABLESPACE rman_ts;
D:GRANT recovery_catalog_owner TO rman_db01;
You want to create a consumer group, GROUP1, and you execute the following command in the command/x7fline interface:  SQL> EXEC DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUP  (CONSUMER_GROUP =>’group1’, COMMENT => ’New Group’);  This command errors out displaying the following message:  ERROR at line 1:  ORA/x7f01031: insufficient privileges  ORA/x7f06512: at "SYS.DBMS_RMIN", line 115  ORA/x7f06512: at SYS.DBMS_RESOURCE_MANAGER", line 108 ORA/x7f06512: at line 1  What action would you take to overcome this error?()
A:grant SYSDBA to the user
B:grant SYSOPER to the user
C:grant the RESOURCE role to the user
D:use the GRANT command to grant the ADMINISTER_RESOURCE_MANAGER privilege to the user
E:grant the ADMINISTER_RESOURCE_MANAGER privilege to the user by using the DBMS_RESOURCE_MANAGER_PRIVS package
Oracle允许将已填满的联机重做日志文件的组保存到一个或者多个脱机目的地,这些日志全都称为()。
A:联机归档重做日志文件
B:已归档的重做日志
C:已归档的联机重做日志文件
D:非归档的重做日志文件
You defined the Recovery Manager (RMAN) retention policy to recovery window of 7 days by executing the following command:  RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;  When a backup is performed, what would be the status of this backup after seven days?()
A:The backup would be marked as invalid.
B:The backup would be marked as obsolete.
C:The backup would be removed from the media.
D:The backup would be removed from the RMAN repository.
You work as a database administrator for Supportcenter.cn. Users in the Supportcenter.cn PROD database complain about the slow response of transactions. While investigating the reason you find that the transactions are waiting for the undo segments to be available, and undo retention has been set to zero.  What would you do to overcome this problem?()
A:Increase the undo return
B:Create more undo segments
C:Create another undotablespace
D:Increase the size of the undo tablespace
You work as a database administrator for Supportcenter.cn. You want to administer your database servers, which are running on different host machines, using the Web-enabled grid control interface. You have configured the agent on the host machines. You have started the Oracle Database 10g Grid Control utility on your machine. Which two additional components would you configure to achieve this objective?()
A:Application Server Control
B:Oracle Management Service
C:Oracle Enterprise Manager Repository
D:Oracle Enterprise Manager Database Control
Because of hardware failure, you decided to drop a redo log member from the database. Which condition should be met to drop a redo log file?()
A: The redo log file should belong to an active group.
B: The redo log file should belong to an inactive group.
C: The redo log file should belong to the current group.
D: The redo log file can be dropped only if all the transactions are stopped.
E: Before a redo log file is dropped, it should be deleted from the operating system (OS).
Your test database is configured to run in NOARCHIVELOG mode. One of the data files in the USERS tablespace is lost due to a media failure. You notice that all the online redo logs have been overwritten sincethe last backup.  What would you do to recover the data file()
A:Take the USERS tablespace offline and re-create the lost data file.
B:Shut down the instance, restore the data file from the last consistent backup, and restart the databaseinstance.
C:Shut down the instance, restore all the database files from the last consistent backup, and restart thedatabase instance.
D:Take the USERS tablespace offline, restore all the data files of the USERS tablespace from the lastconsistent backup, and make the tablespace online
The tnsnames.ora file has an entry for the service alias ORCL as follows:The TNS ping command executes successfully when tested with ORCL; however, from the same OS usersession, you are not able to connect to the database instance with the following command:SQL > CONNECT scott/tiger@orcl What could be the reason for this?()
A:The listener is not running on the database node.
B:The TNS_ADMIN environment variable is set to the wrong value.
C:The orcl.oracle.com database service is not registered with the listener.
D:The DEFAULT_DOMAIN parameter is set to the wrong value in the sqlnet.ora file.
E:The listener is running on a different port.
You created a database by using the Database Configuration Assistant. What must you do to access a user account in the sample schemas?()
A:A
B:B
C:C
D:D
Examine the data of the EMPLOYEES table. EMPLOYEES (EMPLOYEE_ID is the primary key. MGR_ID is the ID of managers and refers to the EMPLOYEE_ID) EMP_NAME DEPT_ID MGR_ID JOB_ID SALARY EMPLOYEE_ID 101 Smith 20 120 SA_REP 4000 102 Martin 10 105 CLERK 2500 103 Chris 20 120 IT_ADMIN 4200 104 John 30 108 HR_CLERK 2500 105 Diana 30 108 HR_MGR 5000 106 Bryan 40 110 AD_ASST 3000 108 Jennifer 30 110 HR_DIR 6500 110 Bob 40 EX_DIR 8000 120 Ravi 20 110 SA_DIR 6500 Which statement lists the ID, name, and salary of the employee, and the ID and name of the employee's manager, for all the employees who have a manager and earn more than 4000?()
A:SELECT employee_id "Emp_id", emp_name "Employee", salary, employee_id "Mgr_id", emp_name "Manager" FROM employees WHERE salary > 4000;
B:SELECT e.employee_id "Emp_id", e.emp_name "Employee",
C:salary,
D:employee_id "Mgr_id", m.emp_name "Manager" FROM employees e, employees m WHERE e.mgr_id = m.mgr_id AND e.salary > 4000;
You need to create a view EMP_VU. The view should allow the users to manipulate the records of only the employees that are working for departments 10 or 20. Which SQL statement would you use to create the view EMP_VU?()
A:CREATE VIEW emp_vu AS   SELECT *   FROM employees   WHERE department_id IN (10,20);
B:CREATE VIEW emp_vu AS   SELECT *   FROM employees   WHERE department_id IN (10,20)   WITH READ ONLY;
C:CREATE VIEW emp_vu AS   SELECT *   FROM employees   WHERE department_id IN (10,20)   WITH CHECK OPTION;
D:CREATE FORCE VIEW emp_vu AS   SELECT *   FROM employees   WHERE department_id IN (10,20);
E:CREATE FORCE VIEW emp_vu AS   SELECT *   FROM employees   WHERE department_id IN (10,20)   NO UPDATE;
Click the Exhibit button. What is the result?()
A:4321
B:0000
C:An exception is thrown at runtime.
D:Compilation fails because of an error in line 18.
In Recovery Manager (RMAN), you have set control file autobackup to ON by using the following command:  CONFIGURE CONTROLFILE AUTOBACKUP ON;  Which two events would cause the control file to be backed up automatically? ()
A:a tablespace is taken offline
B:the database instance is restarted
C:a new data file is added to an existing tablespace
D:a successful backup is recorded in the RMAN repository
E:the RMAN connection is disconnected from the target database
The EMPLOYEES table has these columns: LAST NAME VARCHAR2(35) SALARY NUMBER(8,2) HIRE_DATE DATE Management wants to add a default value to the SALARY column. You plan to alter the table by using this SQL statement: ALTER TABLE EMPLOYEES MODIFY ( SALARY DEFAULT 5000); What is true about your ALTER statement?()
A:Column definitions cannot be altered to add DEFAULT values.
B:A change to the DEFAULT value affects only subsequent insertions to the table.
C:Column definitions cannot be altered at add DEFAULT values for columns with a NUMBER data type.
D:All the rows that have a NULL value for the SALARY column will be updated with the value 5000.
The validate_password plugin is loaded and displays the following settings in global variables: Mysql> SHOW VARIABLES LIKE ‘validate_password%’; When attempting to set your password, you get the following error: Mysql> SET PASSWORD = PASSWORD (‘Hoverl@%’); ERROR 1819 (HY000): Your password does not satisfy the current policy requirements What is the cause of the error?()
A:The password is eight characters long, but needs to exceed validate_password_length to be valid
B:All of the MEDIUM password policy requirements have not been honored
C:The password matches a substring Hover as a dictionary word
D:The password does not match the validate_passoword_number_count requirement
E:There is no dictionary file defined, so password validation cannot work as expected
You find that the execution time of reports in your datawarehouse application is significantly high. You suspect the lack of indexes to be the reason for the degradation in performance. Which advisory component would you refer to, in order to determine the appropriate indexes?() 
A:Memory Advisor
B:Segment Advisor
C:SQL Access Advisor
D:Automatic Workload Repository (AWR)
E:Automatic Database Diagnostic Monitor (ADDM)
You work as a database administrator for Certkiller .com. Users in the Certkiller PROD database complain about the slow response when accessing the database. In the Active Session Waiting: Configuration page you find that the majority of the wait time is for the redo log buffer.Further investigation using the Run Queue graph and operating system tools reveals that the redo log files are on the same disks, and that the disk I/O for the redo log files is the reason for the performance degradation.  Which two actions would you take to gain performance?()
A:Increase the size of redo log files
B:Increase the size of redo log buffer
C:Increase the number of redo log files
D:Place the redo log files on a separate disk
E:Decrease the number of redo log groups to two
F:Increate the number Log Writer (LGWR) process
在Oracle中,使用()可以生成一列整数值,这个整数值可以作为表的主键约束。
A:序列
B:同义词
C:索引
D:触发器
How many different calendars does Oracle 11g support?()
A: 22
B: 7
C: 6
D: 15
E: 2
What could be the reason for this()
A:The listener is not running on the database node.
B:The TNS_ADMIN environmental variable is set to a wrong value.
C:The orcl.oracle.com database service is not registered with the listener.
D:The DEFAULT_DOMAIN parameter is set to a wrong value in the sqlnet.ora file.
Which four statements correctly describe functions that are available in SQL? ()
A:INSTR returns the numeric position of a named character.
B:NVL2 returns the first non-null expression in the expression list.
C:TRUNCATE rounds the column, expression, or value to n decimal places.
D:DECODE translates an expression after comparing it to each search value.
E:TRIM trims the heading of trailing characters (or both) from a character string.
F:NVL compares two expressions and returns null if they are equal, or the first expression of they are not equal.
G:NULLIF compares twp expressions and returns null if they are equal, or the first expression if they are not equal.
You are using Recovery wizard for performing incomplete recovery. Which of the following object types is NOT available in the Perform Recovery :Type screen?()
A: Whole database
B: Tablespaces
C: Datafiles
D: Archive logs
E: Redo logs
View the Exhibit to examine the error while executing the REPAIR FAILURE command in an RMAN session.What is the reason for this error?()
A:Another repair session is running concurrently.
B:The failure ID has not been mentioned in the command for data file 5.
C:There are new failures recorded in the Automatic Diagnostic Repository (ADR).
D:The ADVISE FAILURE command has not been issued before the REPAIR FAILURE command.
Examine this statement: SELECT student_id, gpa FROM student_grades WHERE gpa >&&value; You run the statement once, and when prompted you enter a value of 2.0. A report is produced. What happens when you run the statement a second time?()
A:An error is returned.
B:You are prompted to enter a new value.
C:A report is produced that matches the first report produced.
D:You are asked whether you want a new value or if you want to run the report based on the previous value.