Top Banner
Exam : 1Z0-040 Title : Oracle Database 10g: New Features for Administrators Ver : 03-27-07
114
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Exam

Exam : 1Z0-040 Title : Oracle Database 10g: New Features for Administrators Ver : 03-27-07

Page 2: Exam

1Z0-040

Actualtests.com - The Power of Knowing

QUESTION 1: Which three methods can you use to run an Automatic Database Diagnostic Monitor (ADDM) analysis over a specific time period? (Choose three.) A. Enterprise Manager GUI B. DBMS_TRACE package APIs C. DBMS_ADVISOR package APIs D. DBMS_MONITOR package APIs E. $ORACLE_HOME/rdbms/admin/addmrpt.sql script Answer: A, C, E Explanation: ----------------- To make use of ADDM, a PL/SQL interface called DBMS_ADVISOR has been implemented. This PL/SQL interface may be called through the supplied $ORACLE_HOME/rdbms/admin/addmrpt.sql script, called directly, or used in combination with the Oracle Enterprise Manager application. Besides this PL/SQL package a number of views (with names starting with the DBA_ADVISOR_ prefix) allow retrieval of the results of any actions performed with the DBMS_ADVISOR API. The preferred way of accessing ADDM is through the Enterprise Manager interface, as it shows a complete performance overview including recommendations on how to solve bottlenecks on a single screen. When accessing ADDM manually, you should consider using the ADDMRPT.SQL script provided with your Oracle release, as it hides the complexities involved in accessing the DBMS_ADVISOR package.

QUESTION 2: 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 Answer: D The Automatic Shared Memory Management feature uses a new background process named Memory Manager (MMAN). MMAN serves as the SGA Memory Broker and coordinates the sizing of the memory components. The SGA Memory Broker keeps track of the sizes of the components and pending resize operations REF.: Metalink Note:268197.1: New Background Processes In 10g

BabULaL
Highlight
BabULaL
Highlight
Page 3: Exam

1Z0-040

Actualtests.com - The Power of Knowing

QUESTION 3: Which six files are maintained in the Flash Recovery Area? (Choose six.) A. control file B. RMAN files C. password file D. parameter file E. flashback logs F. data file copies G. core dump files H. archived log files I. RMAN recovery scripts J. control file autobackpus Answer: A, B, E, F, H, J The Flash Recovery Area is a unified storage location for all recovery-related files and activities in an Oracle Database. It includes Control File, Archived Log Files, Flashback Logs, Control File Autobackups, Data Files, and RMAN files.

QUESTION 4: 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. The command drops the file +tdgroupA.231.45678 B. The command physically relocates the file to +tdgroupA/data and renames the file to datafile.dbf. C. The command creates a copy of the +tdgroupA.231.45678 file and places it in +tdgroupA/data after remaining the file to datafile.dbf. D. The command creates a synonym, datafile.dbf, and places it in +tdgroupA/data and does not remove the +tdgroupA.231.45678 file. E. The command creates a file, datafile.dbf, in +tdgroupA/ data and removes the references for +tdgroupA.231.45678 from the data dictionary views. Answer: D Alias names (or just "aliases") are intended to provide a more user-friendly means of referring to ASM files, rather than using the system-generated filenames. You can create an alias for a file when you create it in the database, or you can add an alias to an existing

BabULaL
Highlight
BabULaL
Highlight
Page 4: Exam

1Z0-040

Actualtests.com - The Power of Knowing

file using the ADD ALIAS clause of the ALTER DISKGROUP statement. You can create an alias in any system-generated or user-created ASM directory. You cannot create an alias at the root level (+), however. The following statement adds a new alias name for a system-generated file name: ALTER DISKGROUP dgroup1 ADD ALIAS '+dgroup1/mydir/second.dbf' FOR '+dgroup1/sample/datafile/mytable.342.3'; REF.: Oracle(r) 10g Administrator Guide, 12-28

QUESTION 5: Exhibit

One the evening of April 22, you are working on a database created using Oracle Database 10g. This database operates in the ARCHIVELOG mode. You discover that you need crucial data that was dropped from the database at 8:00 a.m. No full backup has been taken after April 15. What would you do? A. recover the database until April 10 B. recover the database until April 15 C. recover the database until 22 7:59 a.m. D. recovery is not possible; manually re-create the object Answer: C RMAN simplifies recovery operations using backups taken from earlier database incarnation so that it is easy as recovering a backup from the same incarnation. The simplified recovery through RESETLOGS feature is an enhancement to recovery operations so that previous incarnation backups can be used for recovery of the current database incarnation. You use this feature when you have performed an incomplete recovery (or a recovery using a backup control file) and opened the database with the RESETLOGS option. To perform incomplete recovery, use the SET UNTIL command to specify the time, SCN, restore point, or log sequence number at which recovery terminates. Alternatively, specify the UNTIL clause on the RESTORE and RECOVER commands. REF.: Oracle(r) Database 10g: New features for Oracle 8i, 18-21 and Oracle(r) 10g Backup and Recovery Basics, 3-4

QUESTION 6:

BabULaL
Highlight
Page 5: Exam

1Z0-040

Actualtests.com - The Power of Knowing

You are unable to move the Unified Job Scheduler occupant from the SYSAUX tablespace to the USERS tablespace. What could be the reason? A. None of the SYSAUX occupants can be relocated. B. The USERS tablespace is a bigfile tablespace (BFT). C. The united Job Scheduler occupant cannot be relocated. D. The SYSAUX occupants can be relocated to the SYSTEM tablespace only. Answer: C A - Not true. Same off the occupants can be move B - Not true. The USERS occupant , isn't , by default a BFT tablespace, and even tought, you should be able to move anything to a BFT tablespace. The point it's about to move, SYSAUX occupant. C - True answer, as you con check , by the following query : SELECT occupant_name, move_procedure, FROM v$sysaux_occupants; OCCUPANT_NAME MOVE_PROCEDURE -------------- --------------------------------- AO DBMS_AW.MOVE_AWMETA EM emd_maintenance.move_em_tblspc JOB_SCHEDULER *** MOVE PROCEDURE NOT APPLICABLE ** LOGMNR SYS.DBMS_LOGMNR_D.SET_TABLESPACE LOGSTDBY SYS.DBMS_LOGSTDBY.SET_TABLESPACE ODM MOVE_ODM ORDIM *** MOVE PROCEDURE NOT APPLICABLE *** ORDIM/PLUGINS *** MOVE PROCEDURE NOT APPLICABLE *** ORDIM/SQLMM *** MOVE PROCEDURE NOT APPLICABLE *** SDO MDSYS.MOVE_SDO STATSPACK Use export/import (see export parameter file spuexp.par) STREAMS TEXT DRI_MOVE_CTXSYS ULTRASEARCH MOVE_WK WM DBMS_WM.move_proc D - Not true. Can move SYSAUX occupants, whem is possible, to any tablespace that you want. REF.: Metalink Note: 243246.1: 10G : SYSAUX Tablespace

QUESTION 7: You enabled block change tracking for faster incremental backups in your database. Which background process writes to the change tracking file? A. RBAL B. CKPT C. SMON

BabULaL
Highlight
Page 6: Exam

1Z0-040

Actualtests.com - The Power of Knowing

D. PMON E. MMON F. CTWR G. DBWR Answer: F CTWR : This is a new process Change Tracking Writer (CTWR) which works with the new block changed tracking features in 10g for fast RMAN incremental backups. REF.: Metalink Note:268197.1: New Background Processes In 10g

QUESTION 8: You want to enforce a company's business policy on several objects by using a single policy function. Which two types of policies can be assigned to the policy_type argument in the dbms_rls.add_policy procedure to achieve the above objective? (Choose two.) A. DBMS_RLS.STATIC B. DBMS_RLS.DYNAMIC C. DBMS_RLS.SHARED_STATIC D. DBMS_RLS.CONTEXT_SENSITIVE E. DBMS_RLS.SHARED_CONTEXT_SENSITIVE Answer: C, E DBMS_RLS. SHARED_STATIC The policy function executes once, Once, then the predicate is cached in the SGA, and it's Shared Across Multiple Objects, like Hosting environments, such as data warehouses where the same predicate must be applied to multiple database objects DBMS_RLS. SHARED_CONTEXT_SENSITIVE The policy function executes f irst time and the object is reference in a database session Predicates are cached in the private session memory UGA so policy functions can be shared among objects. REF.: Oracle(r) Database Security Guide 10g Release 2 (10.2) - p 15-30

QUESTION 9: The Automatic Database Diagnostic Monitor (ADDM) analysis runs every 60 minutes on your database. Your database if facing a series of interrelated problems over a period of two hours. You need to ensure that the ADDM analysis is run over a time span of two hours in future. What would you do? A. Create two custom ADDM tasks. B. Modify the AWR snapshot time interval to two hours. C. Create a new scheduler window for a time period of two hours. D. Modify the time interval by using the DBMS_JOB.INTERVAL procedure.

BabULaL
Highlight
BabULaL
Highlight
Page 7: Exam

1Z0-040

Actualtests.com - The Power of Knowing

E. Modify the Automatic Workload Repository (AWR) snapshot retention period to two hours. Answer: B The Automatic Database Diagnostic Monitor (ADDM) provides a holistic tuning solution. ADDM analysis can be performed over any time period defined by a pair of AWR snapshots taken on a particular instance. Analysis is performed top down, first identifying symptoms and then refining them to reach the root causes of performance problems. The goal of the analysis is to reduce a single throughput metric called DB time. DB time is the cumulative time spent by the database server in processing user requests. It includes wait time and CPU time of all non-idle user sessions. DB time is displayed in the V$SESS_TIME_MODEL and V$SYS_TIME_MODEL views. REF.: Oracle(r) 10g Performance Guide, 6-12

QUESTION 10: The database is currently running in the NOARCHIVELOG mode. What would be the first step to configure Flashback Database? A. Enable flashback logging. B. Start the database in the ARCHIVELOG mode. C. Issue the ALTER DATABASE FLASHBACK ON; command. D. Set the FAST_START_MTTR_TARGET initialization parameter. Answer: B

QUESTION 11: Consider the following command to add a new disk group called "tdgroupA" with two failover groups: CREATE DISKGROUP tdgrouopA NORMAD REDUNDANCY FAILOVERGROUP control01 DISK '/devices/A1', '/devices/A2', '/devices/A3' FAILOVERGROUP control02 DISK '/devices/B1', '/devices/B2', '/devices/B3'; The disk "/devices/A1" is currently a member disk of a disk group by name "tdgroup1" Which task would be accomplished by the command? A. The command would result in an error because a disk group can have only one failover group.

BabULaL
Highlight
BabULaL
Highlight
Page 8: Exam

1Z0-040

Actualtests.com - The Power of Knowing

B. This command would result in an error because /devices/A1 disk is a member of another disk group tdgroup1. C. A new disk group called tdgroupA will be added with two fialover groups and the /devices/A1 disk will get reattached to the new disk group without being detached from the existing one. D. A new disk group called tdgroupA will be added with two failover groups and the /devices/A1 disk will be ignored for the new disk group because it is a member of an existing disk group tdgroup1. E. A new disk group called tdgroupA will be added with two failover groups and the /devices/A1 disk gets detached from the existing disk group tdgroup1 and attached to the new disk group tdgroupA disk group. Answer: B You use the ADD clause of the ALTER DISKGROUP statement to add disks to a disk group, or to add a failure group to the disk group. The ALTER DISKGROUP clauses that you can use when adding disks to a disk group are similar to those that can be used when specifying the disks to be included when initially creating a disk group. Because no FAILGROUP clauses are included in the ALTER DISKGROUP statement, each disk is assigned to its own failure group. The NAME clauses assign names to the disks, otherwise they would have been assigned system-generated names. Therefore, the following statement would fail because /devices/diskA1 already belong to tdgroup1. REF.: Oracle(r) 10g Administrator Guide , 12-21

QUESTION 12: Exhibit

You have created the following auditing policy: BEGIN

BabULaL
Highlight
Page 9: Exam

1Z0-040

Actualtests.com - The Power of Knowing

dmbs_fga.add_policy ( object_schema => 'DNX', object_name => 'CUSTOMERS' policy_name => 'policy_acc_principal', audit_condition =>NULL, audit_column => 'ACCOUNT_ID, AMOUNT', audit_column_opts => DBMS_FGA.ALL_COLUMNS, audit_trail => DBMS_FGA.DB_EXTENDED, statement_types => 'INSERT, UPDATE'); END; Which statement is true about the fine-grained auditing implemented by this policy? A. An audit record is created for all INSERT and UPDATE statements on either the ACCOUNT_ID or AMOUNT columns. B. An audit record is created for all INSERT and UPDATE statements on both the ACCOUNT_ID or AMOUNT columns. C. An audit record is created for all INSERT and UPDATE statements and the UPDATE statement on the AMOUNT column. D. An audit record is created for all INSERT and UPDATE statements when the ACCOUNT_ID or the AMOUNT column contains a NULL value. Answer: B Not A: DBMS_FGA.ALL_COLUMNS imply that the operation must be on BOTH account_id AND amount. Thus, options A and B are wrong! An option is provided to audit based on whether ANY or ALL of the relevant columns are used in the statement: audit_column_opts => DBMS_FGA.ALL_COLUMNS / DBMS_FGA.ANY_COLUMNS Audit trail writes the SQL text and SQL bind information to LOBs. Pp 17-14

QUESTION 13: You need to ensure that the database users should be able to use the various flashback query features in order to go back in time by four hours. What should you do? (Choose two.) A. set SQL_TRACE=true B. set UNDO_RETENTION=14400 C. set FAST_START_MTTR_TARGET=240 D. set LOG_CHECKPOINT_INTERVAL=240 E. set DB_FLASHBACK_RETENTION_TARGET=14400 F. issue ALTER DATABASE FLASHBACK ON; command G. set the RETENTION GUARANTEE clause for the undo tablespace Answer: B, G

BabULaL
Highlight
BabULaL
Highlight
Page 10: Exam

1Z0-040

Actualtests.com - The Power of Knowing

Flashback Table, Flashback Query, Flashback Transaction Query and Flashback Version Query all rely on undo data, records of the effects of each update to an Oracle database and values overwritten in the update. Creating a guaranteed restore point at a particular SCN enforces the requirement that you can perform a Flashback Database operation to return your database to its state at that SCN, even if flashback logging is not enabled for your database. REF.: Backup and Recovery Basics - p1-12 and 5-4

QUESTION 14: Which statement regarding the COMPATIBLE parameter is correct? A. It is a dynamic parameter. B. It is an advanced parameter. C. It is a new parameter in Oracle 10g. D. It can have any value between8.0.0 and 10.1.0 in Oracle 10g database. E. After it is set to 10.0.0 or greater and the database is opened, it cannot be set back. Answer: E The default value for the COMPATIBLE parameter is the release number of the most recent major release, in Oracle 10G R2 , the default value is 10.2.0. The minimum value is 9.2.0. If you create an Oracle Database using the default value, you can immediately use all the new features in this release, and you can never downgrade the database. REF.: Oracle(r) 10g Administrator Guide , 2-34

QUESTION 15: You are using Recovery Manager (RMAN) to perform backups. In which three situations would you perform a compressed backup? (Choose three.) A. Your database includes a large number of BFILEs. B. You are making image copies, and you have not enabled tablespace compression. C. You are backing up to tape and your tape device performs its won compression. D. You are using disk-based backups and disk space in your Flash Recovery Area, or other disk-based backup destinations are limited. E. You are performing your backups to some device over a network where reduced network bandwidth is more important than CPU usage. F. You are using some archival backup media, such as CD or DVD, where reducing backup sizes saves media costs and archival storage. Answer: D, E, F D - If you are using disk-based backups and disk space in your flash recovery area or other disk-based backup destination is limited E - If you are performing your backups to some device over a network and reduced network bandwidth is more important than CPU usage F - If you are using some archival backup media such as CD or DVD, where reducing

BabULaL
Highlight
BabULaL
Highlight
Page 11: Exam

1Z0-040

Actualtests.com - The Power of Knowing

backup sizes saves on media costs and archival storage REF.: Backup and Recovery Basics - p4-6

