Introduction

There is high demand for professionals in the information technology (IT) industry, and Oracle certifications are the hottest credential in the database world. You have made the right decision to pursue your Oracle certification, because achieving your Oracle certification will give you a distinct advantage in this highly competitive market.

Most readers should already be familiar with Oracle and do not need an introduction to the Oracle database world. For those who aren't familiar with the company, Oracle, founded in 1977, sold the first commercial relational database and is now the world's leading database company and second-largest independent software company, with revenues of more than $10 billion, serving more than 145 countries.

Oracle databases are the de facto standard for large Internet sites, and Oracle advertisers are boastful but honest when they proclaim, "The Internet Runs on Oracle." Almost all big Internet sites run Oracle databases. Oracle's penetration of the database market runs deep and is not limited to dot-com implementations. Enterprise resource planning (ERP) application suites, data warehouses, and custom applications at many companies rely on Oracle. The demand for DBA resources remains higher than others during weak economic times.

This book is intended to help you pass the Oracle Database 10g: Administration II Exam, which will establish your credentials as an Oracle Certified Professional (OCP). The OCP certification is a prerequisite for obtaining an Oracle Certified Master (OCM) certification. Using this book and a practice database, you can learn the necessary skills to pass the 1Z0-043 Oracle Database 10g: Administration II exam.

Why Become Oracle Certified?

The number one reason to become an OCP is to gain more visibility and greater access to the industry's most challenging opportunities. Oracle certification is the best way to demonstrate your knowledge and skills in Oracle database systems.

Certification is proof of your knowledge and shows that you have the skills required to support Oracle core products. The Oracle certification program can help a company to identify proven performers who have demonstrated their skills and who can support the company's investment in Oracle technology. It demonstrates that you have a solid understanding of your job role and the Oracle products used in that role.

OCPs are among the best paid in the IT industry. Salary surveys consistently show the OCP certification to yield higher salaries than other certifications, including Microsoft, Novell, and Cisco.

So whether you are beginning your career, changing your career, or looking to secure your position as a DBA, this book is for you!

Oracle Certifications

Oracle certifications follow a track that is oriented toward a job role. These are database administration, application developer, and web application server administrator tracks. Within each track, Oracle has a multi-tiered certification program. Within the administration track there are three tiers:

  • The first tier is the Oracle 10g Certified Associate (OCA). To obtain OCA certification, you must pass the 1Z0-042 Oracle Database 10g: Administration I exam in a proctored setting.

  • The second tier is the Oracle 10g Certified Professional (OCP), which builds on and requires OCA certification. To obtain OCP certification, you must attend an approved Oracle University hands-on class and pass the 1Z0-043 Oracle Database 10g: Administration II exam in a proctored setting.

  • The third and highest tier is the Oracle 10g Certified Master (OCM), which builds on and requires OCP certification. To obtain OCM certification, you must attend advanced-level classes and take a two-day, hands-on practical exam.

The material in this book addresses only the Administration II exam. Other Sybex books— which can be found at http://www.sybex.com—can help students new to the DBA world prepare for the OCA exam 1Z0-042 Oracle Database 10g: Administration I. You can also get information on the Oracle upgrade exam, Oracle Database 10g: New Features for Administrators (exam 1Z0-040).

NOTE

See the Oracle website at http://www.oracle.com/education/certification for the latest information on all of Oracle's certification paths, along with Oracle's training resources.

Oracle DBA Certification

The role of the DBA has become a key to success in today's highly complex database systems. The best DBAs work behind the scenes, but are in the spotlight when critical issues arise. They plan, create, maintain, and ensure that the database is available for the business. They are always watching the database for performance issues and to prevent unscheduled downtime. The DBA's job requires broad understanding of the architecture of Oracle database and expertise in solving problems.

Because this book focuses on the DBA track, we will take a closer look at the different tiers of the DBA track.

Oracle Database 10g Administrator Certified Associate

The Oracle 10g Administrator Certified Associate (OCA) certification is a streamlined, entry-level certification for the database administration track and is required to advance toward the more senior certification tiers. This certification requires you to pass one exam that demonstrates your knowledge of Oracle basics:

  • 1Z0-042 Oracle Database 10g: Administration I

Oracle Database 10g Administrator Certified Professional

The OCP tier of the database administration track challenges you to demonstrate your enhanced experience and knowledge of Oracle technologies. The Oracle 10g Administrator Certified Professional (OCP) certification requires achievement of the OCA certification, attendance at one or more approved Oracle University classes, and successful completion of the following exam:

  • 1Z0-043 Oracle Database 10g: Administration II

The approved courses for OCP candidates include the following:

  • Oracle Database 10g: Administration I

  • Oracle Database 10g: Administration II

  • Oracle Database 10g: Introduction to SQL

  • Oracle Database 10g: New Features for Administrators

  • Oracle Database 10g: Program with PL/SQL

If you already have your OCP in 9i or earlier and have elected to take the upgrade path, you are not required to take the Oracle University class to obtain your OCP for Oracle 10g.

NOTE

You should verify this list against the Oracle education website (www.oracle.com/education), as it can change without any notice.

Oracle Database 10g Certified Master

The Oracle Database 10g Administration Certified Master (OCM) is the highest level of certification that Oracle offers. To become a certified master, you must first obtain OCP certification, then complete advanced-level classes at an Oracle Education facility, and finally pass a hands-on, two-day exam at an Oracle Education facility. The classes and practicum exam are offered only at an Oracle Education facility and may require travel.

NOTE

Details on the required coursework for the OCM exam were not available when this book was written.

Oracle 10g Upgrade Paths

Existing Oracle Professionals can upgrade their certification in several ways:

  • An Oracle9i OCP can upgrade to 10g certification by passing the 1Z0-040 Oracle Database 10g: New Features for Administrators exam.

  • An Oracle8i OCP can upgrade directly to 10g by passing the 1Z0-045 Oracle Database 10g: New Features for Oracle8i OCPs exam.

  • Oracle 7.3 and Oracle 8 DBAs must first upgrade to an Oracle9i certification with the 1Z0-035 Oracle9i DBA: New Features for Oracle 7.3 and Oracle 8 OCPs exam and then upgrade the 9i certification to 10g with the 1Z0-040 Oracle Database 10g: New Features for Administrators exam.

Oracle Database 10g Administrator Special Accreditations

New to the Oracle certification program are the Oracle Database 10g Administrator Special Accreditation programs. These accreditations formally recognize the specialized knowledge of OCPs, in particular database administration areas such as high availability, security, and 10g Grid Control. OCPs who pass one of these special accreditation exams receive a certificate that formally recognizes their specialized competency.

