Sunteți pe pagina 1din 21

You have run UTLBSTAT and UTLESTAT.

What is the default name of the file that is


created?

A. alert.log

B. init.ora

C. tune.log

D. report.txt

You answered:
The correct answer is: D

Which of the following tables will give information about total number of requests?

A. V$TRANSACTION

B. V$QUEUE

C. V$RESOURCE

D. V$SYSSTAT

E. V$SESSION

You answered:
The correct answer is: D

Sort segments in the temporary tablespace can be monitored using which of the following
views?

A. V$SYSSTAT

B. V$SQLAREA

C. V$TEMP

D. V$SORT_SEGMENT

You answered:
The correct answer is: D
What can occur if the database buffer cache is not adequately sized?

A. Errors are generated by the application.

B. The application will hang the system.

C. Applications will run, but very slowly.

D. Database will get corrupted.

You answered:
The correct answer is: C

You have a 2-CPU machine. What value should the LOG_SIMULTANEOUS_COPIES


parameter be set to in the init.ora?

A. 1

B. 2

C. 4

D. 8

You answered:
The correct answer is: C

The maximum value of this parameter is twice the number of CPUs (4). The default value
is the number of CPUs. It is always recommended to maximize this parameter to reduce
contention to redo log buffers.

What is a benefit of placing static data on read-only tablespace?

A. Performance is better when reading read-only data.

B. Data load is faster for read-only data.

C. After the initial backup, you do not need to back up the read-only tablespace.

D. The read-only tablespace can be stored offline.

You answered:
The correct answer is: C
Which of the following statements will generate the least amount of rollback
information?

A. SELECT

B. INSERT

C. UPDATE

D. DELETE

You answered:
The correct answer is: B

Which view can be used to determine the total number of event waits?

A. V$SYSTEM_EVENT

B. V$SYSTEM_WAIT

C. V$SESSION_EVENT

D. V$SESSION_WAIT

You answered:
The correct answer is: A

Which Oracle8 facility can be used to identify SQL areas with performance problems?

A. EXPLAIN PLAN

B. BSTAT/ESTAT report

C. TKPROF

D. SQL Trace

You answered:
The correct answer is: D
Which of the following SQL statements would require a SORT operation?

A. Select * from dept;

B. Select dept_id, dept_name from dept order by dept_id;

C. Select dept_id, dept_name from dept where dept_name = "MANUFACTURING";

D. Select dept_id, dept_name from dept where dept_id between 10 and 20;

E. Select dept_id, dept_name from dept where dept_id = 10;

You answered:
The correct answer is: B

When should the CACHE hint be used in a query?

A. when creating large tables

B. when running very large queries

C. when you have small lookup tables that are accessed by many users

D. when indexes are not being used

You answered:
The correct answer is: C

For which of the following objectives are you most likely to use the ANALYZE
command?

A. Check the structural integrity of tables

B. Show the existence of chained rows

C. Store table's statistics in data dictionary

D. All of the above

You answered:
The correct answer is: D
Which of the following best describes the characteristics of Oracle Distributed system?

A. Distributed Lock Manager, Location Transparency, Replication

B. Distributed Lock Manager, Interconnect, Transaction Recovery Management

C. Parallel Query Execution, Parallel Recovery, Parallel Loading

D. Replication, Transaction Recovery Management, Location Transparency

You answered:
The correct answer is: D

Which of the following statements is true about the Oracle Parallel Server?

A. It allows better performance for Oracle Parallel Query option.

B. One major disadvantage is that if one node fails, all the nodes stop working.

C. Each node has its own redo log files and database files.

D. Each node has its separate Oracle database.

You answered:
The correct answer is: A

You notice that the system performance has degraded and there is excessive paging and
swapping. What could be a cause?

A. SGA too large

B. SGA too small

C. PGA too large

D. PGA too small

You answered:
The correct answer is: A

The SGA is too large to fit in the available part of the physical memory, and a large
portion of the SGA is located in virtual memory on disk.
Under normal processing, the PCTINCREASE for the TEMPORARY tablespace should
be set to what value?

A. 0

B. 10

C. 50

D. 100

You answered:
The correct answer is: A

Which column is the most important when analyzing latch statistics from the report.txt
file?

A. GETS

B. MISSES

C. HIT_RATIO

D. PERCENTAGE

You answered:
The correct answer is: C

Which view can be checked to see the amount of shareable memory used by a cached
PL/SQL object?

A. V$DB_OBJECT_CACHE

B. V$LIBRARYCACHE

C. V$SHARED_SQL_AREA

D. V$SHARED_POOL