QUESTION 16: You plant to create a database 'PROD' using the Database Configuration Assistant (DBCA). Which two tasks can you automate while created the database using the DBCA? (Choose two.) A. database backups B. user quota increment C. tablespace defragmentation D. gathering optimizer statistics E. data export using Data Pump F. data export using conventional export Answer: A, D On the DBCA Operations window, select Create a Database to start a wizard that enables you to create and configure a database. The wizard requests your input on the following: * Database Templates * Database Identification * Management Options ( enable backup and * Database Credentials * Storage Options * Database File Locations * Recovery Configuration * Database Content * Initialization Parameters * Database Storage * Database Creation Options REF.: Oracle(r) 10g 2 Days DBA , p 2-7

QUESTION 17: Which two dynamic performance views would you query to determine the endian format of your platform? (Choose two.) A. V$DATABASE B. V$INSTANCE C. V$PLATFORM D. V$TABLESPACE E. V$CONTROLFILE F. V$TRANSPORTABLE_PLATFORM Answer: A, F

BabULaL
Highlight
BabULaL
Highlight
Page 12: Exam

1Z0-040

Actualtests.com - The Power of Knowing

SQL>SELECT d.PLATFORM_NAME, ENDIAN_FORMAT FROM V$TRANSPORTABLE_PLATFORM tp, V$DATABASE d WHERE tp.PLATFORM_NAME=d.PLATFORM_NAME; PLATFORM_NAME ENDIAN_FORMAT ------------------------------------------- -------------- Linux 64-bit for AMD Little

QUESTION 18: Which three statements regarding the Policy Framework in Enterprise Manager (EM) are correct? (Choose three.) A. Policies are evaluated automatically by Enterprise Manager. B. Policy violations are prioritized as High, Medium, or Informational by category. C. Policies can be disabled completely, or flagged as ignored, for the specified target. D. Policies are evaluated based on configuration and metrics collected in Policy Repository. E. Policies can be flagged as ignored, but never completely disabled, for the specific target. F. Policy violations must be corrected, otherwise the database will shut down until corrective action occurs. Answer: A, B, C The Oracle Management Agent on a host collects host configuration information for the host and database configuration information for the Oracle databases on the host and communicates that information over HTTPS to the Oracle Management Service, which stores it in the Oracle Management Repository.You can use Enterprise Manager to see whether targets in your enterprise configuration (such as hosts, databases, and listeners) are following the policies for those target types. The policies include different categories of policy rules, such as configuration, security, and storage rules. The policy rules are given different priorities, including High, Medium, and Informational. Enterprise Manager compares the targets for which policy rules exist with the policy rules for that target type, and identifies the policy violations for the target.You can examine the policy violations for one or more targets and choose to fix or ignore individual violations. For more information about managing violations, see Managing Policy Violations. You can also disable one or more policy rules for a target type. When a policy rule for a target type is disabled, targets of that type are no longer evaluated to see if they comply with the rule.

QUESTION 19: You want to retain the job entries for the last five days and purge all job entries from the job log that are older than five days. Select the command that will enable you to do the job. A. EXECUTE DBMS_SCHEDULER.PURGE_LOG ( log_history => 5, which_log =>

BabULaL
Highlight
Page 13: Exam

1Z0-040

Actualtests.com - The Power of Knowing

'JOB_LOG'); B. EXECUTE DBMS_SCHEDULER.PURGE_LOG(); C. EXECUTE DBMS_SCHEDULER.PURGE_LOG ( log_history => 5, job_name => 'JOB_LOG'); D. EXECUTE DBMS_SCHEDULER.PURGE_LOG ( log_history => 5,which_log => 'WINDOW_LOG'); Answer: A Purging Logs Manually The PURGE_LOG procedure enables you to manually purge logs. As an example, the following statement purges all entries from both the job and window logs: DBMS_SCHEDULER.PURGE_LOG(); Another example is the following, which purges all entries from the jog log that are older than three days. The window log is not affected by this statement. DBMS_SCHEDULER.PURGE_LOG(log_history =>3, which_log => 'JOB_LOG'); (A) The following statement purges all window log entries older than 10 days and all job log entries older than 10 days that relate to job1 and to the jobs in class2: DBMS_SCHEDULER.PURGE_LOG(log_history => 10, job_name => 'job1, sys.class2'); REF.: Oracle(r) 10g Administrator Guide , 28-14

QUESTION 20: Which three actions are required to configure the Flashback Database? (Choose three.) A. set Flash Recovery Area B. enable Flashback logging C. create FLASHBACK tablespace D. create a user called flashoper E. start the database in the ARCHIVELOG mode F. start the database in the NOARCHIVELOG mode Answer: A, B, E The requirements for enabling Flashback Database are: * Your database must be running in ARCHIVELOG mode, because archived logs are used in the Flashback Database operation. * You must have a flash recovery area enabled, because flashback logs can only be stored in the flash recovery area. * Enable flashback loging . To enable logging for Flashback Database, set the DB_FLASHBACK_RETENTION_ TARGET initialization parameter and issue the ALTER DATABASE FLASHBACK ON statement. REF.: Oracle(r) 10g Backup and Recovery Basics, 5-2 and 5-

BabULaL
Highlight
BabULaL
Highlight
Page 14: Exam

1Z0-040

Actualtests.com - The Power of Knowing

QUESTION 21: Which four statements regarding the Clone Database tool are correct? (Choose four.) A. It clones Oracle databases from release 8.1.7 or later. B. It clones a source database while the database is in NOMOUNT state. C. It clones a source database while the database is in MOUNT state. D. It clones an Oracle database by using Recovery Manager (RMAN). E. It clones a source database at the specified Oracle home and starts the new database instance in the open mode. F. It clones a source database and makes the new database instance consistent with the source database up to the backup time of archived log. Answer: A, C, D, F Note: The question is wrong. There isn't a "CLONE DATABASE tool". There are only DBCA and RMAN tools to clone a database. Explanation: Observation: If we want to clone a database using the DBCA, first we create a database template; after that doesn't matter if the database source is in NOMOUNT or MOUNT state. Cloning Databases Using DBCA The "Template Management" section of the Database Configuration Assistant (DBCA) can be used to clone databases. The following method creates a clone of and existing database including both the structure and the data: 1. Start the Database Configuration Assistant (DBCA). 2. On the "Welcome" screen click the "Next" button. 3. On the "Operations" screen select the "Manage Templates" option and click the "Next" button. 4. On the "Template Management" screen select the "Create a database template" option and select the "From and existing database (structure as well as data)" sub-option then click the "Next" button. 5. On the "Source database" screen select the relevant database instance and click the "Next" button. 6. On the "Template properties" screen enter a suitable name and description for the template, confirm the location for the template files and click the "Next" button. 7. On the "Location of database related files" screen choose either to maintain the file locations or to convert to OFA structure (recommended) and click the "Finish" button. 8. On the "Confirmation" screen click the "OK" button. 9. Wait while the Database Configuration Assistant progress screen gathers information about the source database, backs up the database and creates the template. By default the template files are located in the "$ORACLE_HOME/assistants/dbca/templates" directory.

BabULaL
Highlight
Page 15: Exam

1Z0-040

Actualtests.com - The Power of Knowing

QUESTION 22: The ______ procedure is used to determine which statements are needed to make your materialized view eligible for fast refresh and usable for general rewrite. A. REFRESH B. TUNE_MVIEW C. REGISTER_MVIEW D. EXPLAIN_REWRITE E. REFRESH_DEPENDENT Answer: B The TUNE_MVIEW procedure shows you how to optimize your CREATE MATERIALIZED VIEW statement and to meet other requirements such as materialized view log and rewrite equivalence relationship for fast refresh and general query rewrite. TUNE_MVIEW analyzes and processes the CREATE MATERIALIZED VIEW statement and generates two sets of output results: one for the materialized view implementation and the other for undoing the create materialized view operations REF.: Oracle Performance Guide - SQL Access Advisor 17-35

QUESTION 23: The ______ identifies and helps to resolve performance problems relating to the execution of SQL statements by recommending which indexes, materialized views, or materialized view logs to create, drop, or retain. A. Undo Advisor B. MTTR Advisor C. Memory Advisor D. Segment Advisor E. SQL Tuning Advisor F. SQL Access Advisor Answer: F The SQL Access Advisor helps you achieve your performance goals by recommending the proper set ofmaterialized views, naterialized view logs, and indexes for a given workload . The SQL Access Advisor recommends bitmap, function-based, and B-tree indexes. A bitmap index offers a reduced response time for many types of ad hoc queries and reduced storage requirements compared to other indexing techniques. B-tree indexes are most commonly used in a data warehouse to index unique or near-unique keys. Another component of the SQL Access Advisor also recommends how to optimize materialized views so that they can be fast refreshable and take advantage of general query rewrite. REF.: Oracle Performance Guide - SQL Access Advisor 17-1

BabULaL
Highlight
BabULaL
Highlight
Page 16: Exam

1Z0-040

Actualtests.com - The Power of Knowing

QUESTION 24: You need to create a schedule that will run a job on the second Friday of each month. What should the repeat interval of the schedule be set to? A. FREQ= MONTHLY; BYDAY = 2FRI; B. FREQ= MONTHLY; BYDAY = FRI2; C. FREQ= MONTHLY; BYDAY = -2FRI; D. FREQ= MONTHLY; BYDAY = FRI(2); Answer: A Examples of Calendaring Expressions The following examples illustrate simple repeat intervals. For simplicity, it is assumed that there is no contribution to the evaluation results by the start date. Run every Friday. (All three examples are equivalent.) FREQ= DAILY; BYDAY = FRI; FREQ= WEEKLY; BYDAY = FRI; FREQ= YEARLY; BYDAY = FRI; Run on the second Wednesday of each month. FREQ= MONTHLY; BYDAY = 2WED; REF.: Oracle(r) 10g Administrator Guide , 27-14

QUESTION 25: Which three file types are managed by Data Pump jobs? (Choose three.) A. out files B. log files C. alert files D. SQL files E. error files F. dump files Answer: B, D, F There are three types of files managed by Data Pump jobs: * Dump files to contain the data and metadata that is being moved * Log files to record the messages associated with an operation * SQL files to record the output of a SQLFILE operation. A SQLFILE operation is invoked using the Data Pump Import SQLFILE parameter and results in all of the SQL DDL that Import will be executing based on other parameters, being written to a SQL file. REF.: Oracle(r) Database Utilities, 1-10

QUESTION 26: You want an ASM instance to manage the files of your database. To achieve this

BabULaL
Highlight
BabULaL
Highlight
Page 17: Exam

1Z0-040

Actualtests.com - The Power of Knowing

objective, you specify the following parameters in the parameter file of the database. INSTANCE_TYPE = RDBMS LARGE_POOL_SIZE = 8MB BD_BLOCK_SIZE = 4K LOG_ARCHIVE_DEST = +dgroupA LOG_ARCHIVE_FORMAT = "$ORACLE_SID_%s_%t.%t" DB_CREATE_FILE_DEST = +dgroupA COMPATIBLE = 10.1.0.2.0 CONTROL_FILES = +dgroupA Which parameter would be ignored while starting up the instance? A. DB_BLOCK_SIZE B. CONTROL_FILES C. LARGE_POOL_SIZE D. LOG_ARCHIVE_DEST E. LOG_ARCHIVE_FORMAT F. DB_CREATE_FILE_DEST Answer: E If you want ASM to be the default destination for creating database files, you must specify an incomplete ASM filename in one or more of the following initialization parameters: - DB_CREATE_FILE_DEST - DB_CREATE_ONLINE_LOG_DEST_n - DB_RECOVERY_FILE_DEST - CONTROL_FILES - LOG_ARCHIVE_DEST_n - LOG_ARCHIVE_DEST - STANDBY_ARCHIVE_DEST Some additional initialization parameter considerations: - LOG_ARCHIVE_FORMAT is ignored if a disk group is specified for LOG_ARCHIVE_DEST (for example, LOG_ARCHIVE_DEST = +dgroup1). - DB_BLOCK_SIZE must be one of the standard block sizes (2K, 4K, 8K, 16K or 32K bytes). - LARGE_POOL_SIZE must be set to at least 1 MB. REF.: Oracle(r) 10g Administrator Guide , 12-39

QUESTION 27: Which statement regarding the implementation of shared policy functions is correct? A. The policies need to have the same name. B. The policy type must be DBMS_RLS.DYNAMIC. C. The shared policy function can be enforced on any number of objects. D. The shared policy function cannot be enforced on more than two objects.

BabULaL
Highlight
Page 18: Exam

1Z0-040

Actualtests.com - The Power of Knowing

Answer: C Both static and context-sensitive policies can be shared across multiple database objects, so that queries on another database object can use the same cached predicate. Shared policies enable you to further decrease the overhead of reexecuting policy functions for every query, reducing any performance impact. REF.: Oracle(r) Database Security Guide, xxviii

QUESTION 28: Tom is the DBA of DNX Bank. The users of the banking system are complaining that all debit transactions are taking too long to execute. The details of the application used for this purpose are listed below: Application - Bank_DNX to access banking accounts Module - CUSTLEDGER Action DEBIT_ENTRY Which command should Tom execute in order to gather static for the states problem? A. EXECUTE DBMS_MONITOR.SERV_MOD_ACT_STAT_ENABLE ('BANK_DNX','CUSTLEDGER'); B. EXECUTE DBMS_MONITOR.SERV_MOD_ACT_STAT_ENALBLE ('BANK_DNX'); C. EXECUTE DBMS_MONITOR.SERV_MOD_ACT_STAT_ENABLE ('DEBIT_ENTRY'); D. EXECUTE DBMS_MONITOR.SERV_MOD_ACT_STAT_ENABLE ('BANK_DNX','CLUSTLEDGER','DEBIT_ENTRY'); E. EXECUTE DBMS_MONITOR.SERV_MOD_ACT_STAT_ENABLE ('CLUSTLEDGER','DEBIT_ENTRY'); Answer: D DBMS_MONITOR.SERV_MOD_ACT_STAT_ENABLE Procedure This procedure enables statistic gathering for a given combination of Service Name, MODULE and ACTION. Calling this procedure enables statistic gathering for a hierarchical combination of Service name, MODULE name, and ACTION name on all instances for the same database. Statistics are accessible by means of the V$SERV_MOD_ACT_STATS view. Syntax DBMS_MONITOR.SERV_MOD_ACT_STAT_ENABLE( service_name IN VARCHAR2, module_name N VARCHAR2, action_name IN VARCHAR2 DEFAULT ALL_ACTIONS); Parameters service_name Name of the service for which statistic aggregation is enabled. module_name Name of the MODULE. An additional qualifier for the service. It is a required parameter.

BabULaL
Highlight
BabULaL
Highlight
Page 19: Exam

1Z0-040

Actualtests.com - The Power of Knowing

action_name Name of the ACTION. An additional qualifier for the Service and MODULE name. Omitting the parameter (or supplying ALL_ACTIONS constant) means enabling aggregation for all Actions for a given Server/Module combination. In this case, statistics are aggregated on the module level. REF.: Oracle(r) Database PL/SQL Packages and Types Reference

QUESTION 29: You created a database (using Database Configuration Assistant [DBCA]) by using one of the default templates. The default permanent tablespace for the non-system users, excluding DBSNMP and OUTLN users, will be set to ________. A. USERS B. SYSTEM C. SYSAUX D. EXAMPLE Answer: A USERS This tablespace is used to store permanent user objects and data. Like the TEMP tablespace, every database should have a tablespace for permanent user data that is assigned to users. Otherwise, user objects will be created in the SYSTEM tablespace, which is not good practice. In the preconfigured database, USERS is assigned the default tablespace, and space for all objects created by non-system users comes from this tablespace. For system users, the default permanent tablespace remains SYSTEM. REF.: Oracle(r) 10g 2 Days DBA, 6-7

QUESTION 30: Examine the following command to create an external table from EMPLOYEES and DEPARTMENTS database tables. 1. CREATE TABLE employee_ext 2. (employee_id, first_name, department_name) 3. ORGANIZATION EXTERNAL 4. ( 5. TYPE ORACLE_LOADER 6. DEFAULT DIRECTORY ext_dir 7. LOCATION ('emp1.dmp') 8. ) 9. PARALLEL 10. AS 11. SELECT e.emplyee_id, e.first_name, e.last_name, d.department_name 12. FROM employees e, departments d; Which line of the command would cause an error?

BabULaL
Highlight
Page 20: Exam

1Z0-040

Actualtests.com - The Power of Knowing

A. line 2, because the column names have been specified B. line 7, because file name must have a .dat extension C. line 3, because ORGANIZATION EXTERNAL has been specified D. line 9, because the PARALLEL option cannot be specified with one file name E. line 12, because there is no join defined between EMPLOYEES and DEPARTMENTS table F. line 5, because ORACLE_LOADER is not a valid structure for external table creation with the SELECT statement Answer: F External tables are created using the SQL CREATE TABLE...ORGANIZATION EXTERNAL statement. When you create an external table, you specify the followingattributes: 1. TYPE - specifies the type of external table. The two available types are the ORACLE_LOADER type and the ORACLE_DATAPUMP type. Each type of external table is supported by its own access driver. * The ORACLE_LOADER access driver is the default. It can perform only data loads, and the data must comefrom text datafiles. Loads from external tables to internal tables are done by reading from the external tables' text-only datafiles . * The ORACLE_DATAPUMP access driver can perform both loads and unloads. The data must come from binary dump files. Loads to internal tables from external tables are done by fetching from the binary dump files. Unloads from internal tables to external tables are done by populating the external tables' binary dump files. 2. DEFAULT DIRECTORY - specifies the default location of files that are read or written by external tables. The location is specified with a directory object, not a directory path. 3. ACCESS PARAMETERS - describe the external data source and implements the type of external table that was specified. Each type of external table has its own access driver that provides access parameters unique to that type of external table. 4. LOCATION - specifies the location of the external data. The location is specified as a list of directory objects and filenames. If the directory object is not specified, then the default directory object is used as the file location . REF.: Oracle(r) Database 10g Utilities, 12-2

QUESTION 31: You have three production database, HRDB, FINDB, and ORGDB, that use the ASM instance. At the end of the day, you execute the following command on the ASM instance to shut down: SQL> shutdown immediate; What is the result of executing this command? A. All the instances, including the ASM instance, are shut down in the ABORT mode. B. The ASM instance is shut down, but the other instances are still running. C. The ASM instance is still functional, but the other instances are shut down.

BabULaL
Highlight
BabULaL
Note
Page 21: Exam

1Z0-040

Actualtests.com - The Power of Knowing

D. All the instances, including the ASM instance, are shut down in the IMMEDIATE mode. E. HRBD, FINDB, and ORGDB instances are shut down in the ABORT mode and the ASM instance is shut down in the IMMEDIATE mode. F. HRDB, FINDB, and ORGDB instances are shut down in the NORMAL mode and the ASM instance is shut down. Answer: D (Correct answer according to Pass4Sure Test Engine as well)When a Datapump Export or Import session is launched, a Datapump Job is automatically started. This way, we can: * detach from and reattach to long-running jobs without affecting the job itself. * monitor jobs from multiple locations * stop a job: suspend it temporarily to leave other applications requesting more resources to get them restart it later * kill any Datapump job anytime * see the progress of the import or export operations You can retrieve the job, ownername and state from the following views: SQL> SELECT OWNER_NAME, JOB_NAME, STATE FROM DBA_DATAPUMP_JOBS; OWNER_NAME JOB_NAME STATE ---------------------- ---------------- -------------- SCOTT SCOTTEXP DEFINING SYSTEM SYSEXP EXECUTING SYSTEM SYSIMP STOPPING SYSTEM FULLEXP NOT RUNNING SYSTEM EXPFULL IDLING REF.: Metalink Note: 262557.1

QUESTION 32: Exhibit

Examine the SQL statement used to create the EMP table. You need to shrink the EMP table segment. Which SQL statement would you execute as a prerequisite before you execute the ALTER TABLE emp SHRINK SPACE; command?

BabULaL
Note
A shutdown of the ASM instance cannot proceed as long as all its clients are not stopped as well. In case of ASM SHUTDOWN NORMAL, IMMEDIATE, or TRANSACTIONAL, the ASM instance waits for any in-progress SQL to complete before shutting down the ASM instance. If any database instances are connected to the ASM instance, the SHUTDOWN command returns an “ORA-15097: cannot SHUTDOWN ASM instance with connected RDBMS instance” error and leaves the ASM instance running. It is strongly recommended that you shut down all database instances that use the ASM instance before shutting down the ASM instance. In case of ASM SHUTDOWN ABORT, the ASM instance immediately shuts down without the orderly dismount of disk groups. This causes recovery upon the next startup of ASM. If any database instance is connected to the ASM instance, the database instance aborts. The failure of a database instance does not affect ASM instances. An ASM instance is expected to be always functional on the host.
Page 22: Exam

1Z0-040

Actualtests.com - The Power of Knowing

A. ALTER TABLESPACE emp OFFLINE; B. ALTER TABLESPACE emp READ ONLY; C. ALTER TABLE emp DEALLOCATE UNUSED; D. ALTER TABLE emp ENABLE ROW MOVEMENT; E. ALTER TABLE emp DISABLE ALL TRIGGERS; F ALTER TABLE emp ENABLE NOVALIDATE CONSTRAINT emp_last_name_nn; Answer: D Segment shrink reclaims unused space both above and below the high water mark. In contrast, space deallocation reclaims unused space only above the high water mark. In shrink operations, by default, the database compacts the segment, adjusts the high water mark, and releases the reclaimed space. Segment shrink requires that rows be moved to new locations. Therefore, you must first enable row movement in the object you want to shrink and disable any rowid-based triggers defined on the object. REF.: Oracle(r) 10g Administrator Guide , 14-48

QUESTION 33: While exporting data by using Data Pump, you find that the export runs for long period. Because this action is being performed during peak hours, you decide to stop the job and restart it during off-peak hours. Which view would you query to determine the name and status of the stopped job? A. DBA_JOBS B. V$SESSION C. V$SESSION_LONGOPS D. DBA_DATAPUMP_JOBS E. DBA_DATAPUMP_SESSIONS Answer: D When a Datapump Export or Import session is launched, a Datapump Job is automatically started. This way, we can: * detach from and reattach to long-running jobs without affecting the job itself. * monitor jobs from multiple locations * stop a job: suspend it temporarily to leave other applications requesting more resources to get them restart itlater * kill any Datapump job anytime * see the progress of the import or export operations REF.: Metalink Note: 262557.1

QUESTION 34: In the server parameter file (SPFILE), the UNDO_TABLESPACE initialization parameter is set to UNDOTBS. You executed the following SQL statement to

BabULaL
Highlight
BabULaL
Highlight
Page 23: Exam

1Z0-040

Actualtests.com - The Power of Knowing

rename the UNDOTBS undo tablespace: ALTER TABLESPACE undotbs RENAME TO undotbs_old; Which statement is correct in this scenario? A. The tablespace will be renamed but the data file headers will not be updated. B. The above SQL statement will fail because you cannot rename an undo tablespace. C. The tablespace will be renamed and all the changes will be logged in the alert log file. D. The tablespace will be renamed but a message will be added to the alert log file indicating that you should change the corresponding initialization parameter files. E. To be able to rename the UNDOTBS undo tablespace, you would need to set the UNDO_TABLESPACE initialization parameter to some other tablespace name and then execute the above SQL command. Answer: C Using the RENAME TO clause of the ALTER TABLESPACE, you can rename a permanent or temporary tablespace. The COMPATIBLE parameter must be set to 10.0 or higher. If the tablespace is an undo tablespace and if the following conditions are met, then the tablespace name is changed to the new tablespace name in the server parameter file (SPFILE). - The server parameter file was used to start up the database. - The tablespace name is specified as the UNDO_TABLESPACE for any instance. If a traditional initialization parameter file (PFILE) is being used then a message is written to the alert log stating that the initialization parameter file must be manually changed. REF.: Oracle(r) 10g Administrator Guide , 8-19

QUESTION 35: Identify four uses of the Oracle Scheduler. (Choose four.) A. Enables you to set idle time limits for a resource plan. B. Enables you to schedule job execution based on time. C. Enables you to execute jobs in a clustered environment. D. Enables you to assign priorities to the consumer groups. E. Enables you to map a consumer group to an Oracle user. F. Enables you to create a job that makes use of saved programs and schedules. G. Enables you to periodically execute operating system script files located on the same server as the database. Answer: B, C, G, F A - FALSE. Isn't a Oracle scheduler capability. B - TRUE. Schedule job execution based on time or events. The most basic capability of a job scheduler is the ability to schedule a job to run at a particular date and time or when a particular event occurs. C - TRUE. Execute and manage jobs in a clustered environment. A cluster is a set of database instances that cooperates to perform the same task. Oracle Real Application

BabULaL
Highlight
BabULaL
Highlight
Page 24: Exam

1Z0-040

Actualtests.com - The Power of Knowing

Clusters (RAC) provides scalability and reliability without any change to your applications. The Scheduler fully supports execution of jobs in such a clustered environment. To balance the load on your system and for better performance, you can also specify the database service where you want a job to run. D - FALSE. The Scheduler activity is logged and information such as the status of the job and the last run time of the job can be easily tracked, this way the DBA would track wich particular JOB time and statistics , not consumer groups. E - FALSE. See D F - TRUE. For example, consider the situation where a patch needs to be applied to a database that is in production. To minimize disruptions, this task will need to be performed during non-peak hours. This can be easily accomplished using the Scheduler. Instead of having IT personnel manually carry out this task during non-peak hours, you can instead create a job and schedule it to run at a specified time using the Scheduler. G - TRUE. Application developers can create programs and program libraries that end users can use to create or monitor their own jobs. In addition to typical database jobs, you can schedule and monitor jobs that run as part of an application suite. REF.: Oracle(r) 10g Administrator Guide, 26-1 and 26-2

QUESTION 36: You enabled Flashback Database with the following command: ALTER DATABASE FLASHBACK ON; Which view would you query to determine whether the Flashback Database has been enabled? A. V$SGA B. V$DATABASE C. V$INSTANCE D. V$FLASHBACK_DATABASE_LOG E. V$FLASHBACK_DATABASE_STAT F. V$FLASHBACK_DATABASE_LOGFILE Answer: B SQL>DESC V$DATABASE; Name Type ----------------------------------------- ------------- ... ... FLASHBACK_ON VARCHAR2(18) ... ... SQL> select FLASHBACK_ON from V$DATABASE; FLASHBACK_ON ------------------ YES

BabULaL
Highlight
Page 25: Exam

1Z0-040

Actualtests.com - The Power of Knowing

QUESTION 37: You flashed back the jobs table at 11:00 a.m. to its state at 9:30 a.m. At 11:15 a.m., you decided to retrieve the jobs table as it was at 10:12 a.m. What would you do to retrieve the jobs table fast and with minimum impact to other objects? A. drop and re-create the table B. perform point-in-time recovery C. use the ROLLBACK command with SCN D. use the FLASHBACK TABLE command E. use the FLASHBACK DATABASE command Answer: D Oracle Flashback Table provides the DBA the ability to recover a table or set of tables to a specified point in time in the past very quickly, easily, and without taking any part of the database offline. In many cases, Flashback Table eliminates the need to perform more complicated point-in-time recovery operations. Flashback Table restores tables while automatically maintaining associated attributes such as current indexes, triggers and constraints, and not requiring the DBA to find and restore application-specific properties. Using Flashback Table causes the contents of one or more individual tables to revert to their state at some past SCN or time. Flashback Table uses information in the undo tablespace to restore the table. You do not have to restore any data from backups, and the rest of your database remains available while the Flashback Table operation is being performed. REF.: Oracle(r) 10g Backup and Recovery Basics, 7-4

QUESTION 38: You executed the following command to drop a user: DROP USER scott CASCADE; Which two statement regarding the above command are correct? (Choose two.) A. All the objects of scott are moved to the Recycle Bin. B. Any objects in the Recycle Bin belonging to scott are purged. C. All the objects owned by scott are permanently dropped from the database. D. All the objects of scott in the Recycle Bin must be purged before executing the DROP command. E. Any objects in the Recycle Bin belonging to scott will not be affected by the above DROP command. Answer: B, C When you drop a user, any objects belonging to the user are not placed in the recycle bin and any objects in the recycle bin are purged. REF.: Oracle(r) 10g Administrator Guide, 15-39

BabULaL
Highlight
BabULaL
Highlight
Page 26: Exam

1Z0-040

Actualtests.com - The Power of Knowing

QUESTION 39: You want to execute the following statements in resumable mode: CREATE TABLE ... AS SELECT CREATE INDEX CREATE MATERIALIZED VIEW Which two methods can be used to enable a session for resumable space allocation? (Choose two.) A. Set the RESUMABLE_TIMEOUT initialization parameter to true. B. Set the RESUMABLE_TIMEOUT initialization parameter to none. C. Execute the ALTER SESSION ENABLE RESUMABLE statement. D. Execute the ALTER DATABASE ENABLE RESUMABLE statement. E. Set the RESUMABLE_TIMEOUT initialization parameter to a nonzero value. Answer: C, E The default for a new session is resumable mode disabled, unless the RESUMABLE_TIMEOUT initialization parameter is set to a nonzero value.You can enable resumable space allocation system wide and specify a timeout interval by setting the RESUMABLE_TIMEOUT initialization parameter. For example, the following setting of the RESUMABLE_TIMEOUT parameter in the initialization parameter file causes all sessions to initially be enabled for resumable space allocation and sets the timeout period to 1 hour: RESUMABLE_TIMEOUT = 3600 If this parameter is set to 0, then resumable space allocation is disabled initially for all sessions. This is the default. A user can enable resumable mode for a session, using the following SQL statement: ALTER SESSION ENABLE RESUMABLE; To disable resumable mode, a user issues the following statement: ALTER SESSION DISABLE RESUMABLE; REF.: Oracle(r) 10g Administrator Guide, 14-11

QUESTION 40: You created a tablespace with the following statement: CREATE BIGFILE TABLESPACE adtbs DATAFILE '/probdb/data/adtbs.dbf' SIZE 10G; There is now a requirement to increase the size of the tablespace. Which two ALTER statements are correct in this scenario? (Choose two.) A. ALTER TABLESPACE adtbs RESIZE 20G; B. ALTER TABLESPACE adtbs ADD DATAFILE; C. ALTER TABLESPACE adtbs AUTOEXTEND ON; D. ALTER TABLESPACE adtbs ADD DATAFILE'/proddb/data/adtbs1.dbf' SIZE 10G; E. ALTER TABLESPACE adtbs MODIFY DATAFILE '/proddb/data/adtbs.dbf'

BabULaL
Highlight
Page 27: Exam

1Z0-040

Actualtests.com - The Power of Knowing

AUTOEXTEND ON; Answer: A, C C:\sqlplus /nolog SQL*Plus: Release 10.2.0.1.0 - Production on Sat Jan 28 20:34:23 2006 Copyright (c) 1982, 2005, Oracle. All rights reserved. SQL> conn / as sysdba Connected. SQL> CREATE BIGFILE TABLESPACE adtbs DATAFILE'C:\adtbs.dbf' SIZE 1G; Tablespace created. (A) SQL> ALTER TABLESPACE adtbs RESIZE 2G Tablespace altered. (B) and (D) SQL> ALTER TABLESPACE adtbs ADD DATAFILE'C:\adtbs.dbf' SIZE 1G; ALTER TABLESPACE adtbs ADD DATAFILE 'C:\adtbs.dbf' SIZE 1G ERROR at line 1: ORA-32771: cannot add file to bigfile tablespace (C) SQL> ALTER TABLESPACE adtbs AUTOEXTEND ON; Tablespace altered. (E) SQL> ALTER TABLESPACE adtbs MODIFY DATAFILE 'C:\adtbs.dbf' AUTOEXTEND ON; ALTER TABLESPACE adtbs MODIFY DATAFILE 'C:\adtbs.dbf' AUTOEXTEND ON ERROR at line 1: ORA-02142: missing or invalid ALTER TABLESPACE option

QUESTION 41: You imposed a column-level Virtual Private Database (VPD) policy as follows: BEGIN DBMS_RLS.ADD_POLICY (object_schema=> 'scott', object_name => 'employees', policy_name => 'hr_policy', function_schema => 'pol_hr', policy_function => 'hrpol', sec_relevant_clos => 'salary,commission_pct'); END; Which statement regarding hr_policy is true? A. The policy applies only to the INDEX statement and note to any other statements B. The policy applies only to the SELECT statement and not to any other statements. C. The policy applies to SELECT, INSERT, UPDATE, DELETE, and INDEX statements. D. The policy applies to SELECT, INSERT, UPDATE and DELETE statements; it does

BabULaL
Highlight
Page 28: Exam

1Z0-040

Actualtests.com - The Power of Knowing

not apply to INDEX statements. Answer: D Explanation: DBMS_RLS.ADD_POLICY ( object_schema IN VARCHAR2 NULL, object_name IN VARCHAR2, policy_name IN VARCHAR2, function_schema IN VARCHAR2 NULL, policy_function IN VARCHAR2, statement_types IN VARCHAR2 NULL, update_check IN BOOLEAN FALSE, enable IN BOOLEAN TRUE, static_policy IN BOOLEAN FALSE); statement_types is the statement types to which the policy applies. It can be any combination of SELECT, INSERT, UPDATE, and DELETE. The default is to apply to all of these types. The policy not applies on the INDEX statements.

QUESTION 42: You are using SQL Tuning Advisor (STA) to tune SQL workload in your database. Which four types of recommendations do you get from Automatic Tuning Optimizer (ATO) via the STA? (Choose four.) A. recommendation to create indexes B. recommendation to use stored outlines C. recommendation to create a SQL profile D. recommendation to gather relevant statistics E. recommendation to denormalize the schema F. recommendation to restructure SQL statements Answer: A, C, D, F For the A answer see the point n°3. For the C answer see the point n°2. Oracle 10g allows the optimizer to run in tuning mode where it can gather additional information and make recommendations about how specific statements can be tuned further. This process may take several minutes for a single statement so it is intended to be used on high-load resource-intensive statements. In tuning mode the optimizer performs the following analysis: 1. Statistics Analysis - The optimizer recommends the gathering of statistics on objects with missing or stale statistics. Additional statistics for these objects are stored in an SQL profile. 2. SQL Profiling - The optimizer may be able to improve performance by gathering additional statistics and altering session specific parameters such as the

BabULaL
Highlight
BabULaL
Highlight
Page 29: Exam

1Z0-040

Actualtests.com - The Power of Knowing

OPTIMIZER_MODE. If such improvements are possible the information is stored in an SQL profile. If accepted this information can then used by the optimizer when running in normal mode. Unlike a stored outline which fixes the execution plan, an SQL profile may still be of benefit when the contents of the table alter drastically. Even so, it's sensible to update profiles periodically. The SQL profiling is not performed when the tuning optimizer is run in limited mode. The SQL profile doesn't recommend to create a SQL profile. 3. Access Path Analysis - The optimizer investigates the effect of new or modified indexes on the access path. It's index recommendations relate to a specific statement so where necessary it will also suggest the use of the SQL Access Advisor to check the impact of these indexes on a representative SQL workload. 4. SQL Structure Analysis - The optimizer suggests alternatives for SQL statements that contain structures that may impact on performance. The implementation of these suggestions requires human intervention to check their validity. Access Path Analysis - The optimizer investigates the effect of new or modified indexes on the access path. It's index recommendations relate to a specific statement so where necessary it will also suggest the use of the SQL Access Advisor to check the impact of these indexes on a representative SQL workload. Not E: Denormalizing would not be useful.

QUESTION 43: You executed the following command: RMAN> RECOVER COPY OF DATAFILE '/U01/app/oracle/oradata/orcl/users01.dbf'; Which statement regarding the above command is correct? A. The '/u01/app/oracle/ordata/orcl/users01.dbf' data file is recovered from the image copy. B. The '/u01/app/oracle/ordata/orcl/users01.dbf' data file is recovered from the last incremental backup. C. Image copies of the '/u01/app/oracle/ordata/orcl/users01.dbf' data file are updated with all changes up to incremental backup SCN. D. Image copies of the '/u01/app/oracle/ordata/orcl/users01.dbf' data file are recovered using the above command if data file recovery fails. Answer: C In Oracle10g, you can now recover datafile copies by applying changed blocks from a change tracking file to the datafile image copy. This is an important feature as it will significantly speed up datafile recovery times. It is done in 2 stages: 1. Use an RMAN command to update the datafile image copy with changed blocks: RMAN> recover copy of datafile <old_datafile_name>; 2. Apply any archived redo logs to fine-tune the datafile to the exact point-in-time or SCN. REF.: Oracle(r) Database 10g : New Features for Oracle 8i DBAs, 18-19

BabULaL
Highlight
Page 30: Exam

1Z0-040

Actualtests.com - The Power of Knowing

QUESTION 44: You have three temporary tablespace groups named G1, G2, and G3 in your database. You are creating a new temporary tablespace as follows: CREATE TEMPORARY TABLESPACE TEMP1 TEMPFILE '/ul/data/temp1.dbf' SIZE 10M TABLESPACE GROUP ' ' ; Which statement regarding the above command is correct? A. It will create the tablespace TEMP1 in group G1. B. It will create the tablespace TEMP1 in group G3. C. It will not add the tablespace TEMP1 to any group. D. It will create the tablespace TEMP1 in the default group. E. It will throw an error with message 'specified group is not available'. F. It will create a new group with a system-generated name and add the tablespace TEMP1 to it. Answer: C Note: The answer C is not exact, because the command not only "not add the tablespace TEMP1 to any group", but it will delete the TEMPORARY tablespace from the his group, if it exists. Specify an empty string (' ') will remove tablespace from the tablespace_group_name tablespace group.

QUESTION 45: Which entity enables Oracle Data Pump to restart a stopped job? A. the SQL file B. dynamic views C. the master table D. the export log file E. the repository table F. the master control process Answer: C Data Pump jobs use a master table, a master process, and worker processes to perform the work and keep track of progress. For every Data Pump Export job and Data Pump Import job, a master process is created. The master process controls the entire job, including communicating with the clients, creating and controlling a pool of worker processes, and performing logging operations. REF.: Oracle Database Utilities - p 1-6

QUESTION 46: You need to transport tablespaces between platforms with different endians. Which

BabULaL
Highlight
BabULaL
Highlight
Page 31: Exam

1Z0-040

Actualtests.com - The Power of Knowing

two steps are required in addition to the regular steps needed for transporting tablespaces? (Choose two.) A. The DB_FILE_NAME_CONVERT parameter must be set in the init.ora file. B. The CONVERT command of SQL*Plus must be used to change byte ordering. C. No other explicit action is required. D. The CONVERT command of the Recovery Manager utility must be used to change byte ordering. E. The COMPATIBLE parameter must be set to 10.0.0 or higher in both the source and the target databases. Answer: D, E Before a tablespace can be transported to a different platform, the datafile header must identify the platform to which it belongs. In an Oracle Database with compatibility set to 10.0.0 or later. You also, must convert the tablespace set to the endianness of the target platform. You can perform a source-side conversion or you can perform a target-side conversion. if you want to convert before transporting the tablespace set, then convert the datafiles composing de tablespace set. The RMAN CONVERT command is used to do the conversion. Start RMAN and connect to the target database: $ RMAN TARGET / Recovery Manager: Release 10.1.0.0.0 Copyright (c) 1995, 2003, Oracle Corporation. All rights reserved. Convert the datafiles into a temporary location on the source platform. In this example, assume that the temporary location, directory /temp, has already been created. The converted datafiles are assigned names by the system. RMAN> CONVERT TABLESPACE <name> 2> TO PLATFORM 'Microsoft Windows NT' 3>FORMAT'/temp/%U'; REF.: Oracle(r) 10g Administrator Guide, 8-29,8-33 and 8-34

QUESTION 47: You used the following command to perform backup: RMAN> BACKUP AS COPY DURATION 4:00 PARTIAL MINIMIZE LOAD DATABASE; Which recommendation regarding the above command is true? A. It is recommended that you do not use the above command in the RUN block. B. It is recommended that you do not use the MINIMIZE LOAD option with tape. C. It is recommended that you use the MINIMIZE LOAD option only when you perform tablespace backup. D. It is recommended that you use the DURATION and MINIMIZE LOAD option when you perform backup to backup sets. Answer: A B Note: The answer B is not exact.

BabULaL
Highlight
BabULaL
Rejected
BabULaL
Note
Note: When using DURATION and MINIMIZE LOAD with a tape backup: ■ Efficient backup to tape requires tape streaming. If you use MINIMIZE LOAD, RMAN may reduce the rate of backup to the point where tape streaming is not optimal. ■ RMAN will hold the tape resource for the entire duration of the backup window. This prevents the use of the tape resource for any other purpose during the backup window. Because of these concerns, it is not recommended that MINIMIZE LOAD be used with tape. Without the PARTIAL option, the backup command is considered to have failed if it does not complete in the specified duration, and RMAN reports an error. If the backup command is part of a RUN block, subsequent commands in the RUN block do not execute. RMAN-06907: MINIMIZE LOAD option not allowed for the specified input files Cause: This option was specified in a backup command specification for BACKUP BACKUPSET or BACKUP CURRENT CONTROLFILE command. Action: Remove the MINIMIZE LOAD option and retry the command.
BabULaL
Note
Page 32: Exam

1Z0-040

Actualtests.com - The Power of Knowing

MINIMIZE LOAD option it's not possible with tape instead of "It is recommended that you do not use the MINIMIZE LOAD option with tape. " Your answer permit to make the backup, if you want. The correct answer doesn't permit to make the backup, because the MINIMIZE LOAD option is not available when writing to tape. (is compatible only with the hard disk)

QUESTION 48: Identify the three predefined server-generated alerts. (Choose three.) A. Drop User B. Privilege Grants C. Tablespace Space Usage D. Tablespace Reoganization E. Resumable Session Suspended F. Recovery Area Low On Free Space G. SYSTEM Tablespace Size Increment Answer: C, E, F A server-generated alert is a notification from the Oracle Database server of an impending problem. The notification may contain suggestions for correcting the problem. Notifications are also provided when the problem condition has been cleared. Alerts are automatically generated when a problem occurs or when data does not match expected values for metrics, such as the following: * Physical Reads Per Second * User Commits Per Second * SQL Service Response Time * Tablespace space usage (C) . For example, by default a server-generated alert is generated for tablespace space usage when the percentage of space usage exceeds either the 85% warning or 97% critical threshold level. Examples of alerts not based on threshold levels are: * Snapshot Too Old * Resumable Session Suspended (E) * Recovery Area Space Usage (F) REF.: Oracle(r) 10g Administrator Guide, 4-18 and 4-19

QUESTION 49: You modified the optimizer statistics of a table by using the DBMS_STATS.GATHER_TABLE_STATS procedure. You realized that the newly generated statistics have created suboptimal execution plans for that particular table. What would you do to revert to the previous set of statistics as soon as possible? A. run Automatic Database Diagnostic Monitor (ADDM) Advisor to recommend a solution

BabULaL
Highlight
Page 33: Exam

1Z0-040

Actualtests.com - The Power of Knowing

B. wait for the default automatic optimizer statistics generation C. execute the DBMS_STATS.RESTORE_TABLE_STATS procedure D. execute the DBMS_STATS.RESTORE_DATABASE_STATS procedure E. purge the existing table statistics and execute the DBMS_STATS.GATHER_TABLE procedure with a different set of parameters Answer: C This procedure restores statistics of a table as of a specified timestamp ( as_of_timestamp). The procedure will restore statistics of associated indexes and columns as well. If the table statistics were locked at the specified timestamp the procedure will lock the statistics. The procedure will not restore user defined statistics. REF.: Oracle(r) Database PL/SQL Packages and Types Reference 10g Release 2 (10.2)

QUESTION 50: On which two database objects can the VERSIONS clause of the Flashback Versions Query be used? (Choose two.) A. views B. fixed tables C. heap tables D. external tables E. temporary tables F. Index-Organized Tables (IOTs) Answer: C, F The VERSIONS clause CANNOT be used to query, the following database objects: * External Tables * Temporary Tables * Fixed Tables * Views REF.: Oracle(r) Database 10g : New Features for Oracle 8i DBAs, 19-14

QUESTION 51: You define the Warning threshold for the tablespace usage metric for the USERS tablespace to be 60% and the Critical threshold to be 80%. When space usage of the USERS tablespace exceeds 60%, an alert is raised. Which two are sources for detailed alert information? (Choose two.) A. the alert.log file B. the V$ALERT_TYPES view C. the DBA_ALERT_HISTORY view D. the Database Control Home page E. the DBA_ALERT_ARGUMENTS view F. the DBA_OUTSTANDING_ALERTS view

BabULaL
Highlight
BabULaL
Highlight
Page 34: Exam

1Z0-040

Actualtests.com - The Power of Knowing

G. the Database Control Performance page H. the Database Control Administration page Answer: D, F The database issues a warning alert when reclaimable space is less than 15% and a critical alert when reclaimable space is less than 3%. To warn the DBA of this condition, an entry is added to the alert log and to the DBA_ OUTSTANDING _ALE R TS table (used by Enterprise Manager). However, the database continues to consume space in the Flash Recovery Area until there is no reclaimable space left. REF.: Metalink Note: 305812.1- Flash Recovery area - Space management Warning & Alerts

QUESTION 52: Which parameter avoids the overwriting of archived redo log files when you recover the database with the RESETLOGS option? A. LOG_ARCHIVE_DEST B. LOG_ARCHIVE_TRACE C. LOG_ARCHIVE_FORMAT D. LOG_ARCHIVE_CONFIG E. LOG_ARCHIVE_DEST_10 F. LOG_ARCHIVE_LOCAL_FIRST Answer: C If the COMPATIBLE initialization parameter is set to 10.0 or higher, the database requires the specification of resetlogs ID (%r) when you include the LOG_ARCHIVE_FORMAT parameter. The default for this parameter is operating system dependent. For example, this is the default format for UNIX: LOG_ARCHIVE_FORMAT=%t_%s_%r.dbf The incarnation of a database changes when you open it with the RESETLOGS option. Specifying %r causes the database to capture the resetlogs ID in the archive log file name, enabling you to more easily perform recovery from a backup of a previous database incarnation. REF.: Oracle(r) 10g Administrator Guide, 7-7

QUESTION 53: View the Exhibit and examine the highlighted alert. Exhibit #1

BabULaL
Highlight
BabULaL
Highlight
Page 35: Exam

1Z0-040

Actualtests.com - The Power of Knowing

Exhibit #2

You have received an alert with the Category specified as Snapshot Too Old. Which page would you open from the Advisor Central page to determine the system recommendations to avoid such alerts in future? A. ADDM B. Memory Advisor C. Segment Advisor D. Undo Management E. SQL Tuning Advisor F. SQL Access Advisor Answer: D Improved automatic tuning of undo retention results in fewer "ORA-01555:snapshot too old" messages. Automatic tuning of undo retention now always tunes for the maximum possible retention for the undo tablespace based on tablespace size and current system activity. This improves the success rate of Oracle Flashback operations and long-running. This new tuning method for maximum possible retention applies only to fixed size undo tablespaces. For AUTOEXTEND tablespaces, the behavior is unchanged. REF.: Oracle(r) 10g Administrator Guide, 2-25

BabULaL
Highlight
Page 36: Exam

1Z0-040

Actualtests.com - The Power of Knowing

QUESTION 54: You have 100 segments in the USERS tablespace. You realize that the USERS tablespace is running low on space. You can use Segment Advisor to _______. A. add data files to the tablespace B. identify the segments that you should shrink C. modify the storage parameters for the tablespace D. automatically shrink the segments with unused space E. check the alerts generated for the table space that is running low on space Answer: B The Segment Advisor determines that an object has a significant amount of free space, it recommends online segment shrink. If the object is a table that is not eligible for shrinking, as in the case of a table in a tablespace without automatic segment space management, the Segment Advisor recommends online table redefinition. REF.: Oracle(r) 10g Administrator Guide, 14-16

QUESTION 55: You executed the following command on a partitioned table sales_test: ALTER TABLE sales_test MOVE PARTITION s_q3 TABLESPACE users2 UPDATE INDEXES (sales_test_ix (PARTITION s_q3 TABLESPACE example) ); Which two statements regarding the above command are correct? (Choose two.) A. The sales_test_ix index will be rebuilt automatically. B. The UPDATE INDEXES clause is optional in the above command. C. The UPDATE INDEXES clause is used only with the MOVE operation on a partition. D. The UPDATE INDEXES clause without storage attributes will rebuild the index in the SYSTEM tablespace. Answer: A, B On the statement, de clause UPDATE INDEXES had been used. By default, many table maintenance operations on partitioned tables invalidate (mark UNUSABLE) the corresponding indexes or index partitions. You must then rebuild the entire index or, in the case of a global index, each of its partitions. The database lets you override this default behavior if you specify UPDATE INDEXES in your ALTER TABLE statement for the maintenance operation. Specifying this clause tells the database to update the index at the time it executes the maintenance operation DDL statement. REF.: Oracle(r) 10g Administrator Guide, 17-24

QUESTION 56:

BabULaL
Highlight
BabULaL
Highlight
Page 37: Exam

1Z0-040

Actualtests.com - The Power of Knowing

Which file gets created automatically while migrating from non-ASM files to ASM disk group by using RMAN? A. the control file B. the alert log file C. the parameter file D. the server parameter file E. the archived redo log file Answer: A

QUESTION 57: While creating an Oracle 10g Release 1 (10.1) database, you set the COMPATIBLE parameter to 10.0.0 in the initialization parameter file. Which two statements are true in this situation? (Choose two) A. You can use all the new features in 10g. B. You can change the setting of the COMPATIBLE parameter to 9.2.0.2. C. You can advance the compatibility of your database with the COMPATIBLE initialization parameter. D. You can assign any value to the COMPATIBLE parameter, but the parameter would still take the default values as 10.0.0. Answer: A, C The COMPATIBLE initialization parameter enables or disables the use of features in the database that affect file format on disk. For example, if you create an Oracle Database 10 g database, but specify COMPATIBLE = 9.2.0.2 in the initialization parameter file, then features that requires 10.0 compatibility will generate an error if you try to use them. Such a database is said to be at the 9.2.0.2 compatibility level. You can advance the compatibility level of your database. If you do advance the compatibility of your database with the COMPATIBLE initialization parameter, there is no way to start the database using a lower compatibility level setting, except by doing a point-in-time recovery to a time before the compatibility was advanced.. REF.: Oracle(r) 10g Administrator Guide , 2-34

QUESTION 58: Which three statements regarding collection of database usage metrics are correct? (Choose three.) A. The metrics survive database reboots and crashes. B. The MMON process tracks and records the database usage metrics. C. The MMAN process tracks and records the database usage statistics. D. The Oracle Enterprise Manager (OEM) repository is used to store metrics. E. The SMON process tracks and records the database usage metrics once a month.

BabULaL
Highlight
BabULaL
Highlight
Page 38: Exam

1Z0-040

Actualtests.com - The Power of Knowing

F. The SYSAUX tablespace contains table, where the database usage metrics are physically stored. G. The SYSTEM tablespace by default contains tables where the database usage metrics and physically stored. Answer: A, B, F

QUESTION 59: Exhibit

As shown in the diagram, in-memory statistics are transferred to the disk at regular intervals. Which background process performs this activity? A. CJQ B. CKPT C. MMAN D. SMON E. PMON F. MMON G. DBWR Answer: F

QUESTION 60: If the database is shown degraded performance, which three charts on the Database Control Console Performance page will help you resolve the problem? (Choose

BabULaL
Highlight
BabULaL
Highlight
Page 39: Exam

1Z0-040

Actualtests.com - The Power of Knowing

three.) A. overall availability chart B. instance throughput chart C. waiting and working sessions chart D. host paging and run queue information chart E. undo generation rate and tablespace usage chart Answer: B, C, D

QUESTION 61: Identify three key features of ASM. (Choose three.) A. file striping B. file mirroring C. Segment Advisor D. automatic file creation E. automatic disk rebalancing F. automatic file size increment G. automatic undo management Answer: A, B, E ASM extends the power of Oracle-managed files. With Oracle-managed files, files are created and managed automatically for you, but with ASM you get the additional benefits of features such as mirroring and striping. ASM enables you to change the storage configuration without having to take the database offline. It automatically rebalances-redistributes file data evenly across all the disks of the disk group-after you add disks to or drop disks from a disk group. Should a disk failure occur, ASM automatically rebalances to restore full redundancy for files that had extents on the failed disk. REF.: Oracle(r) 10g Administrator Guide, 12-2

QUESTION 62: Which two statements regarding unusable indexes are correct? (Choose two.) A. You can set SKIP_UNUSABLE_INDEXES to true to skip unusable indexes. B. You can check the alert log file to get a message recorded about unusable indexes. C. You do not need to set any parameter because unusable indexes are skipped automatically. D. Your Data Definition Language (DDL) statement shows a warning message when an index is made unusable. Answer: A, B Setting this parameter to TRUE disables error reporting of indexes and index partitions

BabULaL
Highlight
BabULaL
Highlight
BabULaL
Highlight
Page 40: Exam

1Z0-040

Actualtests.com - The Power of Knowing

marked UNUSABLE.The SKIP_UNUSABLE_INDEXES, which in earlier releases was a session parameter,is now an initialization parameter with a default value of TRUE. In earlier releases default value of this parameter is false. REF.: Metalink Note: 281500.1- SKIP_UNUSABLE_INDEXES Initialization Parameter in Oracle Database 10g

QUESTION 63: You added the following policy: EXEC DBMS_RLS.ADD_POLICY (object_schema => 'scott', object_name => 'emp', policy_name => 'hr_policy', fuction_schema => 'scott', policy_function => 'hrpol', policy_type => dbms_rls.static, sec_relevant_cols => 'sal,comm') ; Which two statements regarding the above policy are correct? (Choose two.) A. The policy predicate changes for each query. B. The policy function does not reexecute for each query. C. Policy predicates are cached in the System Global Area (SGA). D. The policy is useful where every query requires a different predicate and fast performance is not essential Answer: B, C The execution of policy functions can consume a significant amount of system resources. If you can minimize the number of times that policy functions must run, then you can optimize your database server performance. To avoid unnecessary policy function execution, you can choose from five different policy types, which enable you to precisely specify how and how often a policy predicate should change. You can enable these different types of policies, by setting the policy_type parameter of the DBMS_RLS.ADD POLICY procedure. On the question, policy_type=> ddms_rls.static , this way, static policy predicates are cached in SGA, so policy functions do not rerun for each query, resulting in faster performance. When you specify a static policy, the same predicate is always enforced for all users in the instance. REF.: Oracle(r) 10g Security Guide 15-31

QUESTION 64: Consider an Oracle instance that is using Automatic Shared Memory Management. You set some of the System Global Area (SGA) parameters as shown below: SGA_TARGET = 200 MB SHARED_POOL_SIZE= 20 MB DB_KEEP_CACHE_SIZE = 30 MB Which two statements are correct in this scenario? (Choose two.)

BabULaL
Highlight
Page 41: Exam

1Z0-040

Actualtests.com - The Power of Knowing

A. Shared pool size will never shrink below 20 MB. B. A maximum of 20 MB will be allocated to the shared pool. C. 230 MB will be allocated among the auto-tuned SGA components. D. 250 MB will be allocated among the auto-tuned SGA components. E. If SGA_TARGET is reduced to 150 MB, then it will not affect the value of the DB_KEEP_CACHE_SIZE parameter. Answer: A, E The main objectives to justify this new functionality are: * Distribute the available memory depending of the current Workload. The MMAN process will take some regular memory snapshots to evaluate the needs and thereby the dispatching of the usable memory. * Enhance the memory usage depending of the activity A note on Oracle metalink, explains way much better, the use of ASMM. The main goal of this document is to show you how to put in place the ASMM facility introduced with Oracle10g, how to configure it, and also some examples on how to monitor its activity. REF.: Metalink Note: 295626.1How To Use Automatic Shared Memory Management (ASMM) In Oracle10g

QUESTION 65: An online tablespace, TEST_TBS, is full and you realize that no server-managed tablespace threshold alerts were generated for the TEST_TBS tablespace. What could be the reason, if the TEST_TBS tablespace does not include autoextensible data files? A. TEST_TBS is a small file tablespace. B. TEST_TBS is a bigfile tablespace (BFT). C. TEST_TBS is the default temporary tablespace. D. TEST_TBS is the dictionary-managed tablespace. E. Threshold values for the TEST_TBS tablespace are not explicitly specified. Answer: D Space management within a tablespace involves keeping track of free and used space, so that space is allocated efficiently during data insertion and deletion.Oracle recommends creating locally-managed tablespaces over dictionary-managed tablespaces. Locally-managed tablespaces keep the space allocation information within the tablespace, not in the data-dictionary, thus offering better performance. By default, Oracle sets all newly created tablespaces to be locally-managed with automatic segment management, a feature that further improves performance. When you create a table in a locally managed tablespace and use automatic segment space management, you should allow Oracle to build the table using its own storage algorithms. If you need to store a table in a dictionary-managed tablespace, then you can set the storage characteristics for the table. REF.: Oracle(r) 2 days DBA, 6-5

BabULaL
Highlight
BabULaL
Highlight
BabULaL
Note
By default, Oracle sends out a warning alert when your tablespace is 85 percent full and a critical alert when the tablespace is 97 percent full. You may change these default settings, or even turn the entire alerting mechanism off, if you so desire. The DBA_THRESHOLDS view will provide information about the thresholds in your database. The proactive tablespace alerts come with some caveats: ■ You can’t set alerts for dictionary-managed tablespaces. You can set alerts only for locally managed tablespaces. ■ When you take a tablespace offline or make it read-only, you must turn the alerting mechanism off (using the DBMS_SERVER_ALERT package). You can turn the alerts back on after you change the status of the tablespaces again. ■ For the undo tablespace, the active and unexpired extents together constitute the used space in that tablespace. The same default warning and critical thresholds (97 percent and 85 percent, respectively) apply to the undo tablespace as well.
Page 42: Exam

1Z0-040

Actualtests.com - The Power of Knowing

QUESTION 66: You performed an incomplete recovery and opened the database with the RESETLOGS option. The LOG_ARCHIVE_FORMAT parameter is set to 'ora_%t_%s_%r.log'. Which statement regarding the archived redo log files, created in an earlier incarnation of the database, is true? A. The archived redo log files cannot be used. B. The archived redo log files will be overwritten. C. The archived redo log files are deleted automatically. D. The achieved redo log files should be moved to some other location. E. The archived redo log files are still maintained because the file names are unique. Answer: E The parameter %r represents the RESETLOGS identifier and changes every time a RESETLOGS operation occurs, ensuring that no filename collisions exists in the flash recovery area or an archived log file destination.

QUESTION 67: Exhibit

BabULaL
Highlight
Page 43: Exam

1Z0-040

Actualtests.com - The Power of Knowing

View the exhibit and examine the query output. You are logged in as user SYSTEM. You plan to relocate the Ultra Search occupant back to the SYSAUX tablespace from the OCCU_TBS tablespace by using a SQL statement. Which command would you use? A. EXEC WKSYS.MOVE_WK('SYSAUX'); B. EXEC SYS.MOVE_WK('OCCU_TBS'); C. EXEC WKSYS.MOVE_WK('OCCU_TBS'); D. EXEC WKSYS.MOVE_WK('ULTRASEARCH','SYSAUX'); E. EXEC WKSYS.MOVE_WK('ULTRASEARCH','OCCU_TBS'); Answer: A

QUESTION 68: You explicitly specified the tablespace usage threshold values while creating a

BabULaL
Highlight
Page 44: Exam

1Z0-040

Actualtests.com - The Power of Knowing

tablespace. You need to revert the database-wide default tablespace usage threshold values for the tablespace. Which PL/SQL package would you use? A. DBMS_STATS B. DBMS_ALERT C. DBMS_SPACE D. DBMS_MONITOR E. DBMS_SERVER_ALERT F. DBMS_SPACE_ADMIN Answer: E Explanation : The DBMS_SERVER_ALERT package contains a number of procedures that allows you to set, view and modify a variety of alert conditions. There are three procedures available in the package which are SET_THRESHOLD GET_THRESHOLD EXPAND_MESSAGE The SET_THRESHOLD procedure is used set/revert to required threshold values. e.g. SQL> execute dbms_server_alert.set_threshold( dbms_server_alert.tablespace_pct_full, dbms_server_alert.operator_ge, 85, dbms_server_alert.operator_ge, 99, 1,1, null, dbms_server_alert.object_type_tablespace,'USERS'); The new threshold goes into effect immediately. The next time MMON process runs, an alert will be generated if the space usage on the USERS tablespace is 85% or higher.

QUESTION 69: Which three statements regarding Automatic Database Diagnostic Monitor (ADDM) are correct? (Choose three) A. ADDM targets the tuning of individual user response times. B. ADDM also documents the nonproblem areas of the system. C. ADDM analyzes online transaction processing (OLTP) systems only. D. An ADDM analysis is performed each time a statspack snapshot is taken. E. Each ADDM finding has one or more recommendations associated with it. F. ADDM analyzes the snapshots stored in Automatic Workload Repository (AWR) on a regular basis. Answer: B, E, F

BabULaL
Highlight
BabULaL
Highlight
Page 45: Exam

1Z0-040

Actualtests.com - The Power of Knowing

ADDM also documents the non-problem areas of the system. For example, wait event classes that are not significantly impacting the performance of the system are identified and removed from the tuning consideration at an early stage, saving time and effort that would be spent on items that do not impact overall system performance. ADDM analysis can be performed over any time period defined by a pair of AWR snapshots taken on a particular instance. Analysis is performed top down, first identifying symptoms and then refining them to reach the root causes of performance problems. Note that ADDM does not target the tuning of individual user response times. Each problem finding is quantified by an impact that is an estimate of the portion of DB time caused by the finding's performance issue. A problem finding can be associated with a list of RECOMMENDATIONs for reducing the impact of the performance problem . REF.: Oracle(r) 10g Performance Guide, 6-2

QUESTION 70: You have 100 segments in the USERS tablespace. You get an alert that the USERS tablespace is running low on space. You decide to shrink some segments. Which option would you use to determine which segment to shrink? A. Segment Advisor B. SQL Tuning Advisor C. SQL Access Advisor D. Segment Resource Estimation E. Automatic Database Diagnostic Monitor (ADDM) Answer: A The Segment Advisor identifies segments that have space available for reclamation. It performs its analysis by examining usage and growth statistics in the Automatic Workload Repository (AWR), and by sampling the data in the segment. It is configured to run automatically at regular intervals, and you can also run it on demand (manually). The regularly scheduled Segment Advisor run is known as the Automatic Segment Advisor. REF.: Oracle(r) 10g Administrator Guide, 14-16

QUESTION 71: You want to perform the database backup when user activity on your system is low, such as between 12:00 a.m. and 2:00 a.m. Which command terminates with an error if the backup is not complete at the end of the specified duration? A. RMAN> BACKUP DURATION 2:00 MINIMIZE LOAD DATABASE; B. RMAN> BACKUP DURATION 2:00 PARTIAL FILESPERSET 1 DATABASE; C. RMAN> BACKUP DURATION 2:00 PARTIAL MINIMIZE TIME DATABASE; D. RMAN> BACKUP AS COPY DURATION 2:00 PARTIAL MINIMIZE LOAD

BabULaL
Highlight
Page 46: Exam

1Z0-040

Actualtests.com - The Power of Knowing

DATABASE; Answer: A By default, when a BACKUP... DURATION command runs out of time before the backup completes, RMAN reports an error. (The effect of this is that if the command is running in a RUN block, the RUN block terminates.) You can control this behavior by adding the PARTIAL option to the BACKUP... DURATION command, as in this example: BACKUP DURATION 4:00 PARTIAL TABLESPACE users FILESPERSET 1; When PARTIAL is used, no error is reported when a backup command is interrupted due to the end of the backup window. Instead, a message showing which files could not be backed will be displayed. If the BACKUP command is part of a RUN block, then the remaining commands in the RUN block will continue to execute. When using DURATION you can run the backup with the maximum possible performance, or run as slowly as possible while still finishing within the allotted time, to minimize the performance impact of backup tasks. To extend the backup to use the full time available, use the MINIMIZE LOAD option, REF.: Oracle(r) 10g Backup and Recovery Guide, 2-40 and 2-41

QUESTION 72: Which three statements regarding compressed backups are correct? (Choose three) A. The compression applies to only image copies. B. The compressed backup is applicable to only data files. C. The COMPATIBLE parameter must be set to 10.0.0 or higher. D. The compressed backup is applicable to only the entire database backup. E. Restoration from a compressed backup does not require any special action. F. The compression provided by media manager and the RMAN backup compression should not be used together. Answer: C, E, F For any use of the BACKUP command that creates backupsets, you can take advantage of RMAN's support for binary compression of backupsets, by using the AS COMPRESSED BACKUPSET option to the BACKUP command. The resulting backupsets are compressed using an algorithm optimized for efficient compression of Oracle database files. No extra uncompression steps are required during recovery if you use RMAN's integrated compression. If you are backing up to tape and your tape device performs its own compression, you should not use both RMAN backupset compression and the media manager vendor's compression. REF.: Oracle(r) 10g Backup and Recovery Guide, 4-6

QUESTION 73: Which two initialization parameters would you set to enable Automatic Shared Memory Management? (Choose two)

BabULaL
Highlight
BabULaL
Highlight
Page 47: Exam

1Z0-040

Actualtests.com - The Power of Knowing

A. set LOG_BUFFER to zero B. set SHARED_POOL_SIZE to zero C. set DB_CACHE_SIZE to a non-zero value D. set STATISTICS_LEVEL to BASIC E. set SGA_TARGET to a non-zero value F. set STATISTICS_LEVEL to TYPICAL or ALL Answer: E, F The ASMM is driven by one init parameter: SGA_TARGET.When set to 0, the ASMM is disabled and you run with the old method, so you need to define the above auto-tuned parameters by yourself. The default value for SGA_TARGET is 0 so ASMM disabled. The conditions to enable the ASMM mechanism are: STATISTICS_LEVEL=TYPICAL or ALL SGA_TARGET > 0 When you use a value greater than 0, the ASMM is enabled and the memory will be spread between all components: auto-tuned and manual parameters. The SGA_TARGET value will therefore define the memory size sharable between auto-tuned and manual parameters. REF.: Metalink Note: 295626.1How To Use Automatic Shared Memory Management (ASMM) In Oracle10g

QUESTION 74: Which three statements regarding the bigfile tablespace (BFT) are correct? (Choose three) A. BFT can be dictionary managed. B. A BFT always contains a single file. C. BFT is supported for locally managed tablespaces. D. In BFT, the maximum file size ranges from 8 TB to 128 TB. E. BFT, when uses with Oracle Managed Files (OMF), provides complete data file transparency. Answer: B, C, D D: When the tablespace block size is 2k, then the maximum tablespace size will be 8 TB. When the tablespace block size is 32k, then the maximum tablespace size will be 128 TB.

QUESTION 75: You need to determine how often a particular database feature is used in the database. Which two methods would you use to do this? (Choose two) A. User alert log file B. Use Database Option Advisor C. Use the DBMS_STATS package

BabULaL
Highlight
BabULaL
Highlight
Page 48: Exam

1Z0-040

Actualtests.com - The Power of Knowing

D. Use the DBMS_RESOURCE_MANAGER package E. Run a query on DBA_FEATURE_USAGE_STATISTICS F. Open the Database Usage Statistics page of Enterprise Manager (EM) Answer: E, F

QUESTION 76: You decide to define the Flash Recovery Area manually. What are the two mandatory initialization parameters you need to set? (Choose two) A. LOG_ARCHIVE_DEST_10 B. DB_CREATE_FILE_DEST C. RECOVERY_PARALLELISM D. DB_RECOVERY_FILE_DEST E. DB_RECOVERY_FILE_DEST_SIZE F. DB_FLASHBACK_RETENTION_TARGET Answer: D, E

QUESTION 77: Examine the following commands of Data Pump to import objects to new non-existing users hr1 and oe1. $ expdp system/manager schemas = hr,oe directory = EXP_DIR dumpfile = export.dat include = table $ impdp system/manager schemas = hr1,oe1 directory = EXP_DIR dumpfile = export.dat remap_schema = hr:hr1, oe:oe1 Which objective would be achieved by the above command set? A. expdp will fail because no path has been defined for the dumpfile. B. Expdp will succeed but Impdp will fail because users do no exist. C. impdp would create two schemas called hr1 and oe1 and copy the schema objects to the new users. D. Impdp would create two schemas called hr1 and oe1 and import tables owned by hr and oe schemas to hr1 and oe1 schemas, respectively.

BabULaL
Highlight
BabULaL
Highlight
Page 49: Exam

1Z0-040

Actualtests.com - The Power of Knowing

Answer: B (Correct answer according to Pass4Sure as well)

QUESTION 78: Character large objects (CLOB) data is represented in Oracle database 10g as the ___- character set. A. UCS2 B. US7ASCII C. AL16UTF16 D. WE9IS08859P1 E. D7SIEMENS9780X F. Same characters set as the database character set. Answer: C

QUESTION 79: Which process performs the rebalance data extent movements across ASM disk groups in ASM? A. Checkpoint (CKPT) B. System Monitor (SMON) C. ASM Rebalance (ARBn) D. Process Monitor (PMON) E. ASM Background (ASMB) F. ASM Rebalance Master (RBAL) Answer: C

QUESTION 80: You have a partitioned table called employee in USERS1 tablespace. You executed the following statement on the partition emp_d3 of the table: ALTER TABLE employee MOVE PARTITION emp_d3 TABLESPACE USERS2; Which two statements regarding the local index partition on the emp_d3partition are correct? (Choose two) A. The local index partition cannot be rebuilt. B. The local index partition remains USABLE. C. The local index partition becomes UNUSABLE. D. The local index partition must be dropped and re-created manually. E. The local index partition gets dropped automatically when you move a partition of the

BabULaL
Highlight
BabULaL
Highlight
BabULaL
Note
An ASM instance contains three new types of background processes. 1. The first type is responsible for coordinating rebalance activity for disk groups, and is called RBAL. 2. The second type actually performs the data extent movements. There can be many of these at a time, and they are called ARB0, ARB1, and so on. 3. The third type is responsible for certain disk group monitoring operations that maintain ASM metadata inside disk groups. The disk group monitor process is called GMON.
BabULaL
Note
Suppose that you execute the following Export and Import commands to remap the hr schema into the scott schema: > expdp SYSTEM/password SCHEMAS=hr DIRECTORY=dpump_dir1 DUMPFILE=hr.dmp > impdp SYSTEM/password DIRECTORY=dpump_dir1 DUMPFILE=hr.dmp REMAP_SCHEMA=hr:scott In this example, if user scott already exists before the import, then the Import REMAP_SCHEMA command will add objects from the hr schema into the existing scott schema. You can connect to the scott schema after the import by using the existing password (without resetting it). If user scott does not exist before you execute the import operation, Import automatically creates it with an unusable password. This is possible because the dump file, hr.dmp, was created by SYSTEM, which has the privileges necessary to create a dump file that contains the metadata needed to create a schema. However, you cannot connect to scott on completion of the import, unless you reset the password for scott on the target database after the import completes. But in the given example they are using SCHEMAS=hr1,oe1 and because of which the above statement will not hold. If removed then the answer to this question will become D rather than B. So in the given senario the correct answer is B.
BabULaL
Highlight
Page 50: Exam

1Z0-040

Actualtests.com - The Power of Knowing

table. F. The local index partition will be rebuilt automatically of you use the UPDATE INDEX clause in the above command. Answer: C, F

QUESTION 81: You want to unload data from the ORDERS, ORDER_ITEMS, and PRODUCTS database tables to four os flat files by using the External Table Population methods. To achieve this objective, you execute the following command: Create TABLE orders_ext (order_id, order_date, product_id, product_name,quantity) ORGANIZATION EXTERNAL ( TYPE ORACLE_DATAPUMP DEFAULT DIRECTORY ext_dir LOCATION ('orders1.dmp','orders2.dmp','orders3.dmp',' orders4.dmp') ] PARALLEL AS SELECT o.order_id,o.order_date,p.product_id,p.product_name,i.quanity FROM orders o,products p,order_items i WHERE o.order_id = i.order_id and i.product_id = p.product_id; After successful execution of the command, you find that only two files have been created and not four. Which option do you need to change to achieve your objective? A. TYPE B. LOCATION C. PARALLEL D. DEFAULT DIRECTORY E. ORGANIZATION EXTERNAL Answer: C

QUESTION 82: Which two statements are correct regarding renaming a tablespace? (Choose two) A. You cannot rename a dictionary-managed tablespace. B. When you rename a tablespace, all the data files are also renamed accordingly.

BabULaL
Highlight
BabULaL
Note
In Oracle Database 10g, you can now specify storage attributes, as well as keep you local indexes from being rendered unusable, with the help of a single new clause. By using the UPDATE INDEXES clause during a partitioned table DDL statement, you can avoid making your local indexes unusable by making Oracle automatically rebuild them, thus increasing the availability of your database. Using the new UPDATE INDEXES clause during a partitioned table DDL command will help you do two things: specify storage attributes for the corresponding local index segments and have Oracle automatically rebuild them.
BabULaL
Highlight
BabULaL
Note
The PARALLEL parameter will make sense only if you have more than one file specified as values for the LOCATION variable. Otherwise, the PARALLEL command really can’t do anything in parallel (the degree of parallelism defaults to 1)! The reason for this is that Oracle will allocate exactly only one parallel execution server for each file. If you specify PARALLEL=4 and specify two datafiles for Oracle to write to, your degree of parallelism is automatically lowered to 2. If you specify PARALLEL=2 and specify four datafiles for Oracle to write to, the 2 extra datafiles will get ignored. Thus, the degree of parallelism is constrained by the number of dump files you specify under the LOCATION parameter. The number of files in the LOCATION clause should match the specified degree of parallelism because each I/O server process requires its own file. Any extra files that are specified are ignored. If there are not enough files for the specified degree of parallelism, then the degree of parallelization is lowered to match the number of files in the LOCATION clause.
Page 51: Exam

1Z0-040

Actualtests.com - The Power of Knowing

C. You cannot rename a tablespace that happens to be the default permanent tablespace of a user. D. You can rename a tablespace provided that COMPATIBILITY initialization parameter is set to at least 10.0.0.0.0. E. When you rename a tablespace, the Oracle 10g database updates all references to the tablespace name in the data dictionary as well as the control file. Answer: D, E The COMPATIBLE parameter must be set to 10.0 or higher. When you rename a tablespace the database updates all references to the tablespace name in the data dictionary, control file, and (online) datafile headers. The database does not change the tablespace ID so if this tablespace were, for example, the default tablespace for a user, then the renamed tablespace would show as the default tablespace for the user in the DBA_USERS view. REF.: Oracle 10g Administrator Guide, 8-19

QUESTION 83: You want to have a compatible audit trail of everything that has happened to the jobs in the job class named JOB_CLASSA. What should the logging level be for JOB_CLASSA? A. DBMS_SCHEDULER.ENABLE B. DBMS_SCHEDULER.LOGGING_OFF C. DBMS_SCHEDULER.LOGGING_RUNS D. DBMS_SCHEDULER.LOGGING_FULL E. DBMS_SCHEDULER.LOGGING_COMPLETE Answer: D

QUESTION 84: The application tables owned by the user TEST in a test database need to be exported to the APPS schema in the production database by using Data Pump. Which option of Data Pump Import would you use to accomplish this? A. owner B. touser C. attach D. fromuser E. remap_schema Answer: E The REMAP_SCHEMA parameter changes the ownership of database objects. If you do not specify REMAP_SCHEMA, all database objects (such as tables and indexes) are

BabULaL
Highlight
BabULaL
Highlight
BabULaL
Highlight
Page 52: Exam

1Z0-040

Actualtests.com - The Power of Knowing

created in the same user schema as in the source database, and those users must already exist in the target database. If they do not exist, then the import utility returns an error. REF.: Oracle(r) 10g Administrator Guide , 8-36

QUESTION 85: While observing database statistics, you found that the Automatic Workload Repository (AWR) snapshots are being purged after each day. You want the snapshots to be purged on a weekly basis. Which two options would you use to increase the purge interval? (Choose two) A. Enterprise Manager B. DBMS_JOB.INTERVAL C. DBMS_SCHEDULER.CHANGE D. DBMS_SCHEDULER.INTERVAL E. DBMS_WORKLOAD_REPOSITORY.MODIFY_SNAPSHOT_SETTINGS Answer: A, E

QUESTION 86: Consider the following configuration: /devices/D1 is a member of disk group dgroupA. /devices/D2 is a member of disk group dgroupA. /devices/D3 is a member of disk group dgroupA. You plan to add a new disk, /devices/D4, to the disk group dgroupA and execute the following command: SQL> ALTER DISKGROUP dgroupA ADD DISK '/devices/D4' ; 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 there is no disk by the name "/devices/D*". C. The command would result in an error because no wildcard characters can be used in the disk name. D. The command will be ignored because disks starting with "D" are already members of the disk group. E. The command first detaches all the member disks starting with "D" and then reattached all of them including the new disk. Answer: A

QUESTION 87: Which task would you perform to convert little-endian CLOB data to the big endian

BabULaL
Highlight
BabULaL
Note
You can modify the length of the snapshot interval and snapshot retention by using the INTERVAL and the RETENTION parameters of the MODIFY_SNAPSHOT_SETTINGS of the DBMS_WORKLOAD_REPOSITORY package. You can also modify the snapshot retention by using Enterprise Manager.
BabULaL
Highlight
Page 53: Exam

1Z0-040

Actualtests.com - The Power of Knowing

format while transporting from Oracle9i database to Oracle 10g database? A. Use the CHANGE command of the RMAN utility. B. Use the CONVERT command of the RMAN utility. C. Transport the data after changing the character set of the target database to big endian. D. Transport the data after changing the character set to be an endian-independent format in the target database. E. No action is required because Oracle RDBMS implicitly does the conversion in Oracle 10g database while accessing the data. Answer: B E If you are transporting the tablespace set to a platform with different endianness from the source platform, you must convert the tablespace set to the endianness of the target platform.Tablespaces can be transported from one platform to another. The RMAN CONVERT command is used to do the conversion. The tablespaces being transported can be either dictionary managed or locally managed. Starting with Oracle9 i, the transported tablespaces are not required to be of the same block size as the target database standard block size. SQL> SELECT * FROM V$TRANSPORTABLE_PLATFORM; PLATFORM_ID PLATFORM_NAME ENDIAN_FORMAT ----------- -------------------------------- -------------- 1 Solaris[tm] OE (32-bit) Big 2 Solaris[tm] OE (64-bit) Big 7 Microsoft Windows IA (32-bit) Little 10 Linux IA (32-bit) Little 6 AIX-Based Systems (64-bit) Big 3 HP-UX (64-bit) Big 5 HP Tru64 UNIX Little 4 HP-UX IA (64-bit) Big 11 Linux IA (64-bit) Little 15 HP Open VMS Little 8 Microsoft Windows IA (64-bit) Little 9 IBM zSeries Based Linux Big 13 Linux 64-bit for AMD Little 16 Apple Mac OS Big 12 Microsoft Windows 64-bit for AMD Little 17 Solaris Operating System (x86) Little REF.: Oracle(r) 10g Administrator Guide , 8-27

QUESTION 88: The system was running a normal workload during the last 24 hours. You need to ensure that with the same workload you should be able to flashbash tables by three hours. What would you do to find the system recommendations for the undo retention period and the undo tablespace size?

BabULaL
Note
Certain endian-dependent CLOBs (character large objects) that were created before Oracle Database 10g may need to be converted after transport. In this case, RMAN does not handle the conversion during the CONVERT phase to allow you to decide when (and whether) to convert the data. If a conversion is needed, the Oracle database automatically handles it while accessing the CLOB data. CLOBs were represented as UCS2 before Oracle Database 10g. Starting with Oracle Database 10g, CLOBs are represented as AL16UTF16. UCS2 is endian dependent, whereas AL16UTF16 is not. Also, big-endian UCS2 is the same as AL16UTF16. So, if your CLOB data was created on a big-endian system, there is no need to convert that data. Alternatively, the conversion must be done if you transport UCS2 little-endian CLOBs to a bigendian system that uses AL16UTF16 CLOBs. In this case, the Oracle database automatically handles the conversion while the CLOBs data is accessed. If you want to eliminate this run-time conversion cost from the previous case, you can issue the CREATE TABLE AS SELECT command before accessing the data. This operation automatically creates the new CLOBs data using the endian-independent AL16UTF16 format.
BabULaL
Rejected
BabULaL
Note
Page 54: Exam

1Z0-040

Actualtests.com - The Power of Knowing

A. Set DB_FLASHBACK_RETENTION_TARGET=10800 B. Create a new scheduler window for the time period of 24 hours and use the optimizer statistics. C. Specify Flashback Retention Time as three hours in the MTTR Advisor page and use its recommendations. D. Modify the Automatic Workload Repository (AWR) snapshot time interval to three hours and use ADDM findings. E. Specify New Undo Retention as three hours and Analysis Time period as Last One Day in the Undo Advisor page and use its recommendations. Answer: E

QUESTION 89: To which three elements is the size of the block change tracking file proportional? (Choose three) A. Number of redo log groups. B. Number of DBWR process. C. Size of the database in bytes. D. Number of archiving destinations. E. Number of old backups maintained by the block change tracking file. F. Number of enabled threads in Real Application Cluster (RAC) environment. Answer: C, E, F The size of the block change tracking file is proportional to: * The database size in bytes: the block change tracking file contains data representing every data file block in the database. The data is approximately 1/250000 of the total size of the database. * The number of enabled threads: In a Real Application Cluster (RAC) environment, the instances update different areas of the tracking file without any locking or inter-node block swapping. You enable block change tracking for the entire database and not for individual instances. * The number of old backups: The block change tracking file keeps a record of all changes between previous backups, in addition to the modification since the last backup. It retains the change history for a maximum of eight backups. REF.: RMAN ( http://searchoracle.techtarget.com/searchOracle/downloads/10g_rman.doc)

QUESTION 90: You executed the following SQL statement to shrink the EMPLOYEES table segment stored in the EXAMPLE tablespace: ALTER TABLE employee SHRINK SPACE CASCADE; Which statement is correct in this scenario?

BabULaL
Highlight
BabULaL
Highlight
Page 55: Exam

1Z0-040

Actualtests.com - The Power of Knowing

A. The data in the segment will be compacted but the high water mark will not be adjusted. B. The EMPLOYEES tablespace will be changed to read-only mode during the shrink operation. C. The indexes created on the EMPLOYEES table will need to be rebuilt after the shrink operation is over. D. The shrink behavior will be cascaded to all dependent segments of the table that support a shrink operation. E. Data manipulation language (DML) operations will not be possible on the EMPLOYEE table during the COMPACTION phase of the shrink operation. Answer: D The CASCADE clause extends the segment shrink operation to all dependent segments of the object. For example, if you specify CASCADE when shrinking a table segment, all indexes of the table will also be shrunk. REF.: Oracle 10g Administrator Guide 14-29

QUESTION 91: Exhibit:

View the Exhibit and examine the Data Pump architecture. Identify the numbered components. A. 1 - Oracle Loader, 2 - Oracle Data Pump, 3 - Direct Path API B. 1 - Oracle Data Pump, 2 - Direct Path API, 3 - Oracle Loader C. 1 - Direct Path API, 2 - Oracle Loader, 3 - Oracle Data Pump D. 1 - Oracle Loader, 2 - Direct Path API, 3 - Oracle Data Pump

BabULaL
Highlight
Page 56: Exam

1Z0-040

Actualtests.com - The Power of Knowing

E. 1 - Oracle Data Pump, 2 - Oracle Loader, 3 - Direct Path API Answer: A

QUESTION 92: How frequently does the Automatic Database Diagnostic Monitor (ADDM) analysis run by default? A. Every 30 minutes B. Every 45 minutes C. Every 15 minutes D. Every 60 minutes E. Each time a statspack snapshot is taken Answer: D ADDM is invoked automatically every time that a new AWR snapshot is generated (by default every 60 minutes) and the results of the analysis are stored in the AWR repository tagged with the snapshot id. Therefore, the DBA can find historical executions of the advisor and its recommendations. REF.:Note:276103.1 PERFORMANCE TUNING USING 10g ADVISORS AND MANAGEABILITY FEATURES

QUESTION 93: Which three statements regarding resumable statements are correct? (Choose three) A. Resumable statements cannot contain a distributed transaction. B. Resumable statements can only be enabled at the system level. C. Resumable statements can be enabled at the system level as well as the session level. D. RESUMABLE_TIMEOUT=0 disabled resumable space allocation for all sessions. E. The ALTER SESSION ENABLE RESUMABLE command is obsolete in Oracle Database 10g. F. Only the local instance is affected when changing the resumable timeout parameter in a distribution transaction. Answer: C, D, F C : At the system level: ALTER SYSTEM SET RESUMABLE_TIMEOUT = 72000; At the session level: ALTER SESSION SET RESUMABLE_TIMEOUT = 72000; E. ALTER SESSION ENABLE RESUMABLE ; is still supported in Oracle 10g

BabULaL
Highlight
BabULaL
Highlight
BabULaL
Highlight
Page 57: Exam

1Z0-040

Actualtests.com - The Power of Knowing

QUESTION 94: Which two sources may be used for a running session by SQL Tuning Advisor (STA)? (Choose two) A. SQL Profiles B. Recovery Manager (RMAN) Repository C. Automatic Workload Repository (AWR) D. Automatic Database Diagnostic Monitor (ADDM) Answer: A, C

QUESTION 95: Immediately after adding a new disk to or removing an existing disk from an ASM instance, you find that the performance of the database goes down initially until the time the addition or removal process is completed, and then gradually becomes normal. Which two activities would you perform to maintain a consistent performance of the database while adding or removing disks? (Choose two) A. Increase the number of checkpoint processes. B. Define the POWER option while adding or removing the disks. C. Increase the number of ARB processes by setting up a higher value for ASM_POWER_LIMIT. D. Increase the number of DBWR processes by setting up a higher value for DB_WRITER_PROCSSES. E. Increase the number of slave database writer processes by setting up a higher value for DBWR_IO_SLAVES. Answer: B, C If the POWER clause is not specified in an ALTER DISKGROUP command, or when rebalance is implicitly invoked by adding or dropping a disk, the rebalance power defaults to the value of the ASM_POWER_LIMIT initialization parameter. You can adjust this parameter dynamically. The higher the limit, the faster a rebalance operation may complete. Lower values cause rebalancing to take longer, but consume fewer processing and I/O resources. This leaves these resources available for other applications, such as the database. The default value of 1 minimizes disruption to other applications. The appropriate value is dependent upon your hardware configuration as well as performance and availability requirements. REF.: Oracle 10g Administrator Guide 12-9

QUESTION 96: Which four statements regarding the block change track file are correct? (Choose four)

BabULaL
Highlight
BabULaL
Highlight
Page 58: Exam

1Z0-040

Actualtests.com - The Power of Knowing

A. The minimum size of this file is 10 MB. B. The maintenance of this file is fully automatic. C. The changed blocks are tracked in this file as redo is generated. D. The location of this file must be different from that of the database files. E. The Oracle database records block change information in this file by default. F. The V$BLOCK_CHANGE_TRACKING view contains the name and location of this file. Answer: A, C, E, F A, B, C, FA - True. Should say "start" not "minimum". The size of the change tracking file is proportional to the size of the database and the number of enabled threads of redo. The size is not related to the frequency of updates to the database. Typically, the space required for block change tracking is Overview of Reporting on Backups and the RMAN Repository approximately 1/30,000 the size of the data blocks to be tracked. B - False. Using change tracking in no way changes the commands used to perform incremental backups, and the change tracking files themselves generally require little maintenance after initial configuration. C - True. Changed blocks are tracked by the CTWR background process as redo is generated. Database incremental backups, automatically use the change tracking file; D - False. You can also create the change tracking file in a location you choose yourself, using the following SQL statement: SQL> ALTER DATABASE ENABLE BLOCK CHANGE TRACKING USING FILE'/mydir/rman_change_track.f' REUSE; E - True. One change tracking file is created for the whole database. By default, the change tracking file is created as an Oracle managed file in DB_CREATE_FILE_DEST. F - True. From SQL*Plus, you can query V$BLOCK_CHANGE_TRACKING.STATUS to determine whether change tracking is enabled, and if it is, query V$BLOCK_CHANGE_TRACKING.FILENAME to display the filename. REF.: Oracle(r) Backup and Recovery Basics, 4-19, 4-20 and 4-21

QUESTION 97: You define the Warning threshold for the tablespace usage metric for the USERS tablespace to be 35%. Because of this, several alerts are being raised. After observing this, you decide to increase the Warning threshold and clear all old alerts related to tablespace usage metric. Where would you fund the information about cleared alerts? A. The alert.log file B. The DBA_ALERT_HISTORY data dictionary table C. The DBA_ALERT_ARGUMENTS data dictionary table D. The DBA_TAB_STATS_HISTORY data dictionary table E. The DBA_OUTSTANDING_ALERTS data dictionary table F. The V$ACTIVE_SESSION_HISTORY data dictionary table

BabULaL
Note
If you enable the block change tracking feature, Oracle Database 10g tracks the physical location of all database changes in a file called the change tracking file. The maintenance of this file is fully automatic and does not require your intervention. The Oracle database does not record block change information by default. Oracle recommends that you place the change tracking file on the same disks as the datafiles. The size of the block change tracking file is proportional to: • Database size in bytes • Number of enabled threads in a RAC environment • Number of old backups maintained by the block change tracking file The background process that performs the writes to the change tracking file is called the change tracking writer (CTWR). The minimum size for the block change tracking file is 10 MB, and any new space is allocated in 10 MB increments. The V$BLOCK_CHANGE_TRACKING view shows the name, size, and status of your change tracking file,
BabULaL
Rejected
BabULaL
Note
Page 59: Exam

1Z0-040

Actualtests.com - The Power of Knowing

Answer: B The following dictionary views provide information about server alerts: * DBA_THRESHOLDS lists the threshold settings defined for the instance. * DBA_OUTSTANDING_ALERTS describes the outstanding alerts in the database. *DBA_ALERT_HISTORY lists a history of alerts that have been cleared. (B) * V$ALERT_TYPES provides information such as group and type for each alert. * V$METRICNAME contains the names, identifiers, and other information about the system metrics. * V$METRIC and V$METRIC_HISTORY views contain system-level metric values in memory. REF.: Oracle 10g Administrator Guide, 4-21 REF.: Oracle 10g Administrator Guide, 4-21

QUESTION 98: Which data dictionary view would you query to find the name of the default permanent tablespace of the database? A. DICTIONARY B. DBA_TABLESPACES C. DBA_DIRECTORIES D. DBA_STORED_SETTINGS E. DATABASE_PROPERTIES F. DBA_TABLESPACE_GROUPS Answer: E SQL*Plus: Release 10.2.0.1.0 - Production on Sat Feb 4 20:31:26 2006 Copyright (c) 1982, 2005, Oracle. All rights reserved. SQL> conn / as sysdba Connected. SQL> desc DATABASE_PROPERTIES Name Null? Type ----------------------------------------- -------- -------------------- PROPERTY_NAME NOT NULL VARCHAR2(30) PROPERTY_VALUE VARCHAR2(4000) DESCRIPTION VARCHAR2(4000) SQL> SELECT PROPERTY_NAME, PROPERTY_VALUE 2 FROM DATABASE_PROPERTIES 3WHERE PROPERTY_NAME='DEFAULT_PERMANENT_TABLESPACE; PROPERTY_NAME PROPERTY_VALUE ---------- ---------------------------- DEFAULT_PERMANENT_TABLESPACE USERS

QUESTION 99:

BabULaL
Highlight
BabULaL
Highlight
Page 60: Exam

1Z0-040

Actualtests.com - The Power of Knowing

Which three statements regarding the properties of a temporary tablespace group are correct? (Choose three) A. It is created explicitly. B. It has the same namespace as tablespaces. C. It contains at least one temporary tablespace. D. It can contain a maximum of 1024 tablespaces in it. E. It has to be removed manually after the last temporary tablespace is removed. F. It is created automatically when the first temporary tablespace is assigned to it. Answer: B, C, F Using a tablespace group, rather than a single temporary tablespace, can alleviate problems caused where one tablespace is inadequate to hold the results of a sort, particularly on a table that has many partitions. A tablespace group enables parallel execution servers in a single parallel operation to use multiple temporary tablespaces. A - see F B - It shares the namespace of tablespaces, so its name cannot be the same as any tablespace. C - It contains at least one tablespace. There is no explicit limit on the maximum number of tablespaces that are contained in a group. D - see C E - The group is deleted when the last temporary tablespace it contains is removed from it. F - You do not explicitly create a tablespace group. Rather, it is created implicitly when you assign the first temporary tablespace to the group. REF.: Oracle 10g Administrator Guide 8-11

QUESTION 100: The SQL Access Advisor may recommend additional structures to improve the performance of SQL statements. You can select the type of structure recommended by the SQL Access Advisor. Which two structures can you select? (Choose two) A. Indexes B. Partitions C. Synonyms D. Sequences E. Database links F. Materialized views G. Hash or index clusters H. Index-Organized Table Answer: A, F Materialized views and indexes are essential when tuning a database to achieve optimum performance for complex, data-intensive queries. The SQL Access Advisor helps you

BabULaL
Highlight
BabULaL
Highlight
Page 61: Exam

1Z0-040

Actualtests.com - The Power of Knowing

achieve your performance goals by recommending the proper set of materialized views, materialized view logs, and indexes for a given workload. REF.: Oracle 10g Performance Tuning Guide 17-1

QUESTION 101:

Sam is a DBA of an OLTP system that has a large number of users. He receives a complaint from two users with client ids Richard and Hardy that the Application response time is poor. To understand the problem faced by Richard and Hardy better, Sam wants to gather the statistics for all active sessions of these clients for a particular instance. Which two of these steps should Sam perform and in which order to view the relevant information? A. 1, 3 B. 1, 4 C. 2, 3 D. 2, 4 Answer: A The question asks for "to gather the statistics for all" and not to enable tracing. Thus it can be assumed that we need to do DBMS_MONITOR.CLIENT_ID_STAT_ENABLE (p18-10) and not DBMS_MONITOR.CLIENT_ID_TRACE_ENABLE (p18-13) CLIENT_ID_STAT_ENABLE Enable / Disable Statistics

gathering for a given Client Identifier

1. Statistics can be seen through VSCLIENT_STATS

CLIENT_ID_STAT_DISABLE

CLIENT_ID_TRACE_ENAB

LEEnable / Disable Tracing for a given Client Identifier

1. Trace data may be written to many trace files as the trace may effect multiple connected sessions with the

QUESTION 102: You are using the Automatic Shared Memory Management configuration. Which four initialization parameters will be tuned automatically? (Choose four)

BabULaL
Highlight
Page 62: Exam

1Z0-040

Actualtests.com - The Power of Knowing

A. LOG_BUFFER B. DB_CACHE_SIZE C. JAVA_POOL_SIZE D. LARGE_POOL_SIZE E. STREAMS_POOL_SIZE F. DB_Nk_CACHE_SIZE G. SHARED_POOL_SIZE H. DB_KEEP_CACHE_SIZE I. DB_RECYCLE_CACHE_SIZE Answer: B, C, D, G ASMM will tune automatically Db_cache_size, Shared_pool_size, large_pool_size and Java_pool_size

QUESTION 103: In which three cases should you collect statistics manually? (Choose three) A. For large objects (LOBs) B. For fixed objects C. For external tables D. For undo tablespaces E. For schema statistics F. For tables that are bulk loaded Answer: B, C, F You must gather statistics manually for the following situations: 1. When a table is loaded using bulk operation 2. When using external tables 3. To collect system statistics To collect statistics on fixed objects.

QUESTION 104: In an online transaction processing (OLTP) environment, you find that the transaction tables get heavily fragmented during the week. You decide to defragment the transaction tables on every Friday at 9:30 p.m. to gain performance. Which two new features of the Oracle 10g database could you use to automate this task? (Choose two) A. The DBMS_AQ package B. The DBMS_JOB package C. The OS level job automation tool D. The DBMS_SCHEDULER package E. Enterprise Manager job scheduling

BabULaL
Highlight
BabULaL
Note
Under Automatic Shared Memory Management, the database manages the following four major components of the SGA, also known as the auto-tuned SGA parameters: Buffer cache (DB_CACHE_SIZE) Shared pool (SHARED_POOL_SIZE) Large pool (LARGE_POOL_SIZE) Java pool (JAVA_POOL_SIZE) It is important to understand that even under Automatic Shared Memory Management, you still need to configure any SGA component other than the four auto-tuned components. Following are the manually sized components of the SGA: Redo Log Buffer The KEEP and RECYCLE buffer caches (if specified) The nonstandard block size buffer caches (if specified) The new Streams pool SGA component The new Oracle Storage Management (OSM) buffer cache, which is meant for the optional ASM instance
BabULaL
Highlight
Page 63: Exam

1Z0-040

Actualtests.com - The Power of Knowing

Answer: D, E D: Oracle 10g's new DBMS_SCHEDULER package offers significant improvements over DBMS_JOB for scheduling jobs and tasks. Here is an example of scheduling with DBMS_SCHEDULER. Note that the syntax is now much clearer, and the parameters even now make sense when compared to DBMS_JOB. And gone at last is that wacky INTERVAL parameter! BEGIN DBMS_SCHEDULER.CREATE_JOB ( job_name => 'HR_STATS_REFRESH' ,job_type => 'PLSQL_BLOCK' ,job_action => 'BEGIN DBMS_STATS.GATHER_SCHEMA_STATS("HR");END;',start_date =>'09/01/2004 09:30 PM' ,repeat_interval => 'WEEKLY BYDAY=5' ,enabled => TRUE ,comments => Refreshes the HR Schema every Friday at 9.30 PM');END; Not B: DBMS_JOB is not new with 10g)