Oracle Database 10g DBA Assessment

Oracle also provides an optional (and free) prerequisite to all of the proctored exams—the Oracle Database 10g DBA Assessment online exam:

  • 1Z0-041 Oracle Database 10g: DBA Assessment

This exam evaluates your proficiency with basic administration and management of an Oracle 10g database and upon passing this online exam, you receive a certificate of completion from Oracle University. While anybody can take this exam, it is designed for those new to Oracle 10g, and it is an excellent measurement of how familiar you are with the new Oracle 10g database.


Oracle Exam Requirements

The Oracle Database 10g: Administration II exam covers several core subject areas. As with many typical multiple-choice exams, there are several tips that you can follow to maximize your score on the exam.

Skills Required for the Oracle Database 10g: Administration II Exam

To pass the Oracle 10g Administration II exam, you need to master the following subject areas in Oracle 10g:

Using Globalization Support

Customize language-dependent behavior for the database and individual sessions.

Specify different linguistic sorts for queries.

Use datetime datatypes.

Query data using case-insensitive and accent-insensitive searches.

Obtain Globalization support configuration information.

Securing the Oracle Listener

Secure the listener.

Remove default EXTPROC entry and add a separate listener to handle external procedure calls.

Configuring Recovery Manager (RMAN)

Configure database parameters that affect RMAN operations.

Change RMAN default settings with CONFIGURE.

Manage RMAN's persistent settings.

Start RMAN utility and allocate channels.

Using Recovery Manager

Use the RMAN BACKUP command to create backup sets and image copies.

Enable block change tracking.

Manage the backups and image copies taken with RMAN with the LIST and REPORT commands.

Diagnostic Sources

Use the alert log and database trace files for diagnostic purposes.

View alerts using Enterprise Manager (EM).

Adjust thresholds for tracked metrics.

Control the size and location of trace files.

Recovering from Non-Critical Losses

Recover temporary tablespaces.

Recover a redo log group member.

Recover index tablespaces.

Recover read-only tablespaces.

Recreate the password file.

Database Recovery

Recover the control file.

Explain reasons for incomplete recovery.

Perform incomplete recovery using EM.

Perform incomplete recovery using RMAN.

Perform incomplete recovery using SQL.

Perform database recovery following a RESETLOGS operation.

Flashback Database

Determine which flashback technology to use for each recovery situation.

Configure and use Flashback Database.

Monitor the Flashback Database.

Use the Enterprise Manager Recovery Wizard to flashback database.

Manage (or maintain) the Flash Recovery Area.

Recovering from User Errors

Recover a dropped table using Flashback technology.

Perform a Flashback table operation.

Manage the Recycle Bin.

Recover from user errors using Flashback Versions Query.

Perform transaction-level recovery using Flashback Transaction Query.

Dealing with Database Corruption

Define block corruption and list its causes and symptoms.

Detect database corruptions using the following utilities: ANALYZE, DBVERIFY.

Detect database corruptions using the DBMS_REPAIR package.

Implement the DB_BLOCK_CHECKING parameter to detect corruptions.

Repair corruptions using RMAN.

Automatic Database Management

Use the Database Advisors to gather information about your database.

Use the SQL Tuning Advisor to improve database performance.

Use automatic undo retention tuning.

Monitoring and Managing Storage

Tune redo writing and archiving operations.

Issue statements that can be suspended upon encountering space condition errors.

Reduce space-related error conditions by proactively managing tablespace usage.

Reclaim wasted space from tables and indexes using the segment shrink functionality.

Estimate the size of new tables and indexes.

Use different storage options to improve the performance of queries.

Rebuild indexes online.

Automatic Storage Management

Set up initialization parameter files for ASM and database instances.

Execute SQL commands with ASM filenames.

Start up and shut down ASM instances.

Administer ASM disk groups.

Use RMAN to migrate your database to ASM.

Monitoring and Managing Memory

Implement Automatic Shared Memory Management (ASMM).

Manually configure SGA parameters for various memory components in the SGA.

Use Automatic PGA Memory Management (APMM).

Managing Resources

Configure the Resource Manager.

Assign users to Resource Manager groups.

Create resource plans within groups.

Specify directives for allocating resources to consumer groups.

Automating Tasks with the Scheduler

Simplify management tasks by using the Scheduler.

Create a job, program, schedule, and window.

Reuse Scheduler components for similar tasks.

View information about job executions and job instances.

Tips for Taking the Administration II Exam

Use the following tips to help you prepare for and pass the exam:

  • The exam contains about 55-80 questions to be completed in 90 minutes. Answer the questions you know first, so that you do not run out of time.

  • Many questions on the exam have answer choices that at first glance look identical. Read the questions carefully. Do not just jump to conclusions. Make sure that you clearly understand exactly what each question asks.

  • Some of the questions are scenario-based. Some of the scenarios contain nonessential information and exhibits. You need to be able to identify what's important and what's not important.

  • Do not leave any questions unanswered. There is no negative scoring. After selecting an answer, you can mark a difficult question or one that you're unsure of and come back to it later.

  • When answering questions that you're not sure about, use a process of elimination to get rid of the obviously incorrect answers first. Doing this greatly improves your odds if you need to make an educated guess.

  • If you're not sure of your answer, mark it for review and then look for other questions that may help you eliminate any incorrect answers. At the end of the test, you can go back and review the questions that you marked for review.

NOTE

You should be familiar with the exam objectives, which are included in the front of this book as a perforated tear-out card. You can also find them at www.oracle.com/education/certification/objectives/43.html. In addition, if you would like information on recommended classes and passing scores, visit www.oracle.com/education/certification/news/beta_043.html.

Where Do You Take the Certification Exam?

The Oracle Database 10g certification exams are available at any of the more than 900 Thomson Prometric Authorized Testing Centers around the world. For the location of a testing center near you, call 1-800-891-3926. Outside the United States and Canada, contact your local Thomson Prometric Registration Center.

To register for a proctored Oracle Certified Professional exam:

  • Determine the number of the exam you want to take. For the OCP exam, it is 1Z0-043.

  • Register with Thomson Prometric online at www.prometric.com or in North America by calling 1-800-891-EXAM (800-891-3926). At this point, you will be asked to pay in advance for the exam. At the time of this writing, the exams are $125 each and must be taken within one year of payment.

  • When you schedule the exam, you'll get instructions regarding all appointment and cancellation procedures, the ID requirements, and information about the testing-center location.

You can schedule exams up to six weeks in advance or as soon as one working day before the day you wish to take it. If something comes up and you need to cancel or reschedule your exam appointment, contact Thomson Prometric at least 24 hours or one business day in advance.

