------
RUN{
RESTORE DATABASE;
RECOVER DATABASE;
A. RESYNC CATALOG;
B. RELEASE CHANNEL;
ANSWER: C
You need to allocate a channel before any backup or recovery operation.
ANSWER: A
MML is used to interact with the third party library tape drivers, and so
on.
ANSWER: B,D
The RC may update the records that are recorded in the control file.
Alert Log and RBS are not recorded in CFILE.
A. REPLACE SCRIPT
B. REPLACE_SCRIPT
C. RECREATE SCRIPT
D. RECREATE_SCRIPT
ANSWER: A
Easy.
ANSWER: C
The correct syntax would be "rman target smith/danger catalog
recman/recman@rcvcat"
DBMS_RCVCAT and DBMS_RCVMAN are internal packages of Oracle.
6. When two or more databases are backed up using RMAN, is it
appropriate to use each database as the other¡¦s recovery catalog? Why?
ANSWER: A
It´s recommended that the recovery catalog resides on a different machine
than the target
ANSWER: C
The order may be: create a schema owner, create a tablespace for the
schema, grant privileges
( recovery_catalog_owner, connect and resource ), connect to RMAN, create
the catalog,
and register all the databases that RMAN will backup.
There is no need to resync the catalog in the creation time. Resync is
used for changes in the structure
of the database, such as ass a tablespace.
A. LOG_ARCHIVE_SIZE
B. ARCHIVELOG_MODE
C. LOG_ARCHIVE_DEST
D. LOG_ARCHIVE_FORMAT
E. LOG_ARCHIVE_INTERVAL
ANSWER: C,D
A,B and E don't exists.
ANSWER: E,F,G. Shutdown the database with any option except ABORT, mount
the database, and execute
ALTER DATABASE ARCHIVELOG.
11. Which two tasks can a DBA perform using the export/import
facility? (Choose two)
ANSWER: B,D.
Obvious.
ANSWER: B
What to do? Backup all datafiles that are part of the nologging
operations in the primary server. Archive the current
log file. Take offline this files in the standby server, drop the
tablespace, and transfer the backup and the archived
logs to the standby srv. Perform recovery of the stdby srv.
ANSWER: D
Remember to archive the current redo log in the primary database.
B. ARCHIVELOG mode
D. NOARCHIVELOG mode
ANSWER: D
In archivelog mode the closed db backup is the only option.
PART II
-------
ANSWER: A,B,C.
Tbs recovery is a completed recovery.
2. LGWR will hang if the online redo logs were filled faster
than the archiving process.
- True
- False
ANSWER: A
LGWR will wait for rewrite the redo log file if the archiver had not
completed the archiving.
ANSWER: A,B
If system tablespace goes down, bye, bye, Recover is needed.
ANSWER: D
See question 1.
ANSWER: A
Backup controlfile after each structure alteration in the database.
ANSWER: A
As 5.
ANSWER: A
As 5.
8. What's the disadvantage of NOARCHIVELOG
- lost transactions must be re-entered
- increase space utilization
ANSWER: A
ANSWER: A
In the mount stage the controlfile was read.
ANSWER: B
Import/Export are completely different from backup ( hot/cold/Rman ).
ANSWER: A,B
???
ANSWER: A
Will apply commited and uncommited entries, and the rollback phase will
rollback the uncommited entries.
ANSWER: B
After this, you need to copy all the datafiles of the database with a
S.O, utility ( cp, copy , shazam, etc ).
ANSWER: A.
Remeber to use archivelog.
ANSWER: B
Use the init.ora parameter LOG_ARCHIVE_START = true.
ANSWER: B
Parameter Control_files in the init.ora
19. after you activate a standby database. what should you do next?
- recover the primary database
- create a new standby database
ANSWER: A
Depends. If the cause of the activation was failure on the primary
database ( most cases ), is A. This is the role of the
stand by server, but the question is confused ( at least for me ).
20. why Oracle recover instance faster?
- uncommited transactions will not be roll back immediately
ANSWER: A
Smon will roll back as needed.
ANSWER: A
See: complete recovery is different from complete restore.
ANSWER: A.
ANSWER: A
ANSWER: A
ANSWER: B
? I really don't know, because all times I used a dba account.
ANSWER: A,B,C
As 1.
ANSWER: B
ANSWER: A
29. import the full exported file and apply all the archive logs
will recover the database to the point of failure
- true
- false
ANSWER: B
ANSWER: C.
ANSWER: A
32. a DBA want to export the full database but the user still
logged on. Which option should he/she use
- direct=y
- consistent=y
- ignore=y
ANSWER: B
33. when you want to do a full offline backup, some processes may
access the data. what should you do?
- shutdown abort
- shutdown immediate
- shutdown deferred
- shutdown mornal
ANSWER: B
ANSWER: A
ANSWER: A
36. all of the members in a redo log group has to be archived before
this group can be reused
- true
- false
ANSWER: B
37. a DBA can run a command to archive a online redo log file
- true
- false
ANSWER: A
Alter system switch logfile.
38. which server manager command can show the database archive status
- archive log list
- alter database ...
ANSWER: A
ANSWER: B, C
ANSWER: A
The time when the backup was made.
41. what is true for COLD backup (choose 3)
- backup all datafiles, redo log files, control files and
parameter file
- database not available to the user while backup
- simple
ANSWER: A,B,C
ANSWER: C
ANSWER: B
PART III
--------
#1. Your database is in ARCHIVELOG mode, and you want to recover from a
media failure up to the time of
failure. Which files do you need to restore?
A. the damaged files from any valid backup
B. the damaged files from a backup taken after the database was set in
ARCHIVELOG mode
C. the damaged files and the redo-log files from a backup taken after the
database was set in ARCHIVELOG
mode
D. the damaged files, the redo-log files, and the control files from a
backup taken after the database was set
in ARCHIVELOG mode
Answer: B
#2. While performing a database recovery, you want the redo-log files to
be applied automatically. What are three
ways to do that? (Choose three.)
A. enter the word AUTO when prompted for a log
B. set the AUTO_ARCHIVE_LOG initialization parameter
C. use the AUTOMATIC clause of the RECOVER command
D. within SQL*plus, issue the SET AUTORECOVERY ON command
Answer:A,C,D
#6. You perform an incomplete database recovery using RMAN. Which state
of the target database is needed?
A. mount
B. nomount
C. open, initially open
D. open, initially closed
Answer: A
#9. Before you can restore data files to a new location using RMAN, what
should you do?
A. issue the SWITCH command
B. issue the RESTORE command
C. take the data files that you need to restore offline
D. copy the data files to the new location using an operating system tool
Answer: D
#10. What is the recommended initial size for a tablespace containing an
RMAN recovery catalog?
A. 1M
B. 20M
C. 100M
D. 10% of the size of the target database
Answer: B
#11. After rebuilding the recovery catalog by resynchronizing it with a
copy of the backup control file, you notice
references to files that no longer exist. Which CHANGE command clause
should you use to remove these
references?
A. REMOVE
B. DELETE
C. UNCATALOG
D. CATALOG REMOVE
Answer: C
#12. What are two purposes for using the Recovery Manager command
CATALOG? (Choose two.)
A. updating recovery catalog about rollback segment creation
B. updating recovery catalog about files created before RMAN
C. updating recovery catalog about operating system backups
D. updating recovery catalog about files created before Oracle8
E. updating recovery catalog about files that belong to a clone database
Answer: A,B
#13. What are two benefits of using RMAN with a catalog? (Choose two.)
A. You can copy the redo-log history into the control file.
B. You can store scripts for backup and recovery operations.
C. You can register the target database with recovery catalog.
D. You can maintain records of backup and recovery operations.
E. You can synchronize the recovery catalog and the target database.
Answer: B,C
#14. Your daily report indicating which data files need to be backed up
has been misplaced. Which Recovery
Manager command returns a report containing the files in the USER_DATA
tablespace that have not been backed
up within the last three days?
A. rman> list backup days 3 tablespace user_data;
B. rman> report backup days 3 tablespace user_data;
C. rman> catalog backup days 3 tablespace user_data;
D. rman> report need backup days 3 tablespace user_data;
Answer: D
#15. Which command is used to allow RMAN to store a group of commands in
the recovery catalog?
A. ADD SCRIPT B. CREATE SCRIPT
C. CREATE COMMAND
D. ADD BACKUP SCRIPT
Answer: A
PART IV
-------
Answer: D
Answer: D
Answer: C
You have just changed the mode of your database to ARCHIVELOG. What table
must be viewed to view mode information?
A. V$ARCHIVELOG
B. V$DATABASE
C. V$RECOVER
D. V$INSTANCE
Answer: B
Answer: B
6. (Similar Question seen 44 times, last seen on 7/10/2002)
A. ONLINE
B. READ-WRITE
C. TEMPORARY
D. READ-ONLY
Answer: D
If the checksum for each member in a redolog group is invalid, what will
happen during archiving?
Answer: B
In which two files is the sequence number of the current redolog file
recorded? (choose 2)
Answer: C, D
Answer: B
You restore the backup copies of the corrupted data files, which
command will begin the full database recovery?
A. RECOVER tablespace.
B. RECOVER datafile
C. RECOVER database
D. RECOVER database complete
Answer: C
Answer: B
Answer: A
Answer: A
Answer: D
A. restrore copy of control file that was backuped prior to the current
time.
B. Issue the incomplete recover command after restore all backup
datafiles.
C. None
D. Halt recovery operation prior to reaching the current time.
Answer: D
Answer: C
Answer: A
A. ALTER TABLESPACE
B. CREATE CONTROL FILE
C. ALTER DATABASE RENAME
D. ALTER DATABASE BACKUP CONTROLFILE TO TRACE
Answer: D
Answer: C
A. Set AUTORECOVERY on
B. Set recover all on
C. Recover all database
D. Recover database
E. Set autorecover database on
F. Recover
Answer: A, D
PART V
------
Answer A.
Answer D.
Answer C.
Q .04 You want to connect the user name Smith and Password is Danger and
recovery manager user name and password
are recman an tns alias is RCVCAT.
Which statament is true.
Answer D.
Answer A,C.
Q.06 Database is close because loss of controlfile,how can you backup the
controlfile?
Answer C.
A. LOG_ARCHIVE_DEST,LOG_ARCHIVE_DEST1,LOG_ARCHIVE_DEST2
B. LOG_ARCHIVE_DEST1,LOG_ARCHIVE_DEST2,LOG_ARCHIVE_DEST3
C. LOG_ARCHIVE_DEST0,LOG_ARCHIVE_DET1,LOG_ARCHIVE_DEST2
ANSWER B.
ANSWER B,D.
Q.09 Which two parameters are different in primary database and standby
database?
ANSWER B.
ANSWER B.
ANSWER C.
Q.13 You transffered the archive log from primary database to standby
database.
choose two.
ANSWER A,C.
Q.14 You perform backup through RMAN,which memory area use RMAN ?
A. SHARED POOL.
B. PGA
C. LOG BUFFER.
D. SPA.
ANSWER B.
Q.15 You take backup and through BACKUP command create backup sets,
In backup sets which blocksize of backup piece ?
ANSWER A.
ANSWER A.
Q17. YOU want to restore a file from backup which is taken through
RMAN,what is state of restore file?
ANSWER A.
A. DBMS_REPAIR.
B. dbv.
C. ANALYZE.
D. DB_BLOCK_CHECKING.
ANSWER D.
Q.20 When you open primary database with RESETLOGS option,what will
happen.
ANSWER A.
ANSWER. C.
Q.22 You want to export table and you do not want to include its data ?
A. DIRECT
B. ROWS
C. COMPATIBLE
D. TABLE
ANSWER B.
PART VI
-------
1. What are two benefits of using RMAN with a catalog? (Choose two)
A. You can copy the redo-log history into the control file.
B. You can store scripts for backup and recovery operations. ***
C. You can register the target database with recovery catalog.
D. You can maintain records of backup and recovery operations. ***
E. You can synchronize the recovery catalog and the target database.
Answer: B,D
A. 1M
B. 20M ***
C. 100M
D. 10% of size of the target database.
Answer: B
3. Your daily report indicating which data files need to be backed up has
been misplaced. Which Recovery Manager command returns a report
containing the files in the USER_DATA tablespace that have not been
backed up within the last three days?
Answer: D
A. ADD SCRIPT
B. CREATE SCRIPT ***
C. CREATE COMMAND
D. ADD BACKUP SCRIPT
Answer: B
5. After rebuilding the recovery catalog by resynchronizing it with a
copy of the backup control file, you notice references to files that no
longer exist. Which CRETAE command clause should you use to remove these
references?
A. REMOVE.
B. DELETE.
C. UNCATALOG.
D. CATALOG REMOVE. ***
Answer: D
6. What are two purposes for using the Recovery Manager command CATALOG?
(Choose two)
Answer: C,D
Answer: D
Answer: A
A. There is no difference.
B. NOLOGGING operations are not available in release 0.1
C. The affected data file needs to be copied from the primary to the
standby server. ***
D. NOLOGGING operations can be used on the standby database, but not on
the primary database.
Answer: C
A. The standby control file needs to be copied to the standby server. ***
B. The current redo-log files of the primary database need to be
archived.
C. The standby database needs to be created using the standby control
file.
D. The standby control file needs to be copied to the standby location on
the primary server.
Answer: A
12. What is the correct procedure for multiplexing existing online redo
logs?
Answer: B
Answer: B
Answer: E
Answer: F
Answer: A,D
A. DB/VERIFY
B. DBMS_REPAIR
C. DB_BLOCK_CHECKING ***
D. VALIDITY_STRUCTURE
Answer: C
Answer: A
19. Which statement is true when using the DELIVERY utility to detect
corruptions in an Oracle data block?
Answer: B
20. The alert log can contain specific information about which database
backup activity?
Answer: B
21. In which two situations would you have to apply redo information to a
read-only tablespace? (Choose two)
Answer: D,E
Answer: B,D
23. In which situation would you need to create a new control file for an
existing database?
A. When all redo-log files are lost.
B. When MAXLOGMEMBERS needs to be changed. ***
C. When RECOVERY_PARALLELISM needs to be changed.
D. When the name of the parameter file needs to be changed.
Answer: B
Answer: C
Answer: C
26. What kind of destination can DBA choose when specifying the
LOG_ARCHIVE_DEST_n parameter?
Answer: D
27. How can a DBA disable one of the current archive destructions?
Answer: A
Answer: C
Answer: A,B,E
30. Which two actions must you take to stop automatic archiving of redo-
log files? (Choose two)
Answer: A,D
Ans: A , E
What happens when this script is run a second time in the same session?
Ans: C
A. The user will be prompted for all values in the select list each time
the statement is
B. The user will be prompted for the table name each time the statement
is executed in a
C. An error will occur when executing this statement because substitution
variables are NOT
D. The user will be prompted for the table name only the first time the
statement is executed
executed in a session.
session.
allowed in a WHERE clause.
in a session.
E. An error will occur when executing this statement because substitution
variables must be
unique within a SELECT statement.
Ans: D
104.The INVENTORY table contains these columns: <br>
<br>
ID_NUMBER NUMBER PK <br>
DESCRIPTION VARCHAR2(30) <br>
SUPPLIER_ID NUMBER <br>
<br>
You want to create a query that for each session allows the user to input
a value for
DESCRIPTION each time the query runs. While the DESCRIPTION column is
stored in upper
case, you want the query to retrieve matching values regardless of the
case used when inputting
the substitution variable value. <br>
<br>
Which SELECT statement should you use?
Ans: B
A. the SELECT, WHERE, GROUP BY, and ORDER BY clauses, but NOT the FROM
clause
B. the SELECT, FROM, WHERE, and GROUP BY clauses, but NOT the ORDER BY
clause
C. the SELECT and FROM clauses, but NOT the WHERE clause
D. the SELECT, FROM, and WHERE clauses only
E. the SELECT, FROM, WHERE, GROUP BY, ORDER BY, and HAVING clauses
Ans: E
A. GRANT
B. UPDATE
C. COMMIT
D. SELECT
E. ROLLBACK
F. RENAME
Ans: A , F
<img src="./oracle/oracleimages/107b.gif">
<br>
Ans: D
Ans: D
Ans: D
110.Which SELECT statement will get the result 'elloworld' from the
string 'HelloWorld'?
Ans: E
111.Which ALTER TABLE statement should you use to add a PRIMARY KEY
constraint on the MANUFACTURER_ID column of the INVENTORY table?
Ans: B
112.Which two statements about NOT NULL constraints are true? (Choose
two.)
Ans: A , B
A. to drop and recreate the PRIMARY KEY constraint on the PO_NUM column
B. to activate the previously disabled constraint on the PO_NUM column
while creating a
PRIMARY KEY index
C. to create a new PRIMARY KEY constraint on the PO_NUM column
D. to enable any previously disabled FOREIGN KEY constraints that are
dependent on the
PO_NUM column
Ans: B
Ans: B , C
<img src="./oracle/oracleimages/115.gif">
Which CREATE TABLE statement should you use to create the EMPLOYEE table?
Ans: A
Ans: A
Ans: A , C
118.Evaluate this CREATE TABLE statement: <br>
<br>
CREATE TABLE curr_order (id NUMBER, customer_id NUMBER, emp_id NUMBER,
<br>
order_dt TIMESTAMP WITH LOCAL TIME ZONE, order_amt NUMBER(7,2),<br>
ship_method VARCHAR2(5)); <br>
<br>
Which statement about the ORDER_DT column is true?
Ans: A
<img src="./oracle/oracleimages/119.gif">
Ans: B
120.Which statements about data types are true? (Choose all that apply.)
Ans: D , E
Oracle 8i Backup and Recovery
(1Z0-025)
Note :- These are only some of the questions which appear on this exam and not the complete Q pool.
For complete stuff, mail at danielmazza52@hotmail.com
1. What are two benefits of using RMAN with a catalog? (Choose two)
A. You can copy the redo-log history into the control file.
B. You can store scripts for backup and recovery operations.
C. You can register the target database with recovery catalog.
D. You can maintain records of backup and recovery operations.
E. You can synchronize the recovery catalog and the target database.
bd
2. What is recommended initial size for a tablespace containing an RMAN recovery catalog?
A. 1M
B. 20M
C. 100M
D. 10% of size of the target database.
b
3. Your daily report indicating which data files need to be backed up has been misplaced. Which
Recovery Manager command returns a report containing the files in the USER_DATA tablespace
that have not been backed up within the last three days?
d
4. Which command is used to allow RMAN to store a group of commands in the recovery catalog?
A. ADD SCRIPT
B. CREATE SCRIPT
C. CREATE COMMAND
D. ADD BACKUP SCRIPT
b
5. After rebuilding the recovery catalog by resynchronizing it with a copy of the backup control file,
you notice references to files that no longer exist. Which CRETAE command clause should you use
to remove these references?
A. REMOVE.
B. DELETE.
C. UNCATALOG.
D. CATALOG REMOVE.
d
6. What are two purposes for using the Recovery Manager command CATALOG? (Choose two)
cd
7. What is the advantage of managed recovery mode?
d
8. What is the effect of issuing an ALTER DATABASE OPEN RESETLOGS command on the
primary database?
a
9. What is the effect of activating a standby database?
A. There is no difference.
B. NOLOGGING operations are not available in release 0.1
C. The affected data file needs to be copied from the primary to the standby server.
D. NOLOGGING operations can be used on the standby database, but not on the primary database.
C
11. The command ALTER DATABASE CREATE STANDBY CONTROLFILE AS standby.ct creates
a standby control file. What needs to be done next to create a standby database?
A
12. What is the correct procedure for multiplexing existing online redo logs?
B
13. Which statement concerning archiving is true?
B
14. What is the function of SMON in instance recovery?
F
16. What are two causes of user errors? (Choose two)
AD
17. Which option is used in the parameter file to detect corruptions in an Oracle data block?
A. DB/VERIFY
B. DBMS_REPAIR
C. DB_BLOCK_CHECKING
D. VALIDITY_STRUCTURE
C
18. Which statement is true when using the LogMiner utility?
A
19. Which statement is true when using the DELIVERY utility to detect corruptions in an Oracle data
block?
B
21. In which two situations would you have to apply redo information to a read-only tablespace?
(Choose two)
DE
22. Which two types of data files can be considered non-essential? (Choose two)
BD
23. In which situation would you need to create a new control file for an existing database?
B
24. A tablespace becomes unavailable because of a failure. The database is running in
NOARCIVELOG mode? What should the DBA do to make the database available?
C
25. Why is manual archiving not recommended?
C
26. What kind of destination can DBA choose when specifying the LOG_ARCHIVE_DEST_n
parameter?
D
27. How can a DBA disable one of the current archive destructions?
A
28. When configuring a database for ARCHIVELOPG mode, you use an initialisation parameter to
specify which action?
C
29. Your database is configured in ARCHIVELOG mode. Which three types of backups can be
performed? (Choose three)
ABE
30. Which two actions must you take to stop automatic archiving of redo-log files? (Choose two)
AD
Oracle 8i Performance Tuning
(1Z0-024)
Note :- These are only some of the questions which appear on this exam and not the complete Q pool.
For complete stuff, mail at danielmazza52@hotmail.com
C
2. Which initialization parameter determines the location of the alert log file?
a. LOG_FILE_DIR
b. USER_DUMP_DEST
c. CORE_DUMP_DEST
d. BACKGROUND_DUMP_DEST
D
3. Where can you find the non-default parameters when an instance is started?
a. Alert log
b. Online redo log
c. Archived redo log
d. SYSTEM user’s trace file
A
4. What should be two goals when tuning rollback segments (Choose two)?
A, D
5. Which statement about improving the performance of the database buffer cache by creating
multiple buffer pools is true?
a. The KEEP buffer pool must also be deferred if the RECYCLE pool is defined.
b. The buffer pool for an object can be set explicitly only at object creation time.
c. The blocks from an object without an explicitly set buffer pool go into the RECYCLE pool.
d. Buffer pools are assigned to a segment, so options with multiple segments can have blocks in
multiple buffer pools.
A
6. Which of the following is and advisable tuning goal?
D
7. When should you recommend changing the applications in order to reuse more SQL?
C
8. When tables are stored in locally managed tablespaces, where is extent allocation information
stored?
a. Memory
b. Data dictionary
c. Temporary tablespace
d. Corresponding tablespace itself
D
9. Which two statements about database blocks are true? (Choose two)
a. Same tablespace.
b. Different tablespace on the same disk.
c. Tablespace containing a rollback segment.
d. Different tablespaces on different disks.
D
11. Which two statements about row migration are true? (Choose two)
AD
12. What are two indications of contention for a rollback segment header? (Choose two)
AB
13. Which three statements regarding the SECONDS_IN_WAIT value for the log buffer space event
in the V$SESSION_WAIT view are true? (Choose Three)
ACD
14. Which two parameters significantly impact the manual stripe size of data files? (Choose two)
a. DB_BLOCK_SIZE
b. REDO_LOG_BUFFERS
c. DB_BLOCK_BUFFERS
d. DB_BLOCK_MAX_DIRT_TARGET
e. DB_FILE_MULTIBLOCK_READ_COUNT
AE
15. What are the two main benefits of index-organized tables? (Choose two)
a. More concurrency.
b. Faster full table scans.
c. Fast primary key-based access.
d. Less contention on the segment header.
e. No duplication of primary key values storage.
CD
16. Which view shows the number of full table scans?
a. V$SYSSTAT
b. V$FILESTAT
c. V$SESSIONS
d. V$DATAFILE
A
17. Which type of change to an application is most likely to improve the performance of the library
cache?
B
18. The cost-based optimizer can choose between a nested loops join and a sort merge join operation.
All tables are analyzed and the OPTIMIZER_MODE is set to FIRST_ROWS. Which execution
plan will be the result?
B
19. What is the main reason to create a reverse-key index on a column?
A
20. You are attempting to size the KEEP buffer pool and issue ANALYZE. . . . ESTIMATE
STATISTICS commands. Which three data dictionary tables should you query to obtain the total
number of blocks required for an object? (Choose Three)
a. DBA_TABLES
b. DBA_INDEXES
c. DBA_SEGMENTS
d. DBA_CLUSTERS
ABD
21. Which class of data describes to Oracle Expert how the database is used in daily operations?
a. Schema class
b. Workload class
c. Instance class
d. Environment class
C
22. On a database that is running Multithreaded server, which view would you query to get
information for users with shared server connections?
a. V$CIRCUIT
b. DBA_USERS
c. DBA_CIRCUIT
d. V$DISPATCHER_USERS
e. DBA_DISPATCHERS_USERS
A
23. To provide more free lists for a number of your database segments, what is one of your options?
B
24. Which statement is true when connecting to the Oracle instance using the multithreaded server
configuration?
a. The user global area may only contain sort areas.
b. The user global area may be accessible to dedicated servers.
c. The user global area components may reside in the large pool.
d. The user global area components may reside in the buffer cache.
C
25. Summing the system statistics, (db block gets + consistent gets) gives the total number of
requests. What is the other system statistic required to calculate the buffer cache hit ratio?
a. Physical reads
b. Session logical reads
c. Table scan blocks gotten
d. DBWR buffers scanned
A
26. Sometimes the LGWR process must wait because DBWin has not compressed checkpointing a
file. How do you identify this situation?
a. Check the V$SESSION_WAIT view for the ‘log buffer space’ event.
b. Check the alert log file for the message ‘CHECKPOINT NOT COMPLETE’
c. Check the ‘redo buffer allocation retries’ statistic in the V$SYSSTAT view.
d. Check the ‘log file switch (checkpoint complete)’ event in the V$SYSTEM_EVENT view.
B
27. You want to reduce the amount of redo generated for your database. What are three ways to
achieve this goal? (Choose Three)
ABC
28. The alert log file for a database instance indicates that the checkpoints are frequently failing to
complete. Which action would be a remedy in this situation?
D
29. When setting multiple LRU latches in your initialization parameter file, what might you also
consider setting?
B
30. What can you use the values in the GETS and GETMISSES columns of V$ROWCACHE to
determine the hit ratio for?
a. Library cache
b. Dictionary cache
c. Entire shared pool
d. Large objects such as PL/SQL packages
B
Oracle8i: Architecture and Administration
(1Z0-023)
Note :- These are only some of the questions which appear on this exam and not the complete Q pool.
For complete stuff, mail at danielmazza52@hotmail.com
1. Which of the following is one reason for using the package, DBMS_TTS?
A
2. Which export option will generate code to create an initial extent that is equal to the sum of the
sizes of all the extents currently allocated to an object?
A. FULL
B. DIRECT
C. COMPACT
D. COMPRESS
D
3. What are two reasons for changing user quotas on a tablespace?
C,D
4. A DBA performs the query:
D
5. Consider the following command to create the user ‘peter’:
Since no default tablespace was specified, what will happen if this command is executed?
C
6. An Oracle user receives the following error:
A,C
7. When creating rollback segments, what is the recommended value for the MINEXTENT
minimize dynamic extension?
A. 15
B. 20
C. five
D. ten per transaction
E. number_of_users*25
A
8. MINEXTENTS must be at least _____ when a rollback segment is created.
A. 1
B. 2
C. 3
D. 5
B
9. You are creating a database with a character set other than US7ACII. Which operating system
environmental variable needs to be set to specify the director location of the NLS support files?
A. NLS_LANG
B. ORA_NLS33
C. ORACLE_SID
D. ORACLE_BASE
E. ORACLE_HOME
B
10. Given the statement:
B
11. What is a default role?
C
12. Who is the owner of a role?
A. SYS
B. Nobody
C. SYSTEM
D. The creator
D
13. Which class of segments is most likely to cause fragmentation in permanent tablespace?
A. Index segments.
B. Rollback segments.
C. User data segments.
D. Temporary segments.
E. Data dictionary segments.
D
14. Which data dictionary view shows the available free space in a certain tablespace?
A. DBA_EXTENTS
B. V$FREESPACE
C. DBA_FREE_SPACE
D. DBA_TABLESPACE
E. DBA_FREE_EXTENTS
C
15. Which statement about using PCTFREE and PCTUSED is true?
A
16. Which type of index should be created to spread the distribution of an index across the index
tree?
A. B-tree indexes.
B. Bitmap indexes.
C. Reverse-key indexes.
D. Function-based indexes.
C
17. Which statement about rebuilding indexes is true?
A. PUBLIC
B. WITH PRIVILEGE
C. WITH ADMIN OPTION
D. WITH GRANT OPTION
C, MEJORADA, ANTERIOR: D
19. Which view will show a list of privileges that are available for the current session to a user?
A. SESSION_PRIVS
B. DBA_SYS_PRIVS
C. DBA_COL_PRIVS
D. DBA_SESSION_PRIVS
A
20. How does a DBA specify multiple control files?
D
21. Which dynamic view should a DBA query to obtain information about the different sections of
the control file?
A. V$CONTROLFILE
B. DBA_CONTROLFILE
C. V$CONTROLFILE_RECORD_SECTION
D. DBA_CONRTOLFILE_RECORD_SECTION
C
22. What are two characteristics of the control file?
A. It is a text file
B. It is a fixed size.
C. It should be multiplexed.
D. It is required to start the instance.
E. It must be updated at every log switch.
C,D
23. Which two dynamic views can be queried when a database is started up in nomount state?
A. V$SGA
B. V$LOGFILE
C. V$INSTANCE
D. V$CONTROLFILE
E. V$DATAFILE_HEADER
A,C
24. Which two tasks occur as a database transitions from the mount stage to the open stage?
A,D
25. In which situation is it appropriate to enable the restricted session mode?
A. Creating a table
B. Dropping an index
C. Taking a rollback segment offline
D. Exporting a consistent image of a large number of tables.
D
26. Which three events are logged in the ALERT file?
A. Socket usage
B. Block corruption errors
C. User session information
D. Internal errors (ORA-600)
E. Database startup activities.
B,D,E
27. Which two conventions are defined by the initialization parameter NLS_LANGUAGE?
A. V$DATBASE
B. DBA_CHARACTER_SET
C. NLS_DATABASE_PARAMETERS
D. NLS_DATABASE_CHARACTERSET
C
29. How can you declare the national character set and the database character set?
A
30. Which statement about an Oracle instance is true?
D
Oracle Introduction to PL/SQL
(1Z0-001e)
Note :- These are only some of the questions which appear on this exam and not the complete Q pool.
For complete stuff, mail at danielmazza52@hotmail.com
1. You must permanently remove all data from the INVOICE table, but will need the table structure in
the future. What single command should be issued?
a. First
b. Second
c. Third
d. Fourth
e. Fifth
f. Sixth
g. Seventh
3. You must store currency data. All data will have two digits to the fight of the decimal point (ie,
25.xx). The numbers to the left of the decimal point will vary. Which data type is most appropriate?
a. NUMBER
b. NUMBER(T)
c. LANG
d. LANGRA
BEGIN
FOR worker_record IN pay_cursor LOOP
Worker_id_table(worker_id):=
Worker_record.last_name;
END LOOP;
CLOSE salary_cursor;
END;
7. Your company will be granting workers a $150 salary increase. You need to evaluate results of the
increase from the worker table prior to the actual modification. You do not want to store in the
results in the current database. Which of the following is untrue?
8. What command should be used to execute a script file named QUERYCOLOR.SQL from the SQL
Plus environment?
a. START QUERYCOLOR
b. EXECUTE QUERYCOLOR
c. RUN QUERYCOLOR
d. GET QUERYCOLOR
9. You need to test if the current fetch within a PL/SQL loop was successful. Which cursor attribute is
needed to accomplish this task?
a. SQL%ISOPEN
b. SQLROWCOUNT
c. SQL%FOUND
d. A cursor attribute cannot be used within a PL/SQL loop.
10. You have been assigned the task of updating worker salaries. If a salary is less than 1000, it must be
incremented by 10%. The SQL Plus substitution variable will be used to accept a worker number.
Which PL/SQL block successfully updates salaries?
a. DECLARE
V_sal worker.sal%type;
BEGIN
SELECT sal
INTO v_sal
FROM worker
WHERE workerno=&&p_workerno;
IF ‘v_sal<1000 then’
UPDATE worker
INTO sal:=sal*1.1
WHERE workerno=&p_workerno;
END IF;
END;
b. DECLARE
V_sal worker.sal%type;
BEGIN
SELECT sal
INTO v_sal
FROM worker
WHERE worker=&&p_wokerno;
IF ‘v_sal<1000 then sal:=sal*1. 1’
END IF;
END;
c. DECLARE
V_sal worker.sal%type;
BEGIN
SELECT sal
INTO v_sal
FROM worker
WHERE workerno=&&p_workerno;
IF ‘v_sal<1000 then’
UPDATE emp
sal:=sal*1.1
WHERE workerno=&p_workerno;
END IF;
END;
d. DECLARE
V_sal worker.sal%type;
BEGIN
SELECT sal
INTO v_sal
FROM worker
WHERE workerno=&&p_workerno;
IF ‘v_sal<1000 then’
UPDATE worker
SET sal:=sal*1.1
WHERE workerno=&p_workerno;
END IF;
END;
First_name VARCHAR2(25)
Last_name VARCHAR2(25)
SELECT INITCAP(first_name)||
INITCAP(last_name),
LENGTH(last_name)+LENGTH(first_name)
FROM worker
WHERE INTICAP(substr(last_name,1,1))In
( ‘J’, ‘K’, ‘L’);
13. In the declarative section of a PL/SQL block, you create-but do not initialize-a number variable.
When the block executes, what will be the initial value of the variable?
a. 0
b. Null
c. The value will depend on the scale and precision of the variable.
d. The block will not execute because the variable was not initialized.
You need to display the names of workers that are not assigned to the department. Evaluate the
following:
Which of the following changes should be made to achieve the desired result?
16. You are a user of the PROD database, which has over 1200 tables. What data dictionary view must
you query to determine the number of tables you can access?
a. ALL_OBJECTS
b. DBA_TABLES
c. DBA_SEGMENTS
d. USER_OBJECTS
SELECT object-type
ROM all-objects;
a. The first statement will display the distinct object types in the database; the second statement will
display the object types in the database.
b. The first statement will display the distinct object types owned by the users; the second statement will
display all object types in the database.
c. The first statement will display distinct object types owned by the user; the second statement will
display all the object types that the user can access.
d. The first statement will display the distinct object types that the user can access; the second statement
will display all the object types that the user owns.
a. 0
b. 1
c. 2
d. 3
20. Mike forgot his password. Which of the following commands will set a password for user, mike?
a. LATER USER mike PASSWORD BY green. The command must be issued by Mike.
b. ALTER USER mike IDENTIFIED BY green. The command must be issued by the DBA.
c. ALTER USER mike IDENTIFIED BY green. The command must be issued by Mike.
d. CHANGE password to green WHERE “user=mike”; The command must be issued by the DBA.
21. You are updating the worker table. Julie has been granted the same privileges as you. You ask her to
check your work before you issue a COMMIT command. What can she do on the workers table?
Which of these statements inserts a new row into the PUPIL table?
The GRADUATION column is a foreign key column to the table. Examine the data in the GRADE
DATA table:
Graduation 11-May-2001
13-Jan-2001
19-Dec-2001
25-Jun-2000
Which of the following statements will produce the error….”ORA-02291 integrity constraint (sys_c23)
violated. Parent key not found.?
a. UPDATE pupil
SET pupil-id=999
Graduation=’11-MAY-2001’
WHERE stud-id=101;’
b. UPDATE pupil
SET name=’Benson’,
Graduation=’11-MAY-2001’
WHERE pupil-id=101;
c. UPDATE pupil
SET name=’Benson’,
Graduation=’15-AUG-200’
WHERE pupil-id=101*
d. UPDATE pupil
SET stud-id=NULL,
Address=’50 NE Oak St’
WHERE graduation=’18-APR-2001’
You receive an integrated constraint error indicating the child record was found. What should be done to
make the statement execute?
25. The view WORKER-VIEW is created based on the WORKER table as follows:
UPDATE worker-view
SET lot-sal=25000
WHERE deptno=8;
26. You view a card, ANN_SAL, that is based on the worker table. The structure of the ANN_SAL view
is:
IF v-value>100 THEN
v-new-value:=2*v-value;
ELSIF v-value>200 THEN
v-new-value:=3*v-value;
ELSIF v-value>300 THEN
v-new-value:=4*v-value;
ELSE
v-new-value:=5*v-value;
END IF
a. 250
b. 500
c. 750
d. 1000
ID NUMBER(9)
NAME VARCHAR(2)
COACHID NUMBER(9)
SELECT p.name,c.name
FROM participant p,participant c
WHERE c-id= c.coach-id;
SELECT p.name,c.name
FROM participant p,player c
WHERE c.coach-id=p.id;
a. The first statement will not execute; the second statement will.
b. The first statement will execute; the second statement will not execute.
c. The first statement is a self join; the second statement is not.
d. The results will be the same, but will be displayed differently.
29. How would you declare a PL/SQL table of records to hold the rows selected from the WORKER
table?
a. DECLARE
worker-table is TABLE OF worker%ROWTYPE
b. BEGIN
TYPE worker-table is TABLE of worker%ROWTYPE
worker-table worker-table-type;
c. DECLARE
TYPE worker-table is TABLE of worker%ROWTYPE
INDEX BY WHOLE NUMBER:
worker-table worker-table-type;
d. DECLARE
TYPE worker-table is TABLE of worker%ROWTYPE
INDEX BY BINARY INTEGER.
worker-table worker-table-type;
30. Which type of cursor should be created when you want to create a cursor that can be used several
times in a block, selecting a different active set each time it is opened?
a. A loop cursor.
b. A multiple selection cursor.
c. A cursor for each active set.
d. A cursor that uses parameters.
Answer Key:
1. B,C
2. A,D
3. A
4. D
5. D
6. D
7. C
8. A
9. C
10. D
11. D
12. B
13. B
14. D
15. A
16. A
17. C
18. A
19. B
20. C
21. D
22. D
23. C
24. A
25. A
26. A
27. B
28. D
29. D
30. D
Oracle8i Network Administration
(1Z0-026)
A. Connection exchange
B. Connection resolution
C. Connection multiplexing ****
D. Connection cross-linking
E. Protocol transformation
F. Protocol interchange capability ****
A. Client process
B. Listener process
C. Dispatcher process
D. Shared server process ****
4. If a password is configured, which command must be issued first when you need
to stop the listener?
A. Stop
B. Password
C. Set Password ****
D. Shutdown immediate
5. Which parameter specifies the maximum number of server processes that get pre-
spawned in a dedicated server environment?
(Type only your answer; do not type any extra words or characters)
5. PRESPAWN_MAX
7. Which of the following two statements are true regarding initial shared server
processes? (Choose Two)
8. Which of the following four are returned when the NAMESCTL>status command
is issued? (Choose Four)
9. Which of the following four are supported methods used by the Advanced
Security Option for enhanced user authentication? (Choose Four)
A. RC4
B. RADIUS ****
C. Kerberos ****
D. Biometrics ****
E. Token cards ****
10. Which parameter would you set to enable connect-time failover for multiple
listeners?
(Type only your answer; do not type any extra words or characters)
FAILOVER=ON
12. How can the DBA determine the location of the listener log file?
13. When troubleshooting Net8 problems using the sqlnet.log file, how are you most
likely to find the cause of a problem?
A. Locating the first non-zero entry starting from top of the file.
B. Interpreting the first non-zero entry staring from the bottom of the file. ****
C. Looking for the first non-zero entry following the last zero entry in the report.
D. Querying the file with a select statement that includes a where clause to find
errors with a pre-fix of “NET”.
14. Which three parameters would you specify if you wanted to trace the default
listener? (Choose Three)
A. TRACE_LEVEL
B. TRACE_LISTENER
C. TRACE_DIRECTORY
D. TRACE_FILE_LISTENER ****
E. TRACE_LEVEL_LISTENER ****
F. TRACE_DIRECTORY_LISTENER ****
17. Which statement regarding the logging and tracing of Net8 is False?
A. init.ora
B. cman.ora ****
C. sqlnet.ora
D. tnsnames.ora
20. You are preparing to setup local naming Net8 Assistant. What must be established
at the client and server levels prior to this setup process?
A. sqlnet.ora file
B. Network protocol
C. Database alias ****
D. Tnsnames.ora
21. Which two elements are necessary in an Oracle names directory administrative
region? (Choose Two)
22. Which two statements are true regarding the use of Centralized Naming? (Choose
Two)
23. Which three types of data are stored by Oracle names? (Choose Three)
24. When configuring the tnsnames.ora file for connection concentration, which
address is listed first in the description of the service net name?
A. ADMIN_TNS
B. TNS_NAMES
C. TNS_ADMIN ****
D. NAMES_TNS
E. NAMES_ADMIN
F. ADMIN_NAMES
27. A DBA has installed and configured Net8 for TCP/IP on a client and server but is
still unable to connect from a Windows NT Workstation using SQL*Plus to an
instance running on a remote UNIX server. However, there are no problems when
using FTP nodes. What action next taken by the DBA could make progress
towards diagnosing the problem?
A. Using the NETSTAT command on the server.
B. Attempting to ping the domain Names Server from the client.
C. Connecting by using the Net8 Assistant test connection feature. ****
D. Checking the settings in the Oracle instance parameter file (init<SID>.ora file).
28. When using Connection Pooling, the POOL attribute is set to 5. What does this
mean for the network connections?
29. Which domain naming model would be used to permit names to be repeated
across different domains?
A. Flat
B. Region
C. Global ****
D. Hierarchical
30. Which three capabilities does the Oracle Connection Manager tool provide?
(Choose Three)
A. Cache replication
B. Single task access
C. Connection Pooling
D. Network Access Control ****
E. Connection Concentration ****
F. Multiple Protocol Interchange ****
Oracle8i Network Administration
(1Z0-026)
Note :- These are only some of the questions which appear on this exam and not the
complete Q pool. For complete stuff, mail at danielmazza52@hotmail.com
A. Connection exchange
B. Connection resolution
C. Connection multiplexing
D. Connection cross-linking
E. Protocol transformation
F. Protocol interchange capability
A. Client process
B. Listener process
C. Dispatcher process
D. Shared server process
4. If a password is configured, which command must be issued first when you need to stop the listener?
A. Stop
B. Password
C. Set Password
D. Shutdown immediate
5. Which parameter specifies the maximum number of server processes that get pre-spawned in a
dedicated server environment?
(Type only your answer; do not type any extra words or characters)
5. PRESPAWN_MAX
6. A site is having intermittent problems with users losing connections to an Oracle instance, running
on a UNIX server. Each user runs the client application on his or her Windows NT client. The
preliminary diagnosis is done with no success. The DBA then decides to enable Net8 tracing and sets
the tracing level to Admin on one of the client nodes experiencing the problem. Which statement
best describes the result of the DBA’s action?
8. Which of the following four are returned when the NAMESCTL>status command is issued?
(Choose Four)
9. Which of the following four are supported methods used by the Advanced Security Option for
enhanced user authentication? (Choose Four)
A. RC4
B. RADIUS
C. Kerberos
D. Biometrics
E. Token cards
10. Which parameter would you set to enable connect-time failover for multiple listeners?
(Type only your answer; do not type any extra words or characters)
FAILOVER=ON
12. How can the DBA determine the location of the listener log file?
13. When troubleshooting Net8 problems using the sqlnet.log file, how are you most likely to find the
cause of a problem?
A. Locating the first non-zero entry starting from top of the file.
B. Interpreting the first non-zero entry staring from the bottom of the file.
C. Looking for the first non-zero entry following the last zero entry in the report.
D. Querying the file with a select statement that includes a where clause to find errors with a pre-fix of
“NET”.
14. Which three parameters would you specify if you wanted to trace the default listener? (Choose
Three)
A. TRACE_LEVEL
B. TRACE_LISTENER
C. TRACE_DIRECTORY
D. TRACE_FILE_LISTENER
E. TRACE_LEVEL_LISTENER
F. TRACE_DIRECTORY_LISTENER
17. Which statement regarding the logging and tracing of Net8 is False?
19. When configuring the connection concentration feature of Connection Manager, which file will
contain the addresses for both the Connection Manager process and the listener for the destination
node?
A. init.ora
B. cman.ora
C. sqlnet.ora
D. tnsnames.ora
20. You are preparing to setup local naming Net8 Assistant. What must be established at the client and
server levels prior to this setup process?
A. sqlnet.ora file
B. Network protocol
C. Database alias
D. Tnsnames.ora
21. Which two elements are necessary in an Oracle names directory administrative region? (Choose
Two)
22. Which two statements are true regarding the use of Centralized Naming? (Choose Two)
A. Centralized Naming is a method that uses Oracle names and maintains central storage of
network service addresses.
B. Centralized Naming uses third party resolution mechanisms that integrate with Oracle.
C. A benefit of Centralized Naming is the elimination of redundancy. Server address changes are
made in one place and all clients can access the new addresses immediately.
D. A disadvantage of Centralized Naming is increased administrative tasks. Additional administration
time and resources are needed when changes are propagated across network nodes.
23. Which three types of data are stored by Oracle names? (Choose Three)
24. When configuring the tnsnames.ora file for connection concentration, which address is listed first in
the description of the service net name?
A. ADMIN_TNS
B. TNS_NAMES
C. TNS_ADMIN
D. NAMES_TNS
E. NAMES_ADMIN
F. ADMIN_NAMES
27. A DBA has installed and configured Net8 for TCP/IP on a client and server but is still unable to
connect from a Windows NT Workstation using SQL*Plus to an instance running on a remote UNIX
server. However, there are no problems when using FTP nodes. What action next taken by the DBA
could make progress towards diagnosing the problem?
28. When using Connection Pooling, the POOL attribute is set to 5. What does this mean for the network
connections?
29. Which domain naming model would be used to permit names to be repeated across different
domains?
A. Flat
B. Region
C. Global
D. Hierarchical
30. Which three capabilities does the Oracle Connection Manager tool provide? (Choose Three)
A. Cache replication
B. Single task access
C. Connection Pooling
D. Network Access Control
E. Connection Concentration
F. Multiple Protocol Interchange