QUESTION 105: You have the following requirements with respect to optimizer statistics: The statistics should be generated automatically during weekdays (Monday to Friday) between 10:00 p.m. and 7:00 a.m. The objects that need updated statistics the most should be processed first. What should you do? A. Modify the AUTO_TASKS_JOB_CLASS Scheduler class. B. Use the DBMS_STATS.GATHER_DATABASE_STATS procedure with the GATHER AUTO option. C. Modify the duration of the default WEEKNIGHT_WINDOW scheduler window to 10:00 pm.7:00 a.m. D. Not make any medications, because by default the WEEKNIGHT_WINDOW scheduler window automatically generates statistics during weekdays between 10:00 p.m. and 7:00 a.m. Answer: C A Scheduler program GATHER_STATS_PROG and Scheduler job GATHER_STATS_JOB are predefined on installation of Oracle Database. GATHER_STATS_PROG collects optimizer statistics for all objects in the database for which there are no statistics or only stale statistics. GATHER_STATS_JOB is defined on GATHER_STATS_PROG and is scheduled to run in the MAINTENANCE_WINDOW_GROUP. The Oracle Scheduler enables you to create time windows during which jobs are automatically run. A typical Scheduler window defines a start time, a duration, and optionally a resource plan to activate. A Scheduler job can then name a window as its schedule. (When the window "opens," the job begins to run.) In addition, windows can be combined into window groups, and if a job names a window group as its schedule instead of naming a window, the job runs whenever any of the windows in the window group opens. Two Scheduler windows are predefined upon installation of Oracle Database:

