出自:Oracle认证

Observe the information in the columns:  1: The SGA     a. Text and parsed forms of all SQL statements  2: The cursor state   b. Run-time memory values for the SQL statement, such as rows retrieved  3: User-session data   c. Security and resource usage information  4:The stack space   d. Local variables for the process  Which option has the correct match between the memory areas and their contents()
A:1-c,2-b,3-d,4-a
B:1-c,2-b,3-c,4-a
C:1-a,2-b,3-c,4-d
D:1-a,2-b,3-d,4-c
View Exhibit1 and Exhibit2 to examine the current memory allocation and parameter settings,respectively. Why are advisors not available for the shared pool and the buffer cache( )
A:because the DB_CACHE_ADVICE parameter is set to OFF
B:because Automatic Memory Management (AMM) is disabled for the database instance
C:because Automatic Shared Memory Management (ASMM) is enabled for the database instance
D:because the values for the DB_CACHE_SIZE and SHARED_POOL_SIZE parameters were not setinitially
Consider the recovery steps in each of the cases given below:  Case 1:  Shut down the database and perform a backup.  Restore all the data files.  Mount the database.  Recover the database.  Without applying all the redo log files, open the database using the RESETLOGS option.  Back up the database.  Case 2:  Shut down the database and perform a backup.  Restore only the data files of the tablespace where user error damaged the data.  Mount the database.  Recover the database.  Open the database with the RESETLOGS option.  Back up the database.  Case 3: Shut down the database  Restore the data files  Open the database  Perform recovery to the current point in time.  Which case has the correct steps for an incomplete recovery?()
A:only case 1
B:only case 2
C:only case 3
D:case 1 and 2
E:case 2 and 3
F:case 1 and 3
G:all cases: case 1, case 2 and case 3
Click the Exhibit button. Given: ClassA a = new ClassA( ); a.methodA( ); What is the result? ()
A:Compilation fails.
B:ClassC is displayed.
C:The code runs with no output.
D:An exception is thrown at runtime.
Examine the structure of the EMPLOYEES table: EMPLOYEE_ID NUMBER Primary Key FIRST_NAME VARCHAR2(25) LAST_NAME VARCHAR2(25) HIRE_DATE DATE Which INSERT statement is valid? ()
A:INSERT INTO employees (employee_id, first_name, last_name, hire_date) VALUES (1000, 'John', 'smith','01/01/01);
B:INSERT INTO employees(employee_id, first_name, last_name, hire_date) VALUES (1000, 'John', 'smith','01 january 01');
C:INSERT INTO employees(employee_id, first_name, last_name, Hire_date) VALUES (1000, 'John', 'smith', To_ date ('01/01/01));
D:INSERT INTO employees(employee_id, first_name, last_name, hire_date) VALUES (1000, 'John', 'smith','01-Jan-01');
Which canvas built-in display the given canvas in front of any stacked canvases?()
A:HIDE_VIEW 
B:SHOW_VIEW 
C:SET_CANVAS_PROPERTY 
D:REPLACE_CONTENT_VIEW
Examine the following command: CREATE TABLE (prod_id number(4), Prod_name varchar2 (20), Category_id number(30), Quantity_on_hand number (3) INVISIBLE); Which three statements are true about using an invisible column in the PRODUCTS table?()
A:The %ROWTYPE attribute declarations in PL/SQL to access a row will not display the invisible column in the output.
B:The DESCRIBE commands in SQL *Plus will not display the invisible column in the output.
C:Referential integrity constraint cannot be set on the invisible column.
D:The invisible column cannot be made visible and can only be marked as unused.
E:A primary key constraint can be added on the invisible column.
You are working on a CATDB database that contains an Oracle Database version 11.1 catalog schema owned by the user RCO11. The INST1 database contains an Oracle Database version 10.1 catalog schema owned by the user RCAT10.  You want the RMAN to import metadata for database IDs 1423241 and 1423242, registered in RCAT10, into the recovery catalog owned by RCO11. You executed the following commands: RMAN> CONNECT CATALOG rco11/password@catdb  RMAN> IMPORT CATALOG rcat10/oracle@inst1 NO UNREGISTER;   Which two statements are true regarding the tasks accomplished with these commands?()
A: They import all metadata from the RCAT10 catalog.
B: They unregister the database from the RCAT10 catalog.
C: They do not register the databases registered in the RCAT10 catalog.
D: They register all databases registered in the RCAT10 catalog.
You are managing a 24*7 database. The backup strategy for the database is to perform user-managed backups. Identify two prerequisites to perform the backups.() 
A: The database must be opened in restricted mode.
B: The database must be configured to run in ARCHIVELOG mode.
C: The tablespaces are required to be in backup mode before taking the backup.
D: The tablespaces are required to be in read-only mode before taking the backup
You have enabled backup optimization in RMAN. You issue the following RMAN command to configure a redundancy-based retention policy:   CONFIGURE RETENTION POLICY TO REDUNDANCY 3;   Which statement is true?()  
A: The command fails because you cannot configure a redundancy-based retention policy when backup  optimization is enabled
B: Backup optimization is performed, but RMAN considers the redundancy-based retention policy when it determines which datafiles should be backed up
C: Backup optimization is permanently disabled
D: Backup optimization is temporarily disabled because a redundancy-based retention policy is specified
Which two PL/SQL8 features are supported in Oracle Forms?()
A:methods 
B:object tables 
C:object columns 
D:collection types 
E:object as stored procedure parameters
当需要重建某个索引ix_customername,可以使用()方式。
A:ALTER INDEX ix_customername REBUILD
B:ALTER INDEX ix_customername BUILD
C:UPDATE INDEX ix_customername BUILD
D:UPDATE INDEX ix_customername REBUILD
You enable block change tracking. You issue the following command: BACKUP INCREMENTAL LEVEL 0 DATABASE; The next day, you issue the following command: BACKUP INCREMENTAL LEVEL 1 CUMULATIVE DATABASE; Which statement about the use of the change tracking file is true?()
A:RMAN reads the block change tracking file only when it performs the incremental level 0 backup.
B:RMAN reads the block change tracking file when it performs both incremental backups.
C:RMAN reads the block change tracking file only when it performs the incremental level 1 backup.
D:RMAN does not read the block change tracking file when it performs either incremental backup.
Data files of which three tablespaces can be recovered by performing an open recovery?()
A:TEMP
B:UNDO
C:INDEX
D:SYSAUX
E:SYSTEM
The ORDERS table in the database of a company contains one million records. The table is stored in the DATA tablespace and the index created on the ORDERS table is stored in the index tablespace named INDEXES. On Monday, you failed to start the database because the datafiles of the INDEXES tablespace were missing. You dropped and recreated the INDEXES tablespace by issuing the following command:    SQL>DROP TABLESPACE INDEXES INCLUDING CONTENTS;    SQL> CREATE TABLESPACE INDEXES DATAFILE   ’C:///ORACLE/ORADATA/ORA101t/INDEX01.DBF’ SIZE 50m;   After that, you issued the following command to recreate the index:    CREATE UNIQUE INDEX sales_index_pk ON sales (order_id)   PCTFREE 10   INITRANS 2   MAXTRANS 255   TABLESPACE indexes   STORAGE (   INITIAL 1m  NEXT 1m   PCTINCREASE 0   MINEXTENTS 1   MAXEXTENTS 8192  )   NOLOGGING   PARALLEL( degree 4)   Which two clauses are responsible for reducing the time for the recreation of the index?()
A: PCTFREE
B: MAXTRANS
C: PCTINCREASE
D: INITIAL
E: NOLOGGING
F: PARALLEL
Which three statements regarding the server parameter file (SPFILE) are true()
A:An SPFILE is a binary file.
B:An SPFILE cannot reside on a client.
C:An SPFILE cannot contain static parameters.
D:An SPFILE can store changes persistently across instance restarts.
E:An SPFILE can be read by the database server, but it is not written to by the server.
F:An SPFILE must be created manually, before creating a database, even if you use the DatabaseConfiguration Assistant (DBCA) to create the database.
You executed the following procedure to collect statistics regarding an index:       SQL>ANALYZE INDEX EMP_ID VALIDATE STRUCTURE;   Which view will you use to determine whether you need to rebuild the index or not?() 
A: INDEX_STATS
B: DBA_INDEXES
C: DBA_IND_COLUMNS
D: V$OBJECT_USAGE
Which two are attributes of iSQL*Plus? ()
A:iSQL*Plus commands cannot be abbreviated.
B:iSQL*Plus commands are accessed from a browser.
C:iSQL*Plus commands are used to manipulate data in tables.
D:iSQL*Plus commands manipulate table definitions in the database.
E:iSQL*Plus is the Oracle proprietary interface for executing SQL statements.
For which database operation would you need the database to be in the MOUNT state()
A:renaming the control files
B:re-creating the control files
C:dropping a user in your database
D:dropping a tablespace in your database
E:configuring the database instance to operate in the ARCHIVELOG or NOARCHIVELOG modes
You are maintaining your database in Oracle10g. You find that the number of languages that should be supported in your database has increased. The character set of your database is UTF8. You decide to migrate your database to the AL16UTF16 national character set.   How will you migrate your database from UTF8 to AL16UTF16?()  
A: by using the RMAN utility
B: by using the export/import utility
C: by using the ALTER DATABASE command
D: by enabling the change tracking feature
You executed the following command to start the database:  SQL> STARTUP  ORACLE instance started.  Total System Global Area 281018368 bytes  Fixed Size 789000 bytes  Variable Size 229635576 bytes  Database Buffers 50331648 bytes  Redo Buffers 262144 bytes ORA-00205: error in identifying controlfile, check alert log for more info  Which view would you query at this stage to investigate this missing control file?()
A:V$INSTANCE
B:V$CONTROLFILE
C:DBA_CONTROL_FILES
D:V$DATABASE_PROPERTIES
E:V$CONTROLFILE_RECORD_SECTION
Examine the structure of the EMPLOYEES table: EMPLOYEE_ID NUMBER NOT NULL EMP_NAME VARCHAR2(30) JOB_ID VARCHAR2(20) SAL NUMBER MGR_ID NUMBER DEPARTMENT_ID NUMBER You want to create a SQL script file that contains an INSERT statement. When the script is run, the INSERT statement should insert a row with the specified values into the EMPLOYEES table. The INSERT statement should pass values to the table columns as specified below: EMPLOYEE_ID: Next value from the sequence EMP_ID_SEQ EMP_NAME and JOB_ID: As specified by the user during run time, throughsubstitution variables SAL: 2000 MGR_ID: No value DEPARTMENT_ID: Supplied by the user during run time through substitution variable. The INSERT statement should fail if the user supplies a value other than 20 or 50. Which INSERT statement meets the above requirements?()
A:INSERT INTO employees VALUES (emp_id_seq.NEXTVAL, '&ename', '&jobid', 2000, NULL, &did);
B:INSERT INTO employees VALUES (emp_id_seq.NEXTVAL, '&ename', '&jobid', 2000, NULL, &did IN (20,50));
C:INSERT INTO (SELECT * FROM employees WHERE department_id IN (20,50)) VALUES (emp_id_seq.NEXTVAL, '&ename', '&jobid', 2000, NULL, &did);
D:INSERT INTO (SELECT * FROM employees WHERE department_id IN (20,50) WITH CHECK OPTION) VALUES (emp_id_seq.NEXTVAL, '&ename', '&jobid', 2000, NULL, &did);
E:INSERT INTO (SELECT * FROM employees WHERE (department_id = 20 AND department_id = 50) WITH CHECK OPTION ) VALUES (emp_id_seq.NEXTVAL, '&ename', '&jobid', 2000, NULL, &did);
While querying the EMPLOYEES table, you receive an ORA-01578 message indicating block corruption in File# 1201 and Block# 1968. You analyze the table and the corruption is verified.  Which RMAN command do you use to perform BMR and repair the corrupt block?()  
A: RECOVER FILE=1201 BLOCK=1968
B: RECOVER CORRUPTION LIST
C: RECOVER DATAFILE 1201 BLOCK 1968
D: RECOVER BLOCK CORRUPTION LIST
E: None of the above
The INV_HISTORY table is created using the command: You would like to store the data belonging to the year 2006 in a single partition and issue the command: What would be the outcome of this command? ()
A:It executes successfully, and the transition point is set to '1-apr-2006'.
B:It executes successfully, and the transition point is set to '15-apr-2006'.
C:It produces an error because the partitions specified for merging are not adjacent.
D:It produces an error because the date values specified in the merge do not match the date values stored in the table.
Your SPFILE contains the following parameter settings:   SGA_TARGET = 8G   DB_CACHE_SIZE = 4G   SHARED_POOL_SIZE = 2G   LARGE_POOL_SIZE = 512M   JAVA_POOL_SIZE = 512M   LOG_BUFFER = 100M   SGA_MAX_SIZE = 10G   You query the V$SGA_DYNAMIC_COMPONENTS dynamic performance view and discover that the large pool component is currently sized at 1G. You want the value of the SGA_TARGET initialization parameter to 10G, but instead of specifying a value of 10G for the SGA_TARGET initialization parameter, you erroneously execute the following statement:   SQL>ALTER SYSTEM SET SGA_TARGET = 0 SCOPE = BOTH;   What is the result of this statement?()  
A: The database crashes.
B: The large pool releases 512M of memory.
C: The large pool retains 1G of allocated memory.
D: The large pool increases to 1,512M of memory.
Which statement will NOT create a tablespace?()
A: CREATE TABLESPACE DATA1 DATAFILE ’+grp1/abc(datafile)’;
B: CREATE TABLESPACE DATA1 DATAFILE ’+grp1’;
C: CREATE TABLESPACE DATA1 DATAFILE ’+data1(tempfile)’;
D: CREATE TABLESPACE DATA1 DATAFILE ’+grp1.256.34359’;
You want to disable resumable space allocation for all sessions.Which value should be assigned to the RESUMABLE_TIMEOUT parameter to disable resumable space allocation for all sessions?()
A:0
B:10
C:100
D:NULL
Which background process does Automatic Shared Memory Management use to coordinate the sizing of memory components?()
A:PMON
B:SMON
C:MMNL
D:MMAN
E:MMON
Observe the following warning in an RMAN session of your database instance: WARNING: new failures were found since last LIST FAILURE command Which statement describes the scenario that must have produced this warning?()
A:The CHANGE FAILURE command has detected new failures recorded in the Automatic Diagnostic Repository(ADR)
B:The VALIDATE DATABASE command has detected new failures recorded in the Automatic Diagnostic Repository (ADR)
C:The ADVISE FAILURE command has detected new failures recorded in the Automatic Diagnostic Repository (ADR) since the last LIST FAILURE
D:The RECOVER command has detected new failures recorded in the Automatic Diagnostic Repository (ADR) since the last LIST FAILURE command was executed
下列哪一项可以正确地引用该记录变量中的一个值?()
A:rec_abc(1)
B:rec_abc(1).col
C:rec_abc.col
D:rec_abc.first()