You are on page 1of 37

ORACLE 10G: DATABASE Examination

chapter 1 - 3

Chapter 1

ORACLE 10G: DATABASE ARCHITECTURE

1. Which stages of Structured Query Language (SQL) statement processing are performed when you issue a MERGE statement? (Choose all that apply.)

A. B. C. D. E.

The rows inserted are written to the datafiles. The data is fetched and returned to the users. The updated blocks are written to the datafiles. The changes made are recorded in the redo log files. The System Change Number is recorded in the control file. F. A parse tree is generated for the query if it does not already exist. G. Blocks of data are retrieved into the database buffer cache if they are not already present.

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 who are connected to the database?

A. ALTER SYSTEM SET LICENSE_MAX_USERS=200; B. ALTER SYSTEM SET LICENSE_MAX_SESSIONS=200; C. ALTER SYSTEM SET LICENSE_MAX_USERS=200 SCOPE=SPFILE; D. ALTER SYSTEM SET LICENSE_MAX_USERS=200 SCOPE=MEMORY; E. ALTER SYSTEM SET LICENSE_MAX_SESSIONS=200 SCOPE=SPFILE;

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 ensure that the new memory demands are met?

A. B. C. D. E.

java pool large pool shared pool program global area database buffer cache

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. B. C. D.

java pool log buffer large pool buffer cache

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. B. C. D.

CKPT and control file LGWR and online redo log files DBWn and archived redo log files DBWn and database buffer cache

6. Which activities in the database signal DBWn to write the data from the database buffer cache to datafiles? (Choose all that apply.)

A. B. C. D. E.

whenever there is a log switch whenever a user transaction is committed whenever the database is shut down cleanly whenever a table is dropped from the database whenever a tablespace in the database is taken offline using OFFLINE NORMAL or OFFLINE TEMPORARY F. whenever the server process cannot find free buffers in the database buffer cache

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. B. C. D. E.

shared pool stack space user session data memory structures cursor state information

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 you modify to avoid the reparsing of queries?

A. B. C. D. E. F.

java pool large pool library cache redo log buffer data dictionary cache database buffer cache

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 to eliminate 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 management for tablespaces. D. Use local extent management for nonsystem tablespaces if not using it already.

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 response queue. 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?

A. B. C. D. E.

12354 14253 21354 21534 23514

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? (Choose all that apply.)
A. B. C. D. The instance recovery will recover data up to the last commit. The information used for instance recovery will be derived from the alert log. The information used for instance recovery will be derived from the control file. The uncommitted changes are rolled back using information in the undo segments. The information used for instance recovery will be derived from the data dictionary. The instance recovery will recover all the data entered into the database before the point of the crash. Only the committed changes stored in the online redo log file are applied to the affected data blocks. The committed and uncommitted changes stored in the online redo log are applied to the affected data blocks.

E.
F. G. H.

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 or SYSOPER privilege?

A. B. C. D. E.

trace file control file alert log file password file system datafile

Chapter 2

INSTALLING THE ORACLE DATABASE SOFTWQRE

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 OFAcompliant database? (Choose all that apply.)

A. B. C. D.

It helps manage database growth. It facilitates self-tuning of the database. It organizes software and data on disk. 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.

14. Which database administrative tool would you use to upgrade or migrate an Oracle database?

A. B. C. D.

User Migration Utility Oracle Database Upgrade Assistant Oracle Enterprise Manager Load Wizard Oracle Enterprise Manager Console

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. B. C. D.

File System Raw Devices Oracle-Managed Files Automatic Storage Management

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. B. C. D.

oratab crontab catexp.sql orainstRoot.sh

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 Oracle software is installed C. the directory location where the script files of the database are stored D. the directory location where the operating system searches for Oracle executables, such as SQL*Plus

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 startup to find the inventory location. D. It is used by Oracle Universal Installer to store the home directory and base directory locations.

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 Oracle 10g database?

A. DDMMYY DD-MM-YY B. DD-MON-YY C. DD-MONTH-YYYY

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. B. C. D.

$ORACLE_HOME/cfgtoollogs /orainventory_location/logs $ORACLE_HOME $ORACLE_HOME/RDBMS/trace

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 using this command: SQL> STARTUP;
What will be the result of this command?

A. The command will start the TESTDB database without any alterations to the SALESDB database. B. The command will start the TESTDB database and shut down the already-running SALESDB database. 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 the ORACLE_SID E. environment variable is incorrect, and you must specify the specific parameter file when issuing the STARTUP command.

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 OracleManaged Files feature? (Choose three.)

A. B. C. D. E.

DB_NAME INSTANCE_NAME DB_CREATE_FILE_DEST DB_RECOVERY_FILE_DEST DB_CREATE_ONLINE_LOG_DEST_n

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 these components centrally on the network? (Choose two.)

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

Chapter 3

CREATING AN ORACLE DATABASE

24. You are creating a database using DBCA. Which options can be configured when creating a database using DBCA? (Choose all that apply.)

A. B. C. D. E.

character sets memory sizing database block size connection mode default profile allocation for users

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 databases that 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 ALTER DATABASE...DROP statement. C. Delete the database using DBCA, and then delete the OS files associated with the database. D. Delete all the OS files associated with the database, including the datafiles, control file, redo log files, and password files, and then delete the database service name.

26. Which three statements correctly describe the Manage Templates option available with DBCA? (Choose three.)

A. B.

C. D. E. F.

It allows you to create a template based on another template. It allows you to create a database with a structure similar to an existing database. It allows you to create a template that contains only the data of an existing database. It allows you to create a template based on all the tablespaces of an existing database. It allows you to create a template that contains only the structure of an existing database. It allows you to create a template that contains the data as well as structure of an existing database.

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 that incorporates only the structure of the original database. Then, use this template to create the new database. C. Create a template of the existing database using DBCA that incorporates 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 that incorporates only the structure of the original database and use this template to create the new database. Then, perform a complete database import of the original database.

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 server C. configure the database to use the Local naming method D. configure the database to use password file authentication E. configure the database to use Automatic Storage Management

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?

A. B. C. D.

Data Warehouse General Purpose Custom Database Transaction Processing

You might also like