BabULaL
Highlight
BabULaL
Highlight
Page 64: Exam

1Z0-040

Actualtests.com - The Power of Knowing

* WEEKNIGHT_WINDOW starts at 10 p.m . and ends at 6 a.m. every Monday through Friday. * WEEKEND_WINDOW covers whole days Saturday and Sunday. Together these windows constitute the MAINTENANCE_WINDOW_GROUP in which all system maintenance tasks are scheduled. Oracle Database uses the maintenance windows for automatic statistics collection and for some other internal system maintenance jobs . REF.: Oracle 10g Administrator Guide, 23-1

QUESTION 106: You are working on a database that was created using Oracle Database 10g, the default tablespace type property was not changed. You execute the following statement to create a tablespace, mytbs: CREATE TABLESAPCE mythbs DATAFILE '/u1/data/mytbs.dbf' SIZE 100M; Which two statements are correct regarding the mytbs tablespace? (Choose two) A. It is a smallfile tablespace. B. It is a bigfile tablespace (BFT). C. It is a default bigfile tablespace. D. It is a locally managed tablespace. E. It is a dictionary-managed tablespace. Answer: A, D Explanation: Specify either SET DEFAULT BIGFILE TABLESPACE or SET DEFAULT SMALLFILE TABLESPACE. If you omit this clause, the default is a smallfile tablespace, which is the traditional type of Oracle Database tablespace. Verify also: SELECT tablespace_name, extent_management, bigfile FROM dba_tablespaces WHERE tablespace_name = 'MYTHBS'; TABLESPACE_NAME EXTENT_MANAGEMENT BIGFILE MYTHBS LOCAL NO

