出自:Oracle认证

You are adding redo logs to the Oracle database. Creating a new redo log adds information to which of the following Oracle resources? ()
A:Shared pool 
B:Control file 
C:SGA 
D:PGA
ASM supports all but which of the following file types?()
A: Database files
B: Spfiles
C: Redo-log files
D: Archived log files
E: RMAN backup sets
F: Password files
G: init.ora files
下面哪个用户不是ORACLE缺省安装后就存在的用户()。
A:SYSDBA
B:SYSTEM
C:SCOTT
D:SYS
Given: What is the result?()
A:Compilation fails.
B:pi is bigger than 3.
C:An exception occurs at runtime.
D:pi is bigger than 3. Have a nice day.
E:pi is not bigger than 3. Have a nice day.
Which statements are true regarding the Query Result Cache?() 
A: It can be set at the system, session, or table level.
B: It is used only across statements in the same session.
C: It can store the results from normal as well as flashback queries.
D: It can store the results of queries based on normal,temporary,and dictionary tables.
In which scenario would TOP N analysis be the best solution?()
A:You want to identify the most senior employee in the company.
B:You want to find the manager supervising the largest number of employees.
C:You want to identify the person who makes the highest salary for all employees.
D:You want to rank the top three sales representatives who have sold the maximum number of products.
Which three tasks can be performed by using the performance Schema?()
A:Finding queries that are not using indexes
B:Finding rows that are locked by InnoDB
C:Finding client connection attributes
D:Finding the part of a code in which a single query is spending time
E:Finding the size of each table
How long will this backup be allowed to run?()  Backup as compressed backupset duration 2:00 minimize load database
A: 2 minutes
B: 2 hours
C: 2 days
D: The command will generate an error.
E: This backup is not constrained by any time limitation.
Click the Exhibit button to examine the structure of the EMPLOYEES, DEPARTMENTS, and LOCATIONS tables. Two new departments are added to your company as shown: DEPARTMENT_ID DEPARTMENT_NAME MGR_ID LOCATION_ID 9998 Engineering 123 9999 Administrative Boston You need to list the names of employees, the department IDs, the department names, and the cities where the departments are, even if there are no employees in the departments and even if the departments are not yet assigned to a location. You need to join the EMPLOYEES, DEPARTMENTS, and LOCATIONS tables to retrieve this information. Which statement do you execute to retrieve this information?()
A:SELECT e.last_name, d.department_id, d.department_name, l.city FROM departments d RIGHT OUTER JOIN employees e ON d.department_id = e.department_id RIGHT OUTER JOIN locations l ON d.location_id = l.location_id;
B:SELECT e.last_name, d.department_id, d.department_name, l.city FROM departments d FULL OUTER JOIN employees e ON d.department_id = e.department_id FULL OUTER JOIN locations l ON d.location_id = l.location_id; 
C:SELECT e.last_name, d.department_id, d.department_name, l.city FROM departments d LEFT OUTER JOIN employees e ON d.department_id = e.department_id LEFT OUTER JOIN locations l ON d.location_id = l.location_id;
D:SELECT last_name, department_id, department_name, city FROM departments d NATURAL JOIN employees e NATURAL JOIN locations l;
You want to start monitoring statistics on the distribution of storage engines that are being used and the average sizes of tables in the various databases. Some details are as follows: The Mysql instance has 400 databases. Each database on an average consists of 25-50 tables. You use the query: SELECT TABLE_SCHEMA, 'ENGINE', COUNT (*), SUM(data_length) total_size FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE= 'BASE TABLE' GROUP BY TABLE_SCHEMA, 'ENGINE' ; Why is this query slow to execute?()
A:Collecting information requires large numbers of locks on various INFORMATION_SCHEMA tables
B:Aggregating details from various storage engine caches for the final output is time consuming
C:Collecting information requires various disk-level operations and is time consuming
D:Counting and summarizing all table pages in the InnoDB shared tablespace is time consuming
Click the Exhibit button. Given: Which two statements are true if a NullPointerException is thrown on line 3 of class C? ()
A:The application will crash.
B:The code on line 29 will be executed.
C:The code on line 5 of class A will execute.
D:The code on line 5 of class B will execute.
E:The exception will be propagated back to line 27.
Which is the correct command to back up the database, back up the archived redo logs, and then remove the backed-up archived redo logs?()  
A: backup database
B: backup database and archivelogs
C: backup database plus archivelogs
D: backup database plus archivelog delete input
E: backup database and archivelog delete input
把一个表空间切换到OFFLINE状态时,可以使用4个参数,不包括下列哪个选项?()
A:IMMEDIATE
B:NORMAL
C:TEMPORARY
D:FORCE
Consider the following configuration:  /devices/D1is a member of disk group dgroupA.  /devices/D2is a member of disk group dgroupA.  /devices/D3is a member of disk group dgroupA.  You plan to add a new disk, /devices/D4,to the disk group dgroupA.  You execute the following command:  SQL> ALTER DISKGROUP dgroupA ADD DISK ’/devices/D*’;  Which task would be accomplished by the command?()
A: The command adds the new disk, D4, to the disk group.
B: The command would result in an error because the is no disk by the name "’/devices/D*’"
C: The command will be ignored because disks starting with "D" are already members of the disk group.
D: The command would result in an error because no wildcard characters can be used in the disk name.
E: The command first detaches all the member disks starting with "D", and the reattaches them including the new disk.
All the database users are presently connected to the database instance and working. The HR user hasopened three database sessions and executed the following command in one of his sessions:SQL> UPDATE persons SET ccode=’U031’ WHERE ccode=’U029’; 123 rows updated.SQL> DELETE FROM persons WHERE exp=’Y’;3 rows deleted. The SYS user opens a new session after HR executed the above commands.  Which sessions can see theeffect of the UPDATE and DELETE commands()
A:All sessions of the HR user only
B:All sessions of the HR user and the SYS user
C:The session of the HR user that executed the commands
D:All the sessions for which the database users have access privilege to the PERSONS table
The ORDERS table has these columns: ORDER_ID NUMBER(4) NOT NULL CUSTOMER_ID NUMBER(12) NOT NULL ORDER_TOTAL NUMBER(10,2) The ORDERS table tracks the Order number, the order total, and the customer to whom the Order belongs. Which two statements retrieve orders with an inclusive total that ranges between 100.00 and 2000.00 dollars? ()
A:SELECT customer_id, order_id, order_total FROM orders RANGE ON order _ total (100 AND 2000) INCLUSIVE;
B:SELECT customer_id, order_id, order_total FROM orders HAVING order _ total BETWEEN 100 and 2000;
C:SELECT customer_id, order_id, order_total FROM orders WHERE order _ total BETWEEN 100 and 2000;
D:SELECT customer_id, order_id, order_total FROM orders WHERE order_total>= 100 and <= 2000;
E:SELECT customer_id, order_id, order_total FROM orders WHERE order_total>= 100 and order_total <= 2000;
Given: What is the result?()
A:Compilation fails.
B:An exception is thrown at runtime.
C:The code executes normally and prints "sleep".
D:The code executes normally, but nothing is printed.
You are using flat files as the data source for one of your data warehousing applications. You plan to move the data from the flat file structures to an Oracle database to optimize the application performance. In your database you have clustered tables. While migrating the data, you want to have minimal impact on the database performance and optimize the data load operation. Which method would you use to load data into Oracle database?()
A:use the external table population
B:use the Oracle Data Pump export and import utility
C:use the conventional path data load of SQL*Loader utility
D:use the direct path data load of Oracle export and import utility
Examine the data in the EMPLOYEES and DEPARTMENTS tables: EMPLOYEES 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 IT_ADMIN 5000 106 Smith 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 DEPARTMENTS DEPARTMENT_ID DEPARTMENT_NAME 10 Admin 20 Education 30 IT 40 Human Resources Also examine the SQL statements that create the EMPLOYEES and DEPARTMENTS tables: CREATE TABLE departments (department_id NUMBER PRIMARY KEY, department _ name VARCHAR2(30)); CREATE TABLE employees (EMPLOYEE_ID NUMBER PRIMARY KEY, EMP_NAME VARCHAR2(20), DEPT_ID NUMBER REFERENCES departments(department_id), MGR_ID NUMBER REFERENCES employees(employee id), MGR_ID NUMBER REFERENCES employees(employee id), JOB_ID VARCHAR2(15). SALARY NUMBER); ON the EMPLOYEES, On the EMPLOYEES table, EMPLOYEE_ID is the primary key. MGR_ID is the ID of managers and refers to the EMPLOYEE_ID. DEPT_ID is foreign key to DEPARTMENT_ID column of the DEPARTMENTS table. On the DEPARTMENTS table, DEPARTMENT_ID is the primary key. Examine this DELETE statement: DELETE FROM departments WHERE department id = 40; What happens when you execute the DELETE statement?()
A:Only the row with department ID 40 is deleted in the DEPARTMENTS table.
B:The statement fails because there are child records in the EMPLOYEES table with department ID 40.
C:The row with department ID 40 is deleted in the DEPARTMENTS table. Also the rows with employee IDs 110 and 106 are deleted from the EMPLOYEES table.
D:The row with department ID 40 is deleted in the DEPARTMENTS table. Also the rows with employee IDs 106 and 110 and the employees working under employee 110 are deleted from the EMPLOYEES table.
E:The row with department ID 40 is deleted in the DEPARTMENTS table. Also all the rows in the EMPLOYEES table are deleted.
F:The statement fails because there are no columns specifies in the DELETE clause of the DELETE statement.
Which statement is true regarding the Archiver (ARCn) process,archived log files,and recovery? ()
A:A database backup, combined with archived redo log files, guarantees that all committed data can be recovered to the point of failure. 
B:During recovery the ARCn background process copies its redo entries identified for recovery by the control file to the data files. 
C:After each write to an archived log, the mandatory background process ARCn writes its log sequence number and the first and last SCN number within the log sequence to the control file. 
D:At database recover time, and archived redo log is uniquely identified for recovery use by its redo thread number and destination ID number retrieved from the control file.
You have set the value of the NLS_TIMESTAMP_TZ_FORMAT parameter in the parameter file to YYYY-MM-DD. The default format of which two data types would be affected by this setting? ()
A: DATE
B: TIMESTAMP
C: INTERVAL YEAR TO MONTH
D: INTERVAL DAY TO SECOND
E: TIMESTAMP WITH LOCAL TIME ZONE
你用DBCA建立了一个数据库而没有保存模版定义。现在你打算用DBCA拷贝整个数据库和数据,下列哪个是首先要做的?()
A:使用脚本建立新的数据库,使用DBCA导入数据
B:用DBCA模版管理从现有数据库建立一个新的数据库,数据也如此导入
C:从模版列表中选择先前建立的数据库模版并建立数据库
D:从现有数据库中拷贝数据文件建立新的数据库,然后利用DBCA拷贝数据
()进程主要职责是监控服务器进程和注册数据库服务。
A:SMON
B:PMON
C:CHKT
D:LGWR
Which of the following calendaring syntax expressions would evaluate to the last day of every month?()
A:FREQ = MONTHLY; BYMONTHDAY = 31
B:FREQ = MONTHLY; BYMONTHDAY = -1
C:FREQ = DAILY; BYDAY = -1
D:FREQ = MONTHLY; BYDAY = 31
E:FREQ = DAILY; BYMONTHDAY = LAST_DAY
When performing an incomplete recovery of the whole database, what must be true about the data files that are restored?()
A:A
B:B
C:C
D:D
Which two statements are true about the RMAN validate database command?()
A:It checks the database for intrablock corruptions.
B:It can detect corrupt pfiles.
C:It can detect corrupt spfiles.
D:It checks the database for interblock corruptions.
E:It can detect corrupt block change tracking files.
In which of the scenarios will the DBA perform recovery()
A:The alert log file is corrupted.
B:A tablespace is accidentally dropped.
C:One of the redo log members is corrupted.
D:A database user terminates the session abnormally.
E:The hard disk on which the data file is stored is corrupted.
You accepted the recommended SQL Profile by executing the following code:   DECLARE   sqlprofile_name varchar2(30);  BEGIN   sqlprofile_name := DBMS_SQLTUNE.ACCEPT_SQL_PROFILE(  task_name => ’my_task’,   profile_name => ’my_profile’);   END;   Which advisor will analyze this profile?()  
A: SQL Access Advisor
B: Undo Advisor
C: Segment Advisor
D: SQL Tuning Advisor
Given: What is the result when the programmer attempts to compile the code and run it with the command java Converter 12?()
A:It is true that j==i.
B:It is false that j==i.
C:An exception is thrown at runtime.
D:Compilation fails because of an error in line 13.
Two data files have been deleted at the operating system level by accident. Your database is running in ARCHIVELOG mode and online backups are taken nightly. One of the data files that has been deleted belongs to the USERS tablespace on the other belongs to the SYSTEM tablespace. How can you recover from this situation?()
A:Shut down the database, restore the two data files and then start up the database. 
B:Take the system and users tablespace offline, restore the two data files, recover the two datafiles, and then bring the SYSTEM and USERS tablespaces online. 
C:Shut down the database, restore the two data files, start up the database in MOUNT mode, recover the two data files, and then alter the database open. 
D:Take the SYSTEM and USERS tablespaces offline, recover the two datafiles and then bring the SYSTEM and USERS tablespaces online.