Exam Prep Questions


1:

What three tablespaces can be created using the CREATE DATABASE statement? [Select three]

  • A. Undotbs1

  • B. System

  • C. Users

  • D. Datatbs

  • E. Indextbs

  • F. Temporary

A1:

Answers A, B, and F are correct. The three tablespaces that you can create at database creation time are the Undo tablespace (which defaults to the name in A if none is given and automatic undo is used), a default temporary tablespace, and the system tablespace (SYSTEM is the only one that is mandatory). Although Users (C), Datatbs (D), and Indextbs (E) may be valid tablespaces, they have to be created after the database is created.

2:

What should you do as soon as you have successfully created the database and the data dictionary?

  • A. Open the database for users to start adding data.

  • B. Start adding a bunch of tablespaces to allow users to use.

  • C. Leave it running for a few days to make sure that nothing bad is going to happen.

  • D. Shut it down and take a cold backup.

A2:

Answer D is correct. As soon as you have successfully created the database and the data dictionary, you should shut down the database and take a cold backup to make sure that you have a fallback point should something happen later. Answer A is incorrect because many things can happen to a database when users are accessing it, and you would, at this point, have to re-create the database if anything should happen to the database that would cause you to have to restore, you would have a backup to restore from. Answer B is incorrect. Adding a lot of tablespaces could only complicate your initial restore if you should have to recover the new database. Answer C is incorrect because nothing will really be lost but definitely nothing will be gained from simply letting the database run for a while.

3:

What should you not do if your database creation script fails?

  • A. Check the SQL Syntax.

  • B. Make sure that there is sufficient space in the file system or directory or drive.

  • C. Rerun the script immediately.

  • D. Delete existing files.

A3:

Answer C is correct. Rerunning the script immediately won't resolve any issues and will likely present you with new ones that may cloud the original issue. Answer A should be done first; check to see whether you have syntax errors in your CREATE DATABASE script. Answer B should be done next; make sure that you have enough space in the place you are using for your files to house them. Answer D should be done right before you are ready to run the script again; leaving files out in the same location will likely cause your script to fail again.

4:

What starts the instance and allows users to access the database?

  • A. STARTUP NOMOUNT

  • B. STARTUP OPEN

  • C. STARTUP MOUNT

  • D. STARTUP RESTRICT

A4:

Answer B is correct. STARTUP OPEN opens the instance and the database to allow users to connect to the database. Answer A is usually only used for database creation and starts just the instance. Answer C starts the instance and mounts the database, but at this point it can only be accessed by someone with sysdba authority. Answer D is incorrect because RESTRICT signifies that only privileged users (sysdba and those with restricted session authority) can access the instance and the database.

5:

You are using the DBCA and you need to change some of the templates that you have stored. What option from the first screen would you use to accomplish this?

  • A. Create Database

  • B. Manage Templates

  • C. Configure Database Options in Database

  • D. Change All Templates

A5:

Answer B is correct; you want to manage templates. Answer A is incorrect; you would use this option to create a new database. Answer C is incorrect; you would use this option to change configuration settings in a database that already exists. Answer D is incorrect; it is not an option in the DBCA.

6:

Which three operations can be accomplished through the Database Creation Assistant? [Choose three]

  • A. Create Database

  • B. Maintain Database

  • C. Delete Database

  • D. Alter Database

  • E. Configure Database

A6:

Answers A, C, and E are correct. Through the DBCA, you can create, delete, or configure an existing database. Answer B is incorrect because that is what you do with most of your time as a DBA and can be done with the assistance of Oracle Enterprise Manager. Answer D is incorrect; OEM and command line are the means by which you can alter the database.

7:

What GUI tool is provided by Oracle to assist in the creation of databases?

  • A. DBCA

  • B. OEM

  • C. SQL Plus

  • D. Java

A7:

Answer A is correct. Database Creation Assistant (DBCA) is the GUI tool provided to assist with the creation of databases. Answer B, OEM, is the tool that assists database administrators with daily routine maintenance of the database. Answer C is a command-linelike interface through which users can submit SQL queries (it can run in Windows as a GUI interface or native on any other platform). Answer D in incorrect; Java is a programming language that is the basis for many of the Oracle tools but is not the interface.

8:

What is the minimum number of control files that Oracle suggests for a database?

  • A. 1

  • B. 2

  • C. 3 groups

  • D. 0

A8:

Answer B is correct. Oracle suggests having at least two control files for a production database. Answer A is the minimum number necessary to run a database. Answer C is the suggested number of redo log groups. Answer D is incorrect because there needs to be at least one available control file for database operation.

9:

You need to determine the placement of your multiplexed CONTROL FILES in the database that you are creating. With what parameter in the CREATE DATABASE script would you specify the location?

  • A. control_files

  • B. controlfile

  • C. logfile

  • D. datafile

A9:

Answer A is correct; you specify the name and location of the CONTROL FILES with the controlfile parameter in the CREATE DATABASE script. Answer B is incorrect; the control_files parameter is in the initialization files. Answer C is incorrect; it specifies the location of the online redo log files. Answer D is incorrect; the datafile parameter isn't in the initialization file but is a specification of the tablespace creation command.

10:

Which is not a necessary decision to make at database creation time?

  • A. Location of the control files

  • B. Location of the redo log files

  • C. Location of the SYSTEM tablespace's data files

  • D. Location of all the data files that will belong to the database

A10:

Answer D is correct; it is not necessary to know the location of every data file that will be connected to your database at database creation time. Answers A, B, and C are incorrect because they are all necessary information for creation of the database initially.



    Oracle 9i Fundamentals I Exam Cram 2
    Oracle 9i Fundamentals I Exam Cram 2
    ISBN: 0789732653
    EAN: 2147483647
    Year: 2004
    Pages: 244
    Authors: April Wells

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net