Oracle 9i and SQL Database Quiz
Test your knowledge of Oracle 9i database administration, SQL functions, and DB2 database management concepts
Questions
Which of the following objects could not be modified using ALTER statement
- Tablespace
- Sequence
- Views
- Index
Load utility will rebuild the index of the table that is loaded?
- True
- False
Pick the odd one out
- AVG
- SUM
- STDDEV
- ABS
Which of the following contains Database Descriptors(DBD)
- DB2 Directory
- DB2 Catalog
- Optimizer
- Data Manager
Which table gives access path information for a plan/query when EXPLAIN command is used
- DSN_STATEMNT_TABLE
- PLAN_TABLE
- SYSPLAN
- SYSPACKAGE
Which of the following functions can be used to determine whether a column value is NULL
- SUBSTR
- VALUE
- COALESCE
- NULLIF
Which of the following groups allows its members to connect to a 9i database using the SYSDBA privilege?
- 9iDBA
- OSADM
- OSDBA
- OSOPER
Which of the following are NOT the authorized operations of SYSOPER
- CREATE SPFILE
- CREATE DATABASE
- ALTER DATABASE OPEN
- STARTUP
According to the Oracle recommended prioritized approach for designing, implementing, and maintaining an Oracle Database, which of the following is the task for the DBA to perform before tuning the database?
- Install the Oracle Software
- Plan the Database
- Implement the Database Design
- Back Up the Fully Functional Database
According to the Oracle recommended prioritized approach for designing, implementing, and maintaining an Oracle Database, which of the following is the first task for the DBA to perform?
- Install the Oracle Software
- Evaluate the Database Server Hardware
- Implement the Database Design
- Plan the Database
The initial password of CHANGE_ON_INSTALL is used by which of the following user accounts?
- SYSTEM
- SYS
- SYSOPER
- MANAGER
What environment variable can have direct influence towards the output of the date command?
- TZ
- TMP
- TMPDIR
- SHLIB_PATH
Which of the following are the functions of the oraenv script
- It provides a security scan against all user accounts
- It provides a SID scan against all rows
- It provides a central means of updating all user accounts
- It provides a mechanism for switching between Oracle9i databases with ease
A directory name can be a valid value for which of the following parameters?
- DB_CACHE_SIZE
- DB_FILES
- BACKGROUND_DUMP_DEST
- DB_BLOCK_SIZE
How do you change the block size specified by DB_BLOCK_SIZE?
- modify the parameter, backup the init file and the database, and restart the instance
- modify the parameter and restart the instance
- re-create the database
- modify the parameter, backup the init file and restart the instance
What is used in Oracle 9i to represent the value of the ORACLE_HOME environment variable?
- #
- &
- !
- ?
Abbreviation of SQL
- Sequel query language
- Structured query language
- Shortened query language
- Simplified query language
What is necessary in the SQL query when we are using aggregate functions?
- Group by
- Order by
- Where
- Update
Which is NOT the single-row functions??
- sinh()
- to_number()
- sqrt()
- round()
What is the default character for specifying substitution variables in select statements?
- Ellipses
- Quotation marks
- Ampersand
- Asterisk