QUESTION 107: You executed the following command to back up the control file: ALTER DATABASE BACKUP CONTROLFILE TO TRACE; What do you find in the trace file? A. Image of the control file B. Location of the control file

BabULaL
Highlight
Page 65: Exam

1Z0-040

Actualtests.com - The Power of Knowing

C. Contents of the control file in text format D. SQL command to re-create the database E. SQL command to re-create the control file F. Contents of the control file in binary format Answer: E Use the ALTER DATABASE BACKUP CONTROLFILE statement to back up your control files. You have two options: 1. Back up the control file to a binary file (duplicate of existing control file) using the following statement: ALTER DATABASE BACKUP CONTROLFILE TO '/oracle/backup/control.bkp'; 2. Produce SQL statements that can later be used to re-create your control file: ALTER DATABASE BACKUP CONTROLFILE TO TRACE; This command writes a SQL script to the database trace file where it can be captured and edited to reproduce the control file. REF.: Oracle 10g Administrator Guide, 5-8

QUESTION 108: Your boss at Certkiller .com wants you to clarify Oracle 10g. Which two steps are performed the first time any UPDATE statement is issued after the instance is started? Choose two A. Creating the parse tree of the statement B. Writing the modified data blocks to the data files C. Writing the modified data to the archived redo log files D. Updating the control file to indicate the most recent checkpoint E. Updating the data file header to indicate the most recent checkpoint F. Reading the blocks to database buffer cache if they are not already there Answer: A, F

QUESTION 109: You work as a database administrator for Certkiller .com. You have been asked to use a centralized administrative tool to administer your database servers and application servers. In order to achieve the objective, which component would you configure on each database server? A. Database Control B. Management Server C. Management Repository D. Application Server Control E. Oracle Management Agent Answer: E

BabULaL
Highlight
BabULaL
Highlight
BabULaL
Note
Page 66: Exam

1Z0-040

Actualtests.com - The Power of Knowing

QUESTION 110: The data file belonging to the SYSTEM tablespace is corrupted and no backup of the file is available. How do you recover the data file? A. The data file cannot be recovered. B. The date file can be restored from the SYSTEM auto backup. C. Take the tablespace offline, drop, and re-create it. D. Recovery Manager (RMAN) is used to recover the data file. E. The ALTER DATABSE CREATE DATAFILE.. command is used to recover the data file. Answer: A The tablespace that contains the Oracle data dictionary for a database, which is the metadata that describes the complete contnents of the database. The SYSTEM tablespace is unlike other tablespaces in that all datafiles contained in the tablespace must be online for Oracle to function. If a media failure affects one of the datafiles in SYSTEM, then you must mount the database and recover. The question ask to "How to recover?", but also says that there is NO BACKUP AVAILABLE. To restore a datafile or control file from backup is to retrieve the file onto disk from a backup location on tape, disk or other media, and make it available to the database server. To recover a datafile (also called performing recovery on a datafile), is to take a restored copy of the datafile and apply to it changes recorded in the database's redo logs. To recover a whole database is to perform recovery on each of its datafiles. REF.: Oracle(r) 10g Backup and Recovery Guide 1-5

QUESTION 111: You work as a database administrator for Certkiller .com. You started the instance using the init.ora file. You have two control files and three redo log groups in your database. You decided to protect the database against failures by adding one more control file. Which file is the appropriate way to perform this task? A. Shut down the instance, copy the control file to the third location and open the database. B. Abort the instance, copy the control file to the third location, modify the CONTROL_FILES parameter in the init.ora file and open the database. C. Copy the control file to the third location, modify the CONTROL_FILES parameter in the init.ora file, restart the instance and open the database. D. Shut down the instance, copy the control file to the third location, modify the CONTROL_FILES parameter in the init.ora file and open the database. E. Shut down the instance, startup in the mount state, copy the control file to the third

BabULaL
Highlight
Page 67: Exam

1Z0-040

Actualtests.com - The Power of Knowing

location, modify the CONTROL_FILES parameter in init.ora and open the database. Answer: D You can create an additional control file copy for multiplexing by copying an existing control file to a new location and adding the file name to the list of control files. Similarly, you rename an existing control file by copying the file to its new name or location, and changing the file name in the control file list. In both cases, to guarantee that control files do not change during the procedure, shut down the database before copying the control file. To add a multiplexed copy of the current control file or to rename a control file: 1. Shut down the database 2. Copy an existing control file to a new location, using operating system commands. 3. Edit the CONTROL_FILES parameter in the database initialization parameter file to add the new control file name, or to change the existing control filename. 4. Restart the database. REF.: Oracle 10g Administrator Guide, 5-4

QUESTION 112: You work as a database administrator for Certkiller .com. You find that the database performance degrades while you backup the Certkiller database using Recovery Manager (RMAN). The Certkiller database is running in shared server mode. The database instance is currently using 60% of total operating system memory. You suspect the shared pool fragmentation to be the reason. Which action would you consider to overcome the performance degradation? A. Configure Java Pool to cache the java objects. B. Configure Streams Pool to enable parallel processing. C. Increase Shared Pool size to cache more PL/SQL objects. D. Increase Database Buffer Cache size to increase cache hits. E. Configure Large Pool to be used by RMAN and shared server. F. Increase the total System Global Area (SGA) size to increase memory hits. Answer: E When attempting to get shared buffers for I/O slaves, the database does the following: * If LARGE_POOL_SIZE is set, then the database attempts to get memory from the large pool. If this value is not large enough, then an error is recorded in the alert log, the database does not try to get buffers from the shared pool, and asynchronous I/O is not used. * If LARGE_POOL_SIZE is not set, then the database attempts to get memory from the shared pool. * If the database cannot get enough memory, then it obtains I/O buffer memory from the PGA and writes a message to the alert.log file indicating that synchronous I/O is used for this backup. The memory from the large pool is used for many features, including the shared server

BabULaL
Highlight
BabULaL
Highlight
Page 68: Exam

1Z0-040

Actualtests.com - The Power of Knowing

(formerly called multi-threaded server), parallel query, and RMAN I/O slave buffers.Configuring the large pool prevents RMAN from competing with other subsystems for the same memory. Se the LARGE_POOL_SIZE initialization parameter to configure the large pool. To see in which pool (shared pool or large pool) the memory for an object resides, query $SGASTAT.POOL. REF.: Oracle(r) 10g Backup and Recovery Guide 11-6 and 11-7

QUESTION 113: You work as a database administrator for Certkiller .com. You decided to manage client and server connections using Local Naming method in Certkiller .com. When you try to connect to the database you get the following error: ERROR: ORA-12154: TNS:could not resolve service name Which network configuration files would you look into to resolve this error? Choose two. A. snmp.ora B. names.ora C. spfile.ora D. sqlnet.ora E. listener.ora F. tnsnames.ora Answer: D, F Error: ORA-12154 / TNS-12154 Text: TNS:could not resolve service name -------------------------------- Cause: The service name specified is not defined correctly in the TNSNAMES.ORA file. Action: Make the following checks and correct the error: - Verify that a TNSNAMES.ORA file exists and is in the proper place and accessible. See the operating system specific manual for details on the required name and location. Explanation: The SQL*Net layer cannot find a definition for the alias supplied Diagnosis: 1) Check the tnsnames.ora file you are using, verify that it is accessible. 5) Check the default domain name being used, and the path used to locate aliases, in the SQLNET.ORA file. The default domain is specified in the NAMES.DEFAULT_DOMAIN parameter - this is appended to the alias specified in the connect string if there is no domain given. REF.: Metalink Note:21321.1 ORA 12154 "TNS: could not resolve service name"

QUESTION 114: You work as a database administrator for Certkiller .com. In your production

BabULaL
Highlight
Page 69: Exam

1Z0-040

Actualtests.com - The Power of Knowing

database, the size of Database Buffer Cache needs to be increased immediately for the current as well as future instances of the database. The Oracle instance has been configured to accommodate any changes in the size of the memory structures. At this is production database, you want to accomplish this task with no impact on the user's connections. Which activity must you have completed before accomplishing this task? A. You must have started the database instance in restricted mode. B. You must have started the database instance in NORMAL mode. C. You must have started the database instance with server parameter file. D. You must have started the database instance but must not have mounted. E. You must have started the database instance but must not have opened. Answer: C

QUESTION 115: Which three statements regarding the column-level Virtual Database Policy (VPD) policy are true? (Choose three.) A. The column-level VPD policy can be applied only to tables. B. The security policy is applied whenever the column is referenced in a query. C. The column-level VPD policy can be applied to tables and views, but not to synonyms. D. The security policy cannot be applied to data manipulation language (DML) statements. E. The security policy is applied and statements are rewritten when they access security-relevant Answer: B, C, E A - False. Virtual private database (VPD) enables you to enforce security, to a fine level of granularity, directly on tables, views, or synonyms. B - True. When a user directly or indirectly accesses a table, view, or synonym protected with aVPD policy, the server dynamically modifies the SQL statement of the user. Themodification creates a WHERE condition (known as a predicate) returned by a function implementing the security policy. The statement is modified dynamically, transparently to the user, using any condition that can be expressed in or returned by a function. VPD policies can be applied to SELECT, INSERT, UPDATE, INDEX, and DELETE statements. C - True. see B D - False. see B E - True. see B REF.: Oracle 10g Security Guide 14-2

QUESTION 116:

BabULaL
Highlight
BabULaL
Highlight
BabULaL
Note
DBMS_RLS.ADD_GROUPED_POLICY( object_schema VARCHAR2, object_name VARCHAR2, policy_group VARCHAR2, policy_name VARCHAR2, function_schema VARCHAR2, policy_function VARCHAR2, statement_types VARCHAR2, update_check BOOLEAN, enabled BOOLEAN, static_policy IN BOOLEAN FALSE, policy_type IN BINARY_INTEGER NULL, long_predicate IN BOOLEAN FALSE, sec_relevant_cols IN VARCHAR2); sec_relevant_cols: ============== Enables column-level Virtual Private Database (VPD), which enforces security policies when a column containing sensitive information is referenced in a query. Applies to tables and views, but not to synonyms.
Page 70: Exam

1Z0-040

Actualtests.com - The Power of Knowing

Which four policy rule categories are available in the Policy Framework? (Choose four.) A. Objects B. Storage C. Security D. Network E. Configuration Answer: A, B, C, E

QUESTION 117: Which three files can be managed using an ASM Instance? (Choose three.) A. Data files B. Audit files C. Trace files D. Export files E. Alert log files F. Archived log files G. Change tracking files Answer: A, F, G File Types Supported by Automatic Storage Management Control files yes Datafiles yes Redo log files yes Archive log files yes Trace files no Temporary files yes Datafile backup pieces yes Datafile incremental backup pieces yes Archive log backup piece yes Datafile copy yes Persistent initialization parameter file (SPFILE) yes Disaster recovery configurations yes Flashback logs yes Change tracking file yes Data Pump dumpset yes Automatically generated control file backup yes Cross-platform transportable datafiles yes Operating system files no REF.: Oracle(r) 10G Admin Guide 12-33

BabULaL
Highlight
BabULaL
Highlight
Page 71: Exam

1Z0-040

Actualtests.com - The Power of Knowing

QUESTION 118: You are checking every 10 minutes for alerts regarding the violation of tablespace usage threshold. Some of the tablespaces' fullness was not detected on time. As a result the transactions were aborted before you had a chance to resolve the space issue. What would you do to avoid transactional failures? A. Use bigfile tablespaces (BFTs) B. Enable resumable space allocation C. Modify the background process PMON settings D. Modify the LOG_CHECKPOINT_TIMEOUT parameter E. Reduce the default tablespace usage threshold values for the database. Answer: A B (According to Pass4Sure Test Engine)

QUESTION 119: You create a locally managed tablespace by using the following SQL statement: CREATE TABLESPACE hr_tbs DATAFILE 'data.dat' SIZE 1M REUSE AUTOEXTEND ON MAXSIZE 100M; The warning and critical tablespace usage threshold values are set to 85% and 97%, respectively. Which two statements regarding the threshold-based alerts generation for the HR_TBS tablespace are correct? (Choose two.) A. A critical alert will be generated when 97 MB space is used. B. A critical alert will be generated when 970 KB space is used. C. A warning alert will be generated when 85 MB space is used. D. A warning alert will be generated when 850 KB space is used. E. A critical alert will be generated when 970 KB is left as free space. F. A warning alert will be generated when 850 KB is left as free space. G. No critical alert will be generated because it is a small file tablespace. H. No warning alert will be generated because the tablespace is autoextensible. Answer: A, C By default a server-generated alert is generated for tablespace space usage when the percentage of space usage exceeds either the 85% warning or 97% critical threshold level. MAXSIZE 100M , then 97 MB and 85MB, are the correct answers. REF.: Oracle(r) 10g Administrator Guide , 4-19

QUESTION 120: While using buffer cache advisory, you find that no statistics have been collected. Which task would you perform to collect the statistics? A. Restart the database instance.

BabULaL
Highlight
BabULaL
Highlight
BabULaL
Rejected
BabULaL
Note
BabULaL
Note
Oracle provides a means for suspending, and later resuming, the execution of large database operations in the event of space allocation failures. This enables an administrator to take corrective action, instead of the Oracle database server returning an error to the user. After the error condition is corrected, the suspended operation automatically resumes. A statement runs in a resumable mode only when the client explicitly enables resumable semantics for the session using the ALTER SESSION statement. Resumable space allocation is suspended when one of the following conditions occur: -- Out of space condition -- Maximum extents reached condition -- Space quota exceeded condition For nonresumable space allocation, these conditions result in errors and the statement is rolled back. The objective of this question is to take action to avoid transactional failures. If you use bigfile tablespace and do not login to the Enterprise Manager or query DBA_OUTSTANDING_ALERTS you will not know about the space crunch. In that case the resumable transactions will suspend rather than fail. So, the objective will be achieved by enabling resumable space allocation not by using bigfile tablespaces.
Page 72: Exam

1Z0-040

Actualtests.com - The Power of Knowing

B. Set DB_CACHE_ADVICE to ON. C. Set TIMED_STATISTICS to TRUE. D. Set TIMED_OS_STATISTICS to 100. E. Set ACTIVE_INSTANCE_COUNT to 2. F. Set STATISTICS_LEVEL to TYPICAL. G. Modify the AUTO_TASK_JOB_CLASS schedule class. H. Wait for the default automatic optimizer statistics generation. I. Create a custom Automatic Database Diagnostic Monitor (ADDM) task. Answer: F If no statistics have been collected, them the automatic statistics colletion isn't enable. The Oracle gathering and monitoring features are mainly automatic, managed by an Oracle background processes. To enable automatic statistics collection and automatic performance features, the STATISTICS_LEVEL initialization parameter must be set to TYPICAL or ALL. REF.: Oracle(r) 10g Performance Guide , 1-4

QUESTION 121: You are using disk-based backups and the disk space in the backup destination is limited. A normal complete backupset will not fit onto the disk. You need to perform a full database backup in the same disk. Which two commands in this scenario are correct? (Choose two.) A. RMAN> BACKUP DATABASE; B. RMAN> BACKUP AS BACKUPSET DATABASE; C. RMAN> BACKUP AS COMPRESSED BACKUPSET DATABASE; D. RMAN> BACKUP DURATION 2:00 PARTIAL MINIMIZE TIME DATABASE; E. RMAN> BACKUP DURATION 1:00 PARTIAL FILESPERSET 1 DATABASE; F. RMAN> BACKUP AS COMPRESSED BACKUPSET DATABASE PLUS ARCHIVELOG; Answer: C, F For any use of the BACKUP command that creates backupsets, you can take advantage of RMAN's support for binary compression of backupsets, by using the AS COMPRESSED BACKUPSET option to the BACKUP command. The resulting backupsets are compressed using an algorithm optimized for efficient compression of Oracle database files. No extra uncompression steps are required during recovery if you use RMAN's integrated compression. REF.: Oracle(r) 10g Backup and Recovery Basics, 4-6

QUESTION 122: Which two statements regarding the Flashback Table feature are correct? (Choose two.)

BabULaL
Highlight
BabULaL
Highlight
Page 73: Exam

1Z0-040

Actualtests.com - The Power of Knowing

A. Flashback Table can be performed on system tables. B. Flashback Table operation does not shrink the segments. C. Flashback Table uses log mining to extract SQL_REDO and SQL_UNDO statements. D. Flashback Table operation acquires exclusive data manipulation language (DML) locks. Answer: B, D

QUESTION 123: You have a materialized view called emp-mv on the emp table. You want to stop the following query from executing if it does not rewrite: SELECT deptno, sum(sal) FROM emp GROUP BY deptno; Which statement wold you use? A. SELECT /*+ USE_CONCAT */deptno,sum(sal) FROM emp GROUOP BE deptno; B. SELECT /*+ NO_EXPAND */deptno,sum(sal) FROM emp GROUOP BE deptno; C. SELECT /*+ NO_REWRITE */deptno,sum(sal) FROM emp GROUOP BE deptno; D. SELECT /*+ REWRITE_OR_ERROR */deptno,sum(sal) FROM emp GROUP BY deptno; E. SELECT /*+ NO_QUERY_TRANSFORMATION */deptno,sum(sal) FROM emp GROUP BY deptno; Answer: D REWRITE_OR_ERROR Hint There may be situations where you want to stop the query from executing if it did not rewrite . One such situation can be when you expect the un-rewritten query to take an unacceptably long time to execute. To support this requirement, Oracle Database 10g provides a new hint called REWRITE_OR_ERROR. This is a query block-level hint. For example, if the SELECT statement is not rewritten, the error displayed in the message is thrown. The REWRITE_OR_ERROR hint allows you to run DBMS_MVIEW.EXPLAIN_REWRITE() on the query, resolve the problems that caused rewrite to fail, and run the query again

QUESTION 124: Which method would you use to undo the changes made by a particular transaction without affecting the changes made by other transaction? A. point-in-time recovery B. manually enter the appropriate data again C. execute the ROLLBACK command with transaction number D. flashback the database to before the transaction was committed E. determine all the necessary undo SQL statements from FLASHBACK_TRANSACTION_QUERY and use them for recovery.

BabULaL
Highlight
BabULaL
Note
• Flashback Table is executed within a single transaction. • It acquires exclusive DML locks. • Statistics are not flashed back. • Current indexes and dependent objects are maintained. • Operation is written to the alert log file. • The operation maintains data integrity. • Flashback Table cannot span DDLs. • Flashback Table cannot be performed on system tables. • Flashback Table does not shrink the segments.
BabULaL
Highlight
Page 74: Exam

1Z0-040

Actualtests.com - The Power of Knowing

Answer: E

QUESTION 125: Which four tablespaces can be renamed? (Choose four.) A. an undo tablespace B. an offline tablespace C. a read-only tablespace D. a temporary tablespace E. the SYSTEM tablespace F. the default permanent tablespace for the non-SYSTEM users Answer: A, C, D, F Besides any other, The COMPATIBLE parameter must be set to 10.0 or higher. A - True. UNDO Tablespace. If the tablespace is an undo tablespace and if the following conditions are met, then the tablespace name is changed to the new tablespace name in the server parameter file (SPFILE). - The server parameter file was used to start up the database. - The tablespace name is specified as the UNDO_TABLESPACE for any instance. If a traditional initialization parameter file (PFILE) is being used then a message is written to the alert log stating that the initialization parameter file must bemanually changed. B - False. Offline Tablespaces. If any datafile in the tablespace is offline, or if the tablespace is offline, then the tablespace is not renamed and an error is raised. C - True. Read-only Tablespace. If the tablespace is read only, then datafile headers are not updated. This should not be regarded as corruption; instead, it causes a message to be written to the alert log indicating that datafile headers have not been renamed. The data dictionary and control file are updated. D - True.Temporary Tablespace.If the tablespace is the default temporary tablespace, then the corresponding entry in the database properties table is updated and the DATABASE_PROPERTIES view shows the new name. E - False. SYSTEM Tablespace. If the tablespace being renamed is the SYSTEM tablespace or the SYSAUX tablespace, then it will not be renamed and an error is raised. F - True. When you rename a tablespace the database updates all references to the tablespace name in the data dictionary, control file, and (online) datafile headers. The database does not change the tablespace ID so if this tablespace were, for example, the default tablespace for a user, then the renamed tablespace would show as the default tablespace for the user in the DBA_USERS view. REF.: Oracle(r) Database Administration Guide,8-19

BabULaL
Highlight
BabULaL
Note
From FLASHBACK_TRANSACTION_QUERY view you can obtain transaction information, including the necessary SQL statements to undo all the changes made by a transaction.
BabULaL
Highlight
BabULaL
Note
• You can rename permanent, undo, or temporary tablespaces. • SYSTEM and SYSAUX tablespaces cannot be renamed. • The tablespace to be renamed must have all its files ONLINE. • Data file headers of READ ONLY tablespaces are not changed. • SPFILEs are automatically updated, if necessary. • If SPFILEs are not used, then a specific message is added to the alert log file advising you to manually change the corresponding initialization parameter files. • Before issuing this command, make sure that the compatibility level is set to at least 10.0.0.0.0.
Page 75: Exam

1Z0-040

Actualtests.com - The Power of Knowing

QUESTION 126: Exhibit 1-5:

View the exhibit and examine the sparsely populated EMP table segment.

Page 76: Exam

1Z0-040

Actualtests.com - The Power of Knowing

You execute the following SQL command: ALERT TABLE emp SHRINK SPACE Identify how the data in the segment will be reorganized as a result of the above statement. A. Exhibit 1. B. Exhibit 2. C. Exhibit 3 D. Exhibit 4 E. Exhibit 5 Answer: A Segment shrink reclaims unused space both above and below the high water mark. In contrast, space deallocation reclaims unused space only above the high water mark. In shrink operations, by default, the database compacts the segment, adjusts the high water mark, and releases the reclaimed space. REF.: Oracle(r) Database Administration Guide,14-28

QUESTION 127: You want to convert your existing non-ASM files to ASM filesfor the database PROD. Which method or command would you use to accomplish this task? A. the CONVERT command of RMAN B. Data Pump Export and Import C. Conventional export and import D. The BACKUP .. RESTORE command of RMAN E. The BACKUP AS COPY DATABASE .. command of RMAN Answer: E If you have enough disk space that you can have both your entire non-ASM database and your ASM disk group on disk at the same time, you can do the migration directly without

BabULaL
Highlight
BabULaL
Highlight
Page 77: Exam

1Z0-040

Actualtests.com - The Power of Knowing

using tapes. 1. Back up your database files as copies to the ASM disk group. BACKUP AS COPY INCREMENTAL LEVEL 0 DATABASE FORMAT '+DISK' TAG 'ORA_ASM_MIGRATION'; REF.: Oracle(r) 10g Backup and Recovery Advance User's Guide, 16-2

QUESTION 128: View the Exhibit and examine the recommendation graph provided for a test database by the Undo Advisor.

The graph recommends that the size of undo tablespace should be set to _______. A. 1 MB B. 6 MB C. 10 MB D. 15 MB E. 11 MB Answer: E

QUESTION 129: At 6:00 p.m. you notice that the database performance was slow between 2:00 p.m. and 6:00 p.m. due to a series of interrelated problems. You plan to use the Automatic Database Diagnostic Monitor (ADDM) findings for the time period 2:00 p.m. to 6:00 p.m. to resolve the performance issue. The Automatic Workload Repository (AWR) snapshots are made every 30 minutes. What would you do?

BabULaL
Highlight
Page 78: Exam

1Z0-040

Actualtests.com - The Power of Knowing

