出自:Oracle认证

Given: What is the result?()
A:true true
B:false true
C:true false
D:false false
E:Compilation fails.
F:An exception is thrown at runtime.
Which options would you consider while configuring a flash recovery area fast recovery area in 11g Release 2 for your production database that is running in ARCHIVELOG mode?() 
A: Setting the FAST_START_MTTR_TARGET to set the mean time to recover
B: Setting the RECOVERY_PARALLELISM parameter to twice the number of CPUs
C: Using the DB_RECOVERY_FILE_DEST parameter to set the location for flash recovery area
D: Using the DB_RECOVERY_FILE_DEST_SIZE parameter to define the disk space limit for the recovery files created in the flash recovery area
Given: What is the result?()
A:Compilation fails.
B:An exception is thrown at runtime.
C:doStuff x = 6 main x = 6
D:doStuff x = 6 main x = 7
E:doStuff x = 7 main x = 6
You are planning the creation of a new multitenant container database (CDB) and want to store the ROOT and SEED container data files in separate directories. You plan to create the database using SQL statements. Which three techniques can you use to achieve this?()
A:Use Oracle Managed Files (OMF).
B:Specify the SEED FILE_NAME_CONVERT clause.
C:Specify the PDB_FILE_NAME_CONVERT initialization parameter.
D:Specify the DB_FILE_NAMECONVERT initialization parameter.
E:Specify all files in the CREATE DATABASE statement without using Oracle managed Files (OMF).
Examine the command: SQL> DBMS_STATS.SET_TABLE_PREFS(’SH’, ’CUSTOMERS’, ’PUBLISH’, ’false’);  Which statementdescribes the effect of the above command()
A:Automatic statistics collection is stopped for the CUSTOMERS table.
B:Statistics for the CUSTOMERS table are locked and cannot be overwritten.
C:Existing statistics for the CUSTOMERS table become unusable for the query optimizer.
D:Subsequently, statistics gathered on the CUSTOMERS table are stored as pending statistics
What criterion does Oracle9i use to determine whether a database file is an Oracle Managed File?() 
A:The filename format. 
B:Information stored inside a data dictionary table. 
C:Information stored in the ALERT.LOG file for the corresponding instance. 
D:Information stored inside the corresponding initialization parameter file for the instance.
Examine the CREATE DISKGROUP command used to create a disk group: In which situation would you use this method of disk group creation?()
A:When two-way disk mirroring is required for the allocation units
B:When three-way disk mirroring is required for the allocation units
C:When using hardware mirroring or RAID
D:When disk mirroring is required for the Automatic Storage Management (ASM) disks
The loss of the control file forced you to re-create the control file. After re-creating it and opening the database, you find that some of the data files are named as MISSINGnnnnn, where nnnnn is a five-digit number starting with 0. What could be the possible reason?()
A: These are the data files that are corrupted.
B: There is no SYSAUX tablespace in your database
C: There is a read-only tablespace in your database.
D: These are the data files that cannot be recovered.
Examine the structure if the EMPLOYEES table: Column name Data Type Remarks EMPLOYEE_ID NUMBER NOT NULL, Primary Key EMP_NAME VARCHAR2(30) JOB_ID VARCHAR2(20) NOT NULL SAL NUMBER MGR_ID NUMBER References EMPLOYEE_ID column DEPARTMENT_ID NUMBER Foreign key to DEPARTMENT_ID column of the DEPARTMENTS table You need to create a view called EMP_VU that allows the user to insert rows through the view. Which SQL statement, when used to create the EMP_VU view, allows the user to insert rows?()
A:CREATE VIEW emp_Vu AS SELECT employee_id, emp_name, department_id FROM employees WHERE mgr_id IN (102, 120);
B:CREATE VIEW emp_Vu AS SELECT employee_id, emp_name, job_id department_id FROM employees WHERE mgr_id IN (102, 120);
C:CREATE VIEW emp_Vu AS SELECT department_id, SUM(sal) TOTALSAL FROM employees WHERE mgr_id IN (102, 120) GROUP BY department_ id;
D:CREATE VIEW emp_Vu AS SELECT employee_id, emp_name, job_id, DISTINCT department_id FROM employees;
Which of the following information will be gathered by the SQL Test Case Builder for the problems pertaining to SQL-related problems?()
A:ADR diagnostic files
B:all the optimizer statistics
C:initialization parameter settings
D:PL/SQL functions, procedures, and packages
E:the table and index definitions and actual data
You plan to use SQL Performance Analyzer to analyze the SQL workload. You created a SQL Tuning Set as a part of the workload capturing. What information is captured as part of this process?()
A:the SQL text SQL
B:the execution plan
C:the execution context
D:the execution frequency
E:the system change number (SCN)
Evaluate the following SQL statements that are issued in the given order:  What would be the status of the foreign key EMP_MGR_FK?()
A: It would be automatically enabled and deferred.
B: It would be automatically enabled and immediate.
C: It would remain disabled and has to be enabled manually using the ALTER TABLE command.
D: It would remain disabled and can be enabled only by dropping the foreign key constraint and re-creating it.
You have the following requirements in relation to the detection of block corruption for your database instance:   Check for logical self-consistency of data blocks when modified in memory.  Checksums are calculated before and after the block change.  Checks are performed for the lost writes to the physical standby database.   Which method would help you perform the above checks automatically?()
A: Set the DB_SECUREFILE parameter to PERMITTED
B: Set the DB_ULTRA_SAFE parameter to DATA_ONLY
C: Set the DB_LOCK_CHECKSUM parameter to TYPICAL
D: Set the DB_LOST_WRITE_PROTECT parameter to TYPICAL
Which three statements correctly describe the features of the I/O calibration process?()
A: Only one I/O calibration process can run at a time
B: It automates the resource allocation for the Automated Maintenance Tasks
C: It improves the performance of the performance-critical sessions while running
D: It can be used to estimate the maximum number of I/Os and maximum latency time for the system
E: The latency time is computed only when the TIMED_STATISTICS initialization parameter is set to TRUE
Which two statements are true about the Automatic Database Diagnostic Monitor (ADDM)()
A:The ADDM requires at least four AWR snapshots for analysis.
B:The ADDM runs after each AWR snapshot is collected automatically by MMON.
C:The results of the ADDM analysis are stored in the Automatic Workload Repository (AWR).
D:The ADDM analysis provides only diagnostic information but does not provide recommendations.
E:The ADDM calls other advisors if required, but does not provide recommendations about the advisors.
ABC Corp. has set up the Asset Category key flexfield. It has also set up a descriptive flexfield tostore vehicle information associated with the asset category "Vehicle." Identify two correctstatements.() (Choose two.)
A:The setting up of the descriptive flexfield is mandatory.
B:The Asset Category flexfield is owned by the Oracle Assets module.
C:The descriptive flexfield is associated with tables in the Oracle Assets module.
D:Only the Asset Category flexfield is associated with tables in the Oracle Assets module.
To set the history retention period for either window logging or job logging individually, which parameters of the SET_SCHEDULER_ATTRIBUTE procedure need to be used?()
A:LOG_HISTORY
B:JOB_LOG_RETENTION
C:WINDOW_LOG_RETENTION
D:WHICH_LOG
E:LOG_NAME
()触发器允许触发操作的语句访问行的列值。
A:行级:old:new
B:语句级
C:模式
D:数据库级
You include the calendar class in your Hotel Booking application. Which additional form level objects will you need to create to implement this reusable component fully?()
A:Blocks 
B:Visual attributes. 
C:Stacked canvas. 
D:Nothing further needs to be created.
在Oracle中,你以SYSDBA登录,CUSTOMER表位于Mary用户方案中,下面哪条语句为数据库中的所有用户创建CUSTOMER表的同义词()。
A:CREATE PUBLIC SYNONYM cust ON mary.customer
B:CREATE PUBLIC SYNONYM cust FOR mary.customer
C:CREATE SYNONYM cust ON mary.customer FOR PUBLIC
D:不能创建CUSTOMER的公用同义词
The following parameter are set for your Oracle 12c database instance: OPTIMIZER_CAPTURE_SQL_PLAN_BASELINES=FALSE OPTIMIZER_USE_SQL_PLAN_BASELINES=TRUE You want to manage the SQL plan evolution task manually. Examine the following steps: 1. Set the evolve task parameters. 2. Create the evolve task by using the DBMS_SPM.CREATE_EVOLVE_TASK function. 3. Implement the recommendations in the task by using the DBMS_SPM.IMPLEMENT_EVOLVE_TASK function. 4. Execute the evolve task by using the DBMS_SPM.EXECUTE_EVOLVE_TASK function. 5. Report the task outcome by using the DBMS_SPM.REPORT_EVOLVE_TASK function. Identify the correct sequence of steps:()
A:2,4,5
B:2,1,4,3,5
C:1,2,3,4,5
D:1,2,4,5
The CUSTOMERS table has these columns: CUSTOMER_ID NUMBER (4) NOT NULL CUSTOMER_NAME VARCHAR2 (100) NOT NULL STREET_ADDRESS VARCHAR2 (150) CITY_ADDRESS VARHCAR2 (50) STATE_ADDRESS VARCHAR2 (50) PROVINCE_ADDRESS VARCHAR2 (50) COUNTRY_ADDRESS VARCHAR2 (50) POSTAL_CODE VARCHAR2 (12) CUSTOMER_PHONE VARCHAR2 (20) The CUSTOMER_ID column is the primary key for the table. You need to determine how dispersed your customer base is. Which expression finds the number of different countries represented in the CUSTOMERS table?()
A:COUNT(UPPER(country_address))
B:COUNT(DIFF(UPPER(country_address)))
C:COUNT(UNIQUE(UPPER(country_address)))
D:COUNT DISTINTC UPPER(country_address)
E:COUNT(DISTINTC (UPPER(country_address)))
Which of the following shut down options should not be used before performing a consistent whole database backup?()
A:NORMAL
B:TRANSACTIONAL
C:ABORT
D:IMMEDIATE
E:INCONSISTENT
Given two files, GrizzlyBear.java and Salmon.java: If both classes are in the correct directories for their packages,and the Mammal class correctly defines thefindSalmon() method, which change allows this code to compile?()
A:add import animals.mammals.*; at line 2 in Salmon.java
B:add import animals.fish.*; at line 2 in GrizzlyBear.java
C:add import animals.fish.Salmon.*; at line 2 in GrizzlyBear.java
D:add import animals.mammals.GrizzlyBear.*; at line 2 in Salmon.java  B
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.
Given: What is the result?()
A:Compilation succeeds.
B:Exactly one class does NOT compile.
C:Exactly two classes do NOT compile.
D:Exactly four classes do NOT compile.
E:Exactly three classes do NOT compile.
Which three statements are true about using flashback database in a multitenant container database(CDB)?()
A:The root container can be flashed back without flashing back the pluggable databases (PDBs).
B:To enable flashback database, the CDB must be mounted.
C:Individual PDBs can be flashed back without flashing back the entire cdb.
D:The DB_FLASHBACK RETENTION_TARGET parameter must be set to enable flashback of the cdb.
E:A CDB can be flashed back specifying the desired target point in time or an SCN, but not a restore point.
The database is configured in ARCHIVELOG mode and regular complete database backups are taken. Theloss of which two types of files may require a recovery with the RESETLOGS option? ()(Choose two)
A:Control files
B:Password files
C:Inactive online redo log file
D:Archived log files required to perform recovery
E:Newly created tablespace which is not backed up
Click the Exhibit button and examine the data from the EMP table. The COMMISSION column shows the monthly commission earned by the employee. Which two tasks would require subqueries or joins in order to be performed in a single step? ()
A:listing the employees who earn the same amount of commission as employee 3
B:finding the total commission earned by the employees in department 10
C:finding the number of employees who earn a commission that is higher than the average commission of the company
D:listing the departments whose average commission is more than 600
E:listing the employees who do not earn commission and who are working for department 20 in descending order of the employee ID
F:listing the employees whose annual commission is more than 6000
Which options must you configure while performing an automated Tablespace Point-in-Time Recovery (TSPITR) by using Recovery Manager (RMAN)?()
A:New channels for restore and recovery tasks
B:New name for the data files of the tablespace
C:Auxiliary name for the data files of the tablespace
D:Auxiliary destinations for an auxiliary set of data files