出自:Oracle认证

Which substitution variable would you use if you want to reuse the variable without prompting the user each time? ()
A:&
B:ACCEPT
C:PROMPT
D:&&
You create an Oracle 10g database and configure the SPFILE as follows:   SGA_TARGET=2G   DB_CACHE_SIZE=512M  LOG_BUFFER=50M   DB_KEEP_CACHE_SIZE=128M   You modify the SGA_TARGET initialization parameter using the following statement:   SQL>ALTER SYSTEM SET SGA_TARGET = 1G SCOPE = BOTH;   Which entity does this statement affect?() 
A: only the auto-tuned memory components
B: only the memory components that are not auto-tuned
C: both the auto-tuned memory components and the non-auto-tuned memory components
D: neither the auto-tuned memory components nor the non-auto-tuned memory components
Which of the following commands will fail?()  
A: report schema
B: report need backup
C: report need backup days 3
D: report user
E: report obsolete
()函数是按照某种分组方式计算出返回结果的排行,支持分组排名。
A:RANK
B:REGR_R2
C:ROLLUP
D:COBE
You completed your workflow definition. You want to save a copy of the definition to the file system for source control purposes. How does Oracle Workflow Builder save that file?()
A:as a flat file
B:as a BPEL-compiled definition
C:as an XML file with an associated document type definition (DTD)
D:as an XML file without an associated document type definition (DTD)
You created a snapshot of the /data2 filesystem as follows:   # fssnap -F ufs -o bs=/data2/snap /data2   But, the system responds with the following error: snapshot error: Invalid backing file path   What is the problem? ()
A: The /data filesystem does not exist.
B: This message indicates that the /data2/snap directory does not exist.
C: The name of the Backing Store is incorrect, it should be /dev/fssnap/0
D: This message indicates that you cannot have the backing store file on the same filesystem as the filesystem being snapped.
Which two statements are true concerning the Resource Manager plans for individual pluggabledatabases (PDB plans) in a multitenant container database (CDB)?()
A:If no PDB plan is enabled for a pluggable database, then all sessions for that PDB are treated to an equal degree of the resource share of that pdb.
B:In a PDB plan, subplans may be used with up to eight consumer groups.
C:If a PDB plan is enabled for a pluggable database, then resources are allocated to consumer groups across all PDBs in the cdb.
D:If no PDB plan is enabled for a pluggable database, then the PDB share in the CDB plan is dynamically calculated.
E:If a PDB plan is enabled for a pluggable database, then resources are allocated to consumer groups based on the shares provided to the PDB in the CDB plan and the shares provided to the consumer groups in the PDB plan.
下列不属于Oracle表空间的是()。
A:大文件表空间
B:系统表空间
C:撤销表空间
D:网格表空间
Examine the structure of 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 users to insert rows through the view. Which SQL statement, when used to create the EMP_VU view, allows the users 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 statement about Automatic Memory Management with Oracle 11g is true?()  
A: You cannot specify MEMORY_TARGET if you explicitly specify SGA_TARGET or  PGA_AGGREGATE_ TARGET values that are greater than zero in your parameter file.
B: Oracle can reallocate memory between the SGA and PGA automatically as needed.
C: To use Automatic Memory Management, you must explicitly set both the MEMORY_TARGET and MEMORY_MAX_TARGET parameters in your parameter file.
D: You can set the MEMORY_TARGET parameter to a maximum value of the current SGA size plus the current PGA size.
You have created an Oracle 10g database named SALES, which will be used by an application named SalesOrders. Users of the SalesOrders application complain that application response time is slow when they generate reports. The SalesOrders application accesses a table that contains 10 million rows. You decide to create an index on this table using the NOLOGGING option so that the index creation process is completed in the least amount of time. Which of the following is NOT true about an index created with the NOLOGGING option?()
A: The index can be changed from NOLOGGING to LOGGING
B: The index cannot be recovered even in the ARCHIVELOG mode.
C: The index can only be created if the base table is created with the NOLOGGING option.
D: The index can be recovered if you perform a backup after the CREATE INDEX statement.
Examine the values for the following initialization parameters: FAST_START_MTTR_TARGET = 0LOG_CHECKPOINT_INTERVAL = 0 Which two will be the implications of these values in your database()
A:The SGA advisor will be disabled.
B:The MTTR advisor will be disabled.
C:Automatic checkpoint tuning will be disabled.
D:Checkpoint information will not be written to the alert log file.
Examine the description of the CUSTOMERS table: CUSTOMER_ID NUMBER(4) NOT NULL CUSTOMER_NAME VARCHAR2(100) NOT NULL STREET_ADDRESS VARCHAR2(150) CITY_ADDRESS VARCHAR2(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. Which statement returns the city address and the number of customers in the cities Los Angeles or San Francisco?()
A:SELECT city_address, COUNT(*) FROM customers WHERE city _ address IN ('Los Angeles','San Fransisco');
B:SELECT city_address, COUNT (*) FROM customers WHERE city address IN ( 'Los Angeles', 'San Fransisco') GROUP BY city_address;
C:SELECT city_address, COUNT(customer_id) FROM customers WHERE city_address IN ( 'Los Angeles', 'San Fransisco') GROUP BY city_address, customer_ id;
D:SELECT city_address, COUNT (customer_id) FROM customers GROUP BY city_ address IN ('Los Angeles','San Fransisco');
Which statements about the MEMORY_TARGET initialization parameter are true?() (Choose all that apply.)
A:MEMORY_TARGET can be increased up to the value of MEMORY_MAX_TARGET, if MEMORY_MAX_TARGET is set to a value greater than zero
B:MEMORY_MAX_TARGET defaults to a value of zero if MEMORY_TARGET is not set
C:MEMORY_TARGET represents the total amount of memory that can be allocated to SGA and PGA memory structures.
D:MEMORY_TARGET is static and cannot be modified without shutting down the instance
You are managing an Oracle Database 11g instance with ASM storage. The ASM instance is down. To know the details of the disks in the DATA disk group ,you issued the following ASMCMD command:   ASMCMD> lsdsk -I -d DATA   Which statement is true regarding the outcome of this command?()  
A: The command succeeds but it retrieves only the disk names.
B: The command produces an error because the ASM instance is down.
C: The command succeeds but it shows only the status of the ASM instance.
D: The command succeeds and retrieves information by scanning the disk headers based on an  ASM_DISKSTRING  value.
A customer needs to implement a Highly Available solution for JMS that has a primary data center  and a backup. Which three steps would you perform when designing your solution?()
A:Store Transaction Logs in a database and use Database stores for JMS to make replication  between sites easier.
B:Use file based Transaction Logs and JMS stores and implement a separate replication solution  for files in addition to database in case database replication fails.
C:Implement Oracle RAC at each site to provide a highly available solution within each datacenter.
D:Configure Whole Server Migration to migrate WebLogic Managed Servers from the primary to the secondary site.
E:Configure Automatic Service Migration for JMS high availability within a datacenter.
Which of the following packages maintains information in the recovery catalog? ()
A:DBMS_RCVMAN
B:DBMS_RMAN
C:DBMS_RCVCAT
D:DBMS_CATPROC
You have specified the warning and critical threshold values of an application tablespace to be 60% and 70% respectively. From the tablespace space usage metrics, you find that the actual space usage has reached the specified warning threshold value, but no alerts have been generated. What could be the reason for this?()
A: The EVENT parameter was not set
B: The SQL_TRACE parameter is set to FALSE
C: The Enterprise Manager Grid Control is not used
D: The STATISTICS_LEVEL parameter is set to BASIC
E: The TIMED_STATISTICS parameter is set to FALSE
You set the value of the SGA_TARGET initialization parameter to 1G to enable Oracle to automatically resize most of the memory components according to the current workload in the database. You issue the following statement:   SQL> SELECT name, value, isdefault  2 FROM v$parameter   3 WHERE name LIKE ’%size%’;   The output of this statement displays that the DB_CACHE_SIZE, SHARED_POOL_SIZE,  LARGE_POOL_SIZE, and JAVA_POOL_SIZE initialization parameters contain a zero value.  What does this imply?()
A: The SGA_TARGET initialization parameter cannot be set to a value less than 1G
B: The SGA_TARGET initialization parameter cannot be set to a value greater than 1G
C: The Memory Advisor of the Oracle Enterprise Manager 10g cannot be used to obtain advice on the important memory components of the SGA
D: The values of the DB_CACHE_SIZE, SHARED_POOL_SIZE, LARGE_POOL_SIZE, and JAVA_POOL_SIZE initialization parameters cannot be set manually.
E: No minimum limits are imposed on the DB_CACHE_SIZE, SHARED_POOL_SIZE, LARGE_POOL_SIZE, and  JAVA_POOL_SIZE initialization parameters.
F: The Automatic Shared Memory Management feature cannot be disabled unless you specify values for the  DB_CACHE_SIZE, SHARED_POOL_SIZE, LARGE_POOL_SIZE, and JAVA_POOL_SIZE initialization parameters in the initialization parameter file.
The Database Resource Manager is automatically enabled in the maintenance window that runs the Automated Maintenance Task. What is the reason for this?()  
A: to prevent the creation of an excessive number of scheduler job classes
B: to allow the Automated Maintenance Tasks to use system resources without any restriction
C: to allow resource sharing only among the Automated Maintenance Tasks in the maintenance window
D: to prevent the Automated Maintenance Tasks from consuming excessive amounts of system resources
Examine the structure if the EMPLOYEES 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;
An airline is building a booking system for its premium and general customers. The goal is to ensure premium members are given higher access priority when user traffic is high.    What configuration will achieve this goal?()
A:Configure a Work Manager for premium users with a Minimum Thread Constraint.
B:Configure a Work Manager for premium users with a higher fair-share-request-class.
C:Configure a Work Manager for premium users with a higher response-time-request-class.
D:Configure a Work Manager general users with a Maximum Thread Constraint.
E:Configure a Work Manager for premium users with a custom request-class.
What is the impact of the following backup if it exceeds the duration allowance?() Backup as compressed backupset duration 2:00 partial minimize load database ;  
A: The entire backup will fail.It will not be usable for recovery.
B: The entire backup will failbut any datafile successfully backed up will be usable for recovery.
C: If this backup fails,subsequent backups will prioritize datafiles not backed up.
D: If this backup fails,an error will be raised and any other commands will not be executed. 
E: If this backup fails,no error will be raised and any other commands will be executed.
Consider the following scenario:  You have a directory, data, under the disk group tdgroup  A. You want to create an alias for one of the data files and you execute the following command: ALTER DISKGROUP tdgroupA  ADD ALIAS ’+tdgroupA/data/datafile.dbf’  FOR ’+tdgroupA. 231.45678’;  Which task would be accomplished by the command?()
A:A
B:B
C:C
D:D
E:E
You work as a database administrator at Certkiller .com. You are working in an online transaction processing (OLTP) environment. You realize that the salary for an employee, John, has been accidentally modified in the EMPLOYEEStable. Two days ago, the data was in the correct state. Flashback logs generated during last two days are available in the flash recovery area. Which option would you choose to bring the data to the correct state while ensuring that no other data in the same table is affected?()
A: perform point-in-time recovery
B: perform a Flashback Table operation to restore the table to the state it was in two days ago
C: perform a Flashback Database operation to restore the database to the state it was in two days ago
D: perform Flashback Versions Query and Flashback Transaction Query to determine all the necessary undo SQL statements, and then use them for recovery
Which option best describes the features of the Personal Worklist page, as compared with AdvancedWorklist?()
A:provides an overview of notifications
B:provides the capability to administer notifications
C:provides the most detailed options for searching workflow
D:provides the most detailed options for searching workflow, and provides the capability to administer notifications
Given that the current directory is empty, and that the user has read and write permissions, and thefollowing: Which statement is true?()
A:Compilation fails.
B:The file system has a new empty directory named dir.
C:The file system has a new empty directory named newDir.
D:The file system has a directory named dir, containing a file f1.txt.
E:The file system has a directory named newDir, containing a file f1.txt.
Which  statements are true about checkpointing()
A:The checkpoint frequency decreases with the smaller redo log file size.
B:It ensures that all committed data is written to the data files during normal shutdown.
C:The frequent full checkpoint in a database can cause the overall degradation of the database performance.
D:It prompts the Checkpoint (CKPT) process to write data to the data files and redo information to the onlineredo log files
You are using Recovery Manager (RMAN) with a recovery catalog to back up your production database. The backups and the archived redo log files are copied to a tape drive on a daily basis. Because of media failure, you lost your production database completely along with the recovery catalog database. You want to recover the target database and make it functional. You consider performing the following steps to accomplish the task:   1) Restore an autobackup of the server parameter file. 2) Restore the control file  3) Start the target database instance  4) Mount the database  5) Restore the data files  6) Open the database with RESETLOGS option  7) Recover the data files  8) Set DBID for the target database   Which option illustrates the correct sequence that you must use?()  
A: 8, 1, 3, 2, 4, 5, 7, 6
B: 1, 8, 3, 4, 2, 5, 7, 6
C: 1, 3, 4, 2, 8, 5, 6, 7
D: 1, 3, 2, 4, 6, 5, 7, 8
Which three are the valid statements in relation to SQL plan baselines?()
A: The plans can be manually loaded to the SQL plan baseline.
B: The plans in the SQL plan baseline are verified and accepted plans.
C: The plans generated for every SQL statement are stored in the SQL plan baseline by default. 
D: The plan baselines are stored temporarily in the memory as long as the database instance is running.
E: For the SQL plan baselines to be accessible to the optimizer, the SYSAUX tablespace must be online.