A. Lock at the latest ADDM report. B. Check the alert log to see if it contains ADDM advice. C. Modify the time interval used by the DBMS_JOB.INTERVAL procedure D. Check for the ADDM advice trace file in the BACKGROUND_DUMP_DEST directory E. Modify the Automatic Workload Repository (AWR) snapshot retention period to four hours F. Create a custom ADDM task over the period defined by the snapshots taken at 2:00 p.m. and 6:00 p.m. Answer: F

QUESTION 130: In the Oracle 10g Data Guard architecture, what is the purpose of the Log Transport Services? A. to control the automated transfer or redo data from the production database to one or more archival destinations B. to apply redo log records sent from the primary database to a stadby database at the receiving location C. to synchronize changes to the control files on all standby database with changes on the primary database when a log switch occurs D. to batch archived log files on the primary database until a defined number of checkpoints have been processed and then to distribute the arcives to each standby database Answer: A A - True. Redo Transport Services control the automated transfer of redo data from the production database to one or more archival destinations. Redo transport services also perform the following tasks: *Transmit redo data from the primary system to the standby systems in the configuration; * Manage the process of resolving any gaps in the archived redo log files due to a network failure; *Enforce the database protection modes; * Automatically detect missing or corrupted archived redo log files on a standby system and automatically retrieve replacement archived redo log files from the primary database or another standby database B - False . Apply redo service do this C - False . Apply redo service do this D - False REF.: Oracle(r) Data Guard Concepts and Administration 10g Release 2 (10.2), 1-3

QUESTION 131:

BabULaL
Highlight
BabULaL
Highlight
BabULaL
Note
Log Transport Services automatically transfers redo data from a primary to a standby database within a data guard environment. Logs can be transmitted either by ARCH or LGWR. When redo arrives on a standby database (as sent by the log transport services) they are stored as archived redo logs. Log Apply Services applies them on the standby database, thus synchronizing the primary database with the standby database. In the case of physical standby databases, data guard applies the redo directly while in the case of logical standby databases, it converts the redo first into SQL statements and then executes them.
Page 79: Exam

1Z0-040

Actualtests.com - The Power of Knowing

Examine the statement: SQL> CREATE TABLESPACE user_data 2> EXTENT MANAGEMENT LOCAL 3> SEGMENT SPACE MANAGEMENT AUTO; Which two assumptions must be true for this statement to execute successfully? (choose two) A. Oracle Managed Files are used for this instance B. The USER_DATA tablespace is managed using FET$/UET$ tables C. The database will manage the free space of segments in the tablesapce using a bitmap. D. Space within segments in the USER_DATA tablespac is managed with freelists Answer: A,C A - True. No datafile location had been specified, because OMF. Using Oracle-managed files simplifies the administration of an Oracle Database. Through initialization parameters, you specify the file system directory to be used for a particular type of file. The database then ensures that a unique file, an Oracle-managed file, is created and deleted when no longer needed. The database internally uses standard file system interfaces to create and delete files as needed for the following database structures: * Tablespaces * Redo log files * Control files * Archived logs * Block change tracking files * Flashback logs * RMAN backups B - False. See C C - True. The clause, MANAGEMENT LOCAL, tells us that tocally managed tablespaces track all extent information in the tablespace itself by using bitmaps, resulting in the following benefits: * Fast, concurrent space operations. Space allocations and deallocations modify locally managed resources (bitmaps stored in header files). * Enhanced performance * Readable standby databases are allowed, because locally managed temporary tablespaces do not generate any undo or redo. * Space allocation is simplified, because when the AUTOALLOCATE clause is specified, the database automatically selects the appropriate extent size. * User reliance on the data dictionary is reduced, because the necessary information is stored in file headers and bitmap blocks. * Coalescing free extents is unnecessary for locally managed tablespaces. D - False. See C REF.: Oracle(r) Database Administration Guide, 8-3 and 11-1

QUESTION 132:

BabULaL
Highlight
Page 80: Exam

1Z0-040

Actualtests.com - The Power of Knowing

What is the Character Set Scanner? A. a separate program that searches the database for invalid strings B. a package (DBMS_CSS) that searches the database for invalid strings C. a separate program that searches for strings that require Unicode conversion if you want to support multiple languages D. a separate program that identifies character data loss if you change the character sets of the database Answer: D Before altering the character set of a database, check the convertibility of the data before converting. Character set conversions can cause data loss or data corruption. The Character Set Scanner utility provides this 2 features: 1) convertibility check of existing data and potential issues. The Scanner checks all character data in the database including the data dictionary and tests for the effects and problems of changing the character set encoding (characterset). At the end of the scan, it generates a summary and exception report of the database scan. 2) from csscan V1.1 onwards it allows you also to do a check if there is no data in the database that is incorrectly stored. REF.: Metalink Note : 123670.1 - Use Scanner Utility before Altering the Database Character Set

QUESTION 133: In an online transaction processing(OLTP) environment you find that the transaction tables get heavily fragmented during the week. You decide to defragment the transaction tables on every Friday at 9:30 p,m to gain performance. Which two new features of the Oracle 10G database could you use to automate this task? A. the DBMS_AQ package B. th DBMS_IJOB package C. the OS levl job automation tool D. the DBMS_SCHEDULER package E. Enterprise Manager job scheduling Answer: D,E

QUESTION 134: Standby redo logs are used in Data Guard environments for a number of reasons. Which three statements are true regarding standby redo logs? A. They are required to implement a no-data-loss disaster recovery solution. B. They are used on the primary database to allow the primary and a standby database to switch roles easily and quickly without additional DBA intervention. C. They must be archived before being applied to a standby database, requiring the

BabULaL
Highlight
BabULaL
Highlight
Page 81: Exam

1Z0-040

Actualtests.com - The Power of Knowing

ARCH process to be running on the standby irrespective of the archive log mode. D. They must be updated on the standby database server in asynchronous mode to guarantee data availability. Answer: A,B,C

QUESTION 135: When enabling a flashback, you must identify the version of the database contents you want to see. Which two options can you use to identify this version? (choose two) A. a point in time B. a start and an end time C. a start and an end SCN D. a System Change Number (SCN) E. a transaction ID Answer: A,D

QUESTION 136: Which two data types can be converted to LOBs using an ALTERMODIFY command? A. raw B. long C. varchar D. long raw Answer: B,D

QUESTION 137: You want to perform the database backup when user activity on your system is low, such as between 12:00 a.m. and 2:00 a.m. Which command terminates with an error if the backup is not complete at the end of th specified duration? A. RMAN> BACKUP DURATION 2:00 PARTIAL LOAD DATABASE; B. RMAN> BACKUP DURATION 2:00 PARTIAL FILESPERSET 1 DATABASE; C. RMAN> BACKUP DURATION 2:00 PARTIAL MINIMIZE TIME DATABASE; D. RMAN> BACKUP AS COPY DURATION 2:00PARTIAL MINIMIZE LOAD DATABASE; Answer: A (PARTIAL is a typo, it should be MINIMIZED)

BabULaL
Highlight
BabULaL
Highlight
BabULaL
Note
You can use the SQL FLASHBACK DATABASE command to return the database to a past time or SCN.
BabULaL
Note
ALTER TABLE statement only modifies either of the following: * A LONG column to a CLOB or an NCLOB column * A LONG RAW column to a BLOB column It will not modify a VARCHAR or a RAW column.
BabULaL
Highlight
BabULaL
Cross-Out
MINIMIZE
BabULaL
Note
Standby redo logs are necessary for the higher protection levels such as Guaranteed, Instant, and Rapid. In these protection modes LGWR from the Primary host writes transactions directly to the standby redo logs. This enables no data loss solutions and reduces the amount of data loss in the event of failure. Standby redo logs are not necessary if you are using the delayed protection mode. If you configure standby redo on the standby then you should also configure standby redo logs on the primary database. Even though the standby redo logs are not used when the database is running in the primary role, configuring the standby redo logs on the primary database is recommended in preparation for an eventual switchover operation. Standby redo logs must be archived before the data can be applied to the standby database. The standby archival operation occurs automatically, even if the standby database is not in ARCHIVELOG mode. However, the archive process must be started on the standby database. Note that the use of the archiver process (ARCn) is a requirement for selection of a standby redo log. You must have the same number of standby redo logs on the standby as you have online redo logs on production. They must also be exactly the same size.
BabULaL
Highlight
Page 82: Exam

1Z0-040

Actualtests.com - The Power of Knowing

By default, when a BACKUP... DURATION command runs out of time before the backup completes, RMAN reports an error. (The effect of this is that if the command is running in a RUN block, the RUN block terminates.) You can control this behavior by adding the PARTIAL option to the BACKUP... DURATION command, as in this example: BACKUP DURATION 4:00 PARTIAL TABLESPACE users FILESPERSET 1; When PARTIAL is used, no error is reported when a backup command is interrupted due to the end of the backup window. Instead, a message showing which files could not be backed will be displayed. If the BACKUP command is part of a RUN block, then the remaining commands in the RUN block will continue to execute. When using DURATION the least recently backed up files are backed up first. Thus, if you retry a job that was interrupted when the available duration expired, each successive attempt covers more of the files needing backup. REF.: Oracle(r) Backup and Recovery Advanced User's Guide, 2-41

QUESTION 138: What is the result of setting the CURSOR_SHARING = SIMILAR initialization parameter? A. turn off all literal replacement for the shared cursor B. causes the optimizer to share cursors for all statements C. causes the optimizer to examine the statement of ensure cursor sharing occurs for safe literals only D. causes the optimizer to ignore all indexes and static's to establish the appropriate execution path Answer: C

QUESTION 139: In order to speed forign key certain, Oracle 10G will cache the first_____primary key values only where there are multirow DML statements. A. 32 B. 128 C. 256 D. 512 Answer: C

QUESTION 140: Which four are true regarding the workspace Manager in Oracle 10G? (choose four)

BabULaL
Highlight
BabULaL
Note
Setting CURSOR_SHARING to either SIMILAR or FORCE allows similar statements to share SQL. The difference between SIMILAR and FORCE is that SIMILAR forces similar statements to share the SQL area without deteriorating execution plans. Setting CURSOR_SHARING to FORCE forces similar statements to share the executable SQL area, potentially deteriorating execution plans.
BabULaL
Highlight
BabULaL
Note
Cached Primary Key Look Up The look up of matching primary keys at the time of foreign key insertion takes time. The first 256 primary key values can be cached, so the addition of multiple foreign keys becomes significantly faster. The cache is only set for the second row processed; this avoids the overhead of setting up a cache for single row DML statements.
Page 83: Exam

1Z0-040

Actualtests.com - The Power of Knowing

A. automatically versions all tables B. automatically installed with Oracle 10G. C. provides concurrency by isolating versions of data until they are explicity merged with production data or discarded D. provides mechanism to identify and resolve conflicts E. allows for version enabling tables by use of a packaged procedure F. creates a database wide system table that maps row versions to workspaces and is visible to all users Answer: A,B,C,E Workspace Manager lets you version-enable one or more user tables in the database. When a table is version-enabled, all rows in the table can support multiple versions of the data. A workspace is a virtual environment that one or more users can share to make changes to the data in the database. A workspace logically groups collections of new row versions from one or more version-enabled tables, and isolates these versions until they are explicitly merged with production data or discarded, thus providing maximum concurrency. Workspace Manager automatically detects conflicts, which are differences in data values resulting from changes to the same row in a workspace and its parent workspace. You can use workspace locks to avoid conflicts. Workspace Manager is installed by default in the seed database and in all databases created by the Database Configuration Assistant (DBCA). D - False. The Workspace manager detects conflicts, but YOU must resolve conflicts before merging changes from a workspace into its parent workspace. F- False. Will be visible only AFTER making the changes public. REF.: Oracle(r) Application Developer's Guide - Workspace Manager 10g Release 2 (10.2), 1-2 and 1-3

QUESTION 141: Examine the list of variables and their data types: Name Data Type TS, TS1 TIMESTAMP TSZ TIMESTAMP WITH TIME ZONE TLZ TIMESTAMP WITH LOCAL TIME ZONE IYM INTERVAL YEAR TO MONTH IDS, IDS1 INTERVAL DAY TO SECOND Which three expressions using the new date and time data types are valid? A. IDS*2 B. TS + IYM C. TS - TS1 D. IDS -TS E. IDS +IYM Answer: A,B,D A, B, C

BabULaL
Highlight
BabULaL
Rejected
BabULaL
Note
BabULaL
Note
Operand1 Operator Operand2 Result Type datetime +interval datetime datetime -interval datetime interval +datetime datetime datetime - datetime interval interval +interval interval interval - interval interval interval * numeric interval numeric * interval interval interval /numeric interval Both Operand1 & Operand2 belongs to the same data type. Otherwise, if possible, an implicit data conversion takes place.
Page 84: Exam

1Z0-040

Actualtests.com - The Power of Knowing

QUESTION 142: Which statement regarding the COMPATIABLE parameter is correct? A. It is dynamic parameter. B. It is an advanced parameter C. It is a new parameter in Oracle 10G D. It can have any value between 8:0:0 and 10.1.0 in Oracle 10G database E. After is set to 10.0.0 or greater and the database is opened, it cannot be set back. Answer: E The default value is 10.2.0. The minimum value is 9.2.0. If you create an Oracle Database using the default value, you can immediately use all the new features in this release, and you can never downgrade the database. REF.: Oracle(r) 10g Administrator Guide , 2-34

QUESTION 143: You have a materialized view called emp_mv on the emp table. You want to stop following query from executing if it does not rewrite: SELECT deptno,sum (sal) FROM emp GROUP BY deptno; Which statement should you use? A. SELECT /*+USE_CONTACT*/deptno,sum(sal) FROM emp GROUP BY deptno; B. SELECT /*+NO_EXPAND*/deptno,sum(sal) FROM emp GROUP BY deptno; C. SELECT /*+NO_REWRITE*/deptno,sum(sal) FROM emp GROUP BY deptno; D. SELECT / *+REWRITE_OR_ERROR */deptno,sum(sal) FROM emp GROUP BY deptno; Answer: D REWRITE_OR_ERROR Hint There may be situations where you want to stop the query from executing if it did not rewrite . One such situation can be when you expect the un-rewritten query to take an unacceptably long time to execute. To support this requirement, Oracle Database 10g provides a new hint called REWRITE_OR_ERROR. This is a query block-level hint. For example, if the SELECT statement is not rewritten, the error displayed in the message is thrown. The REWRITE_OR_ERROR hint allows you to run DBMS_MVIEW.EXPLAIN_REWRITE() on the query, resolve the problems that caused rewrite to fail, and run the query again

QUESTION 144: Which two procedures or functions are part of the DBMS_METADATA package? A. GET_DDL

BabULaL
Highlight
BabULaL
Highlight
Page 85: Exam

1Z0-040

Actualtests.com - The Power of Knowing

B. GET_XML C. GET_TYPE D. GET_VIEW E. GET_TABLE Answer: A,B Procedures in DBMS_METADATA that use Object Types ================================================== DBMS_METADATA.OPEN DBMS_METADATA.GET_XML DBMS_METADATA.GET_DDL DBMS_METADATA.GET_DEPENDENT_XML DBMS_METADATA.GET_DEPENDENT_DDL DBMS_METADATA.GET_GRANTED_XML DBMS_METADATA.GET_GRANTED_DDL REF.: Metalink Note : 207859.1- Object types for DBMS_METADATA

QUESTION 145: Which three are true for a version-enabled table? (choose three) A. must have a primary key B. can be owned by the SYS user C. triggers that are not supported for version-enabled tables are deactivated when versioning is enabled D. a child table cannot be version-enabled without the parent table being version-enabled E. can be enabled or disabled by the table owner only Answer: A,C,D A - True. Must have a PK. The table that is being version-enabled must have a primary key defined. The primarykey can be a composite (multicolumn) primary key. B - False. Tables owned by SYS CAN'T be version-enabled. C - True . Any triggers that are not supported for version-enabled tables are deactivated when versioning is enabled, and are activated when versioning is disabled. D - True - a workspace can be a parent to one or more workspaces (child workspaces). By default, when a workspace is created, it is created from the topmost, or LIVE, database workspace. E - False - The owner of a table or a user with the WM_ADMIN_ROLE role can disable versioning on the table. REF.: Oracle(r) Application Developer's Guide - Workspace Manager 10g Release 2 (10.2), 4-40 and 4-44

QUESTION 146: The database was started up using a text parameter file. What will be default scope of changes made by using the SET clause of the ALTER

BabULaL
Highlight
BabULaL
Note
FUNCTION ADD_TRANSFORM RETURNS NUMBER FUNCTION CHECK_MATCH_TEMPLATE RETURNS NUMBER FUNCTION CHECK_MATCH_TEMPLATE_LOB RETURNS NUMBER FUNCTION CHECK_MATCH_TEMPLATE_PAR RETURNS NUMBER PROCEDURE CHECK_TYPE PROCEDURE CLOSE FUNCTION CONVERT RETURNS KU$_MULTI_DDLS FUNCTION CONVERT RETURNS KU$_MULTI_DDLS FUNCTION CONVERT RETURNS CLOB PROCEDURE CONVERT PROCEDURE CONVERT FUNCTION FETCH_CLOB RETURNS CLOB PROCEDURE FETCH_CLOB FUNCTION FETCH_DDL RETURNS KU$_DDLS FUNCTION FETCH_DDL_TEXT RETURNS VARCHAR2 FUNCTION FETCH_OBJNUMS RETURNS KU$_OBJNUMSET FUNCTION FETCH_SORTED_OBJNUMS RETURNS KU$_OBJNUMPAIRLIST FUNCTION FETCH_XML RETURNS XMLTYPE PROCEDURE FETCH_XML_CLOB PROCEDURE FETCH_XML_CLOB PROCEDURE FREE_CONTEXT_ENTRY FUNCTION GET_ACTION_INSTANCE RETURNS KU$_PROCOBJ_LINES FUNCTION GET_ACTION_SCHEMA RETURNS KU$_PROCOBJ_LINES FUNCTION GET_ACTION_SYS RETURNS KU$_PROCOBJ_LINES FUNCTION GET_CANONICAL_VSN RETURNS VARCHAR2 FUNCTION GET_DDL RETURNS CLOB FUNCTION GET_DEPENDENT_DDL RETURNS CLOB FUNCTION GET_DEPENDENT_XML RETURNS CLOB FUNCTION GET_DOMIDX_METADATA RETURNS KU$_PROCOBJ_LINES PROCEDURE GET_DPSTRM_MD FUNCTION GET_GRANTED_DDL RETURNS CLOB FUNCTION GET_GRANTED_XML RETURNS CLOB FUNCTION GET_JAVA_METADATA RETURNS KU$_JAVA_T FUNCTION GET_PLUGTS_BLK RETURNS KU$_PROCOBJ_LINES FUNCTION GET_PREPOST_TABLE_ACT RETURNS KU$_TACTION_LIST_T FUNCTION GET_PROCOBJ RETURNS KU$_PROCOBJ_LINES FUNCTION GET_PROCOBJ_GRANT RETURNS KU$_PROCOBJ_LINES FUNCTION GET_QUERY RETURNS VARCHAR2 FUNCTION GET_SYSPRIVS RETURNS KU$_PROCOBJ_LINES FUNCTION GET_XML RETURNS CLOB PROCEDURE NETWORK_CALLOUTS FUNCTION NETWORK_FETCH_CLOB RETURNS VARCHAR2 FUNCTION NETWORK_FETCH_ERRORS RETURNS VARCHAR2 FUNCTION NETWORK_FETCH_PARSE RETURNS VARCHAR2 FUNCTION NETWORK_OPEN RETURNS NUMBER PROCEDURE NET_SET_DEBUG FUNCTION OKTOEXP_2NDARY_TABLE RETURNS BINARY_INTEGER FUNCTION OPEN RETURNS NUMBER FUNCTION OPENW RETURNS NUMBER PROCEDURE PATCH_TYPEID FUNCTION PUT RETURNS BOOLEAN FUNCTION PUT RETURNS BOOLEAN PROCEDURE SET_COUNT PROCEDURE SET_DEBUG PROCEDURE SET_FILTER PROCEDURE SET_FILTER PROCEDURE SET_FILTER PROCEDURE SET_PARSE_ITEM PROCEDURE SET_REMAP_PARAM PROCEDURE SET_TRANSFORM_PARAM PROCEDURE SET_TRANSFORM_PARAM PROCEDURE SET_TRANSFORM_PARAM PROCEDURE SET_XMLFORMAT
BabULaL
Note
Usage Notes . The table that is being version-enabled must have a primary key defined. The primary key can be a composite (multicolumn) primary key. . Only the owner of a table or a user with the WM_ADMIN role can enable versioning on the table. . Tables that are version-enabled and users that own version-enabled tables cannot be deleted. You must first disable versioning on the relevant table or tables. . Tables owned by SYS cannot be version-enabled. . The history option enables you to log and audit modifications. . If you expect to purge a subset of your historical data periodically, such as removing historical data older than one year, plan to create a savepoint at each expected deletion point on the day it occurs. . If the parent table in a referential integrity relationship is version-enabled, the child table must be version-enabled also. . A child table in a referential integrity relationship is allowed to be version-enabled without the parent table being version-enabled. Version-enabled tables can have triggers defined; however, the following considerations and restrictions apply: . Only per-row triggers are supported. Per-statement triggers are not supported. . Only whole-row triggers are supported. Before-update and after-update triggers for specific columns are not supported. . The only call-out supported is to PL/SQL procedures. That is, the action_type must be PL/SQL. Any triggers that are not supported for version-enabled tables are deactivated when versioning is enabled, and are activated when versioning is disabled. . Constraints and privileges defined on the table are carried over to the version-enabled table. . Index-organized tables cannot be version-enabled. . Object tables cannot be version-enabled. . A table with one or more columns of LONG data type cannot be version-enabled. . A table with one or more nested table columns cannot be version-enabled unless the ALLOW_NESTED_TABLE_COLUMNS Workspace Manager system parameter is set to ON.
BabULaL
Highlight
kashif
Note
Marked set by kashif
Page 86: Exam

1Z0-040

Actualtests.com - The Power of Knowing

SYSTEM statement? A. Only MEMORY is updated. B. Only SPFILE values are updated. C. Only init<SID>.ora parmeters are updated. D. Both SPFILE and MEMORY memoryvalues are updated. Answer: A The ALTER SYSTEM statement lets you set, change, or restore to default the values of initialization parameter. If you are using a text initialization parameter file, the ALTER SYSTEM statement changes the value of a parameter only for the current instance, because there is no mechanism for automatically updating initialization parameters on disk. You must update them manually to be passed to a future instance. Using a server parameter file overcomes this limitation. REF.: Oracle(r) 10g Administrator Guide, 2-38

QUESTION 147: What should you look at first to computer the number of undo blocks that are consumed and estimate the size of the undo tablespace needed to handle the workload on your system? A. V$UNDOSTAT B. V$ROLLSTAT C. V$TRANSACTION D. DBA_UNDO_EXTENTS E. DBA_ROLLBACK_SEGS Answer: A V$UNDOSTAT Contains statistics for monitoring and tuning undo space. Use this view to help estimate the amount of undo space required for the current workload. The database also uses this information to help tune undo usage in the system. This view is meaningful only in automatic undo management mode. REF.: Oracle(r) 10g Administrator Guide, 10-10

QUESTION 148: Character large object (CLOB) data is represented in Oracle database log as the_____character set. A. UCS2 B. US7ASCII C. AL16UTF16 D. WE81SO8859P1 E. D7SIEMENS9780X F. Same character set as the databes charactr set

BabULaL
Highlight
BabULaL
Highlight
Page 87: Exam

1Z0-040

Actualtests.com - The Power of Knowing

Answer: C

QUESTION 149: You enable Flashback Database with the following command: ALTER DATABASE FLASHBACK ON; Which view would you query to determine whether the Flashback Database has been enabled? A. V$SGA B. V$DATABASE C. V$INSTANCE D. V$FLASHBACK_DATABASE_LOG E. V$FLASHBACK_DATABASE_STAT F. V$FLASHBACK_DATABASE_LOGFILE Answer: B SQL>DESC V$DATABASE; Name Type ----------------------------------------- ------------- FLASHBACK_ON VARCHAR2(18) SQL>select FLASHBACK_ON from V$DATABASE; FLASHBACK_ON ------------------ YES

QUESTION 150: Examine the following parameter settings from an initialization (init.oraa)file: DB_CREATE_FILE_DEST = '/u01/oradata/' DB_CREATE_ONLINE_LOGDEST 1 = '/u02/oradata/' DB_CREATE_ONLINE_LOG_DEST2 = '/u03/oradata/' If you create an Oracle Managed Files (OMF) database using these settings, what is the result? A. The data files, temp files, and control file will be on device/u01; one online redo log group will be on device /u02; another redo log group will be on device/u03. B. The data files and temp files will be on device /u02; another copy of the control file and one online redo log group will be on device /u02; another copy of the control file and a second redo log group will be on device /u03. C. The data filesm temp files, online redo log files and control file will be on device/u01; multiplexed copies of the archive log files will be created; one set on device /u02, and another set on device /u03. D. The data files and temp files will be on device/u01; one copy of the control file and the first member in each online redo log group will be on device/u02; another copy of the

BabULaL
Highlight
BabULaL
Note
CLOBs were represented as UCS2 before Oracle Database 10g. Starting with Oracle Database 10g, CLOBs are represented as AL16UTF16. UCS2 is endian dependent, whereas AL16UTF16 is not. Also, big-endian UCS2 is the same as AL16UTF16.
BabULaL
Highlight
Page 88: Exam

1Z0-040

Actualtests.com - The Power of Knowing

control file and a second member of each redo log group will be on device /u03. Answer: D a - DB_CREATE_FILE_DEST sets the default location for datafile, control file, and online log creation. * Datafiles * Tempfiles * Redo log files * Control files * Block change tracking files You specify the name of a file system directory that becomes the default location for the creation of the operating system files for these entities. b - DB_CREATE_ONLINE_LOG_DEST_n initialization parameter in your initialization parameter identify the default location for the database server to create: * Redo log files * Control files You specify the name of a file system directory that becomes the default location for the creation of the operating system files for these entities. You can specify up to five multiplexed locations. For the creation of redo log files and control files only , this parameter overrides any default location specified in the DB_CREATE_FILE_DEST and DB_RECOVERY_FILE_DEST initialization parameters. If you do not specify a DB_CREATE_FILE_DEST parameter,but you do specify the DB_CREATE_ONLINE_LOG_DEST_ n parameter, then only redo log files and control files can be created as Oracle-managed files. REF.: Oracle(r) 10g Administrator Guide, 11-5

QUESTION 151: The Oracle 10G LogMiner needs a data dictionary copy to display the object names. From which three locations can LogMiner retrieve the data dictionary information? A. separate supplemental log file. B. Information in the control file C. The current online data dictionary D. A Data Dictionary copy stored in the redo log file E. A Data Dictionary copy stored in an operating system flat file Answer: B, C, D C, D, E Explanation: LogMiner gives you following three options for supplying the dictionary 1.2.2.1 Using the Online Catalog 1.2.2.2 Extracting a LogMiner Dictionary to the Redo Log Files 1.2.2.3 Extracting the LogMiner Dictionary to a Flat File