You answered:
The correct answer is: A
Which of the following is equal to total number of requests for data?

A. sum of execute count and consistent gets

B. sum of consistent gets and db block gets

C. sum of db block changes and db block gets

D. sum of consistent gets and db block changes

You answered:
The correct answer is: B

Your system contains Oracle and non-Oracle files. What tool can be used to monitor
physical I/O?

A. UTLBSTAT/UTLESTAT

B. TKPROF

C. ANALYZE command

D. Operating System monitoring tools

You answered:
The correct answer is: D

Which of the following parameters specifies the number of lock processes in an instance
in Oracle Parallel Server?

A. GC_LCK_PROCS

B. GC_DB_LOCKS

C. GC_FILES_TO_LOCKS

D. GC_ROLLBACK_LOCKS

You answered:
The correct answer is: A
Which parameter can be set to control sort writes to the database buffer cache?

A. SORT_DIRECT_WRITES

B. SORT_AREA_SIZE

C. SORT_AREA_RETAINED_SIZE

D. SORT_WRITE_BUFFERS

You answered:
The correct answer is: A

Which type of application is least likely to take the most advantage of Oracle Parallel
Server?

A. Each set of users are accessing separate sets of tables in the database.

B. There is very little data update activity.

C. Very large applications that have small cache hit ratio.

D. Every user is manipulating almost all the tables.

You answered:
The correct answer is: D

For which of the following objectives are you most likely to use EXPLAIN PLAN
command?

A. To check the structural integrity of the objects

B. To see the errors in SQL

C. To look at the the data access path Oracle has chosen

D. To tell Oracle which data access path you want to use

You answered:
The correct answer is: C

I/O contention for redo log files is indicated in which view?

A. V$SYSTEM_EVENT

B. V$LOG
C. V$DATABASE

D. V$ARCHIVE_LOGS

You answered:
The correct answer is: A

What should be done if the redo allocation latch shows a MISSES to GETS ratio of 3%?

A. Increase the number of redo copy latches

B. Decrease the number of redo copy latches

C. Increase the number of redo allocation latches

D. Decrease the number of redo allocation latches

You answered:
The correct answer is: A

What does the following message in the alert log indicate: "Checkpoint not complete.
Unable to allocate file" ?

A. LGWR has waited for a checkpoint to complete.

B. DBWR has waited for a checkpoint to complete.

C. LGWR has waited for the RECO process to complete.

D. RECO has waited for the LGWR to complete.

You answered:
The correct answer is: A

Which of the following parameters specifies the minimum number of Query Servers in
Oracle Parallel Query Option?

A. PARALLEL_SERVERS

B. PARALLEL_MIN_SERVERS

C. MTS_SERVERS
D. MTS_MIN_SERVERS

You answered:
The correct answer is: B

Which of the following statement(s) are most likely to take advantage of Oracle Parallel
Query Option?

A. CREATE TABLE STUDENTS (ID NUMBER, NAME VARCHAR2);

B. INSERT INTO STUDENTS VALUES (1, 'HASAN');

C. CREATE TABLE STUDENTS AS SELECT * FROM TEMP_STUDENTS;

D. SELECT * FROM STUDENTS;

You answered:
The correct answer is: CD

What is degree of parallelism?

A. Number of query servers running in the memory

B. Number of disks Oracle has to read in order to bring the requested information

C. Number of tables Oracle has to read in order to bring the requested information

D. Number of query servers that are given a single task to perform in pieces

You answered:
The correct answer is: D

Which of the following can cause heavy I/O to rollback segments?

A. DDL statements

B. DML statements

C. All SQL statements

D. Only PL/SQL statements

You answered:
The correct answer is: B
Which statistic indicates proper sizing of the buffer cache?

A. latch contention

B. cache hit ratio

C. buffer busy waits

D. lru contention

You answered:
The correct answer is: B

Which of the following tables will benefit most with high value of PCTFREE?

A. Table that has high delete activity

B. Table that has high insert activity

C. Table that has high update activity

D. Table on which many queries are performed

You answered:
The correct answer is: C

You have run utlbstat.sql and the database is shut down and restarted. In order to obtain a
meaningful report, what has to be done now?

A. rerun utlbstat.sql

B. run utlestat.sql

C. run utlbstat.sql and utlesat.sql again

D. run utlestat.sql and then run utlbstat.sql

You answered:
The correct answer is: C

Which of the following data dictionary views can be used to obtain details of a specific
user transaction?

A. V$TRANSACTION

B. V$ROLLSTAT
C. V$RECOVER_FILE

D. V$SESSION

