Download - Oracle 10g Ch1 - Ch3
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 1/37
ORACLE 10G: DATABASE
Examination
chapter 1 - 3
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 2/37
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 3/37
1. Which stages of Structured Query Language (SQL)
statement processing are performed when you issue a
MERGE statement? (Choose all that apply.)
A. The rows inserted are written to the datafiles.
B. The data is fetched and returned to the users.C. The updated blocks are written to the datafiles.
D. The changes made are recorded in the redo log files.
E. The System Change Number is recorded in the control
file.F. A parse tree is generated for the query if it does notalready exist.
G. Blocks of data are retrieved into the database buffercache if they are not already present.
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 4/37
2. You are using an spfile to start the database. The maximum number of
users in your database has been set to 150. Because the number of users has
already reached the maximum limit, you are not able to create more users.
Which statement should you issue to increase the maximum number of users
in this database and keep the change persistent without affecting users whoare connected to the database?
A. ALTER SYSTEM SET LICENSE_MAX_USERS=200;
B. ALTER SYSTEM SETLICENSE_MAX_SESSIONS=200;
C. ALTER SYSTEM SET LICENSE_MAX_USERS=200SCOPE=SPFILE;
D. ALTER SYSTEM SET LICENSE_MAX_USERS=200SCOPE=MEMORY;
E. ALTER SYSTEM SETLICENSE_MAX_SESSIONS=200 SCOPE=SPFILE;
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 5/37
3. Eric is working in a database server, which has been recently configured for
a shared server environment. Upon analysis, he realizes that there has been
an increase in memory demands for the SGA component because some
memory structures are now accommodated in the SGA.
Which component of the SGA should be allocated more memory to ensurethat the new memory demands are met?
A. java pool
B. large pool
C. shared pool
D. program global area
E. database buffer cache
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 6/37
4. Your database is running in the shared server mode. You want to ensure
that the memory allocated to the shared pool is completely used by the
application users and not by RMAN processes or any other I/O server
processes. Which component of the Shared Global Area (SGA) should be
allocated memory to achieve the objective?
A. java pool
B. log buffer
C. large pool
D. buffer cache
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 7/37
5. Which background process and associated database
component guarantees that committed data is saved
even when the changes have not been recorded in the
datafiles?
A. CKPT and control file
B. LGWR and online redo log files
C. DBWn and archived redo log files
D. DBWn and database buffer cache
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 8/37
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 9/37
7. Your database server is running in shared server
mode. Which component is a component of the
Program Global Area (PGA) when the database is in
shared server mode?
A. shared pool
B. stack space
C. user session data
D. memory structures
E. cursor state information
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 10/37
8. Users in your application complain of slow response to
queries. Upon analysis, you realize that the queries are being
reparsed because they are aged out quickly.
Which component of the Shared Global Area (SGA) should youmodify to avoid the reparsing of queries?
A. java pool
B. large pool
C. library cache
D. redo log buffer
E. data dictionary cache
F. database buffer cache
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 11/37
9. During your routine monitoring operations on the database,
you observe that there is heavy contention on data dictionary
tables whenever extents are allocated or freed from a
tablespace. Which action should you take as a measure toeliminate this contention on the SYSTEM tablespace?
A. Use local extent management for the SYSTEM
tablespace.B. Use bigfile tablespaces in the database to
avoid contention.
C. Use automatic segment space managementfor tablespaces.
D. Use local extent management for nonsystemtablespaces if not using it already.
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 12/37
10. The following events take place when a user submits a
request on a shared server and the request is processed by the
server:
1. The dispatcher retrieves the response from its own responsequeue.
2. The user process forwards a request to a dispatcher on the
shared server.
3. The dispatcher places the request in the common request
queue in the SGA.
4. The response is returned to the user.
5. The shared server process picks up the request, processes it
and places the response on the calling dispatcher's response
queue.Which is the correct sequence of events that take place when
the request is submitted to the server and a response is returned
to the user?
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 13/37
A. 12354
B. 14253
C. 21354
D. 21534
E. 23514
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 14/37
11. Your database is running in the ARCHIVELOG mode. After an instance
crash, you start up the database by issuing the STARTUP command. Instance
recovery is initiated by the SMON background process.
Which statements are true about the phases involved in the instance recovery
performed by SMON? (Chooseall that apply.)
A. The instance recovery will recover data up to the last commit.
B. The information used for instance recovery will be derived from the alert log.
C. The information used for instance recovery will be derived from the control file.
D. The uncommitted changes are rolled back using information in the undo
segments.
E. The information used for instance recovery will be derived from the data
dictionary.
F. The instance recovery will recover all the data entered into the database beforethe point of the crash.
G. Only the committed changes stored in the online redo log file are applied to the
affected data blocks.
H. The committed and uncommitted changes stored in the online redo log are
applied to the affected data blocks.
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 15/37
12. Eric is working as a database administrator with Telstar Corporation. He
has been granting SYSDBA and SYSOPER privileges to certain users who must
perform certain administrative tasks, such as starting and shutting down the
database remotely.
Which file determines the number of users that can be granted the SYSDBA orSYSOPER privilege?
A. trace file
B. control file
C. alert log file
D. password file
E. system datafile
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 16/37
INSTALLING THE ORACLE DATABASESOFTWQRE
Chapter 2
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 17/37
13. After installing Oracle 10g on your host computer, you
have decided to use Optimal Flexible Architecture (OFA) for
managing the database.
Which statement(s) reflect(s) benefits of using an OFA-compliant database? (Choose all that apply.)
A. It helps manage database growth.
B. It facilitates self-tuning of the database.
C. It organizes software and data on disk.
D. It helps in eliminate fragmentation of free
space in the SYSTEM tablespace.
E. It facilitates automatic naming of tablespaces
and datafiles created in the database.
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 18/37
14. Which database administrative tool would you use
to upgrade or migrate an Oracle database?
A. User Migration Utility
B. Oracle Database Upgrade Assistant
C. Oracle Enterprise Manager Load Wizard
D. Oracle Enterprise Manager Console
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 19/37
15. While installing the Oracle 10g database using OUI,
which file storage option will provide you with
additional features such as mirroring and striping?
A. File System
B. Raw Devices
C. Oracle-Managed Files
D. Automatic Storage Management
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 20/37
16. Your Oracle server is running on a Linux platform. You
create a new database NEWDB on this server.
Which file is updated with the Oracle system identifiers (SIDs)
when this new Oracle database, NEWDB, is created?
A. oratab
B. crontab
C. catexp.sql
D. orainstRoot.sh
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 21/37
17. You are in the process of installing Oracle Database 10g on
your client computer. You have set the value for environment
variable ORACLE_HOME to /oracle/ora10g.
What does this value specify?
A. the directory location for the base of OFA
B. the directory location where the Oraclesoftware is installed
C. the directory location where the script files
of the database are storedD. the directory location where the operating
system searches for Oracle executables, suchas SQL*Plus
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 22/37
18. While installing the Oracle10g database on a UNIX
platform you are prompted to run the script file
orainstRoot.sh, which creates another file oraInst.loc.
For which purpose is the newly created oraInst.loc file used?
A. It is used to set the UNIX kernel parameters for
the Oracle database.B. It is used to store information about the users
accessing the Oracle database.
C. It is used by Oracle Universal Installer at startupto find the inventory location.
D. It is used by Oracle Universal Installer to store
the home directory and base directory locations.
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 23/37
19. While installing the Oracle 10g database, you have set the
NLS_LANG environment variable to
AMERICAN_AMERICA.WE8IS08859P1.
What will be the default date format assigned to the Oracle10g database?
A. DDMMYY DD-MM-YY
B. DD-MON-YY
C. DD-MONTH-YYYY
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 24/37
20. You are using Oracle Universal Installer to perform an
installation. During the installation, you encounter errors.
Which directory contains the log files that you should review
to determine the details about the installation errors?
A. $ORACLE_HOME/cfgtoollogs
B. /orainventory_location/logs
C. $ORACLE_HOME
D. $ORACLE_HOME/RDBMS/trace
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 25/37
21. Your Oracle server has four databases SALESDB, FINDB,
HRDB, and TESTDB installed on it. The SALESDB database is
currently running. You set the ORACLE_SID environment
variable on the operating system as follows:
C:\> SET ORACLE_SID=TESTDB
Then, you try to start the TESTDB database from another
SQL*Plus prompt usingthis command:
SQL> STARTUP;
What will be the result of this command?
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 26/37
A. The command will start the TESTDB databasewithout any alterations to the SALESDBdatabase.
B. The command will start the TESTDB databaseand shut down the already-running SALESDBdatabase.
C. This command will return an Oracle already
running, shut it down first error.D. The command will not start the TESTDB
database because the assignment of theORACLE_SID
E. environment variable is incorrect, and you mustspecify the specific parameter file when issuingthe STARTUP command.
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 27/37
22. You want to use the Oracle-Managed Files feature to minimize file
management and provide efficient storage
for your Oracle database.
Which three initialization parameters are used to configure to use the Oracle-
Managed Files feature? (Choose three.)
A. DB_NAME
B. INSTANCE_NAME
C. DB_CREATE_FILE_DEST
D. DB_RECOVERY_FILE_DEST
E. DB_CREATE_ONLINE_LOG_DEST_n
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 28/37
23. You are a DBA with Startel. You have a set of four
databases SALESDB, FINDB, HRDB, and PROD. You also
have two listeners, L1 and L2, and an application server,
APPS1, located on different locations globally. You have
been assigned the task of managing all these
components from your office located in New York.
Which two tools should you install to administer thesecomponents centrally on the network? (Choose two.)
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 29/37
A. Oracle Management Agent
B. Oracle Enterprise Manager 10g
C. Oracle Enterprise Manager 10g Grid Control
Console
D. Oracle Enterprise Manager 10g Application
Server Control
E. Oracle Enterprise Manager 10g Database
Control Console
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 30/37
CREATING AN ORACLE DATABASE
Chapter 3
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 31/37
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 32/37
25. You are a database administrator in your company. You must
create new databases to store data from different projects in
your company. Having analyzed the databases that already exist
on the Oracle server, you have decided to delete the databasesthat are not being used.
Which action(s) can you take to delete an existing database?
A. Delete the database using DBCA.
B. Delete the existing database using the ALTERDATABASE...DROP statement.
C. Delete the database using DBCA, and thendelete the OS files associated with the database.
D. Delete all the OS files associated with thedatabase, including the datafiles, control file,redo log files, and password files, and thendelete the database service name.
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 33/37
26. Which three statements correctly describe the
Manage Templates option available with DBCA?
(Choose three.)
A. It allows you to create a template based on another template.
B. It allows you to create a database with a structure similar to an existing
database.
C. It allows you to create a template that contains only the data of an
existing database.
D. It allows you to create a template based on all the tablespaces of an
existing database.
E. It allows you to create a template that contains only the structure of an
existing database.
F. It allows you to create a template that contains the data as well as
structure of an existing database.
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 34/37
27. You need to create a database similar to an existing
database. The data and structure of the new database must
be the same as the existing database.
Which action would best obtain the desired results?
A. Create a database using the CREATE DATABASE statement. Then,perform a complete database import of the original database.
B. Create a template of the existing database using DBCA thatincorporates only the structure of the original database. Then, usethis template to create the new database.
C. Create a template of the existing database using DBCA thatincorporates the structure and data of the original database. Then,use this template to create the new database.
D. Create a template of the existing database using DBCA thatincorporates only the structure of the original database and usethis template to create the new database. Then, perform acomplete database import of the original database.
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 35/37
28. You are in the process of creating a database using
DBCA.
Which option CANNOT be configured using DBCA?
(1 Answer)
A. configure the database to enable daily backup
B. configure the database to run as a shared serverC. configure the database to use the Local naming
method
D. configure the database to use password fileauthentication
E. configure the database to use AutomaticStorage Management
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 36/37
29. You are required to create a new database using
DBCA. The database is required to store historical data
pertaining to the last 20 years for a multinational
bank. This data is generally accessed to create reports
needed in different quarters of the year. In addition,
new data is inserted into the database at the
end of every month.
Considering these requirements, which template would
be the best template to
use to create the database?
7/28/2019 Oracle 10g Ch1 - Ch3
http://slidepdf.com/reader/full/oracle-10g-ch1-ch3 37/37
A. Data Warehouse
B. General Purpose
C. Custom Database
D. Transaction Processing