Oracle 9i and SQL Database Quiz

Test your knowledge of Oracle 9i database administration, SQL functions, and DB2 database management concepts

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following objects could not be modified using ALTER statement

  1. Tablespace
  2. Sequence
  3. Views
  4. Index
Question 2 True/False

Load utility will rebuild the index of the table that is loaded?

  1. True
  2. False
Question 3 Multiple Choice (Single Answer)

Pick the odd one out

  1. AVG
  2. SUM
  3. STDDEV
  4. ABS
Question 4 Multiple Choice (Single Answer)

Which of the following contains Database Descriptors(DBD)

  1. DB2 Directory
  2. DB2 Catalog
  3. Optimizer
  4. Data Manager
Question 5 Multiple Choice (Single Answer)

Which table gives access path information for a plan/query when EXPLAIN command is used

  1. DSN_STATEMNT_TABLE
  2. PLAN_TABLE
  3. SYSPLAN
  4. SYSPACKAGE
Question 6 Multiple Choice (Multiple Answers)

Which of the following functions can be used to determine whether a column value is NULL

  1. SUBSTR
  2. VALUE
  3. COALESCE
  4. NULLIF
Question 7 Multiple Choice (Single Answer)

Which of the following groups allows its members to connect to a 9i database using the SYSDBA privilege?

  1. 9iDBA
  2. OSADM
  3. OSDBA
  4. OSOPER
Question 8 Multiple Choice (Single Answer)

Which of the following are NOT the authorized operations of SYSOPER

  1. CREATE SPFILE
  2. CREATE DATABASE
  3. ALTER DATABASE OPEN
  4. STARTUP
Question 9 Multiple Choice (Single Answer)

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?

  1. Install the Oracle Software
  2. Plan the Database
  3. Implement the Database Design
  4. Back Up the Fully Functional Database
Question 10 Multiple Choice (Single Answer)

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?

  1. Install the Oracle Software
  2. Evaluate the Database Server Hardware
  3. Implement the Database Design
  4. Plan the Database
Question 11 Multiple Choice (Single Answer)

The initial password of CHANGE_ON_INSTALL is used by which of the following user accounts?

  1. SYSTEM
  2. SYS
  3. SYSOPER
  4. MANAGER
Question 12 Multiple Choice (Single Answer)

What environment variable can have direct influence towards the output of the date command?

  1. TZ
  2. TMP
  3. TMPDIR
  4. SHLIB_PATH
Question 13 Multiple Choice (Single Answer)

Which of the following are the functions of the oraenv script

  1. It provides a security scan against all user accounts
  2. It provides a SID scan against all rows
  3. It provides a central means of updating all user accounts
  4. It provides a mechanism for switching between Oracle9i databases with ease
Question 14 Multiple Choice (Single Answer)

A directory name can be a valid value for which of the following parameters?

  1. DB_CACHE_SIZE
  2. DB_FILES
  3. BACKGROUND_DUMP_DEST
  4. DB_BLOCK_SIZE
Question 15 Multiple Choice (Single Answer)

How do you change the block size specified by DB_BLOCK_SIZE?

  1. modify the parameter, backup the init file and the database, and restart the instance
  2. modify the parameter and restart the instance
  3. re-create the database
  4. modify the parameter, backup the init file and restart the instance
Question 16 Multiple Choice (Single Answer)

What is used in Oracle 9i to represent the value of the ORACLE_HOME environment variable?

  1. #
  2. &
  3. !
  4. ?
Question 17 Multiple Choice (Single Answer)

Abbreviation of SQL

  1. Sequel query language
  2. Structured query language
  3. Shortened query language
  4. Simplified query language
Question 18 Multiple Choice (Single Answer)

What is necessary in the SQL query when we are using aggregate functions?

  1. Group by
  2. Order by
  3. Where
  4. Update
Question 19 Multiple Choice (Single Answer)

Which is NOT the single-row functions??

  1. sinh()
  2. to_number()
  3. sqrt()
  4. round()
Question 20 Multiple Choice (Single Answer)

What is the default character for specifying substitution variables in select statements?

  1. Ellipses
  2. Quotation marks
  3. Ampersand
  4. Asterisk