You answered:
The correct answer is: AD

What should be the goal for the GETHITRATIO column of the V$LIBRARYCACHE
view?

A. less than 0.9

B. greater than 0.9

C. less than 0.1

D. greater than 0.1

You answered:
The correct answer is: B

Queries to the payroll database are very slow. What is the first thing that should be
checked for problems?

A. SQL Statements

B. Database design

C. Memory

D. Network

You answered:
The correct answer is: A

Which table can be created to evaluate the SQL statement being run using EXPLAIN
without tracing?

A. PLAN_TABLE

B. EXCEPTIONS

C. TABS

D. SQL_TABLE
You answered:
The correct answer is: A

Which of the following should be used to determine the number of rollback segments?

A. number of concurrent users

B. number of concurrent DML transactions

C. number of data files

D. number of redo log groups

You answered:
The correct answer is: B

You get the following error: ORA-01555: snapshot too old


What can be done to correct this?

A. Reissue the statement that caused the error.

B. Use a larger rollback segment.

C. Add more rollback segments.

D. Recover the database.

You answered:
The correct answer is: C

The result of utlbstat/utlestat shows the following latch hit_ratios:

LATCH1 1
LATCH2 0.09
LATCH3 0
LATCH4 0.99

How many latches show contention?

A. 0

B. 1

C. 2
D. 3

E. 4

You answered:
The correct answer is: C

What can application developers do to minimize library cache tuning efforts?

A. Use constants as much as possible

B. Use SQL statements as much as possible

C. Use PL/SQL packages as much as possible

D. Perform frequent checkpoints

You answered:
The correct answer is: C

What can be done to ensure sorting in-memory?

A. Increase SORT_AREA_SIZE

B. Decrease SORT_AREA_SIZE

C. Increase SORT_AREA_RETAINED_SIZE

D. Decrease SORT_AREA_RETAINED_SIZE

You answered:
The correct answer is: A

What can be done to prevent wastage of rollback segments?

A. Perform your work in batches.

B. Log out when no interaction is needed.

C. Commit your work regularly.

D. Do not use adhoc queries.

You answered:
The correct answer is: C
The report.txt generated from running UTLBSTAT/UTLESTAT shows that the
GETHITRATIO for cursors is 96%. What needs to be done?

A. Increase the SHARED_POOL

B. Decrease the SHARED_POOL

C. Increase the BUFFER_CACHE

D. Decrease the BUFFER_CACHE

E. Nothing

You answered:
The correct answer is: E

Which of the following objects are populated when the instance is started?

A. Data dictionary views

B. Dynamic tables

C. Rollback segments

D. Application tables

You answered:
The correct answer is: AB

What is used when a process writes changes to the redo log buffer?

A. Redo allocation lock

B. Redo allocation latch

C. Redo log lock

D. Redo log latch

You answered:
The correct answer is: B

What is the correct order in which Oracle looks for degree of parallelism?

A. Hint, PARALLEL clause of CREATE TABLE statement, initialization parameter


B. PARALLEL clause of CREATE TABLE statement, initialization parameter, Hint

C. Initialization parameter, Hint, PARALLEL Clause of CREATE TABLE statement

D. Hint, Initialization parameter, PARALLEL Clause of CREATE TABLE statement

You answered:
The correct answer is: A

Which script create the DBMS_APPLCIATION_INFO package?

A. catalog.sql

B. catproc.sql

C. dbmsapps.sql

D. dbmsutil.sql

You answered:
The correct answer is: D

What information can be queried using the V$CACHE view?

A. objects that are too large to be cached

B. objects that are currently being cached

C. objects that are too small to be cached

D. data blocks currently in use

You answered:
The correct answer is: B

Application tuning has been performed and you are still having performance problems.
What should you tune next?

A. Database design

B. Memory

C. Operating system

D. Application tuning should have taken care of all the performance problems
You answered:
The correct answer is: B

The database buffer cache can be increased by using the following parameter?

A. DB_BLOCK_SIZE

B. DB_BLOCK_BUFFERS

C. DB_FILES

D. DB_FILE_MULTIBLOCK_READ_COUNT

You answered:
The correct answer is: B

Which of the following tables gives you the information about freelist contention?

A. V$QEUE

B. V$ROLLNAME

C. V$LATCH

D. V$SYSSTAT

E. V$WAITSTAT

You answered:
The correct answer is: D

===