What Does This Book Cover?

This book covers everything you need to pass the Oracle Database10g: Administration II exam. Each chapter begins with a list of exam objectives.

Chapter 1 This chapter discusses how to configure Recovery Manager, including configuring database parameters, RMAN default and persistent settings, and RMAN utility fundamentals.

Chapter 2 This chapter explains how to use Recovery Manager to perform backups, enable block change tracking, and retrieve RMAN with the LIST and REPORT commands.

Chapter 3 This chapter discusses the various non-critical losses to an Oracle database and how to recover from these losses.

Chapter 4 In this chapter, you will learn to perform database recovery. Specific cases of database recovery are covered such as control file recovery, incomplete recovery with RMAN and SQL, and recovery through RESETLOGS.

Chapter 5 This chapter explains how to configure, use, and monitor the Flashback Database. You will learn how to manage the Flashback Database using both Recovery Manager (RMAN) and Enterprise Manager (EM).

Chapter 6 This chapter discusses how to recover from user errors. This includes using and configuring Flashback Drop, Flashback Versions Query, Flashback Transaction Query, and Flashback Table.

Chapter 7 This chapter explains how to deal with database corruption. You'll learn what block corruption is, and how to detect database corruption with the ANALYZE and DBVERIFY utilities, the DBMS_REPAIR package, and the DB_BLOCK_CHECKING parameter. This chapter also explains how to repair database corruption using Recovery Manager (RMAN).

Chapter 8 In this chapter, we discuss Oracle's automatic database management features. You will learn about the Common Manageability Infrastructure (CMI), including the automatic workload repository, server-generated alerts, automated routine maintenance, and the advisory framework.

Chapter 9 In this chapter, you'll learn about Automatic Storage Management (ASM). It introduces the ASM architecture and how to create a special type of Oracle instance: an ASM instance. In addition, this chapter describes in detail how to create and manage disk volumes in an ASM environment.

Chapter 10 This chapter describes Oracle's globalization support features. You will learn about linguistic sorting and searching, datetime datatypes, and how to configure the database to support different language and territorial conventions.

Chapter 11 This chapter discusses the management of Oracle resources. You will learn about the Database Resource Manager (DRM) and how it can be used to manage resources. You will learn to create resource plans, resource consumer groups, and resource plan directives.

Chapter 12 In this chapter, we discuss the new Oracle Scheduler. You will learn how the Scheduler can be used to automate repetitive DBA tasks. You will also learn to create the objects necessary to schedule jobs, including job, schedule, program, window, job group, and window group objects.

Chapter 13 This chapter explains the various methods for monitoring and managing disk storage. It not only shows you how to optimize the disk space for redo log files using the Redo Logfile Size Advisor, it also introduces a number of table types that can optimize disk space, performance, or both, such as index-organized tables and two types of clustered tables. In addition, this chapter shows you how to suspend and resume a long-running operation that runs out of disk space without restarting the operation.

Chapter 14 This chapter discusses methods of securing the Oracle listener. You will also learn about Oracle's diagnostic resources and how to access and manage them. You will learn about automatic memory management features, including the Automatic Shared Memory Management (ASMM) and Automatic PGA Memory Management (APMM) features.

Throughout each chapter, we include Real World Scenario sidebars, which are designed to give a real-life perspective on how certain topics affect our everyday duties as DBAs. Each chapter ends with a list of Exam Essentials, which give you a highlight of the chapter, with an emphasis on the topics that you need to be extra familiar with for the exam. The chapter concludes with 20 review questions, specifically designed to help you retain the knowledge presented. To really nail down your skills, read and answer each question carefully.

How to Use This Book

This book can provide a solid foundation for the serious effort of preparing for the Oracle 10g Administration II exam. To best benefit from this book, use the following study method:

  1. Take the Assessment Test immediately following this introduction. (The answers are at the end of the test.) Carefully read over the explanations for any questions you get wrong, and note which chapters the material comes from. This information should help you plan your study strategy.

  2. Study each chapter carefully, making sure that you fully understand the information and the test objectives listed at the beginning of each chapter. Pay extra close attention to any chapter related to questions you missed in the Assessment Test.

  3. Complete all hands-on exercises in the chapter, referring back to the chapter text so that you understand the reason for each step you take. If you do not have an Oracle database available, be sure to study the examples carefully.

  4. Answer the Review Questions related to that chapter. (The answers appear at the end of each chapter, after the "Review Questions" section.) Note the questions that confuse or trick you, and study those sections of the book again.

  5. Take the two Bonus Exams that are included on the accompanying CD. This will give you a complete overview of what you can expect to see on the real test.

  6. Remember to use the products on the CD included with this book. The electronic flashcards and the Sybex Test Engine exam preparation software have been specifically designed to help you study for and pass your exam.

To learn all the material covered in this book, you'll need to apply yourself regularly and with discipline. Try to set aside the same time period every day to study, and select a comfortable and quiet place to do so. If you work hard, you will be surprised at how quickly you learn this material. All the best!

What's on the CD?

We have worked hard to provide some really great tools to help you with your certification process. All of the following tools should be loaded on your workstation when you're studying for the test.

The Sybex Test Engine Preparation Software

This test preparation software prepares you to pass the 1Z0-043 Oracle Database 10g Administration II exam. In this test, you will find all of the questions from the book, plus two additional bonus exams that appear exclusively on the CD. You can take the Assessment Test, test yourself by chapter, or take the practice exams. The test engine will run on either a Microsoft Windows or Linux platform.

Here is a sample screen from the Sybex Test Engine:



Electronic Flashcards for PC and Palm Devices

After you read the OCP: Oracle 10g Administration II Study Guide, read the Review Questions at the end of each chapter and study the practice exams included in the book and on the CD. You can also test yourself with the flashcards included on the CD.

The flashcards are designed to test your understanding of the fundamental concepts covered in the exam. Here is what the Sybex Flashcards interface looks like:



OCP: Oracle 10g Administration II Study Guide in PDF

Many people like the convenience of being able to carry their Study Guide on a CD, which is why we included the book in PDF format. This will be extremely helpful to readers who fly or commute on a bus or train and prefer an e-book, as well as to readers who find it more comfortable reading from their computer. We've also included a copy of Adobe Acrobat Reader on the CD.

About The Authors

Doug Stuns, OCP, has been an Oracle DBA for more than 15 years and has worked as lead database administrator for many Fortune 500 companies. He worked for the Oracle Corporation in consulting and education roles for five years and is the founder and owner of SCS, Inc., an Oracle-based consulting company that has been in business for more than five years. To contact Doug, you can e-mail him at [email protected].

