Oracle 9i Administration Test
A Company shifts all its branches to one office building, so the very large EMPLOYEES table no longer requires the BUILDING_LOCATION column. The DBA decides to drop that column using the syntax giv...
A DBA has issued the following SQL statement: SELECT max_blocks FROM dba_ts_quotas WHERE tablespace_name='USER_TBS' AND username='MARRY'; User Marry has unlimited quota on the USER_TBS tablespace...
A new user, Smith, has just joined the organization. You need to create a User Account for him in the database. The points given below are to be kept in mind: 1. Create a user who is authenticated...
Consider the under mentioned syntax, which creates a DEPARTMENT table: CREATE TABLE department (Deptno NUMBER(4), Dname VARCNAR2(30), mgr NUMBER(6), Loc NUMBER(4)) STORAGE(INITIAL 200K NEXT 200K PC...
Examine the following SQL statement: CREATE TABLESPACE user_data DATAFILE '/u01/oradata/userdata_0l.dbf' SIZE 100M LOCALLY MANAGED UNIFORM SIZE 1M AUTOMATIC SEGMENT SPACE MANAGEMENT; Which part o...
Examine the following statements: 1)MOUNT mounts the database for certain DBA activities, but does not provide user access to the database. 2)The NOMOUNT command creates only the Data Buffer, but d...
Examine the following syntax: CREATE INDEX emp_last_name_idx ON emp(last_name) PCTFREE 30 STORAGE(INITIAL 200K NEXT 200K PCTINCREASE 0 MAXEXTENTS 50) TABLESPACE indx; What type of Index does this ...
Examine the following TRUNCATE TABLE command: TRUNCATE TABLE departments; Which of the following statements are correct with regard to this command?
Extents are logical collection of contiguous _________________.
Miller is an Administrator who has FULL DBA privileges. When he attempts to drop the DEFAULT profile (as illustrated below), he receives an error message (shown below): SQL> drop profile SYS.DEFAU...
The constraints for which Indexes are created by default are:
The current password file allows five entries. New DBAs have been hired and five more entries need to be added to the file. How can you increase the allowed number of entries in the password file?
The database needs to be shut down for hardware maintenance. All the user sessions except one have either voluntarily logged off or have been forcibly killed. The remaining one user session is runn...
The information for a dynamic performance view is gathered from the control file.
What provides for recovery of data that has not been written to the data files prior to a failure?
When does the Log Writer (LGWR) process write the redo entries from the redo log buffer to the current online redo log group?
When is SGA created in an Oracle database environment?
Where is free space managed for a tablespace created with automatic segment-space management?
Which of the following background processes performs a checkpoint in the database by writing modified blocks from the database buffer cache in SGA to the data files?
Which of the following becomes available when an Oracle instance is started?
Which of the following causes a log switch?
Which of the following constitute the advantages that the server parameter file (SPFILE) provides while managing initialization parameters?
Which of the following constitute the logical components of the Oracle database?
Which of the following constraint states prevents new data (that violates the constraint) from entering into the table, but allows invalid data to exist in the table?
Which of the following helps a DBA examine the performance of the database?
Which of the following helps determine the initial size of a Tablespace?
Which of the following memory areas is not part of SGA?
Which of the following memory areas is used to cache the Data Dictionary Information?
Which of the following methods enforce resource limits?
Which of the following methods is correct for starting an instance to create a database?
Which of the following options enables you to increase the size of online redo log groups?
Which of the following statements is correct with regard to an Oracle instance?
Which of the following statements should you use to obtain information about the names, status of the control files?
Which of the following storage structures provides a way to manually store the rows (from more than one table) in the same data block?
Which of the following tables help build scalable applications and also proves to be useful for large tables that can be queried or manipulated using several processes concurrently?
Which of the following types of files is a part of the Oracle database?
While preparing to create a database, you must ensure that there is sufficient disk space for the database files. When you calculate the space requirements, you may need to multiplex some of the fi...
With the help of the Database Configuration Assistant, you can create a template using an existing database structure. Which of the following will be included in this template?
You are creating a new database. You do NOT want users to use the SYSTEM tablespace for sorting operations. What should you do while issuing the CREATE DATABASE statement?
You check the alert log for your database and discover that there are many lines that say "Checkpoint Not Complete." Which of the following options help solve this problem?
You have a database with DB_NAME set to STUD and ORACLE_SID set to STUD. These files are in default location for the initialization files: -init.ora -initSTUD.ora -spfile.ora -spfileSTUD.ora The da...
You have two undo tablespaces defined for your database. The instance is currently using the undo tablespace named UNDO_TBS1. You issue the following command to switch to UNDO_TBS2, while there are...
You issue the following command: STARTUP MOUNT Which of the following events occur when the instance is started and database is mounted?
You issue the following SQL statement to re-create your database and reuse all the existing database files: CREATE DATABASE Sales DATAFILE '/u01/oradata/Sales/system0l.dbf' SIZE 100M REUSE LOGFILE...
You just issued the STARTUP command. Which of the following files is checked to determine the state of the database?
You need to create an index on the ITEM table, which is 10 GB in size. You want your index to be spread across many tablespaces, decrease contention for index lookup, and increase scalability and m...
You need to drop two columns from a table. Which of the following sequence of SQL statements is used to drop the columns and limit the number of times the rows are updated?
You started your database with the following command: STARTUP PFILE=initSAMPLE.ora One of the values in the initSAMPLE.ora parameter file is: LOG_ARCHIVE_START=false While your database is open, ...
Your company hires a DBA named Allen. He will be starting the database remotely, as he is going to work from home. You created a password file for your database and set REMOTE_LOGIN_PASSWORDFILE = ...
Your database is in ARCHIVELOG mode. Which of the following must be true before the Log Writer (LGWR) can reuse a filled online redo log file?