I have just passed the tunning test. Here are some questions I can remember. I can
email you more if you can send me some tips on Backup and recovery, Networking.
Please email to John@ietla.com. Cheers!
1. Using Oracle expert, which class of data must be entered manually or imported
from an . XDL file?
a. environment
2. What does the analysis report do:
a. Listing and explanation of recommendation
3. What the LOG_SIMULTANEOUS_COPIES defined:
a. Number of Redo copy latch to define
4. Witch is used to provide control on Oracle internal resources:
a. Latch
5. How does the Oracle detect and resolve deadlocks:
a. By rollback the statement that detected the deadlock
6. Which command issue to control a large transaction use large rollback segment:
a. Set transaction use rollback segment r_name;
b. Alter database set transaction use rollback segment r_name;
7. User runs a long transaction how you assign a rollback segment used by that
transaction:
a. Create a large rollback segment
b. Set that transaction use that rollback segment
8. Witch can cause dynamic extends: (2)
a. Delete
b. * Insert
c. * Update
d. Truncate
9. When creating rollback segments at least how many extents:
a. 1
b. * 2
c. 10
d. 20
10. Why you put rollback segment to its own tablespace:
a. Fragmentation
b. You cannot take the rollback tablespace offline if there are active rollback segment
in the tablespace

==

Which memory structure is also referred to as the library cache?

A. Database buffer cache

B. Redo log buffer

C. Data dictionary cache

D. Shared SQL area

You answered:
The correct answer is: D

The shared pool contains execution plans for recent SQL statements (library cache), the
data dictionary cache, and other session information.

A bitmap index provides an alternative to standard Oracle b*tree indexes. A column that
would be best suited for a bitmap index is a column on a:

A. Small table with high cardinality

B. Small table with low cardinality


C. Large table with high cardinality

D. Large table with low cardinality

You answered:
The correct answer is: D

A bitmap index yields the best performance on a large table with a column with only a
few distinct values (low cardinality).

In the event of a problem, in which file would you look for clues?

A. alert log

B. trace file

C. init.ora file

D. control file

You answered:
The correct answer is: A

When should the CACHE hint be used in a query?

A. when creating large tables

B. when running very large queries

C. when you have small lookup tables that are accessed by many users

D. when indexes are not being used

You answered:
The correct answer is: C

===

1. Where the I/O information can be taken from ?


* a). V$views
b). alert.log file
c). report.txt
d). Oracle Performance Manager
2. If you would like to run UTLBSTAT/UTLESTAT 2 times, what should you do
with output file ?
a). rename the firs one created
b). specify different output file for the second run
( we actualy can do both, but we need to pick up only one answer)
3. After ALTER STORAGE PCTFREE parameter when it will become an active?
* a). Immidiatly
b). When execute first DML statement
c). after RESTART
4. When you use DBMS_SHARED_POOL.KEEP() anf FREE SHAREDPOOL
command is iisued,
what happend?
a). they will be taken out
b). stays
c). stays, but in inactive state
5. INDEX_STAT provide which information?
a). current index state
b). state after ANALYZE ... VALIDATE STRUCTURE

1. Where the I/O information can be taken from ?


* a). V$views
b). alert.log file
c). report.txt
d). Oracle Performance Manager

Surely, the question was more specific than this. I/O information can be retrieved
from a, c, and d.

2. If you would like to run UTLBSTAT/UTLESTAT 2 times, what


should you do with output file ?
a). rename the firs one created
b). specify different output file for the second run
( we actualy can do both, but we need to pick up only one
answer)

No, actually, you can only do A. The output ALWAYS goes to report.txt.

3. After ALTER STORAGE PCTFREE parameter when it will become an active?

* a). Immidiatly
b). When execute first DML statement
c). after RESTART

4. When you use DBMS_SHARED_POOL.KEEP() anf FREE


SHAREDPOOL command is iisued,
what happend?
a). they will be taken out
b). stays
c). stays, but in inactive state

5. INDEX_STAT provide which information?


a). current index state
b). state after ANALYZE ... VALIDATE STRUCTURE
B. the INDEX_STAT view only provides information on one index after
the ANALYZE VALIDATE STRUCTURE...

-===

How you calculate the new value for PCTFREE?


Relationship used in computing the cache hit ratio?
What is the space required for UGA?
What ALTER TABLE tmp_data NOLOGGING does?
What should be the value of BLEVEL after ANALYSE INDEX command?
Which instruction do not cause a sort?UNION,UNION ALL,GROUP BY?
SELECT (DEL_LF_ROWS_LEN/LF_ROWS_LEN) * 100 AS INDEX_USAGE
FROM INDEX_STATS;
What INDEX USAGE value must be?
and you will have a question about tuning TREE WALK, I never hear about tree walk
before.

S-ar putea să vă placă și