Tim Buterbaugh is an OCP with over six years of experience with Oracle databases. He currently works as a DBA for EDS in Madison, Wisconsin. He is also the co-founder of 3rdsystems, Inc. with his wife, Jeaneanne. To contact Tim, you can e-mail him at [email protected].

Bob Bryla is an Oracle 8, 8i, 9i and 10g Certified Professional with more than 15 years of experience in database design, database application development, training, and database administration. He is an Internet database analyst and Oracle DBA at Lands' End in Dodgeville, Wisconsin. To contact Bob, you can e-mail him at [email protected].

Assessment Test

  1. The process of configuring a database to back up the control file with each backup is called?

    1. Control file backup

    2. Control file autobackup

    3. Automatic control file backup

    4. Control file automatic backup

  2. What is the new Oracle Database 10g feature that makes the channels more resilient?

    1. Automated channel redundancy

    2. Channel redundancy

    3. Automated channel fail over

    4. Channel fail over

  3. What command would you use to set a persistent setting in RMAN so that backups are all written to a tape device?

    1. CONFIGURE DEFAULT DEVICE TYPE TO TAPE MEDIA

    2. CONFIGURE DEFAULT DEVICE TYPE TO TAPE

    3. CONFIGURE DEFAULT DEVICE TYPE TO SBT

    4. CONFIGURE DEFAULT DEVICE TYPE TO SBT_TAPE

  4. The CONTROL_FILE_RECORD_KEEP_TIME initialization parameter should be set to what value? (Choose all that apply.)

    1. The initialization parameter should be set to 0 when the RMAN repository is being used.

    2. The initialization parameter should be set to greater than 0 with the RMAN repository utilizing the recovery catalog only.

    3. The initialization parameter should be set to greater than 0 with the RMAN repository utilizing the control file or the recovery catalog.

    4. The initialization parameter should be set to 0 with the RMAN repository utilizing the control file or the recovery catalog.

    5. The initialization parameter should never be set to 0 if you are using RMAN.

  5. The BACKUP command has the ability to do what? (Choose all that apply.)

    1. The BACKUP command can make bit-for-bit copies of a file.

    2. The BACKUP command can improve performance by multiplexing backup files.

    3. The BACKUP can take advantage of the block change tracking capability.

    4. The BACKUP command cannot store data in incremental backups.

    5. The BACKUP command can store data in cumulative incremental backups only.

  6. Which commands are required to perform a compressed RMAN backup? (Choose all that apply.)

    1. BACKUP AS COMPRESSED BACKUPSET DATABASE

    2. BACKUP AS COMPRESSED COPY OF DATABASE

    3. CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET

    4. CONFIGURE DEVICE TYPE DISK BACKUP TYPE COMPRESS

    5. BACKUP DATABASE COMPRESS

  7. The RATE option performs what function during RMAN backups?

    1. The RATE option increases RMAN throughput to the desired RATE value.

    2. The RATE option increases system throughput to the desired RATE value.

    3. The RATE option limits RMAN to only back up at a designated RATE value.

    4. The RATE option increases RMAN to back up at a designated RATE value.

  8. What two values are required to identify a database incarnation within the recovery catalog?

    1. DBID

    2. DATABASE NAME

    3. DB_KEY

    4. DATABASE_VALUE

  9. What is the most efficient order in which to create a new default temporary tablespace named TEMP2 and have that tablespace available as the default tablespace for users?

    1. Perform the CREATE TEMPORARY TABLESPACE temp2 command and then the ALTER USER username TEMPORARY TABLESPACE temp2 command.

    2. Perform the CREATE TEMPORARY TABLESPACE temp2 command and then the ALTER DATABASE DEFAULT TEMPORARY TABLESPACE temp2 command.

    3. Perform the DROP TABLESPACE temp2, CREATE TEMPORARY TABLESPACE temp2 command and then the ALTER DATABASE TEMPORARY TABLESPACE temp2 command.

    4. Perform the CREATE TEMPORARY TABLESPACE temp2 command.

  10. What is the correct command sequence for recovering a missing tempfile named temp?

    1. STARTUP MOUNT, CREATE TEMPORARY TABLESPACE temp TEMPFILE

    2. STARTUP NOMOUNT, DROP TABLESPACE temp, CREATE TEMPORARY TABLESPACE temp TEMPFILE

    3. STARTUP MOUNT, DROP TABLESPACE temp, CREATE TEMPORARY TABLESPACE temp TEMPFILE

    4. STARTUP, DROP TABLESPACE temp, CREATE TEMPORARY TABLESPACE temp TEMPFILE

  11. You are faced with a media failure for a tablespace that is currently read-only. The only backup of the read-only tablespace was made one week ago when the tablespace was read-write. What do you have to do to recover this tablespace? (Choose all that apply.)

    1. You only need to restore the datafile for this tablespace because the tablespace is read-only.

    2. You only need to restore and recover the datafile for this tablespace because the tablespace you have restored is read-write.

    3. You only need to restore and recover the datafile for this tablespace because the tablespace has a different SCN in the header.

    4. You only need to recover the datafile for this tablespace because the tablespace is read-only.

  12. User-managed recovery requires which major difference from using RMAN?

    1. User-managed recovery uses the UNTIL SCN clause.

    2. User-managed recovery uses the UNTIL SEQUENCE clause.

    3. User-managed recovery uses the UNTIL TIME clause.

    4. User-managed recovery requires the DBA to directly manage the recovery.

  13. Why does control file recovery require special steps when using RMAN without the recovery catalog? (Choose all that apply.)

    1. Special steps are required when recovering control files because they are not part of the physical database.

    2. Special steps are required when recovering control files because they contain RMAN metadata information.

    3. Special steps are required when recovering a database when the RMAN repository is not available for that database.

    4. Special steps are required when recovering control files because they cannot be easily rebuilt.

  14. Logical corruption has been introduced into the database. You need to recover the database to the point-in-time prior to the introduction of the corruption. The logical corruption was introduced at 6:30 P.M. on September 6, 2004.

    1. run
      {
      set until time '06-SEP-2004 6:25:00';
      restore database;
      recover database;
      }

    2. run
      {
      set until time '06-SEP-2004 18:25:00';
      recover database;
      }

    3. run
      {
      set until time '06-SEP-2004 18:25:00';
      restore database;
      }

    4. run
      {
      set until time '06-SEP-2004 18:25:00';
      restore database;
      recover database;
      }

  15. You have a backup from two days ago. It is discovered that corruption was introduced today at 6:30 P.M. You perform an incomplete recovery of the database to 6:25 P.M. before the corruption. One day later you have a media failure, and you need to recover but you only have the same backup that was used to perform an incomplete recovery prior to the corruption. What will happen to the recovery attempt for the media failure?

    1. The media recovery will fail because you have performed a RESETLOGS to recover from the corruption and you have not taken another backup after the RESETLOGS operation.

    2. The media recovery will be successful because you can perform a RESETLOGS to recover from an incomplete recovery to a new point-in-time greater than the RESETLOGS operation.

    3. The media recovery will fail because you always must take a backup following an incomplete recovery with RESETLOGS to open the database.

    4. The media recovery will only be successful if you recover the database back to the original time of 6:25 P.M. before the corruption.

  16. Where are the flashback database logs stored? (Choose all that apply.)

    1. Flashback database logs are stored in the flash recovery area.

    2. Flashback database logs are stored at the location specified by the FLASH_DATABASE_LOG_DEST parameter.

    3. Flashback database logs are stored at the location specified by the DB_RECOVERY_FILE_DEST parameter.

    4. Flashback database logs are stored at the location specified by the FLASH_DATABASE_RETENTION_TARGET parameter.

  17. Which of the following statements are correct regarding warnings at flash recovery thresholds? (Choose all that apply.)

    1. At 90 percent, there is a full warning and obsolete files are removed.

    2. At 85 percent, there is a full warning.

    3. At 95 percent, there is a full warning and obsolete files are removed.

    4. At 95 percent, there is a full warning.

  18. What files are considered transient in the flash recovery area? (Choose all that apply.)

    1. Flashback logs

    2. Multiplexed redo logs

    3. Control files

    4. Datafiles

    5. RMAN working files

  19. Which initialization parameter will not create files in the flash recovery area? (Choose all that apply.)

    1. LOG_ARCHIVE_DEST

    2. LOG_ARCHIVE_DEST_DUPLEX

    3. LOG_ARCHIVE_DEST_n

    4. LOG_ARCHIVE_DUPLEX_DEST

  20. What command is equivalent to the DROP TABLE command of Oracle 9i or earlier versions?

    1. DROP TABLE table_name

    2. DROP TABLE PURGE table_name

    3. PURGE TABLE table_name

    4. PURGE TABLE recycle_bin_object

  21. How would you assure that the triggers you need enabled are enabled and the triggers you need disabled are disabled after a Flashback Table recovery? (Choose all that apply.)

    1. Make sure that all triggers are enabled before a table is Flashback Table recovered.

    2. Make sure that all triggers that need to be disabled are disabled before the Flashback Table command is executed with the ENABLE TRIGGERS option.

    3. Manually enable and disable all triggers after the Flashback Table recovery.

    4. Make sure that all triggers are disabled before a table is Flashback Table recovered.

  22. How can you identify multiple objects dropped with the same name in the Recycle Bin?

    1. In the RECYCLEBIN view, the column ORIGINAL_NAME will be unique.

    2. In the RECYCLEBIN view, the column OBJECT_NAME will be unique.

    3. In the RECYCLEBIN view, the columns ORIGINAL_NAME and ORGINAL_NAME will be different.

    4. None of the above.

  23. A user accidentally deleted a customer identified by 46435 from the customers table on September 6, 2004 at 3:30 P.M. Which of the following recovery approaches will successfully recover CUSTOMER_ID 46435 with the least impact on database operations?

    1. Perform the following RMAN incomplete recovery after restarting the database in MOUNT mode:

      run
      {

      set until time '06-SEP-2004 15:25:00';
      restore database;
      recover database;
      }

    2. Perform the following DML transaction utilizing Flashback Query:

      insert into customers
      select * from customers where customer_id = 46435
      as of timestamp to_timestamp ('06-SEP-2004 15:25:00')
      where customer_id = 46435;

    3. Perform a user-managed recovery after restoring database files after starting the database in MOUNT mode:

      recover database until time '06-SEP-2004 15:25:00'
      alter database open resetlogs

    4. None of the above.

  24. DB_BLOCK_CHECKING performs checksums on modified blocks only on what database objects?

    1. All database objects by default

    2. All database objects if DB_BLOCK_CHECKING is TRUE

    3. All non-system tablespace objects if DB_BLOCK_CHECKING is FALSE

    4. All system tablespace objects only if DB_BLOCK_CHECKING is TRUE

  25. What is the correct syntax for performing a block media recovery for corrupt blocks in datafile 4 and 5 with blocks 5 and 6, respectively?

    1. RMAN> blockrecover datafile 4-5 block 5-6;

    2. SQL> blockrecover datafile 4 and 5 block 5 and 6;

    3. RMAN> blockrecover datafile 4 block 5;

      RMAN> blockrecover datafile 5 block 6;

    4. RMAN> blockrecover datafile 4 and 5 block 5 and 6;

  26. What is the name of the DBMS_REPAIR procedure used to identify index entries that point to corrupt data blocks?

    1. DUMP_ORPHAN_KEYS

    2. DUMP_ORPHAN_KEY

    3. DUMP_CHILD_KEYS

    4. DUMP_ORPHANS_KEYS

  27. What type of backup should not be used to support RMAN block media recovery (BMR)?

    1. Any incremental backup should not be used to support BMR.

    2. Only a differential incremental backup should not be used to support BMR.

    3. Full backups should not be used to support BMR.

    4. Only a cumulative incremental backup should not be used to support BMR.

  28. You create a new table, populate it, and build several indexes on the table. When you issue a query against the table, the optimizer does not choose to use the indexes. Why might this be?

    1. The indexed columns are not used in the where clause of the query.

    2. There are no statistics available for the table.

    3. There is a small number of rows in the table.

    4. The query contains a hint instructing the optimizer not to use the indexes.

    5. All of the above.

  29. You are concerned about keeping statistics up-to-date for the NOODLE table, a table that is the target of frequent DML operations. In response, another DBA issues the command ALTER TABLE NOODLE MONITORING. What is the result of this action? (Choose the best answer.)

    1. The action resolves the issue.

    2. The action has no effect.

    3. The action only partially resolves the issue.

    4. The action has a detrimental effect regarding the issue.

    5. None of the above.

  30. You have created a new table. How long do you have to wait to be sure that Oracle has automatically gathered optimizer statistics for the table and loaded them into the AWR?

    1. Not more than 30 minutes.

    2. Up to seven days.

    3. Until the next scheduled automated statistics collection job is run.

    4. Optimizer statistics are not stored in the AWR.

    5. You must gather the statistics manually when a new table is created. Oracle will collect them automatically after that.

  31. You are concerned about the operating system performance as well as SQL execution plan statistics. Which STATISTICS_LEVEL parameter would be the minimum required to ensure that Oracle will collect these types of statistics?

    1. BASIC

    2. TYPICAL

    3. ADVANCED

    4. ALL

    5. None of these settings will achieve the desired result.

  32. An ASM disk group can manage database files from how many different databases?

    1. 1

    2. 2

    3. Limited only by disk space.

    4. ASM disk groups manage tablespaces, not database files.

  33. High redundancy disk groups must have how many failure groups? (Choose the best answer.)

    1. 1, because high redundancy disk groups rely on external RAID hardware or software

    2. 2

    3. Exactly 3

    4. 3 or more

  34. Automatic Storage Management (ASM) disk group mirroring is done at which level?

    1. Tablespace level

    2. Extent level

    3. Segment level

    4. Datafile level

  35. Identify two valid types of Oracle instances.

    1. RMAN

    2. DSKMGR

    3. ASM

    4. DBMS

    5. RDBMS

  36. A new workstation has been added at your location in Spain. This machine will be used to run an application that connects to your database in the United States. A technician installs the Oracle client and the application. The user on the new machine notices that performance seems to be sluggish compared to the existing workstations. The technician swears that the application is configured identically on all machines, and has ruled out network issues. What is the most likely cause? (Choose the best answer.)

    1. Defective hardware

    2. Client character set

    3. Client NLS_LANGUAGE setting

    4. Server NLS_LANGUAGE setting

    5. Routing tables

  37. You are setting up a new database instance that needs to support several languages. Conserving storage is a high priority. Point-in-time recovery is absolutely required. How would you go about choosing a character set to use?

    1. Choose a Unicode character set.

    2. Choose the smallest Unicode character set.

    3. Investigate multi-byte character sets to find one that supports the languages that you need.

    4. Use a single-byte Unicode character set.

    5. Investigate single-byte character sets to find one that supports the languages you need.

  38. Your database uses a single-byte character set and has the following parameters set:

    NLS_LENGTH_SEMANTICS = CHAR

    You create a table as shown here:

    SQL> create table XYZ (
             NAME varchar2(30) );
    Table created.

    How many characters will you be able to store in the NAME column?

    1. 15

    2. 30

    3. It depends on the size of a byte on the server platform.

    4. It depends on the character set.

    5. Somewhere between 7 and 15.

  39. Your client NLS_LANG parameter is set to AMERICAN. You create a session to a server that has an NLS_LANGUAGE setting of FRENCH. You issue the following SQL statement:

    ALTER SESSION SET NLS_LANGUAGE=ITALIAN;

    Which language setting will govern client-side NLS operations?

    1. AMERICAN

    2. FRENCH

    3. ITALIAN

    4. It depends on the operation.

    5. None of the above.

  40. You want to set up DRM to allocate CPU resources between seven resource consumer groups. The groups should be allocated only CPU unused by the SYS_GROUP group. Six of the groups will get 15 percent and the remaining group will receive 10 percent. Which of the following would achieve all of these objectives with the least amount of effort?

    1. Create a simple plan.

    2. Create a complex plan with one sub-plan.

    3. Create a complex plan with more than one sub-plan.

    4. Create a simple plan with one sub-plan.

    5. Create a simple plan with more than one sub-plan.

  41. You are creating a complex plan. You need to limit the degree of parallelism for an existing consumer group. Which DRM element do you need to create?

    1. Sub-plan

    2. Group allocation

    3. Resource

    4. Resource plan directive

    5. Parallel directive

  42. You have finished building all of your DRM objects in the pending area. Your PC is currently down, so you ask another DBA to validate it from her PC. She sends you back the following screen capture:

    SQL> begin
      2     dbms_resource_manager.validate_pending_area;
      3    end;
    SQL> /
    
    PL/SQL procedure completed successfully.

    What do you know about the status of the pending area? (Select the best answer.)

    1. The pending area was successfully validated.

    2. The pending area has been scheduled for validation.

    3. You are unsure if the other DBA submitted the correct pending area.

    4. The pending area was successfully validated and is now active.

    5. Nothing.

  43. You want to create the elements for a resource plan that allocates twice as much CPU to one group than to another. Which of the following do you use?

    1. Create a plan with CPU_MTH set to EMPHASIS.

    2. Create plan directives with CPU_MTH set to EMPHASIS.

    3. Create a plan with CPU_MTH set to RATIO.

    4. Create a plan with CPU_MTH set to WEIGHT.

    5. Create plan directives with CPU_MTH set to RATIO.

  44. You want to create a scheduler job that is very similar to an existing job. Neither of these jobs requires any arguments. What is the best way to create the new job?

    1. DMS_SCHEDULER.COPY_JOB

    2. DBMS_SCHEDULER.CREATE_JOB_AS

    3. DBMS_SCHEDULER.COPY_SCHEDULER_OBJECT

    4. Reuse the same job.

    5. There is no way to copy a job.

  45. You execute the following PL/SQL block:

    SQL> begin
      2      DBMS_SCHEDULER.SET_SCHEDULER_ATTRIBUTE(
      3      'LOG_HISTORY', '60'),
      4      end;
    SQL> /
    
    PL/SQL procedure successfully completed.

    What is the result of this action?

    1. Job and window logs will be updated every 60 minutes.

    2. Job logs will be automatically purged after 60 days.

    3. Window logs will be automatically purged after 60 days.

    4. Job and window logs will be limited to the most recent 60 days.

    5. Job and window logs will be automatically purged after 60 days.

  46. You have created a new job by copying an existing job. When you attempt to execute the new job, it doesn't work. Why might this be?

    1. The job must be modified in some way to differentiate it from the original job.

    2. The job can only be executed within a certain window.

    3. The job is disabled.

    4. When a job is copied, the objects referenced by the job must be validated.

    5. The new job must be registered in the JOB_TABLE table.

  47. Consider the index HR.IDX_PK_EMP on the table HR.EMPLOYEES and the following ALTER INDEX command:

    ALTER INDEX HR.IDX_PK_EMP COALESCE;

    Which of the following commands accomplishes the same task as this command? (Choose the best answer.)

    1. ALTER TABLE HR.EMPLOYEES SHRINK SPACE CASCADE;

    2. ALTER TABLE HR.EMPLOYEES SHRINK SPACE;

    3. ALTER TABLE HR.EMPLOYEES SHRINK SPACE COMPACT;

    4. ALTER INDEX HR.IDX_PK_EMP REBUILD;

  48. Which type of queue is supported by sorted hash clusters?

    1. DEQUE

    2. LIFO

    3. FIFO

    4. A queue represented by a two-way linked list

  49. If you have two redo log groups with four members each, how many disks does Oracle recommend to keep the redo log files?

    1. 8

    2. 2

    3. 1

    4. 4

  50. Which of the following statements is not true about segment shrink operations?

    1. The compaction phase of segment shrink is done online.

    2. During the compaction phase, the entire segment is locked but only for a very short period of time.

    3. When the second phase of segment shrink occurs, the high watermark (HWM) is adjusted.

    4. User DML can block the progress of the compaction phase until the DML is committed or rolled back.

    5. Using the COMPACT keyword, the movement of the HWM can occur later during non-peak hours by running the command without the COMPACT keyword.

  51. What is the purpose of the overflow area for an index-organized table (IOT)?

    1. The overflow area helps to reduce row chaining in the IOT.

    2. The overflow area allows you to store some or all of the non-primary key data in an IOT row in another tablespace, improving performance.

    3. The overflow area is used when there is a duplicate value for the primary key in the IOT.

    4. The overflow area stores the index information for indexed columns that are not part of the primary key.

  52. You are concerned about ORA-00600 messages that have been appearing in the alert log, and you want to know if any new ones appear. Which Oracle feature might be of use? (Choose the best answer.)

    1. AWR

    2. Advisory framework

    3. Server-generated alerts

    4. Alert monitor

    5. ADDM

  53. You wish to restrict remote access to your database by using Valid Node Checking. Which file do you need to configure?

    1. listener.ora

    2. snrctl.ora

    3. tnsnav.ora

    4. sqlnet.ora

    5. init.ora

  54. Several users call to report that their sessions appear to be hung. They mention that the problem started within the last few minutes. You attempt to connect, but your session hangs as well. What would be the best place to look for the cause of the problem?

    1. listener.log

    2. Alert log

    3. EM Database Control

    4. Trace files

    5. sqlnet.log

  55. A user sends you a SQL script that they say is running very slowly. The explain plan reveals no problems. How might you go about determining the problem?

    1. Execute an extended explain plan.

    2. Run the script with SQL tracing enabled.

    3. Check for locks on objects referenced in the script.

    4. Run the script with background tracing enabled.

    5. Run the script with TIMED_STATISTICS enabled.