BabULaL
Highlight
BabULaL
Note
The two new parameters are DB_CREATE_FILE_DEST and DB_CREATE_ONLINE_LOG_DEST_n. The parameter DB_CREATE_FILE_DEST defines the default location for storing new datafiles associated with a given tablespace as well as for temporary files. The second parameter, DB_CREATE_ONLINE_LOG_DEST_n, provides similar functionality except that this location is specified for new control files and online redo log files. Control Files If you set the CONTROL_FILE parameter manually in your initialization file before starting the instance to create a new database, Oracle will create the control files in that location. If you haven’t set the CONTROL_FILES parameter, Oracle will create the control files in various default locations, according to the following rules: => If you specify the DB_CREATE_ONLINE_LOG_DEST_n parameter, Oracle will create an OMF-based control file in n number of locations, with the first directory holding the primary control file. => If you specify the DB_CREATE_FILE_DEST and DB_RECOVERY_FILE_DEST parameters, Oracle will create an OMFbased control file in both of these locations. => If you just specify the DB_RECOVERY_FILE_DEST parameter, Oracle will create an OMF-based control file in the flash recovery area only. => If you omit all three of the initialization parameters, Oracle will create a non-OMF-based control file in the system-specific default location. Redo Log Files If you omit the LOGFILE clause during database creation, Oracle will create the redo log files according to the following rules: => If you specify the DB_CREATE_ONLINE_LOG_DEST_n parameter, Oracle will create an online redo log member in n number of locations, up to the MAXLOGMEMBERS limit for the database. => If you specify the DB_CREATE_FILE_DEST and DB_RECOVERY_FILE_DEST parameters only, Oracle will create an online redo log member in both of these locations up to the MAXLOGMEMBERS limit for the database. => If you just specify the DB_RECOVERY_FILE_DEST parameter, Oracle will create an online redo log member in the flash recovery area only. => If you omit all three initialization parameters, Oracle will create a non-OMF online redo log file in the system-specific default location.
BabULaL
Note
LogMiner requires a dictionary to translate object IDs into object names when it returns redo data to you. LogMiner gives you three options for supplying the dictionary: Using the Online Catalog - Direct LogMiner to use the dictionary currently in use for the database. Extracting a LogMiner Dictionary to the Redo Log Files. Extracting the LogMiner Dictionary to a Flat File.
BabULaL
Note
BabULaL
Rejected
BabULaL
Highlight
Page 89: Exam

1Z0-040

Actualtests.com - The Power of Knowing

QUESTION 152: Examine this startup script called startmydb.sql: CONNECT myid/mypwd AS SYSDBA STARTUP EXIT In Oracle 8i, you could have executed this script by invoking server manager with the command: Svrmgr1 @startmydb.sql Which alternative command could you use to run the startmydb.sql script with SQL*Plus to start your Oracle 10g database? A. sqlplus @startmydb.sql B. sqlplus -Sstartmydb.sql C. sqlplus -S @startmydb.sql D. sqlplus /NOLOG @startmydb.sql Answer: D

QUESTION 153: Oracle 10g support block media recovery. This reduces the smallest until of recovery from a data file to a database block. What are the two main benefits that block media recovery provides over file-level recovery? (choose two) A. supports incomplete recovery B. does not require Recovery Manager C. lowers the mean time to recover D. allows increased data availability during media recovery Answer: C,D If a small number of blocks within one or more datafiles are corrupt, you can perform block media recovery instead of restoring the datafiles from backup and performing complete media recovery of those files. The Recovery Manager BLOCKRECOVER command can be used to restore and recover specified data blocks while the database is open and the corrupted datafile is online.Block media recovery may be better than datafile media recovery if availability is critical. While block media recovery is possible even if you do not base your backup and recovery strategy on RMAN, RMAN-based block media recovery can be performed more quickly and with less effort . REF.: Oracle(r) Backup and Recovery Advanced User's Guide, 2-2 and 2-5

QUESTION 154: After changing the PCTFREE value of the automatic space management table EMPLOYEES, which task can you perform in order for your change to take effect

BabULaL
Highlight
BabULaL
Highlight
Page 90: Exam

1Z0-040

Actualtests.com - The Power of Knowing

immediately? A. Execute a full table scan of the EMPLOYEES table B. Execute thecommand ANALYZE TABLE employees COMPUTE STATISTICS C. Execute the command DBNS_STATS.GATHER_TABLE_STATISTICS on the EMPLOYEES table. D. Execute the DBMS_REPAIR.SEGMENT_FIX_STATUS procedure on the EMPLOYEES table. Answer: D

QUESTION 155: What is true regarding a shared, server-side parameter file for a Real Application Cluster database? A. It can contain parameters with distinct values for each instance B. It can contain only parameters with identical values for each instance C. It must contain an IFILE parameter for each instance's individual parameters file. D. It must be located in the default location for the primary instance's parameter file. Answer: A

QUESTION 156: What are three benefits provided by the enhanced Unicode support? (choose three) A. support for the AL24UTFFSS character set B. support for fixed-width character encoding C. Unicode support in the database character set D. Richer support for more character sets languages and territories Answer: B,C,D Globalization and Unicode support have been enhanced in Oracle Database 10 g Release 2. Consistent linguistic ordering support has been added for all SQL functions, enhancing the ability to write internationalized applications without regard to locale. The Globalization Development Kit (GDK) for PL/SQL provides new locale mapping tables and Japanese transliteration support. SQL Regular Expression support has been updated to support key Perl conventions used in the Life Science community. This release also supports the latest version of Unicode 4.0. Identification of potential problems when migrating to another database character set has also been enhanced. The Character Set Scanner (CSSCAN) now offers selective scanning and provides support for new data types. The Language and Character Set Scanner (LCSSCAN) has improved detection quality of shorter text strings and now supports HTML files. REF.: Oracle(r) Database New Features Guide, 1-2

BabULaL
Note
For segments with automatic segment-space management, Oracle ignores attempts to change the PCTUSED setting. If you alter the PCTFREE setting, then you must subsequently run the DBMS_REPAIR.SEGMENT_FIX_STATUS procedure to implement the new setting on blocks already allocated to the segment.
BabULaL
Highlight
BabULaL
Highlight
BabULaL
Note
Example: *.OPEN_CURSORS=500 prod1.OPEN_CURSORS=1000 The value before the dot in an SPFILE entry identifies the instance to which the particular parameter value belongs. When an asterisk precedes the dot, the value is applied to all instances that do not have a subsequent, individual value listed in the SPFILE.
BabULaL
Highlight
Page 91: Exam

1Z0-040

Actualtests.com - The Power of Knowing

QUESTION 157: Online table redefinition includes which three features? A. Tables without primary keys are supported B. Parallel support can be added or removed C. Storage parameters for the table can be modified. D. The redefinition can be done across different schemas. E. User-defined data types BFILES or LONG columns are supported F. Organization can be changed from heap-organized to IOT structure or vice versa Answer: B,C,F Online table redefinition enables you to: ? Modify the storage parameters of a table or cluster (C) ? Move a table or cluster to a different tablespace in the same schema ? Add, modify, or drop one or more columns in a table or cluster ? Add or drop partitioning support (non-clustered tables only) ? Change partition structure ? Change physical properties of a single table partition, including moving it to a different tablespace in the same schema ? Change physical properties of a materialized view log or an Oracle Streams Advanced Queueing queue table ? Add support for parallel queries (B) ? Re-create a table or cluster to reduce fragmentation ? Change the organization of a normal table (heap organized) to an index-organized table, or do the reverse .(F) ? Convert a relational table into a table with object columns, or do the reverse. ? Convert an object table into a relational table or a table with object columns, or do the reverse. REF.: Oracle(r) Database New Features Guide, 15-22

QUESTION 158: View the Exhibit and examine the Data Pump architecture.

BabULaL
Highlight
Page 92: Exam

1Z0-040

Actualtests.com - The Power of Knowing

Identify the numbered Components. A. 1-Oracle Loader, 2-Oracle Data Pump, 3-Direct Path API B. 1-Oracle Data Pump, 2-Direct Path API 3-Oracle Loader C. 1-Direct Path API 2-Oracle Loader,3-Oracle data pump D. 1-Oracle Loader, 2-Direct Path API, 3-Oracle Data Pump E. 1-Oracle Data Pump, 2-Oracle Loader 3-Direct Path API Answer: A

QUESTION 159: Examine this statement, which creates a Cartesian product of the COUNTRIES and REGION tables: SQL> SELECT C.COUNTRY_name. 2> r.region_name 3> FROM countries c, region r; Oracle SQL 1999syntax supports the same functionality with which join type? A. Equijoin B. Cross join C. Merge join D. Natural join Answer: B

QUESTION 160: Which data dictionary view would you query to find the name of the default permanent tablespace of the database?

BabULaL
Highlight
BabULaL
Highlight
Page 93: Exam

1Z0-040

Actualtests.com - The Power of Knowing

A. DICTIONARY B. DBA_TABLESPACS C. DBA_DIRECTORIES D. DBA_STORED_SETTINGS E. DATABASE_PROPERTIES F. DBA_TABLESPAC_GROUPS Answer: E SQL*Plus: Release 10.2.0.1.0 - Production onMon Feb6 21:41:04 2006 Copyright (c) 1982, 2005, Oracle. All rights reserved. SQL> conn / as sysdba Connected. SQL> desc DATABASE_PROPERTIES Name Null? Type ----------------------------------------- -------- -------------------- PROPERTY_NAME NOT NULL VARCHAR2(30) PROPERTY_VALUE VARCHAR2(4000) DESCRIPTION VARCHAR2(4000) SQL> SELECT PROPERTY_NAME, PROPERTY_VALUE 2 FROM DATABASE_PROPERTIES 3 WHERE PROPERTY_NAME = 'DEFAULT_PERMANENT_TABLESPACE'; PROPERTY_NAME PROPERTY_VALUE ---------- ---------------------------- DEFAULT_PERMANENT_TABLESPACE USERS

QUESTION 161: The list below display four step that you need to execute in order to switch from the primary database role to the standby database role. Choose the correct order of execution for the steps; 1.Shut down and start up the former primary instance without mounting the database. 2.Issue the ALTER DATABASE COMMIT TO SWITCHOVER TO PHYSICAL STANDBY command. 3.Issue the ALTER DATABASE MOUNT STANDBY DATABASE comman. 4.End read or update activity on the former primary and standby database. A. 1,2,3,4 B. 3,2,4,1 C. 4,2,1,3 D. 4,3,2,1 Answer: C Stop read or update activity on the primary and standby databases. You must have exclusive database access before beginning a switchover. Ask users to log

BabULaL
Highlight
BabULaL
Highlight
Page 94: Exam

1Z0-040

Actualtests.com - The Power of Knowing

off the primary and standby databases, or query the V$SESSION view to identify users that are connected to the databases and close all open sessions except the SQL*Plus session from which you are going to execute the switchover statement. Switch the primary database to the physical standby role. On the primary database (in New York), execute the following statement: SQL> ALTER DATABASE COMMIT TO SWITCHOVER TO PHYSICAL STANDBY 2> WITH SESSION SHUTDOWN; This statement does the following: ? Closes the primary database, terminating any active sessions ? Transmits any unarchived redo log files and applies them to the standby database ? Adds an end-of-redo marker to the header of the last log file being archived ? Creates a backup of the current control file ? Converts the current control file into a standby control file Shut down and start up the former primary instance, and mount the database. Execute the following statement on the former primary database: SQL> SHUTDOWN NORMAL; SQL> STARTUP MOUNT; Switch the original standby database to the primary role. Issue the following SQL statement: SQL> ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY DATABASE; REF.: Oracle(r) Data Guard Concepts and Administration 10g Release 2 (10.2), 12-39

QUESTION 162: You decided to activate the resumable space allocation feature for all your database users by enabling the feature in a logon trigger. This causes a statement that requires space beyond a user's quota________ A. to wait indefinitely for the quota to be increased, regardless of the timeout setting for other space allocation problem B. to fail because quota limits do not activate the resumable space allocation feature C. to wait in a suspended state until the quota increased or until the timeout value is reached D. to invoke the default trigger that resets user quota, if there is free space in the related tablespace Answer: C

QUESTION 163: Which statements are true regarding the new Persistent CONFIGURATION FEATURE IN RMAN? (Choose two) A. It allows you to set the retention period of backups. B. It remember the last backup command you used so that you can rescheule it easily.

BabULaL
Note
Resumable space allocation is suspended when one of the following conditions occur: . Out of space condition . Maximum extents reached condition . Space quota exceeded condition For nonresumable space allocation, these conditions result in errors and the statement is rolled back.
BabULaL
Highlight
Page 95: Exam

1Z0-040

Actualtests.com - The Power of Knowing

C. It enables you to store your channel attribute settings in the Recovery catalog with each script. D. It enables you to store the settings for channel attributes so that you do not have to specify them in each backup o restore command Answer: A,D When implementing an RMAN-based backup strategy, you can use RMAN more effectively if you understand the more common options available to you. Many of these can be set in the RMAN environment on a persistent basis, so that you do not have to specify the same options every time you issue a command.To simplify ongoing use of RMAN for backup and recovery, the RMAN lets you set a number of persistent configuration settings for each target database. These settings control many aspects of RMAN's behavior when working with that database, such as backup retention policy, default destinations for backups to tape or disk, default backup device type (tape or disk), and so on. REF.: Oracle(r) Backup and Recovery Basics 10g Release 2 (10.2), 3-7 and 3-8

QUESTION 164: Which four statements regarding the block change track file are correct? A. The minimum size of this file is 10MB B. The maintenance of this file is fully automatic. C. The changed block are tracked in this fils as redo is generated D. The location of this file must be different from that of the database files. E. The Oracle database records block change information in this file by default Answer: A, B,C, E A, B, C - True. Should say "start" not "minimum".The size of the change tracking file is proportional to the size of the database and the number of enabled threads of redo. The size is not related to the frequency of updates to the database. Typically, the space required for block change tracking is Overview of Reporting on Backups and the RMAN Repository approximately 1/30,000 the size of the data blocks to be tracked. Note, however, the following two factors that may cause the file to be larger than this estimate suggests: ? To avoid overhead of allocating space as your database grows, the change tracking file size starts at 10MB, and new space is allocated in 10MB increments; ? For each datafile, a minimum of 320K of space is allocated in the change tracking file, regardless of the size of the file. B - True. Change tracking is disabled by default, because it does introduce some minimal performance overhead on your database during normal operations. Although RMAN does not support backup and recovery of the change-tracking file itself, if the whole database or a subset needs to be restored and recovered, then recovery has no user-visible effect on change tracking. After the restore and recovery, the change tracking file is cleared, and starts recording block changes again. The next incremental backup after any recovery is able to use change-tracking data.

BabULaL
Highlight
BabULaL
Rejected
BabULaL
Note
If you enable the block change tracking feature, Oracle Database 10g tracks the physical location of all database changes in a file called the change tracking file. The maintenance of this file is fully automatic and does not require your intervention. The Oracle database does not record block change information by default. Oracle recommends that you place the change tracking file on the same disks as the datafiles. The size of the block change tracking file is proportional to: • Database size in bytes • Number of enabled threads in a RAC environment • Number of old backups maintained by the block change tracking file The background process that performs the writes to the change tracking file is called the change tracking writer (CTWR). The minimum size for the block change tracking file is 10 MB, and any new space is allocated in 10 MB increments. The V$BLOCK_CHANGE_TRACKING view shows the name, size, and status of your change tracking file,
BabULaL
Note
Page 96: Exam

1Z0-040

Actualtests.com - The Power of Knowing

C - True. Changed blocks are tracked by the CTWR background process as redo is generated. Database incremental backups, automatically use the change tracking file; D - False. By default, the change tracking file is created as an Oracle managed file in DB_CREATE_FILE_DEST. You can also specify the name of the block change tracking file, placing it in any location you choose. You can also change the location of the change tracking file while preserving its contents. E - True. One change tracking file is created for the whole database. RMAN's change tracking feature for incremental backups improves incremental backup performance by recording changed blocks in each datafile in a change tracking file. REF.: Oracle(r) Backup and Recovery Basics 10g - BASICS , 4-19, 4-20 and 4-21

QUESTION 165: What must you do to enable Automated SQL Execution Memory Magement? A. Execute the DBMS_STATS.GATHER_SYSTEM_STATES procedure with appropriate values B. Set the instance parameters PGA_AGGREGATE_TARGET and WORKAREA_SIZE_POLICY to appropriate values. C. Set the instance parameters SORT_AREA_SIZE,BITMAP_MERGE_AREA_SIZE, CREATE_BITMAP_AREA-SIZE,HASH_AREA_SIZE,SORT_AREA_SIZE, and SORT_AREA_RETAINED_SIZE, all to Auto. D. Unset the instance parameters SORT_AREA_SIZE, BITMAP_MERGE_AREA_SIZE, CREATE_BITMAP_AREA_SIZE, HASH_AREA_SIZE,SORT_AREA_SIZE, and SORT_AREA_RETAINED_SIZE. Answer: B The automatic SQL execution memory management feature is enabled by setting the parameter WORKAREA_SIZE_POLICY to AUTO and by specifying a size of PGA_AGGREGATE_TARGET in the initialization file. REF.: Metalink Note :262946.1

QUESTION 166: You added the following policy to enable managers to access information about only their employees: EXEC DBMS_RLS.ADD_POLICY (object_schema => 'scott', object_name => 'emp', policy_name => 'hr_policy', fuction_schema => 'scott', policy_function => 'hrpol', sec_relevant_cols => 'sal,comm') ; hr_policy is of the____________type. A. DBMS_RLS.STATIC B. DBMS_RLS.DYNAMIC

BabULaL
Note
Setting PGA_AGGREGATE_TARGET to a nonzero value has the effect of automatically setting the WORKAREA_SIZE_POLICY parameter to AUTO. This means that SQL working areas used by memory-intensive SQL operators (such as sort, group-by, hash-join, bitmap merge, and bitmap create) will be automatically sized. A nonzero value for this parameter is the default since, unless you specify otherwise, Oracle sets it to 20% of the SGA or 10 MB, whichever is greater. Setting PGA_AGGREGATE_TARGET to 0 automatically sets the WORKAREA_SIZE_POLICY parameter to MANUAL. This means that SQL workareas are sized using the *_AREA_SIZE parameters.
BabULaL
Highlight
Page 97: Exam

1Z0-040

Actualtests.com - The Power of Knowing

C. DBMS_RLS.SHARED_STATIC D. DBMS_RLS.CONTEXT_SENSITIVE E. DBMS_RLS.SHARED_CONTEXT_SENSITIVE Answer: B A dynamic predicate for a table, view, or synonym is generated by a PL/SQL function, which you write and associate with a security policy through a PL/SQL interface. Dynamic predicates are acquired at statement parse time, when the base table or view is referenced in a query using SELECT or a DML statement. The function or package that implements the security policy you create returns a predicate (a WHERE condition). This predicate controls access according to the policy you specify. Rewritten queries are fully optimized and shareable. Whenever the EMPLOYEES table, under the HR schema, is referenced in a query or subquery (SELECT), the server calls the EMP_SEC function (under the HR schema). This function returns a predicate (called P1) defined in the function, which in this example could be specific to the current user for the HR_POLICY policy. REF.: Oracle(r) 10g Security Guide 6-4

QUESTION 167: You want to implement ASM for the existing database instances and define the following parameters in the parameter file of the ASM instance. DB_UNIQUE_NAME = +ASM ASM_POWER_LIMIT = 1 ASM_DISKSTRING = '/dev/dsk/*s2','´/dev/dsk/c1*' ASM_DISKGROUPS = dgroupA, dgroup B LARGE_POOL_SIZE = 8MB While starting the ASM interface, you get the following error message: ORA-15021: parameter "asm_diskstring" is not valid in RDBMS instance. And the instance startup fails. What causes the instance startup to fail? A. ASM:DISKGROUPS cannot have two values. B. LARGE_POOL_SIZE should be set to lower value. C. ASM_POWER_LIMIT should be set to higher value. D. DB_NAME parameter should have been defined add set to ASM E. INSTANCE_TYPE parameter should have been defined add set to ASM F. AMS_DISKSTRING parameter should not contain any wildcard characters. Answer: E Some initialization parameters are specifically relevant to an ASM instance. Of those initialization parameters intended for a database instance, only a few are relevant to an ASM instance. You can set those parameters at database creation time using Database Configuration Assistant or later using Enterprise Manager. The INSTANCE_TYPE parameter must be set to ASM. This is the only required parameter. All other parameters

BabULaL
Note
The DBMS_RLS.DYNAMIC type is the default and corresponds to what was available in previous releases. This means that the Oracle database assumes that the predicate may be affected by any system or session attribute. The Oracle database makes no assumption about when the change takes place, and therefore always reexecutes the policy function on each statement parsing or execution. To use the following we have to specify it explicitly: policy_type => – DBMS_RLS.STATIC – DBMS_RLS.SHARED_STATIC – DBMS_RLS.CONTEXT_SENSITIVE – DBMS_RLS.SHARED_CONTEXT_SENSITIVE
BabULaL
Highlight
BabULaL
Highlight
Page 98: Exam

1Z0-040

Actualtests.com - The Power of Knowing

take suitable defaults for most environments. REF.: Oracle(r) 10g Administrator Guide, 12-8

QUESTION 168: What does the DBMS_WM.GETWORKSPACE function return? A. the name of your current workspace B. a comma-delimited list of all the workspaces in the database. C. a comma-delimited list of all the users assigned to the current workspace D. a comma-delimited list of all the workspaces to which you have been assigned Answer: A GetWorkspace Returns the current workspace for the session. Format DBMS_WM.GetWorkspace() RETURN VARCHAR2; Parameters None. Usage Notes None. Examples The following example displays the current workspace for the session. SELECT DBMS_WM.GetWorkspace FROM DUAL; GETWORKSPACE B_focus_2 REF.: Oracle(r) 10g Application Developer's Guide - Workspace Manager, 4-69

QUESTION 169: What is true about version-enabled tables? A. the unit of versioning is the schema. B. It is possible to version enable a table pertaining to SYS C. There are as many segment as versions for the same base table. D. It is possible to create workspaces if there is no version-enabled table in the database Answer: D

QUESTION 170: Which two statements regarding a SQL profile are true? (Choose two) A. it is built by automatic Tuning Optimizer. B. It cannot be stored persistently in the data dictionary. C. It can be used by the query optimizer automatically.

BabULaL
Highlight
BabULaL
Highlight
Page 99: Exam

1Z0-040

Actualtests.com - The Power of Knowing

D. It can be created manually by using the CREATE PROFILE command Answer: A, C The query optimizer can sometimes produce inaccurate estimates about an attribute of a statement due to lack of information, leading to poor execution plans. Traditionally, users have corrected this problem by manually adding hints to the application code to guide the optimizer into making correct decisions. For packaged applications, changing application code is not an option and the only alternative available is to log a bu with the application vendor and wait for a fix. Automatic SQL Tuning deals with this problem with its SQL Profiling capability. The Automatic Tuning Optimizer creates a profile of the SQL statement called a SQL Profile, consisting of auxiliary statistics specific to that statement. The query optimizer under normal mode makes estimates about cardinality, selectivity, and cost that can smetimes be off by a significant amount resulting in poor execution plans . REF.: Oracle(r) Database 10g Performance Guide , 12-2

QUESTION 171: Oracle provides a database package called dbms_redefinition to perform an online rebuild of a table. Which two steps are you recommended to do prior to issuing the dbms _redefinition.start_redef_table procedure call? (Choose two) A. grant privileges on the interim table B. invoke the dbms_redefinition.can_redef_table procedure C. invoke the dbms_redefinition.sync_interim_table procedure D. create any triggers, indexes, or constraints on the interim table E. create an empty interim table with all the desired characteristics Answer: B, E To perform online redefinition of a table with the DBMS_REDEFINITION package: 1. Choose the redefinition method: by key or by rowid 2. Verify that the table can be online redefined by invoking the CAN_REDEF_TABLE procedure.(B) 3. Create an empty interim table (in the same schema as the table to be redefined) with all of the desired logical and physical attributes. (E) 4. Start the redefinition process by calling START_REDEF_TABLE, providing the following: ? The schema and table name of the table to be redefined ? The interim table name ? A column mapping string that maps the columns of table to be redefined tothe columns of the interim table ? The redefinition method.If not specified, the default method of redefinition (using keys) is assumed. ? Optionally, the columns to be used in ordering rows ? If redefining only a single partition of a partitioned table, the partition name

BabULaL
Highlight
BabULaL
Highlight
Page 100: Exam

1Z0-040

Actualtests.com - The Power of Knowing

5. Copy dependent objects (such as triggers, indexes, grants, and constraints) and statistics from the table being redefined to the interim table, 6. Execute the FINISH_REDEF_TABLE procedure to complete the redefinition of thetable. REF.: Oracle(r) 10g Administrator Guide, 15-22

QUESTION 172: Users complain that SQL statements using a particular index fail Using DBVERIFY, you find that two separate blocks in the index have become corrupt. The database data files for user data and index are very large. What is the least disruptive recovery strategy available in Oracle 10g? A. Rebuild the index using the online option B. Take the individual data file offline (not the whole tablespace), restore and recover the data file from backup with RMAN, then set the data file online again C. Without setting the individual data file offline, use RMAN with Block Media Recovery to restore and recover only those blocks. D. Take the individual data file (not the whole tablespace) offline, use RMAN with Block Media Recovery to restore and recover only those blocks, then set the data file online again Answer: C If a small number of blocks within one or more datafiles are corrupt, you can perform bl ock media recovery instead of restoring the datafiles from backup and performing complete media recovery of those files. The Recovery Manager BLOCKRECOVER command can be used to restore and recover specified data blocks while the database is open and the corrupted datafile is online. REF.: Oracle(r) 10g Backup and Recovery Guide, 2-5

QUESTION 173: When you are performing a backup, the Flash Recovery Area is low on free space. Under which two circumstances would warnings be issued to you? (Choose two.) A. When the used space is at 85%, a warning is issued. B. When the used space is at 90%, a warning is issued. C. When the used space is at 95%, a warning is issued. D. When the used space is at 95%, a critical warning is issued. E. When the used space is at 99%, a critical warning is issued. F. When the used space is at 97%, a critical warning is issued. Answer: A, F By default a server-generated alert is generated for tablespace space usage when the percentage of space usage exceeds either the 85%warning or 97% critical threshold level. REF.: Oracle(r) 10g Administrator Guide, 4-19

BabULaL
Highlight
BabULaL
Note
Restrictions and Usage Notes . The target database must be mounted or open. . You do not have to take a datafile offline if you are performing block media recovery on it. . You can only perform complete media recovery of individual blocks. Point-in-time recovery of individual data blocks is not supported. . You can only perform block media recovery on corrupt blocks. . Blocks marked media corrupt are not accessible until recovery completes. . You cannot perform block media recovery when using a backup control file. . You cannot use proxy backups to perform block media recovery. If the only backups that you have are proxy backups, then you can restore them to a nondefault location on disk, which causes RMAN to view the restored files as datafile copies. You can then use the datafile copies for block media recovery. . You must have a full backup of the file containing the corrupt blocks: block media recovery cannot use incremental backups. . If RMAN fails to access a specific archived redo log file needed for block media recovery, it performs restore failover, trying all other backups listed in the RMAN repository that are suitable for use in this operation, and only fails if no suitable backup is available. . Block media recovery cannot survive a missing or inaccessible archived log, although it can sometimes survive missing or inaccessible records. . The datafile header block (block 1) cannot be recovered. . You cannot perform block media recovery in NOARCHIVELOG mode.
BabULaL
Highlight
BabULaL
Note
When the flash recovery area runs low on space and it can’t delete any files to relieve the space pressure, Oracle issues an automatic warning alert, once the flash recovery are is 85 percent full. When the area uses up 97 percent of its space, Oracle will send a critical alert. Oracle sets these warning and critical thresholds, and you can’t change them.
Page 101: Exam

1Z0-040

Actualtests.com - The Power of Knowing

QUESTION 174: You want the database to send an e-mail to the senior database administrator whenever the Warning threshold for the Database CPU time metric is reached. Which option would you use to accomplish this activity? A. the DBMS_MAIL package B. the DBMS_PIPE package C. the DBMS_HTTP package D. the DBMS_ALERT package E. the Database Control page Answer: E Use Database Control for Database Management to manage your database locally. If you choose this option, you can additionally check Enable Email Notifications for Oracle to e-mail you alerts regarding potential problems, and check Enable Daily Backup. REF.: Oracle(r) 10g Database 2 Day DBA, 2-8

QUESTION 175: Identify three key features of Oracle Data Pump (Choose three.) A. Data Pump can stop a running job and resume it later B. Data Pump can perform import using database link C. Data Pump uses absolute path instead of relative path D. Data Pump uses relative path instead of absolute path E. Data Pump can perform incremental and cumulative exports Answer: A, B, D ? The ability to restart Data Pump jobs. The START_JOB command restarts the current job to which you are attached (the job cannot be currently executing). The job is restarted with no data loss or corruption after an unexpected failure or after you issued a STOP_JOB command, provided the dump file set and master table have not been altered in any way. ? The NETWORK_LINK parameter initiates an export using a database link. This means that the system to which the expdp client is connected contacts the source database referenced by the source_database_link, retrieves data from it, and writes the data to a dump file set back on the connected system. ? When data is moved, Data Pump automatically uses either direct path load (or unload) or the external tables mechanism, or a combination of both. REF.: Oracle(r) 10g Database Utilities ,1-2 and 1-3

