|
Oracle 10g DBA 1z0-046考题& B# y6 E1 _: f8 U* m
1. In an online transaction processing (OLTP) database instance that involves a high volume of data manipulation language (DML) operations, you decide to increase the value of the LOG_BUFFER parameter. 9 y7 s* b9 H7 O$ s# ~8 p% f
What could be the reason for this change?
6 `0 R& w5 m4 s3 [A.The buffer busy wait event has been detected.
2 B5 Z+ G' F6 F0 DB.The no free buffers event has been detected.
' ^4 b* S* H: [" p8 t% G- zC.The log buffer space wait event has been detected.
; j# N- m8 ~- ?0 lD.The log file completion wait event has been detected.
/ V8 k3 b7 E6 X$ p8 H. n$ fE.The value for the free buffer inspected statistics is growing.
+ D4 Y- \( A3 H- u$ e$ x- h+ G) WANSWER: C . l3 v2 u5 h6 q8 \
1 Q& p- m) F& \
2. ho.sh is an executable shell script. You executed the following command that leads to an error:
& q- }- j2 ^* |% p$ strace -o /tmp/ho.out ./ho.sh
5 v* I7 K) i5 T/ G" Y3 l- f, Rstrace: exec: Permission denied
( D" [! m# s5 N" IWhat could you do to execute the command successfully in the next attempt?
+ @# A; B. }' M& j k7 NA.Provide the shell reference with the command.! R5 x! W. @! F) \
B.Remove the shell reference present inside the shell script.$ }9 T% S7 d0 V e1 u1 g- Z
C.Execute the command as the root operating system user.
! H8 z6 L8 {7 [* q" n* yD.The extension for the output file should be changed to .log.4 i8 y& e- [' a
ANSWER: A
! u" s0 |: x' p& b, y1 v$ u2 o
6 e0 B, p& Z1 Q4 C2 N9 r3. You need to ensure that whenever you create a new file, it should have the following set of permissions:8 n3 `4 v( m" M* r A! w
u=rwx,g=rx,o=rx.
+ K0 U/ l( C; t2 XWhich statement can you add to the .bashrc script to set the desired file permissions?
5 q2 H" } {' Q | ]8 kA.umask 4551 ]/ d, s C% i& |
B.umask 012* _% F0 S* ?( T! d H$ O
C.umask 0755
+ j) X( U+ O+ A# G# @D.chmod u=rwx,g=rx,o=rx8 g4 }0 H4 a8 ~2 X" B% T+ w
ANSWER: C
0 {8 j4 V. H e* P
# P9 k( |& J$ j6 g4. Which three statements are true about Oracle Clustered File System (OCFS)? (Choose three.)! ?# ?3 v2 k% W
A.There is no limit on the number of files on OCFS.5 P) D) s+ ^1 d6 U5 i) } N
B.You can use OCFS for database files as well as general files." G) _$ _. w4 |; N3 {
C.You can create an OCFS using Logical Volume Manager (LVM).- r2 z6 u* A2 W) O( u. Y
D.You must modify the Linux kernel parameters before mounting OCFS.
* I5 k0 M( v9 e" U' [$ AE.Standard file system commands, such as mkdir, rmdir, and mv, are available on OCFS.
6 N n; H# [' Y0 H# FANSWER: ABE
! o- P2 g- U9 ~( k9 @2 O( v2 p. G2 {* `; X, i1 k
5. The OS user BOB is a member the osoper OS group in the database server. You want BOB :
6 x7 k$ L0 x: e# R/ lWhich of the option would fulfill the requirement?
5 T2 Q3 S) g! L+ Q3 d3 nA.Assign the sysdba privilege to BOB.
" U( v" r6 X) z2 S7 NB.Assign the osdba OS group to BOB.
% L% o# j, T0 R+ B5 S q. }C.Set the REMOTE_LOGIN_PASSWORDFILE initialization parameter to SHARED.
3 D8 p% V( T+ N8 jD.Set the REMOTE_LOGIN_PASSWORDFILE initialization parameter to EXCLUSIVE.+ E7 U5 B: B Q+ ~6 X \( D
ANSWER: B 1 _, t; `' j( ^
! p8 {+ T0 t& m% Q
6. You executed the ipcs -m command to list all the shared memory segments in your Oracle server.
& ~& z/ @8 C# I2 J mView the Exhibit exhibit1 that shows the output of this command.9 l$ \ Y: F! @5 `* x" H9 W8 ^
Later, you executed the same command to check the shared memory segments.
9 q0 }2 v5 \- U8 u+ J& OView the Exhibit exhibit2 that shows the output of this command./ S; h3 k3 o$ z) |* J" D" f9 u; H6 H, u6 ^
Why is the large shared memory segment not listed in the second Exhibit?
( }5 n" |; c; Z6 F+ F( B9 VA.The Oracle database instance is shut down.
" |4 j6 _4 `5 O& w, RB.The swap space has been increased in the system.
6 W( U& P+ W7 N# q. tC.The Oracle database instance is configured in shared server mode.- q! x& R4 D5 c" _
D.The large pool size set for the Oracle database instance is reset to zero.
% L) t6 P+ @9 {0 o/ z; q3 ^) E) }ANSWER: A * K. T8 L- \& G
. |4 B- m9 A$ N7. You attempt to modify the ksms.s library and relink the Oracle database executable to use the address 0X15000000 for the System Global Area (SGA). You receive an error. + s/ K- V' _9 r1 M+ j. K w' a' L
Which set of commands would you use to restore the original settings?
4 ?* W! V. P& c: [# ?$ kA.echo 0X1000000 > ksms.s
9 E+ u" b3 M' j5 }# \make -f ins_rdbms.mk ksms.s
9 k3 i9 G. o4 _3 gB.echo 0X15000000 > ksms.s5 X* C* k7 ~* a- b2 a7 F0 `
make -f ins_rdbms.mk ioracle
& P8 F5 j' F6 NC.make -f ins_rdbms.mk ksms.s
7 [* j. h2 V3 w" |$ m( D5 |make -f ins_rdbms.mk ioracle* Y; @& E7 m+ {% U
D.genksms > ksms.s
7 I, [* u8 q. V7 O2 Z$ |; U# q3 _" k6 ?make -f ins_rdbms.mk ksms.o q2 C4 ~# W8 a) h' e* }" B; }
make -f ins_rdbms.mk ioracle
0 `; n! ~" U) T2 J! BE.genksms -s 0X10000000 > ksms.o5 s0 u, P3 s8 a: r! S7 {
ANSWER: D , y. K4 \7 v, T5 q1 a
# b1 L+ [8 W" |! S8. You want to install Oracle Database 10g on a Linux machine. You want to ensure that no tainted modules are loaded on the kernel. Which commands will you execute to achieve this?
6 _& Z: i$ f, t% S8 R7 HA.uname -r
* ^; O& I; M# V6 w, F% V' z9 jB.uname -v
* n0 R4 F0 \9 }$ l4 J% qC.cat /proc/version
3 h2 W8 } H3 ]7 `# z9 ID.cat /proc/sys/kernel/tainted6 P( `8 c1 u. c8 u- f; `: F7 D
ANSWER: D ~% n2 b" I1 G# }- M$ U* C' Z5 {
4 T8 `% q( @7 q, e+ T' I2 f9. Examine the content of the /proc/sys/kernel/tainted file on your Linux machine:# W9 W% V+ [- r7 U8 d7 A1 f
[root@edtdr6p1 root]# cat /proc/sys/kernel/tainted% u- W4 s' j3 Y6 w
1
8 E2 i+ t1 U( l- ~2 P0 VWhat will happen when you install Oracle Database 10g on this machine?
$ Z; _& h. Z& o' A4 d# dA.Installation will fail because of the tainted kernel.2 M+ g8 N* d: E# x6 v% r H
B.Installation will be successful, but Oracle will not provide support for the database product.2 `! a$ `5 Z' d- V
C.Installation will be successful. Oracle will provide support for the database product but not for the operating system (OS).1 I- r w& J" O! n% ?/ J5 r4 z
D.Installation will be successful and Oracle will provide support for the database product as well as the OS.: a c6 a0 ?4 {6 ^, ]
E.Successful installation and Oracle support for database product as well as Linux OS will depend on the module tainting the kernel.# \8 W4 x. ?+ a5 b c; w
ANSWER: E 3 ]# ]/ `6 r+ T8 m b; w
: B8 Z$ z0 w7 V6 X$ o! V- S
10. A non-General Public License (GPL) driver was loaded on a Linux machine. To verify that the module has tainted the kernel, you executed the cat /proc/sys/kernel/tainted command and received the following output:4 z7 }3 w& r9 M2 L' X0 g
[root@edtdr6p1 root]# cat /proc/sys/kernel/tainted
. E: g* s" T, N, J% s! r15 M3 K9 s0 G# J( W" w) _+ \+ A, d
What do you infer from the output? (Choose all that apply.)
9 b5 `6 K8 L" r1 [1 h! e( }" x2 FA.A proprietary module has been loaded. E1 a# W. s5 `9 j" c
B.A module is marked unsupported by the vendor.% M& b/ l, E7 U2 ^+ R5 J
C.All the loaded modules have General Public License (GPL).
3 U8 a* v2 C2 q6 b3 L. p0 i# uD.A module was force-loaded by using the insmod -f command.8 O7 ?: C$ x. ^
ANSWER: AD " p0 W+ f# r% j0 O) _2 g/ R& G; E1 G X$ J _
9 O0 Y" O" e; Y W
11. Which command is used to identify the kernel version number?" Q, h# C* ? ^1 P. Z# x2 b
A.which+ |! B. L" G* l( U
B.whatis }# ]0 b3 P+ V6 _3 A6 z
C.uname -r
) l: ~+ e7 S$ _+ s5 q8 CD.ulimit -m: L# d: m3 Q5 T; H; K) l1 @
E.chkconfig0 G, ` C& x+ f/ s. {& r& e1 Q
ANSWER: C
8 C3 n, R/ N9 H1 Q( C
: N* {9 a f/ @! x# v12. Match the following commands with the purpose they are used for:" X' @( p7 u2 F$ n, d- B
I chmod a) To create a file with the desired time stamp
0 s% m9 |5 ]3 b2 vii touch b) To use the variable of the parent shell in child shell
. [/ y( C/ i$ k4 I4 D1 Riii alias c) To give write permission to a directory
: }! [9 D) O: xiv uname d) To simplify long commands
; ~) d5 H& O( c4 n( Zv export e) To see the Linux release number
4 V" o) B7 Z9 t) GA.i-a, ii-e, iii-d, iv-c, v-b9 F4 \/ ^) Q6 }/ }
B.i-c, ii-a, iii-e, iv-d, v-b' F3 S$ _* l Y* C5 w3 W
C.i-c, ii-e, iii-b, iv-a, v-b
% a6 w7 N" y9 |+ zD.i-c, ii-a, iii-d, iv-e, v-b# \ [1 ]6 |0 b1 X H+ T4 M" T2 F
ANSWER: D + n7 ~0 w6 C4 o( D; q& |
, p9 }0 M6 m' ]4 U4 ^5 k) Y h( ^13. You logged in as user user1 on a Linux machine. You need to check which groups you belong to. Which commands will you use? (Choose two.)' p4 t7 [5 S& y+ v& T) H8 M
A.id1 h( ?* K7 f n* G/ U
B.uname -G c2 i$ G% q) v3 V
C.cat /etc/passwd
# t2 a, z& d$ j$ B% d" R, TD.cat /etc/group: k! C; ~- z- y% \ ^
E.cat .bash_profile
% Q% j8 ^, D; C+ F+ wANSWER: AD
: I+ c4 l9 P. k1 I9 H; S7 ^- Y6 g3 K2 h, s# d. D" K* n
14. View the Exhibit.
) s9 `$ S- y% |Which two statements are true about the output of the cat /proc/partitions command? (Choose two.)
+ c8 c; ]' f& `- U$ eA.The hard disk has four partitions.# Z2 o) _! Q4 t, {. y; a
B.The hard disk has six partitions.3 B7 Y$ ]7 I" O# s0 M
C.The swap partition is not shown in the output. : O4 w! ^1 B/ N6 g# e
D.The major column shows the device number with partitions.% s% T) z; _& @! o
E.The #blocks column shows the number of inode blocks in that partition.' A0 c0 Y& O+ y4 d
$ B; X2 j0 v) s6 l
ANSWER: AD
, B3 P( H( g2 U1 I+ \# @( a8 }% W- `0 T( d
15. Which command would you use to identify the users that belong to the oradba group?; \: L& q/ G% h v7 m+ |
A.id -G
; A" H% L ~' Q( }0 I1 \1 ^B.uname -g# G8 s4 x' w( r( @- |; V
C.grep ^oradba: /etc/passwd
) h0 a" A, E, h- u8 P: ]' E8 A1 rD.grep ^oradba: /etc/group2 L! t7 e% p% S8 S* W- Y' `2 ?2 F1 Z
ANSWER: D ; e7 h# L7 W1 C/ P8 {( F; x. C
# W+ e- v, R$ c% C) F& l16. View the Exhibit and examine the output.
% t j7 X$ s( @What do you infer from this? (Choose all that apply.)/ e; c9 o: {+ a
A.The command output is stored in the pmon.txt file.( Y' w7 s- A: s( y
B.The command shows all the processes running on the machine.
. O1 J0 D# U( N7 |4 ^- ]- tC.The command appends the pmon.txt file with the output of the command.! z o; y0 @+ H0 j
D.The command shows only those processes that contain the text _pmon running on your machine.
" U. H. j% m- s; Y+ _( i$ xE.The logs generated while executing the command will be stored in the pmon.txt file.
. P/ h1 r) ?( O! L4 R+ G1 b! t6 w2 i! P. R
ANSWER: AD ' m3 M, B T( @: C
, @! Q1 o; d9 p0 Z& d9 e3 _- q
17. View the following script:
) Y, X/ T1 F6 v; q) T# tif [ -r /etc/oratab ]5 }% x& Q( E8 R" G0 j# A9 Y
then* g4 o& f1 H4 p9 k: p2 G- u
ORATAB=/etc/oratab
- h+ T5 J/ E* C* ~( B/ selse$ O9 @( N5 D" ^$ [6 {
if [ -r /var/opt/oracle/oratab ]
6 O9 B$ u( Z+ T) m! N& Othen9 E& r* B1 f( a7 A3 M4 C
ORATAB=/var/opt/oracle/oratab
- e/ `+ ` ]. _& F" k, A, I7 R; z" Kelse
: q2 R9 [% g8 O" recho "Can't find any oratab file"( }; S- A5 `1 _, ~3 | K( Y
exit 1
7 `/ L9 @% h1 { W$ h z: tfi
" r. ~' @# A1 d. V. t( t0 hfi( g0 g: a6 }0 ]4 P% Y
grep -v [\#\*] $ORATAB | cut -d ":" -f1/ `3 p" d$ [/ m5 i# }3 B
Which statement is true about the execution and output of the script?
5 e, ^" F, P" E4 I- }* P8 mA.It will execute only in the /etc/oratab directory.
1 O7 n9 `% Z- W8 hB.It will show all the Oracle homes listed in the oratab file on the local machine.
8 {, a b" i4 ~6 G2 V) AC.It will show all Oracle database SIDs listed in the oratab file on the local machine.
( T5 e8 c- j3 g' l: w% D+ K' kD.The script output will depend on the command-line arguments passed while executing the script./ t! s P$ U# l. Q/ @2 v9 U
ANSWER: C + `% n! R6 S+ F1 {( Y
D- d9 w4 {8 d
18. Which three statements are true about the built-in shell variables? (Choose three.)
! a* X [( x% ZA.The $? Variable stores true and false values.# Z* b3 Q0 g+ b8 X0 ]
B.The $* variable stores all the command-line parameters passed.
3 X3 g9 g8 C$ ]+ }6 x5 ^C.The $# variable stores the total number of command-line parameters.
1 x) C% h4 O, L( ID.The values for these variables are retained in the session until it is reset.5 a+ ^* B& i1 Z3 U! U+ F
E.The $n variable can store n number of positional command-line parameters.
) X, C0 ?7 N' CANSWER: BCE 0 s- ]. E1 H- k
3 T$ j% m4 P1 k: I: ]
19. View the following script:
1 A2 ~3 e! d! z. H+ S. G/ wif [ -d $1 ]5 w- E s$ r: j8 {; O
then
0 R) K+ t3 V; c5 l- Hfor Data in `ls $1 *|tr -s " "| grep .dbf`
4 }9 q4 \: z0 c; e& P4 r# u8 wdo
5 j3 [% ` |& @) ^5 h: u% Y5 @7 decho $Data
: n, `: G7 @+ T4 l6 Odone
3 t3 {* |4 F% _; xelse
# O. Y- U& x" P& [5 {) E; @9 f Uecho -e "No Directory specified"
# B4 e; B2 D" F. J3 {. bfi: }4 y+ O* @- h) b8 T/ N
Which statement is true about the script?
, O1 J* @4 c4 c* [; ~A.The script displays the total number of .dbf files on the local machine.) U. W6 J$ B5 Y" F% C
B.The script will not execute because no value for the $1 variable is given.1 o6 J6 {2 Q4 F$ C+ B
C.The script displays the .dbf files in the location given as a value in the positional parameter.1 L9 I/ b$ j3 D0 v
D.The script will give an error because the variable name should contain the letters of the English alphabet.
( C) b+ D* U( _ANSWER: C 2 C* F2 K; O" k; E
: z! C8 R7 B! H$ T9 p7 b3 ~% b
20. You have started an instance with the DBWR_IO_SLAVES initialization parameter set to 2. What will be the result of setting this parameter? (Choose two.)9 D4 \% O, e8 H' F
A.The DISK_ASYNCH_IO initialization parameter will be set to True.
' m1 N! `0 [& J/ v7 V$ m( }B.The TAPE_ASYNCH_IO initialization parameter will be set to True.
6 C6 ^7 _& a- GC.The database instance will simulate asynchronous input/output (I/O).5 O$ y* h5 E: E5 H0 k; A
D.Oracle server will update the value for the DB_CACHE_SIZE initialization parameter as per the system requirement." ?1 Q8 B' i5 H
E.If the existing value of the DB_WRITER_PROCESSES initialization parameter is set to greater than 1, then the DB_WRITER_PROCESSES parameter will be set to 1.
, l9 K; Y9 h) Q2 w, p" A" K2 j" O" {habet.
- p6 `4 X k2 r' Q6 t- }& V6 ?- QANSWER: CE
9 m5 @1 k) }; o% z, t2 n4 G( L5 I5 t" c0 t
21. Which two statements are correct about the DB_WRITER_PROCESSES initialization parameter? (Choose two.)9 s* P' \- s5 w0 H; }; Q
A.The default value for DB_WRITER_PROCESSES is (CPU_COUNT+7)/8.
A* l( W# h3 u% a {* K5 {& i. |B.You set DB_WRITER_PROCESSES to greater than one to simulate asynchronous input/output (I/O).. V/ b) ?# g K+ {0 p
C.You cannot set DB_WRITER_PROCESSES to greater than one if asynchronous I/O is enabled for the Oracle server.
( X6 _0 @" `6 b9 w& WD.You cannot set DB_WRITER_PROCESSES to greater than one if the DBWR_IO_SLAVES initialization parameter is set to greater than zero.
6 s1 j7 {6 ?* n' z" ?! gE.You must set an appropriate value for the LOG_PARALLELISM initialization parameter before modifying the default value for DB_WRITER_PROCESSES.
4 ~3 V- c2 U7 FANSWER: AD
8 E% V2 O+ E i5 o q) u: D3 R$ r& A3 C: m ]$ K
22. You set the PRE_PAGE_SGA initialization parameter to True. Which two outcomes will result due to the setting of this parameter value? (Choose two.), ]6 F7 m- w4 h) N9 G
A.The startup process will take more time.2 _1 a) T! q" E4 U1 }
B.The value for DB_BLOCK_LRU_LATCHES will be set to 4.
. m6 u$ o5 G z: ^# q! M, OC.The database instance cannot use multiple DBWR processes.! ~. n* x) |% O [
D.The database instance will simulate synchronous input/output (I/O).
4 ^- u3 ?8 z8 C0 ]7 I' E7 AE.Each Oracle server process will read the entire System Global Area (SGA) to physical memory at session startup.0 X' _0 F s- Z( d& [3 o* ~: X! f
ANSWER: AE , H# V5 Q8 K# j3 K5 R- S1 W, I, O
1 N9 c' ^3 |0 y2 F
23. In an online transaction processing (OLTP) database, a large number of concurrent users are performing small transactions on a specific schema. You observe the statistics and find that total_waits for buffer busy event is increasing significantly. You are in the process of creating another OLTP database with similar workload.2 t% a1 Y2 g% K5 |; A; @
What would you do to avoid the wait event in the new database? 2 [$ Z5 i$ U4 z
A.Consider setting a larger value for DB_BLOCK_SIZE for the database.6 ?' ?1 r+ O# B& o
B.Consider setting a smaller value for DB_BLOCK_SIZE for the database.! M7 C) x+ l L% I7 \4 A
C.Consider setting a larger value for the DB_CACHE_SIZE parameter for the database. S6 ?. F5 G; c! e( H- t% Z7 Y8 E
D.Consider using the DB_BLOCK_BUFFERS parameter instead of the DB_CACHE_SIZE parameter for the database.
) ]' ]4 {1 R2 ^8 Z& UANSWER: B 7 ~+ [2 G, O+ l! @$ ^
2 P j3 w H. v3 L) g. ]. t" Z
24. You executed the following command:3 X: }! C g; t
cat /proc/slabinfo | grep kio , o, }5 y7 N5 c! h) E
You received the following output:
0 P7 Q, P3 r; Y/ c4 Vkioctx 270 270 128 9 9 1 , T# }0 L! }4 k: O& s
kiocb 66080 66080 96 1652 1652 1 ( }# e; k2 o* ]/ P
kiobuf 236 236 64 4 4 1 $ M, J( p" f9 n
What do you infer from the output?
/ ^1 U0 Q: }7 w& j# ~' yA.There are no inactive pages.9 T6 z/ v4 W; k! r! y4 r
B.The disk activity needs to be tuned.
$ ^; ?; B) u' Q4 H# sC.There are waits for the buffer cache.
" D' V. S: `: s2 \$ p3 XD.The value for the shmmax parameter needs to be increased.: L6 i4 @' [! F. S; F2 ]
E.The Linux system has asynchronous input/output (I/O) configured on it.4 `5 @) g4 I" [8 V$ i' X
o greater than 1, then the DB_WRITER_PROCESSES parameter will be set to 1. # ]) R! I! n/ N$ t' v3 i6 R
habet.
% p( {% c$ ~+ e: w) g- RANSWER: E ; B1 k8 z: J- l
7 i) ]0 [2 b- q4 {' f1 E4 k25. You executed the following command on a Linux machine:
- e: m: C: [( V' C: t$ cat /proc/slabinfo | grep kio
2 M9 y5 W- N- wkioctx 270 270 128 9 9 1 : 252 126
: o( I* f0 a; z/ e+ p$ W2 L1 bkiocb 66080 66080 96 1652 1652 1 : 252 1269 l6 `$ `. m6 Z
kiobuf 236 236 64 4 4 1 : 252 126
* L( o/ E }. a0 k0 D0 aWhich statement describes the purpose of executing the command?3 t/ d8 {9 A5 T" h# |2 Z
A.to check the virtual memory usage in the Linux system
0 }0 V# O" o5 }- Y# PB.to compare the I/O statistics of different channels in the system% r$ M! r8 i9 U/ u# T) L6 t
C.to check whether the asynchronous I/O is working in the Linux system
2 b4 [, d, x' P$ h) g5 r2 |- PD.to check whether multiple data bus adapters are being used in the Linux system
7 w- S. S7 P$ f' K2 X8 ] pE.to check whether the shared memory file system is being used in the Linux system
1 `: ~/ @5 j) d; Q3 I- z6 XANSWER: C
4 Z7 {' z/ g4 Z& I0 r$ s
4 Y8 l: U% {$ n+ Y5 u5 ?26. You detected free buffer waits events for your database instance running in a machine that has multiple CPUs. You increased the database buffer cache size as the first step. After a few hours of work on the database, further investigation shows that the same event is being recorded.
) z% ]* y- `( D. wWhat would be your next step to avoid this event in future?
) X4 W: ] `$ d, g! W; AA.Decrease the value of the DBWR_IO_SLAVES parameter.
5 i4 X% q4 J2 M z E* Q" t. a9 _B.Increase the value of the DB_WRITER_PROCESSES parameter. _3 k9 d: s4 q& R5 G$ U9 n
C.Set the USE_INDIRECT_DATA_BUFFERS parameter to TRUE.
9 Z$ r# p9 R$ {( eD.Increase the value of the DB_FILE_MULTIBLOCK_READ_COUNT parameter.; F% F Q4 U7 O8 Q
ANSWER: B 7 L* s0 f' |8 j8 N- [
w/ V F6 V8 s% {, G
27. To simulate asynchronous I/O for your database, you set the value for the DBWR_IO_SLAVES parameter. The large pool and Java pool are configured for the database instance.
1 B" m5 V) }; V9 R( r6 O6 }Which memory area is used as the communication area for I/O buffers?
7 |; b& e& m/ o, UA.The java pool
0 V$ n# S4 \) V. RB.The large pool
+ V2 s# j1 ]8 b; ~. U6 Y! zC.The shared pool
% O: M0 @: u& OD.Memory space allocated separately outside the SGA% u* g/ x% f7 A. b. w+ L! @. x
ANSWER: B 2 P! y, G% S$ ]1 p4 |9 h
* }! K( t. c. V- Y( e m4 z7 Y+ U
28. Which statement correctly describes the relationship between the DB_WRITER_PROCESSES initialization parameter and I/O slaves that are enabled in the Oracle database instance?& f2 j- o w/ Z9 u- I3 o
A.Setting DB_WRITER_PROCESSES to more than one reduces DBWR_IO_SLAVES to one.
. |! U+ {4 r8 c; o! ~0 H. QB.Enabling I/O slaves forces the value of the DB_WRITER_PROCESSES parameter to be set to one.0 Q4 H- w W% L' J' e2 b, L: Q
C.Each DBWR process uses a single I/O slave when DB_WRITER_PROCESSES is set to more than one. 9 _& E/ w# _7 C& h/ j/ O& r
D.The database performance is directly proportional to the number of I/O slaves when DB_WRITER_PROCESSES is set to more than one., m7 V% i* T' K7 `% d
ANSWER: B / U$ ], A9 n3 O
- ]) l; H4 D6 z( B
29. You have a Linux machine with an Oracle database instance running in it. The database users log on and log off from the database instance frequently. The page size for the system is 4 KB and the SGA size is 100 MB. To reduce the page fault, you set the PRE_PAGE_SGA parameter to TRUE for the database instance. After some time you observed that the process startup duration has increased significantly. * @& |* u0 G4 B" c
What could be the reason for this?! w" s$ E- ~! A9 M, D( g
A.The SGA has been locked into physical memory.0 z% K% x) E; G/ k# O
B.Each server process that starts must access every page in SGA.. n5 |$ p* X) _8 J4 Q9 z" n' I
C.The session memory for the new connections is allocated from SGA.
3 g l N& [& G8 X+ _/ o8 ED.The SGA size is adjusted by the Automatic Shared Memory Management feature during every new connection.0 P6 p' S0 C4 ?2 |* R7 O( S/ N+ f
ANSWER: B # U' j, @$ _+ O1 m6 h
# [& m9 i* ` d7 N# _
30. You are working on a database instance with the following requirements:
( e$ D1 A. m) b |" hDuring daytime, there is a large volume of transaction that requires a large database buffer cache.8 ~5 ?! v- ?- M+ a% g8 \
In the night, batch jobs are run. These jobs require a higher value for the large pool.
5 }9 ^: c; {* g& ^3 d1 yYou want to automate the configuration for the memory components so that the parameters are not required to be changed manually every day. What would you do?, f6 p# A* ~5 r7 ~7 i
A.Set the PRE_PAGE_SGA initialization parameter to TRUE.; o" @5 ~ t H0 f7 p/ O
B.Set the SGA_TARGET initialization parameter to a nonzero value.8 ?0 m0 S2 S3 y9 l8 [+ c; x
C.Set the DB_BLOCK_BUFFERS initialization parameter to a nonzero value.
! F6 C! |8 |6 [' y( r) JD.Set the USE_INDIRECT_DATA_BUFFERS initialization parameter to TRUE.! p$ r+ o) G1 J. X6 ~
ANSWER: B |
|