Answers to Assessment Test

  1. B. The control file autobackup is the name of the process that automates the backup of the control file with every backup. See Chapter 1 for more information.

  2. C. Automated channel fail over requires that multiple channels be allocated. If one channel fails, the backup or recovery operation will use the other channel to complete the operation. See Chapter 1 for more information.

  3. C. The command that sets the persistent setting that directs RMAN to back up to tape is CONFIGURE DEFAULT DEVICE TYPE TO SBT. See Chapter 1 for more information.

  4. C, E. The CONTROL_FILE_RECORD_KEEP_TIME initialization parameter should never be set to 0 if you are using RMAN. If this value is set to 0, there is a potential to lose backup records. See Chapter 1 for more information.

  5. B, C. The BACKUP command can take advantage of multiplexing datafiles to the same backup set. The BACKUP command can also use the block change tracking capability. See Chapter 2 for more information.

  6. A, C. The correct methods of compressing a backup are to use the command BACKUP AS COMPRESSED BACKUPSET DATABASE and to set persistent settings by using CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET. See Chapter 2 for more information.

  7. C. The RATE option limits the system resource usage that RMAN will consume performing backup operations. See Chapter 2 for more information.

  8. A, C. The DBID and DB_KEY are required to identify the database incarnation when using SQL*Plus to query the recovery catalog tables. See Chapter 2 for more information.

  9. B. The most efficient way to create a new default temporary tablespace named TEMP2 is to create the temporary tablespace TEMP2. Next, perform the ALTER DATABASE DEFAULT TEMPORARY TABLESPACE temp2 command. This will make TEMP2 the default temporary tablespace for all users. You can perform the ALTER USER username TEMPORARY TABLESPACE temp2 command, but this could be more time-consuming than identifying all the users. See Chapter 3 for more information.

  10. C. The correct command sequence for recovering a missing tempfile named temp is as follows:

    1. STARTUP MOUNT

    2. DROP TABLESPACE temp

    3. CREATE TEMPORARY TABLESPACE temp TEMPFILE

    The database must be mounted, and then the tablespace information needs to be dropped from the data dictionary. Then the tablespace can be created. See Chapter 3 for more information.

  11. B, C. You need to restore and recover the tablespace of the read-only tablespace because the tablespace was read-write when the backup was taken. If the tablespace was backed up read-write, the datafile has changed or has a different SCN in the datafile header. This will require recovery. See Chapter 3 for more information.

  12. D. User-managed recovery requires the DBA to directly manage the recovery process. The DBA must determine which database files to restore and from what backup, as well as which archive logs to apply. See Chapter 4 for more information.

  13. B, C. Control files contain the RMAN repository when not using the recovery catalog that contains metadata about the backups that are used to perform the recovery. This information is not available when recovering a control file. See Chapter 4 for more information.

  14. D. The correct RMAN commands would be as follows:

    run
    {
    set until time '06-SEP-2004 18:25:00';
    restore database;
    recover database;
    }

    The closest time to 6:30 P.M. would be 18:25. You need to use both the RESTORE DATABASE and RECOVER DATABASE commands. See Chapter 4 for more information.

  15. B. You can now recover through an incomplete recovery, which uses RESETLOGS to open the database. In previous Oracle versions, you had to take a backup immediately following an incomplete recovery, because the redo log sequences got reset, making the backup unusable. See Chapter 4 for more information.

  16. A, C. The flashback database logs must be stored in the flash recovery area. The actual location in the flash recovery area is determined by the DB_RECOVERY_FILE_DEST parameter. See Chapter 5 for more information.

  17. A, D. At 90 percent full, a warning is sent to the alert log, and obsolete files are removed. At 95 percent full, warnings are set to the alert log. See Chapter 5 for more information.

  18. A, D, E. Flashback logs, datafiles, and RMAN working files are all considered transient by Oracle. These files will be overwritten during certain events. Multiplexed redo logs and control files are considered permanent and will not be overwritten, even when the flash recovery area is backed up to tape. See Chapter 5 for more information.

  19. A, B, D. LOG_ARCHIVE_DEST_DUPLEX is not a valid initialization parameter. LOG_ARCHIVE_DEST_n is the only archive log initialization parameter that writes archive logs to the flash recovery area. See Chapter 5 for more information.

  20. C. The command equivalent to the DROP TABLE command of Oracle 9i or earlier is PURGE TABLE table_name. The PURGE TABLE recycle_bin_object command only purges from the Recycle Bin. See Chapter 6 for more information.

  21. B, C. The Flashback Table command by default disables all triggers unless the ENABLE TRIGGERS option is used. If the ENABLE TRIGGERS option is used, all enabled triggers at the time of the Flashback Table recovery are enabled. All disabled triggers at the time of the Flashback Table recovery are disabled. The last option is to manually enable and disable all triggers after the Flashback Table recovery has been performed. See Chapter 6 for more information.

  22. B. The RECYCLEBIN view OBJECT_NAME column will provide a unique name of a database object, even if the OBJECT_NAME is the same. See Chapter 6 for more information.

  23. B. The Flashback Query will query the deleted customer 46453 from the undo data, and the insert command will add the customer back to the customers table. There will be minimal impact on the database. See Chapter 6 for more information.

  24. B. DB_BLOCK_CHECKING reports on all database objects if DB_BLOCK_CHECKING is TRUE. See Chapter 7 for more information.

  25. C. The correct syntax to perform a block media recovery for corrupt blocks in two datafiles is to execute multiple BLOCKRECOVER commands, one for each datafile and block. See Chapter 7 for more information.

  26. A. The DUMP_ORPHAN_KEYS is designed to identify index entries that point to corrupt data blocks. See Chapter 7 for more information.

  27. A. All incremental backups will not support BMR because they contain only changed blocks. See Chapter 7 for more information.

  28. E. Because you aren't given enough information to determine the availability of statistics, nor are you privy to the query itself, you can't rule out any valid possibilities. All of the choices listed are valid reasons why the optimizer might choose to not use an available index. See Chapter 8 for more information.

  29. B. The MONITORING option of the ALTER TABLE command is deprecated in Oracle Database 10g. While it will not produce an error, it is treated as no operation by Oracle. Automatic DML monitoring is used instead. See Chapter 8 for more information.

  30. D. The AWR does not store optimizer statistics. It stores dynamic performance statistics. Optimizer statistics are stored in the data dictionary. See Chapter 8 for more information.

  31. D. The STATISTICS_LEVEL parameter must be set to ALL in order to instruct Oracle to automatically collect operating system and SQL execution plan statistics. See Chapter 8 for more information.

  32. C. An ASM disk group can manage database files for essentially an unlimited number of different databases. Creating ASM disk groups is discussed in Chapter 9.

  33. D. High redundancy disk groups require disks in at least three failure groups, but they can contain more if a higher level of redundancy or performance is desired. Controlling disk group redundancy is detailed in Chapter 9.

  34. B. Disk group mirroring for ASM is done at the extent level. To learn about Automatic Storage Management mirroring, see Chapter 9.

  35. C, E. ASM instances manage ASM disk groups, and RDBMS instances are the traditional and only type of instance available before Oracle Database 10g. Configuring ASM and RDBMS instances for Automatic Storage Management is covered in Chapter 9.

  36. B. The most likely cause is that the Oracle client environment is using a character set that does not match the server and is not a strict subset of the server character set. In this situation, Oracle will perform automatic data conversion, which can impact performance. See Chapter 10 for more information.

  37. E. If a single-byte character set can be found that fulfills all of your language requirements, you will save storage space over using a multi-byte character set. See Chapter 10 for more information.

  38. B. A single-byte character set always uses only one byte to store a character, so using byte semantics isn't any different from using character semantics. See Chapter 10 for more information.

  39. A. Client-side NLS operations are governed by the NLS_LANG environment variable settings. The server session was affected by the ALTER SESSION command, but it has no effect on client-side NLS operations because they don't involve the server session. See Chapter 10 for more information.

  40. A. A simple plan can allocate CPU resources for up to eight consumer groups at the same level. By default, SYS_GROUP will be allocated 100 percent of level 1 CPU, and all other CPU allocation is done at level 2. Therefore, a simple plan will meet all of these requirements. See Chapter 11 for more information.

  41. D. A resource plan directive needs to be created, which will define the plan, the consumer group, and resource allocation. See Chapter 11 for more information.

  42. E. There can only be one pending area, so there is no question of whether it was the right one. The problem is that you don't know whether she issued the set serveroutput on statement before executing the procedure. Therefore, you don't know if errors were found, but were not displayed. See Chapter 11 for more information.

  43. C. The resource allocation method is defined at the plan level, not at the plan directive level. The resource allocation method of RATIO indicates that the amounts allocated in subsequent plan directives will represent a weighted amount, rather than a percentage. See Chapter 11 for more information.

  44. A. Scheduler jobs can be copied by using the DBMS_SCHEDULER.COPY_JOB procedure. See Chapter 12 for more information.

  45. E. The SET_SCHEDULER_ATTRIBUTE procedure sets the purge rule for both job and window logs by default. If the WHICH_LOG parameter is specified, the procedure sets the purge rule for one specific log type. See Chapter 12 for more information.

  46. C. By default, copied jobs are created in a disabled state. See Chapter 12 for more information.

  47. A. Using the CASCADE keyword in any segment shrink operation will shrink the free space in any dependent objects such as indexes. Chapter 13 discusses segment shrink functionality.

  48. C. Sorted hash clusters are similar to standard hash clusters, except that they store data sorted by non-primary key columns and make access by applications that use the rows in a first in, first out (FIFO) manner very efficiently; no sorting is required. Chapter 13 describes how sorted hash clusters are created and used.

  49. D. Oracle recommends that you keep each member of a redo log group on a different disk. You must have a minimum of two redo log groups, and it is recommended that you have two members in each group. The maximum number of redo log groups is determined by the MAXLOGFILES database parameter. The MAXLOGMEMBERS database parameter specifies the maximum number of members per group. See Chapter 13 for more information.

  50. B. During the compaction phase, locks are held only on individual rows, causing some minor serialization with concurrent DML operations. For more information about segment shrink, see Chapter 13.

  51. B. If an IOT row's data exceeds the threshold of available space in a block, the row's data will be dynamically and automatically moved to the overflow area. For more information about index-organized tables, see Chapter 13.

  52. C. Server-generated alerts would be the best answer. Oracle has a predefined alert that detects ORA-00600 messages in the alert log and will raise an alert when they are found. See Chapter 14 for more information.

  53. D. The sqlnet.ora file must be manually edited to configure Valid Node Checking. See Chapter 14 for more information.

  54. B. The alert log would be the best place to look for information. EM Database Control does allow alerts to be viewed; however, the metrics are unlikely to have been updated because the problem occurred within the last few minutes. See Chapter 14 for more information.

  55. B. Running the script with SQL tracing enabled will produce a trace file detailing the execution of the SQL. This file can be used to troubleshoot the performance problem. See Chapter 14 for more information.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset