出自:Oracle认证

You execute the following command toauditdatabase activities:  SQL>AUDITDROP ANY TABLE BY scott BY SESSION WHENEVER SUCCESSFUL;  What is the effect of this command()
A:Oneauditrecord is created for every successful DROP TABLE command executed in the session ofSCOTT.
B:Oneauditrecord is generated for the session when SCOTT grants the DROP ANY TABLE privilege toother users.
C:One audit record is created for the whole session if user SCOTT successfully drops one or more tablesin his session.
D:One audit record is created for every session of any other user in which a table owned by SCOTT isdropped successfully.
E:One audit record is created for every successful DROP TABLE command executed by any user to droptables owned by SCOTT.
The STUDENT_GRADES table has these columns: The register has requested a report listing the students' grade point averages (GPA), sorted from highest grade point average to lowest within each semester, starting from the earliest date. Which statement accomplishes this?()
A:SELECT student_id, semester_end, gpa   FROM student_grades   ORDER BY semester_end DESC, gpa DESC;
B:SELECT student_id, semester_end, gpa   FROM student_grades   ORDER BY semester_end ASC, gpa ASC;
C:SELECT student_id, semester_end, gpa   FROM student_grades   ORDER BY semester_end, gpa DESC;
D:SELECT student_id, semester_end, gpa   FROM student_grades   ORDER BY gpa DESC, semester_end DESC;
E:SELECT student_id, semester_end, gpa   FROM student_grades   ORDER BY gpa DESC, semester_end ASC;
The database is running in ARCHIVELOG mode. Examine the initialization parameters and theirvalues set to enable archiving on your database server:  LOG_ARCHIVE_FORMAT = arch_%t_%s_%r.arc  LOG_ARCHIVE_DEST_1 = ’LOCATION = /disk1/archive’  DB_RECOVERY_FILE_DEST = ’/u01/oradata’  DB_RECOVERY_FILE_DEST_SIZE = 20G  Which statement is true regarding the archived redo log files()
A:It will be created on the local file system.
B:It will be created only in the Flash Recovery Area.
C:It will be created in the location specified by the LOG_ARCHIVE_DEST_1 parameter and the defaultlocation $ORACLE_HOME/dbs.
D:It will be created in the location specified by the LOG_ARCHIVE_DEST_1 parameter and locationspecified by the DB_RECOVERY_FILE_DEST parameter.
Given: 35.String #name = "Jane Doe"; 36.int $age = 24; 37.Double _height = 123.5; 38.double ~temp = 37.5; Which two statements are true?()
A:Line 35 will not compile.
B:Line 36 will not compile.
C:Line 37 will not compile.
D:Line 38 will not compile.
Given: What is the result?()
A:Compilation fails.
B:Cannot add Toppings
C:The code runs with no output.
D:A NullPointerException is thrown in Line 4.
You decided to change the location of the flash recovery area. You executed the following command: Which statement is true?()
A:The location can be changed only if the flash recovery area is empty.
B:After executing the command, all new flash recovery area files will be created in the new location.
C:The command will generate an error because you cannot change the flash recovery area while the database is open.
D:All the existing files in the flash recovery area will be moved to the new location, and all new Flash Recovery Area files will be created in the new location.
Given: What is the result?()
A:2
B:3
C:12
D:23
E:123
F:Compilation fails.
G:An exception is thrown at runtime.
Select valid reasons for IT performance issues that cannot be universally solved by adding more hardware:()
A: adding hardware may exacerbate inefficiency, which can lead to over provisioning and lower utilization
B: performance may degrade due to bottlenecks such as database connections that won’t scale in lock step with other dimensions such as computing capacity or memory
C: both A and B are valid
D: neither A nor B are valid
当定义Oracle错误和异常之间的关联时,需要使用伪过程()。
A:EXCEPTION_INIT
B:EXCEPTION_END
C:EXCEPTION_LAST
D:EXCEPTION
Which of the following tasks is not performed by the job coordinator?()
A: Update job log when a job completes
B: Spawn and remove job slaves
C: Write/read job info to/from memory cache
D: Query job table
E: Pass job information to job slaves
You issued the following command on the temporary tablespace LMTEMP in your database: SQL>ALTER TABLESPACE lmtemp SHRINK SPACE KEEP 20M; Which requirement must be fulfilled for this command to succeed?()
A:The tablespace must be locally managed.
B:The tablespace must have only one temp file.
C:The tablespace must be made nondefault and offline.
D:The tablespace can remain as the default but must have no active sort operations.
You are connected using SQL* Plus to a multitenant container database (CDB) with SYSDBA privilegesand execute the following sequence statements:What is the result of the last SET CONTAINER statement and why is it so?()
A:It succeeds because the PDB_ADMIN user has the required privileges.
B:It fails because common users are unable to use the SET CONTAINER statement.
C:It fails because local users are unable to use the SET CONTAINER statement.
D:If fails because the SET CONTAINER statement cannot be used with PDB$SEED as the target pluggable database (PDB).
You scheduled a backup by using the Schedule Backup option in Oracle Enterprise Manager. Which statement about the script created by Oracle Enterprise Manager is true? ()
A:It is a SQL script.
B:It is a PL/SQL file.
C:It is an operating system (OS) file.
D:It is a Recovery Manager (RMAN) script
Examine the structure of the EMPLOYEES and DEPARTMENTS tables: EMPLOYEES EMPLOYEE_ID NUMBER DEPARTMENT_ID NUMBER MANAGER_ID NUMBER LAST_NAME VARCHAR2(25) DEPARTMENTS DEPARTMENT_ID NUMBER MANAGER_ID NUMBER DEPARTMENT_NAME VARCHAR2(35) LOCATION_ID NUMBER You want to create a report displaying employee last names, department names, and locations. Which query should you use to create an equi-join?()
A:SELECT last_name, department_name, location_id FROM employees , department ;
B:SELECT employees.last_name, departments.department_name, departments.location_id FROM employees e, departments D WHERE e.department_id = d.department_id;
C:SELECT e.last_name, d.department_name, d.location_id FROM employees e, departments D WHERE manager_id = manager_id;
D:SELECT e.last_name, d.department_name, d.location_id FROM employees e, departments D WHERE e.department_id = d.department_id;
Which two statements are true about the roles in the Oracle database?()
A:A role can be granted to itself.
B:Roles are owned by the SYS user.
C:Roles can be granted to other roles.
D:A role cannot be assigned external authentication.
E:A role can contain both system and object privileges.
Given below is a list of scenarios:  1)A user terminates his session abnormally.  2)The connection between the server and the client application terminates because of a network failure.  3)A schema is accidentally dropped.  4)The tablespace is accidentally dropped from the database.  5)The hard disk gets corrupted and the data files in the disk are lost.  6)The database instance abnormally shuts down because of power failure.  Which scenarios require DBA intervention to perform recovery()
A:4 and 5
B:1,3,and 6
C:4,5,and 6
D:3,4,and 5
E:1,2,and 6
序列的用途是什么?
What view would you use to determine if a given tablespace is fully self-contained for the execution of a tablespace point-in-time recovery?()  
A: TS_CHECK
B: TPITR_CHECK
C: TS_PITR_CHECK
D: CHECK_TSPITR
E: PITR_TS_CHECK
The accounting manager wants you to create a form that when queried will display a calculated total of year-to-date actual expenditures for the found code entered. The values needed to generate this summary data are stored in multiple tables. Which data source type can you assign to the data block for this form without having the DBA create a database object?()
A:database table 
B:transactional trigger 
C:stored procedure 
D:FROM clause query 
E:client-side procedure
如何将变量v_row定义为emp表的记录类型()
A:v_row emp%type;
B:v_row emp%record;
C:v_row emp%tabletype;
D:v_row emp%rowtype;
You just issued the following statement: ALTER TABLE SALES DROP COLUMN PROFIT. Which of the following choices identifies when the column will actually be removed from Oracle?()
A:Immediately following statement execution 
B:After the ALTER TABLE DROP UNUSED COLUMNS command is issued 
C:After the ALTER TABLE SET UNUSED COLUMN command is issued 
D:After the ALTER TABLE MODIFY command is issued
Given: Which statement is true about the class of an object that can reference the variable base?()
A:It can be any class.
B:No class has access to base.
C:The class must belong to the geometry package.
D:The class must be a subclass of the class Hypotenuse.
You work as a database administrator for Certkiller .com. You find that reports are running for a long time in your data warehousing applications. You suspect a lack of indexes is the reason for the performance degradation.  Which advisory component would you refer to, in order to determine the appropriate indexes?()
A:Memory Advisors
B:Segment Advisors
C:SQL Tuning and Access Advisors
D:Automated Workload Repository (AWR)
E:Automatic Database Diagnostic Monitor (ADDM)
Which Scheduler view(s) can be queried to see which jobs are currently executing?()
A: DBA_SCHEDULER_JOB_RUN_DETAILS
B: DBA_SCHEDULER_RUNNING_JOBS
C: DBA_SCHEDULER_CURRENT_JOBS
D: DBA_SCHEDULER_JOBS
E: DBA_SCHEDULER_EXECUTING_JOBS
在逻辑备份表expdp命令中,哪个参数是必须的()。
A:Tables
B:Directiry
C:Dumpfile
D:logfile
Under the Oracle Shared Server architecture, client-user processes ultimately connect to a()
A:service
B:listener
C:dispatcher
D:shared server process
When executing a SQL workload, you choose to generate execution plans only, without collecting execution statistics. Which two statements describe the implications of this?()
A:It produces less accurate results of the comparison analysis.
B:It automatically calls the SQL Tuning Advisor for recommendations.
C:It shortens the time of execution and reduces the impact on system resources.
D:Only the changes in the execution plan, and not performance regression, are detected.
You are configuring the listener on your server. Which listener.ora parameter contains the information needed to detect session requests from different client types?()
A:ADDRESS_LIST
B:SID_NAME
C:LISTENER
D:SERVICE_LIST
Which of the following would you use to enable automatic media recovery for a database?()
A:SET AUTORECOVERY ON
B:SET RECOVERY ON
C:SET AUTO ON
D:You cannot enable automatic media recovery.
Consider the MySQL Enterprise Audit plugin, You add the following lines to the my.cnf configuration tile: [mysqld] Plugin-load=audit_log.so Audit-log=FORCE_PLUS_PERMANENT You attempt to start up the MySQL service and notice that it fails to start. Which two statements would explain why the service did not start?()
A:FORCE_PLUS_PERMANENT is not valid for the audit-log option
B:The audit_log.so library does not exist
C:The audit_log.so library is in a location that is different from that defined by the plugin_dir option
D:The audit plugin must be loaded dynamically by using the INSTALL PLUGIN command
E:The audit log file does not exist in which to write audit events
F:The audit_log.so library is not an executable file