QUESTION 176: Which two statements are true regarding the use of UTF-16 encoding? (Choose

BabULaL
Highlight
BabULaL
Note
Because Data Pump is server-based and not client-based, Data Pump files are accessed relative to Oracle directory paths. Absolute paths are not supported for security reasons.
BabULaL
Highlight
Page 102: Exam

1Z0-040

Actualtests.com - The Power of Knowing

two.) A. enables easier loading of multinational data B. uses a fixed-width multibyte encoding sequence C. Asian characters are represented in three characters D. uses a variable-width multibyte encoding sequence E. European characters are represented in one or two bytes Answer: A, B

QUESTION 177: When WORKAREA_SIZE_POLICY is set to AUTO, the work areas are sized to accomplish which two goals? (Choose two) A. To tune memory using the existing *_AREA_SIZE parameters B. To allocate memory to work areas in order to optimize throughput only C. To allocate memory to work areas in order to optimize response time only D. To allocate memory to work areas in order to optimize both throughput and response time E. To ensure that the overall size of the PGA will never exceed the value of PGA_AGGREGATE_TARGET Answer: D, E

QUESTION 178: Oracle 10g supports the creation of constraints on views. Which constraint states are supported? A. enforced B. EXCEPTIONS INTO clause C. [RELY|NORELY] DISABLE NOVALIDATE D. ON DELETE actions for foreign key constraints Answer: C

QUESTION 179: Which three attributes of the LOG_ARCHIVE_DEST_n initialization parameter control the data availability mode of a Data Guard standby database? (Choose three.) A. SYNC or ASYNC to specify that network I/O is to be done synchronously or asynchronously B. LGWR or ARCH to specify the process that will perform archival operations

BabULaL
Highlight
BabULaL
Note
The benefits of UTF-16 over UTF-8 are as follows: . More compact storage for Asian scripts because most of the commonly used Asian characters are represented in two bytes. . Faster string processing because characters are fixed-width
BabULaL
Highlight
BabULaL
Highlight
BabULaL
Note
View Constraints Oracle does not enforce view constraints. However, operations on views are subject to the integrity constraints defined on the underlying base tables. This means that you can enforce constraints on views through constraints on base tables. Notes on View Constraints View constraints are a subset of table constraints and are subject to the following restrictions: - You can specify only unique, primary key, and foreign key constraints on views. However, you can define the view using the WITH CHECK OPTION clause, which is equivalent to specifying a check constraint for the view. - View constraints are supported only in DISABLE NOVALIDATE mode. You cannot specify any other mode. You must specify the keyword DISABLE when you declare the view constraint. You need not specify NOVALIDATE explicitly, as it is the default. - The RELY and NORELY parameters are optional. View constraints, because they are unenforced, are usually specified with the RELY parameter to make them more useful. The RELY or NORELY keyword must precede the DISABLE keyword. - Because view constraints are not enforced directly, you cannot specify INITIALLY DEFERRED or DEFERRABLE.
Page 103: Exam

1Z0-040

Actualtests.com - The Power of Knowing

C. AFFIRM or NOAFFIRM to control whether log archiving disk write operations are to be performed synchronously or asynchronously. D. VERIFY and NOVERIFY to verify the correctness of the contents of a completed archived redo log file Answer: A, B, C The attributes of the LOG_ARCHIVE_DEST_n initialization parameter. The following list shows the attributes: * AFFIRM and NOAFFIRM (C) Controls whether redo transport services use synchronous or asynchronous I/O towrite redo data to disk * ALTERNATE * ARCH and LGWR (B) Specifies whether redo transport services use archiver processes (ARCn) or the log writer process (LGWR) to collect transaction redo data and transmit it to standby destinations. If neither the ARCH or LGWR attributes are specified, the default is ARCH. * DB_UNIQUE_NAME * DELAY * DEPENDENCY * LOCATION and SERVICE * MANDATORY and OPTIONAL * MAX_CONNECTIONS * MAX_FAILURE * NET_TIMEOUT * NOREGISTER * REOPEN * SYNC and ASYNC (A) Specifies that network I/O is to be done synchronously (SYNC) or asynchronously (ASYNC) when archival is performed using the log writer process (LGWR). * TEMPLATE * VALID_FOR * VERIFY REF.: Oracle(r) Data Guard Concepts and Administration 10g Release 2 (10.2), 14-1

QUESTION 180: What does the Metadata Application Programming Interface (API) allow you to do? A. repair damaged data dictionary entries B. delete data dictionary information about database objects you n o longer need C. extract data definition commands from the data dictionary in a variety of formats D. prepare pseudocode modules for conversion to Java or PL/SQL programs with a Metadata code generator Answer: C When you fetch metadata for an object, you may want to use it to re-create the object in a different database or schema. You may not be ready to make remapping decisions when

BabULaL
Note
SYNC and ASYNC Specifies that network I/O is to be done synchronously (SYNC) or asynchronously (ASYNC) when archival is performed using the log writer process (LGWR). ARCH and LGWR Specifies whether redo transport services use archiver processes (ARCn) or the log writer process (LGWR) to collect transaction redo data and transmit it to standby destinations. If neither the ARCH or LGWR attributes are specified, the default is ARCH. AFFIRM and NOAFFIRM Controls whether redo transport services use synchronous or asynchronous I/O to write redo data to disk: ■ AFFIRM—specifies that all disk I/O to archived redo log files and standby redo log files is performed synchronously and completes successfully before the log writer process continues. ■ NOAFFIRM—specifies that all disk I/O to archived redo log files and standby redo log files is performed asynchronously; the log writer process on the primary database does not wait until the disk I/O completes before continuing. VERIFY Indicates whether or not an archiver (ARCn) process should scan and verify the correctness of the contents of a completed archived redo log file, either local or remote, after successfully completing the archival operation. There are three types of Data Protection Modes: 1. Maximum Protection Mode 2. Maximum Availability Mode 3. Maximum Performance Mode The maximum availability mode requires that you: ■ Configure standby redo log files on at least one standby database. ■ Set the SYNC, LGWR, and AFFIRM attributes of the LOG_ARCHIVE_DEST_n parameter for at least 1 standby database.
BabULaL
Highlight
BabULaL
Highlight
Page 104: Exam

1Z0-040

Actualtests.com - The Power of Knowing

you fetch the metadata. You may want to defer these decisions until later. To accomplish this, you fetch the metadata as XML and store it in a file or table. Later you can use the submit interface to re-create the object. The submit interface is similar in form to the retrieval interface. It has an OPENW procedure in which you specify the object type of the object to be created. You can specify transforms, transform parameters, and parse items. You can call the CONVERT function to convert the XML to DDL, or you can call the PUT function to both convert XML to DDL and submit the DDL to create the object. REF.: Oracle(r) Database Utilities, 18-10

QUESTION 181: What is true if you want to switch undo tablespaces from the current one, called UND01, to a new one called UND02? A. It is NOT possible to switch unless no active transaction exists in UND01 B. It is possible to switch to UND02,but current active transactions will abort C. It is possible to switch to UND02; current active transmissions will be automatically migrated to UND02 D. It is possible to switch to to UND02; only current active transactions will continue to execute insideUND01 Answer: D The switch operation does not wait for transactions in the old undo tablespace to commit. If there are any pending transactions in the old undo tablespace, the old undo tablespace enters into a PENDING OFFLINE mode (status). In this mode, existing transactions can continue to execute, but undo records for new user transactions cannot be stored in this undo tablespace. An undo tablespace can exist in this PENDING OFFLINE mode, even after the switch operation completes successfully. A PENDING OFFLINE undo tablespace cannot be used by another instance, nor can it be dropped. Eventually, after all active transactions have committed, the undo tablespace automatically goes from the PENDING OFFLINE mode to the OFFLINE mode. From then on, the undo tablespace is available for other instances (in an Oracle Real Application Cluster environment). REF.: Oracle(r) 10g Administrator Guide, 10-9

QUESTION 182: In Oracle 10g, the LogMiner allows storage of a copy of the data dictionary in .....(Choose all that apply.) A. a database file B. the control file C. the online redo log files D. the supplemental log file E. an operating system flat file

BabULaL
Highlight
BabULaL
Note
You can switch from using one undo tablespace to another. Because the UNDO_TABLESPACE initialization parameter is a dynamic parameter, the ALTER SYSTEM SET statement can be used to assign a new undo tablespace. The database is online while the switch operation is performed, and user transactions can be executed while this command is being executed. When the switch operation completes successfully, all transactions started after the switch operation began are assigned to transaction tables in the new undo tablespace. The switch operation does not wait for transactions in the old undo tablespace to commit. If there are any pending transactions in the old undo tablespace, the old undo tablespace enters into a PENDING OFFLINE mode (status). In this mode, existing transactions can continue to execute, but undo records for new user transactions cannot be stored in this undo tablespace.
Page 105: Exam

1Z0-040

Actualtests.com - The Power of Knowing

Answer: B, C, E C, ELogMiner requires a dictionary to translate object IDs into object names when it returns redo data to you. LogMiner gives you three options for supplying the dictionary: - Using the Online Catalog Oracle recommends that you use this option when you will have access to the source database from which the redo log files were created and when no changes to the column definitions in the tables of interest are anticipated. This is the most efficient and easy-to-use option. - Extracting a LogMiner Dictionary to the Redo Log Files Oracle recommends that you use this option when you do not expect to have access to the source database from which the redo log files were created, or if you anticipate that changes will be made to the column definitions in the tables of interest. - Extracting the LogMiner Dictionary to a Flat File This option is maintained for backward compatibility with previous releases. This option does not guarantee transactional consistency. Oracle recommends that you use either the online catalog or extract the dictionary from redo log files instead. REF.: Oracle(r) Database Utilities, 17-5

QUESTION 183: Which three statements are true about the privileged connection options available in Oracle 10g? (Choose three.) A. The CONNECT INTERNAL is disallowed B. The Server Manager tool is no longer supplied C. The listener must be running to make a connection D. The use of a remote password login file (orapwd) is unchanged Answer: A, B, D

QUESTION 184: Consider this syntax : MERGE INTO t1 USING t2 ON (join predicate)?. What does the MERGE syntax do? A. It performs a merge join of the row from T2 only if it doesn't exist in the T1 table B. It creates a natural join of tables T1 and T2 for all columns that have the same name C. It creates a Cartesian product of table T1 and table T2 for all columns that have the same name D. For each row from T2, it updates the row if it exists within table T1, otherwise it inserts the row into T1 Answer: D

BabULaL
Highlight
BabULaL
Highlight
BabULaL
Rejected
BabULaL
Note
Page 106: Exam

1Z0-040

Actualtests.com - The Power of Knowing

QUESTION 185: The new time and date data types support greater precision for capturing fractional seconds and time zone information. This gives the Oracle database greater flexibility in supporting locality preferences. What is the default degree of precision of fractional seconds when specifying the TIMESTAMP data type? A. 6 digits B. 9 digits C. 12 digits D. 22 digits Answer: A TIMESTAMP[(precision)] where the optional parameter precision specifies the number of digits in the fractional part of the seconds field. You cannot use a symbolic constant or variable to specify the precision; you must use an integer literal in the range 0 .. 9. The default is 6. REF.: Oracle(r) PL/SQL User's Guide and Reference, 3-13

QUESTION 186: What are three characteristics of the Data Guard Broker? (Choose three.) A. It runs as a process called DMON B. It can be controlled through the Data Guard Manager GUI and command-line interface C. It is started by setting the DRS_START parameter to TRUE in your initialization file D. It uses a configuration file stored on the primary database server and, optionally, on one of your standby database servers Answer: A, B, C A - TRUE. The Data Guard monitor process (DMON) is an Oracle background process that runs for every database instance that is managed by the broker. When you start the Data Guard broker, a DMON process is created. B - TRUE. You can perform all management operations locally or remotely through the broker's easy-to-use interfaces: the Data Guard management pages in Oracle Enterprise Manager, which is the broker's graphical user interface (GUI), and the Data Guard command-line interface called DGMGRL. Obs.: The right parameter should be DG_BROKER_START. The DRS_START initialization parameter has been deprecated in favor of the new parameter DG_BROKER_START, since 9iR2 (Metalink Note: 208768.1) C - TRUE. The DG_BROKER_START initialization parameter must be set to TRUE for each database to start the DMON processes. By default, the DG_BROKER_START initialization parameter is set to FALSE. However,

BabULaL
Highlight
BabULaL
Highlight
Page 107: Exam

1Z0-040

Actualtests.com - The Power of Knowing

you can set the value in the following ways: * If you are using Oracle Enterprise Manager, it automatically sets the DG_BROKER_START initialization parameter to TRUE for new standby databases that it creates. * If you are using DGMGRL, you must explicitly set the DG_BROKER_START initialization parameter to TRUE; otherwise, the DMON process will not start. You can set the DG_BROKER_START initialization parameter with the following SQLstatement: SQL> ALTER SYSTEM SET DG_BROKER_START=TRUE; D - FALSE. The DG_BROKER_START initialization parameter must be set to TRUE for each database REF.: Oracle(r) Data Guard Broker, 1-10, 1-2 and 3-6

QUESTION 187: Which three parameters are ignored when creating an automatic space management segment? (Choose three.) A. PCTFREE B. PCTUSED C. INITRANS D. MAXTRANS E. FREELISTS change it to FREELIST F. FREELIST GROUP Answer: B, E, F Automatic segment-space management in locally managed tablespaces eliminates the need to specify the PCTUSED, FREELISTS, and FREELIST GROUPS parameters. If possible, switch from manual space management to automatic segment-space management (ASSM). REF.: Oracle(r) Database 10g Performance Guide , 10-19

QUESTION 188: Which four are true when implementing automatic segment-space management? (Choose four.) A. You can specify automatic segment-space management only for permanent, locally managed tablespaces B. Specification of automatic management is at the tablespace level C. Free and used space is tracked with bitmaps rather than free lists D. Automatic segment-space management simplifies space management within a segment E. The PCTUSED, FREELISTS and FREELIST GROUPS parameters must be specified at table creation Answer: A, B, C, D

BabULaL
Note
Applications should carefully set storage options for the intended use of the table or index. This includes setting the value for PCTFREE. Note that using automatic segment-space management eliminates the need to specify PCTUSED. Use of free lists is no longer encouraged. To use automatic segment-space management, create locally managed tablespaces, with the segment space management clause set to AUTO. No need to specify the value for FREELISTS when using automatic segment-space management.
BabULaL
Highlight
BabULaL
Highlight
Page 108: Exam

1Z0-040

Actualtests.com - The Power of Knowing

QUESTION 189: An Oracle flashback view can be enabled__________. A. At the session level B. At the system level C. by any valid database user D. during execution of a transaction provided it involves only NOLOGGING operations Answer: A

QUESTION 190: Which statement correctly describes setup of a server-persistent parameter file (SPFILE) when used with Real Application Clusters? A. One SPFILE, created from a text parameter file (PFILE), is required for each instance B. You must create a separate text parameter file (PFILE) for each instance and merge them with the CREATIVE SPFILE FROM PFILE= ( list of files); command to create one common SPFILE C. You can add the instance-specific parameters to a common SPFILE with the ALTER SYSTEM ?SCOPE=SPFILE SID=name ; command. D. One common SPFILE is required for all instances; it has a parameter INSTANCE_name_SPFILE, which in turn points to the instance-specific SPFILE Answer: C All instances in the cluster database use the same SPFILE at startup. Oracle recommends, you to use one shared server parameter file (SPFILE) with instance-specific entries. For example, you assign undo tablespaces in your RAC database by specifying a different value for the UNDO_TABLESPACE parameter for each instance in your SPFILE or individual PFILEs. REF.: Oracle(r) 10g Database Oracle Clusterware and Oracle Real Application Clusters Guide, 5-7

QUESTION 191: Which command meets these two criteria? 1 Runs the backup at full speed 2 Either finishes the task in the allotted time, or terminates Recovery Manager (RMAN) with an error if it fails to finish the task in the allotted time. A. RMAN> BACKUP AS COPY DURATION 3:00 MINIMIZE LOAD DATABASE; B. RMAN> BACKUP AS COPY DURATION 3:00 MINIMIZE TIME DATABASE; C. RMAN> BACKUP AS COPY DURATION 3:00 PARTIAL MINIMIZE LOAD DATABASE; D. RMAN> BACKUP AS COPY DURATION 3:00 PARTIAL MINIMIZE TIME

BabULaL
Highlight
BabULaL
Highlight
BabULaL
Note
Oracle Flashback - Gives a consistent view of the database at a point in the past. - Query past data based on a system time or a system change number (SCN) . Applications : - Self-service repair - Packaged applications like email - Decision support systems for trend analysis DBMS_FLASHBACK - Oracle flashback is enabled at a session level - DML and DDL and distributed operations are not allowed while a session is running in Flashback mode. - Have enough undo information to reconstruct the snapshot - Disk space requied depend on how far back you intend to go.
Page 109: Exam

1Z0-040

Actualtests.com - The Power of Knowing

DATABASE; Answer: B By default, when a BACKUP... DURATION command runs out of time before the backup completes, RMAN reports an error. (The effect of this is that if the command is running in a RUN block, the RUN block terminates.) You can control this behavior by adding the PARTIAL option to the BACKUP... DURATION command, as in this example: BACKUP DURATION 4:00 PARTIAL TABLESPACE users FILESPERSET 1; When PARTIAL is used, no error is reported when a backup command is interrupted due to the end of the backup window. Instead, a message showing which files could not be backed will be displayed. If the BACKUP command is part of a RUN block, then the remaining commands in the RUN block will continue to execute. When using DURATION you can run the backup with the maximum possible performance, or run as slowly as possible while still finishing within the allotted time, to minimize the performance impact of backup tasks. To extend the backup to use the full time available, use the MINIMIZE LOAD option, REF.: Oracle(r) 10g Backup and Recovery Guide, 2-40 and 2-41

QUESTION 192: Exhibit:

Which two statements regarding the result of the query shown in the Exhibit are correct? (Choose two.) A. The LAST_SCN value in the first row is NULL which means that version of the row still exists at SCN 6636300

BabULaL
Highlight
Page 110: Exam

1Z0-040

Actualtests.com - The Power of Knowing

B. The LAST_SCN value in the second row is NULL which means that version of the row still exists at SCN 6636300 C. The LAST_SCN value in the second row is NULL which means that version of the row no longer exists because it was deleted D. The LAST_SCN value in the third row is 6636280 which means that version of the row exists above SCN 6636280 Answer: A, C VERSIONS_STARTSCN or VERSIONS_STARTTIME Starting SCN and TIMESTAMP when row took on this value. The value of NULL is returned if the row was created before the lower bound SCN or TIMESTAMP. VERSIONS_ENDSCN or VERSIONS_ENDTIME Ending SCN and TIMESTAMP when row last contained this value. The value of NULL is returned if the value of the row is still current at the upper bound SCN ot TIMESTAMP. VERSIONS_XID - ID of the transaction that created the row in it's current state. VERSIONS_OPERATION - Operation performed by the transaction ((I)nsert, ( U)pdate or (D)elete) REF.: Metalink Note:270270.1 - Flashback Version Query & Flashback Transaction Query - Oracle 10G Enhancement

QUESTION 193: A query on the sales table returned the following error: Tue May 11 07:05:40 2004 Some indexes or index [sub]partitions of table SCOTT. SALES have been marked unusable. Which statement caused this error to be returned when you issued the query? A. DELETE FROM sales; B. UPDATE sales SET prod_status='sold' WHERE prod_cat='pens'; C. ALTER TABLE sales MOVE PARTITIONsal_ql TABLESPACE EXAMPLE; D. ALTER TABLE sales MOVE PARTITION sal_q1 TABLESPACE EXAMPLE UPDATE INDEXES; Answer: C The statement ALTER TABLE sales MOVE PARTITION sal_q1 TABLESPACE EXAMPLE, won't have a UPADATE INDEXES clause. By default, many table maintenance operations on partitioned tables invalidate (mark UNUSABLE) the corresponding indexes or index partitions. You must then rebuild the entire index or, in the case of a global index, each of its partitions. The database lets you override this default behavior if you specify UPDATE INDEXES in your ALTER TABLE statement for the maintenance operation. Specifying this clause tells the database to update the index at the time it executes the maintenance operation DDL statement. REF.: Oracle(r) 10g Administrator Guide, 17-24

BabULaL
Highlight
BabULaL
Highlight
Page 111: Exam

1Z0-040

Actualtests.com - The Power of Knowing

QUESTION 194: You set SGA parameters in your database as: DB_CACHE_SIZE=24MB JAVA_POOL_SIZE=48MB SHARED_POOL_SIZE=96MB You plan to upgrade to Oracle Database 10g. You need to provide an additional 20 MB memory space to accommodate internal overhead allocations for metadata. Which SGA parameter(s) would you modify? A. change JAVA_POOL SIZE to 68MB B. change DB_CACHE_SIZE to 44MB C. change SHARED_POOL_SIZE to 116MB D. change JAVA_POOL_SIZE to 58MB and DB_CACHE_SIZE to 34MB E. change SHARED_POOL_SIZE to 106MB and DB_CACHE_SIZE to 34MB Answer: C The SHARED_POOL_SIZE initialization parameter is a dynamic parameter that lets you specify or adjust the size of the shared pool component of the SG A. Oracle Database selects an appropriate default value. Starting with Oracle Database 10 g Release 1, the size of internal SGA overhead is included in the user-specified value of SHARED_POOL_SIZE. In other words, if you are not using the automatic shared memory management feature, then the amount of shared pool memory that is allocated at startup is exactly equal to the value of SHARED_POOL_SIZE initialization parameter. In manual SGA mode, this parameter must be set so that it includes the internal SGA overhead in addition to the desired value of shared pool size. REF.: Oracle(r) 10g Administrator Guide, 2-31

QUESTION 195: What does the Character Set Scanner command line utility do? A. reports only on any Unicode character conversions required B. performs character set conversions to the new specified characterset C. scans on any character set conversion required, then converts the data D. checks for any character definitions that will fail conversion to the new characterset Answer: D The character set scanner (csscan) allows the users to evaluate the impact of migrating an existing database to a new character set or to check if a database contains codepoints outside the current character set (from V1.1 onwards). The tool scans the data in the database including the data dictionary and provides an analysis of the current data, highlighting data which will be converted when migrated to the new database character set or what data is incorrectly stored in the database.These findings are summarized in

BabULaL
Highlight
BabULaL
Highlight
Page 112: Exam

1Z0-040

Actualtests.com - The Power of Knowing

the database scan summary report and individual exception report. REF.: Metalink Note:179843.1Availability & versioning of the Character Set Scanner

QUESTION 196: An AFTER SUSPEND system event trigger containing no exception handler is fired, and runs out of space after inserting some audit records. Which two events happen? (Choose two.) A. The trigger is aborted B. The trigger is recursively fired C. The original operation (the one that fired the trigger) continues D. The original operation (the one that fired the trigger) is aborted Answer: A, D Different parallel execution server processes may encounter one or more correctable errors. This may result in firing an AFTER SUSPEND trigger multiple times, in parallel. Also, if a parallel execution server process encounters a non-correctable error while another parallel execution server process is suspended, the suspended statement is immediately aborted. If the user registered a trigger on the AFTER SUSPEND system event, the user trigger is executed. A user supplied PL/SQL procedure can access the error message data using the DBMS_RESUMABLE package and the DBA_ or USER_RESUMABLE view. REF.: Oracle(r) 10g Administrator Guide, 14-9 and 14-10

QUESTION 197: Automatic Consumer Group Switching is an important new feature of the Database Resource Manager. Which three plan directive parameters are used to control this feature? (choose three) A. SWITCH_TIME B. SWITCH_GROUP C. MAX_SESS_POOL D. SWITCH_ESTIMATE Answer: A,B,D The SWITCH_CONSUMMER_GROUP_FOR_SESS causes the specified session to immediately be moved into the specified resource consumer group. In effect, this statement can raise or lower priority. SWITCH_GROUP : Specifies consumer group to which this session is switched if other switch criteria are met. If the group name is 'CANCEL_SQL', then the current call will be canceled when other switch criteria are met. If the group name is 'KILL_SESSION', then the session will be killed when other switch criteria are met. Default is NULL. SWITCH_TIME : Specifies time (in seconds) that a session can execute before an

BabULaL
Highlight
BabULaL
Highlight
BabULaL
Note
DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE ( plan IN VARCHAR2, group_or_subplan IN VARCHAR2, comment IN VARCHAR2, cpu_p1 IN NUMBER DEFAULT NULL, cpu_p2 IN NUMBER DEFAULT NULL, cpu_p3 IN NUMBER DEFAULT NULL, cpu_p4 IN NUMBER DEFAULT NULL, cpu_p5 IN NUMBER DEFAULT NULL, cpu_p6 IN NUMBER DEFAULT NULL, cpu_p7 IN NUMBER DEFAULT NULL, cpu_p8 IN NUMBER DEFAULT NULL, active_sess_pool_p1 IN NUMBER DEFAULT NULL, queueing_p1 IN NUMBER DEFAULT NULL, parallel_degree_limit_p1 IN NUMBER DEFAULT NULL, switch_group IN VARCHAR2 DEFAULT NULL, switch_time IN NUMBER DEFAULT NULL, switch_estimate IN BOOLEAN DEFAULT FALSE, max_est_exec_time IN NUMBER DEFAULT NULL, undo_pool IN NUMBER DEFAULT NULL, max_idle_time IN NUMBER DEFAULT NULL, max_idle_blocker_time IN NUMBER DEFAULT NULL, switch_time_in_call IN NUMBER DEFAULT NULL);
Page 113: Exam

1Z0-040

Actualtests.com - The Power of Knowing

action is taken. Default in UNLIMITED. You cannot specify both SWITCH_TIME and SWITCH_TIME_IN_CALL. SWITCH_ESTIMATE : If TRUE, tells the database to use its execution time estimate to automatically switch the consumer group of an operation prior to beginning its execution. Default is FALSE. REF.: Oracle(r) 10g Administrator Guide, 24-17

QUESTION 198: Which Oracle-supplied package is used by Data Pump Export and Import worker processes to load and unload metadata information? A. DBMS_STREAMS_DATAPUMP_UTIL B. DBMS_METADATA_UTIL C. DBMS_METADATA D. DBMS_STREAMS_DATAPUMP E. DBMS_DATAPUMP Answer: C

QUESTION 199: Consider the following configuration: /devices/D1 is a member of disk group dgroupA . /devices/D2 is a member of disk group dgroupA . /devices/D3 is a member of disk group dgroupA . You plan to add a new disk, /devices/D4, to the disk group dgroupA and execute the following command: SQL> ALTER DISKGROUP dgroupA ADD DISK '/devices/D*'; Which task would be accomplished by the command? A. The command first detaches all the member disks starting with "D" and then reattaches all of them including the new disk. B. The command adds the new disk, D4 , to the disk group. 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 there is no disk by the name " /devices/D* ". E. The command would result in an error because no wildcard characters can be used in the disk name. Answer: B

QUESTION 200: You set SGA parameters in your database as: DB_CACHE_SIZE =24 MB JAVA_POOL_SIZE =48 MB SHARED_POOL_SIZE =96 MB You plan to upgrade to Oracle Database 10 g . You need to provide an additional 20 MB memory space

BabULaL
Highlight
BabULaL
Note
In the Data Pump technology, the DBMS_DATA PUMP package performs the export and import of data. The DBMS_DATA PUMP is the main engine for driving data loading and unloading. To extract and modify data dictionary metadata, Oracle provides the DBMS_METADATA package
BabULaL
Highlight
Page 114: Exam

1Z0-040

Actualtests.com - The Power of Knowing

to accommodate internal overhead allocations for metadata. Which SGA parameter(s) would you modify? A. change DB_CACHE_SIZE to 44 MB B. change SHARED_POOL_SIZE to 106 MB and DB_CACHE_SIZE to 34 MB C. change JAVA_POOL_SIZE to 58 MB and DB_CACHE_SIZE to 34 MB D. change JAVA_POOL_SIZE to 68 MB E. change SHARED_POOL_SIZE to 116 MB Answer: E

BabULaL
Highlight