该用户从未签到
|
Oracle 10g DBA 1z0-046考题
/ N3 O F+ N$ O2 L4 M! V6 K1. 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. * U9 n7 _# ~+ X% W
What could be the reason for this change?
( G- H! |; J: q* sA.The buffer busy wait event has been detected.$ |7 f, G0 |% M y1 @3 X7 g: \
B.The no free buffers event has been detected.* y8 b2 X. x& S+ A: h
C.The log buffer space wait event has been detected." u7 B5 }( a( Y/ ?8 O7 X0 W" T
D.The log file completion wait event has been detected.
4 o7 I- Q* R" m3 {E.The value for the free buffer inspected statistics is growing.' @* `4 k1 T# ]" I* l
ANSWER: C : i" w) u3 e2 B& a) j$ K n( j
3 s7 x7 w6 `/ Z2 H5 S0 G K1 x( X5 m& l T2. ho.sh is an executable shell script. You executed the following command that leads to an error:
+ r, p: c$ @: v7 A* l3 q8 G" S$ strace -o /tmp/ho.out ./ho.sh
) U5 |+ U, C, _# @strace: exec: Permission denied8 m/ C ~. \) d+ s6 O' d
What could you do to execute the command successfully in the next attempt?
% E: W2 C# n2 \% f* X9 xA.Provide the shell reference with the command.
7 A6 B5 ~! O0 gB.Remove the shell reference present inside the shell script.
7 E# j2 j' Y. T+ bC.Execute the command as the root operating system user.
, W* w* C, j- e' `3 K6 m0 ED.The extension for the output file should be changed to .log.
4 L. P; o2 O/ |0 K. d, GANSWER: A ( d# m1 W8 H4 k! r& V! v: J2 k
% _* L5 w$ L0 {1 P& G3. You need to ensure that whenever you create a new file, it should have the following set of permissions:
# f8 {" _8 Z0 s* Xu=rwx,g=rx,o=rx.
8 R2 ~9 M# r% G; ~$ HWhich statement can you add to the .bashrc script to set the desired file permissions? , z3 ^+ ]: f+ F! Q
A.umask 455
! b# B- j$ S: ^) v' M" O8 iB.umask 012
4 o, L9 o, |7 U9 R) a+ o% O5 bC.umask 0755% R6 B, j6 d) J2 ] w P2 q
D.chmod u=rwx,g=rx,o=rx
$ H8 r; g+ W% }% ?2 w" ^ANSWER: C
$ V( r8 F) ?/ ^: G3 m* j2 x2 U& Z/ H' @ D A
4. Which three statements are true about Oracle Clustered File System (OCFS)? (Choose three.)
$ P0 l% _' m" K. P* TA.There is no limit on the number of files on OCFS.
- r! `- q( n. L! x% d+ eB.You can use OCFS for database files as well as general files.
, b- F# R" X* q- ~) F! E) b' iC.You can create an OCFS using Logical Volume Manager (LVM).' U- r3 A! j6 D' ?
D.You must modify the Linux kernel parameters before mounting OCFS.
0 A1 g4 L& q7 C4 V% IE.Standard file system commands, such as mkdir, rmdir, and mv, are available on OCFS.3 Z6 y B+ T9 u- `
ANSWER: ABE
1 g' J2 Q$ _, R0 Z8 ?) d
2 ]0 Z! j' A' V8 G, t' X: }& H1 T; J. w5. The OS user BOB is a member the osoper OS group in the database server. You want BOB :& G/ p2 O( w# s* M& D' K4 m
Which of the option would fulfill the requirement? 6 `. F# ]! S! _: P
A.Assign the sysdba privilege to BOB./ Q3 Z9 x4 Y2 H+ `. \& \
B.Assign the osdba OS group to BOB.
4 _$ U k: N0 t6 dC.Set the REMOTE_LOGIN_PASSWORDFILE initialization parameter to SHARED.- H% L5 s V6 e) c) K
D.Set the REMOTE_LOGIN_PASSWORDFILE initialization parameter to EXCLUSIVE.
3 U3 N- h/ x4 P3 c L! \ANSWER: B , G8 g& Z( `$ v' z' y5 y
! l2 P" m0 ?) i- W& |. F+ ]& x5 c$ b6. You executed the ipcs -m command to list all the shared memory segments in your Oracle server.. P; E1 }$ z8 u# k4 C5 a
View the Exhibit exhibit1 that shows the output of this command., C8 n4 i n& N8 Q/ a' A8 z
Later, you executed the same command to check the shared memory segments.) M+ {+ I, M) v) L R1 V3 v
View the Exhibit exhibit2 that shows the output of this command.
/ u/ J. k9 C$ s6 Z; F# uWhy is the large shared memory segment not listed in the second Exhibit?
6 i5 K3 d! o; gA.The Oracle database instance is shut down.
3 L6 Q1 D+ W- X+ q. Q0 ~% f0 xB.The swap space has been increased in the system.
# T v/ W# M8 d) ]6 ^ vC.The Oracle database instance is configured in shared server mode.
! c4 l7 ^9 s' ]8 [/ G8 pD.The large pool size set for the Oracle database instance is reset to zero., d+ ~7 s) i5 p( \) U: w5 C& ?9 }
ANSWER: A
/ U9 s& e. q- ^2 j. T/ q
6 _1 ~4 w6 Q7 g! d7. 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.
( n6 E9 l# [& m t6 i/ IWhich set of commands would you use to restore the original settings?& R3 J8 u7 e, Q _. g$ R: u/ j
A.echo 0X1000000 > ksms.s7 I2 w5 q% ^1 u+ }) O5 a8 P2 q
make -f ins_rdbms.mk ksms.s
: s) L# @7 C- EB.echo 0X15000000 > ksms.s; N$ c- p4 Y; d# A
make -f ins_rdbms.mk ioracle4 D) B# u7 o; c
C.make -f ins_rdbms.mk ksms.s
7 d6 E# Y9 [" |/ }2 kmake -f ins_rdbms.mk ioracle
- D- Q2 x: F# h+ E ~D.genksms > ksms.s6 P+ l" e. z( @, Q' G* D8 l
make -f ins_rdbms.mk ksms.o
8 p2 V) J( ?6 f( x' }, |8 I9 \make -f ins_rdbms.mk ioracle
0 m$ ?6 t! r0 c, g AE.genksms -s 0X10000000 > ksms.o6 e( H6 ]. w& Z8 b+ u
ANSWER: D 4 ]+ i# ^% X2 J. S" a5 u6 H& B) C
/ ^, S( M2 l! z t* _2 [1 {% U
8. 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?
, K, |2 y) L& c/ s7 ^4 Q: A# aA.uname -r7 G( V1 t1 W+ A2 ~- T3 h/ ?. [
B.uname -v p; a) z' H$ \3 u. e s6 g8 x/ u
C.cat /proc/version
/ R/ A0 D W3 b- s4 j6 }3 X6 h& B* T9 aD.cat /proc/sys/kernel/tainted0 q2 N+ a6 M: U; r- G3 o
ANSWER: D : ?: Z. G% v$ p6 \
2 f) _2 @0 b: `
9. Examine the content of the /proc/sys/kernel/tainted file on your Linux machine:
/ i) Y) K6 L. Q5 \5 j) N5 Z2 _8 a[root@edtdr6p1 root]# cat /proc/sys/kernel/tainted& a; d5 U4 {8 z7 U9 W1 c( [" V
1
, a( C# E) d& R2 x+ {( k& o: SWhat will happen when you install Oracle Database 10g on this machine?
& p9 O1 G. K! y. \; m, _! m* t/ ZA.Installation will fail because of the tainted kernel./ P, N k; y" Q
B.Installation will be successful, but Oracle will not provide support for the database product.( k t W/ \, F) g3 `
C.Installation will be successful. Oracle will provide support for the database product but not for the operating system (OS).
- B! ^ a: B# zD.Installation will be successful and Oracle will provide support for the database product as well as the OS.' [; e [& J( C! L
E.Successful installation and Oracle support for database product as well as Linux OS will depend on the module tainting the kernel. @' E$ L( Y( t/ f( C: m
ANSWER: E
* e3 ~- D9 A. Z2 l! A6 ]/ D5 Y7 J7 z$ Y9 |- p& Z9 k: ]3 @7 w. C
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: z' s; p3 o X/ t. D( k
[root@edtdr6p1 root]# cat /proc/sys/kernel/tainted
& v! E' R0 r/ J' {1. Y( Q" d3 E0 a' z
What do you infer from the output? (Choose all that apply.)
' h f7 d/ {: `5 n. }( c, T& MA.A proprietary module has been loaded.4 Z, x9 F& G7 S; v1 E7 ^
B.A module is marked unsupported by the vendor.% r7 {. c) G X2 ^
C.All the loaded modules have General Public License (GPL).
" a* @9 B9 ]$ b9 o1 |$ HD.A module was force-loaded by using the insmod -f command.0 T n, `0 _. G, h
ANSWER: AD 0 w. d6 Y1 U/ `
8 d, X8 R+ ~! N; ]+ |" v11. Which command is used to identify the kernel version number?
& Q1 j- F, v- `2 CA.which" F* ]3 p1 S; V$ O
B.whatis
) n: @7 W" z8 o- KC.uname -r1 T# Y& q2 @' U" K! C% n6 ]
D.ulimit -m
. p8 ]) @5 d$ u$ y8 UE.chkconfig" C3 a1 C7 r# D- v2 [2 i
ANSWER: C
( d3 ?" x" g$ W* \; L" I
( W9 `. H, _% |12. Match the following commands with the purpose they are used for:' h" z* E3 ~# x b7 j
I chmod a) To create a file with the desired time stamp: o1 x1 [) E' }* b w: r, r' j- C
ii touch b) To use the variable of the parent shell in child shell/ H. g) ]# Z# Q- l
iii alias c) To give write permission to a directory
! n b* ~" Q3 X0 U: B% w( F! ]iv uname d) To simplify long commands( H% \6 |9 q8 N7 f% M8 ~" B+ K
v export e) To see the Linux release number0 d/ D/ `. J3 a9 l
A.i-a, ii-e, iii-d, iv-c, v-b
+ ~6 u! h9 ]* ~7 g. w+ t$ mB.i-c, ii-a, iii-e, iv-d, v-b) \- w4 c y' c; Y; ^$ O" o9 I1 _
C.i-c, ii-e, iii-b, iv-a, v-b
4 X6 Y6 ~+ _, D3 I, RD.i-c, ii-a, iii-d, iv-e, v-b
3 p% \4 M7 v) W L8 X! LANSWER: D
$ o. n- X7 a5 H8 J1 V9 k4 F& F# y3 I
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.). V: v' |8 u8 x% E
A.id
7 j* J. ]$ A& ~% ]" g2 ^3 b9 RB.uname -G8 o' I6 ^1 F( R* E4 d5 u
C.cat /etc/passwd1 a' d8 M& \+ `! A& v: S0 I$ v4 l. k
D.cat /etc/group8 V$ d. K+ K8 k- c
E.cat .bash_profile& K, l& B+ s# j
ANSWER: AD
4 |2 j2 D2 R/ e, q. f) ]5 X1 ?' q/ q6 t! d
14. View the Exhibit.
4 K4 G4 J4 R1 P- X2 n3 _" _1 ?( ^) iWhich two statements are true about the output of the cat /proc/partitions command? (Choose two.)
. S6 H- v8 v4 {$ pA.The hard disk has four partitions.
9 {/ \/ t6 X' U, {; t( V6 [" q$ ^ [B.The hard disk has six partitions.1 ?* s0 R& W2 @1 R
C.The swap partition is not shown in the output.
! N8 j3 M+ z [$ N& YD.The major column shows the device number with partitions.4 |: H1 |3 N5 Z0 ?7 B
E.The #blocks column shows the number of inode blocks in that partition.
Y: x7 d0 u4 @
7 I; E P+ N# {% m) h! v$ g0 pANSWER: AD
4 n; {% B6 e# i" h. S$ A$ T& Q9 d
15. Which command would you use to identify the users that belong to the oradba group?+ {+ Y- \/ ?/ q4 |7 r
A.id -G4 r0 o1 F8 a0 a# a: ~* i- M* W
B.uname -g8 g) k3 |1 p7 X4 [' P% K% R( [
C.grep ^oradba: /etc/passwd& B4 q& H+ @2 }/ N2 `
D.grep ^oradba: /etc/group. L0 q+ B" v ^4 r0 ?$ Q
ANSWER: D ! _0 B/ q; ~5 F
) Z% I0 c+ t( q* c' T9 p16. View the Exhibit and examine the output.* F7 D) y- J* p& X7 z
What do you infer from this? (Choose all that apply.)
" r2 n! N0 F5 M KA.The command output is stored in the pmon.txt file.; s) J* m7 Q1 X/ z9 g3 d
B.The command shows all the processes running on the machine.
3 T* F4 }: x0 i" V- S6 eC.The command appends the pmon.txt file with the output of the command.
; P' n" e3 ~' X: D/ ]8 qD.The command shows only those processes that contain the text _pmon running on your machine.
# I5 c% B9 B( r/ r7 |$ J+ ]E.The logs generated while executing the command will be stored in the pmon.txt file.
5 s$ n: R- V A a0 n4 \ ~$ I" ?" d7 J9 \
ANSWER: AD
8 B. u- s! u% s. r* Z9 d r X. h1 g" I1 |) Y& O
17. View the following script:
3 R g# D- z: l) d0 Z/ n( uif [ -r /etc/oratab ]
8 n6 F8 X/ U3 ^ x/ _then' G" J) [# {: C1 P, i$ x" Q
ORATAB=/etc/oratab. G' m8 a: g% Q$ v' I5 [
else
! }5 V3 r% s1 T( Lif [ -r /var/opt/oracle/oratab ]# A. d$ s( g+ V! ^, {$ W
then
3 o- Y4 r9 e6 S4 l. }; N5 mORATAB=/var/opt/oracle/oratab
# [7 o! N$ ^1 V7 nelse. I% [ s Q4 U4 H6 Y, E1 B4 I: {/ p
echo "Can't find any oratab file"
! g/ X. J& @2 d8 Z Hexit 1; u4 Z" H, L n' a
fi! `# H" T! b: B) Q# O$ n& d6 m: j
fi; \* m5 K/ v/ H- r2 R) l
grep -v [\#\*] $ORATAB | cut -d ":" -f1# k8 ~: j2 d" @7 F4 I
Which statement is true about the execution and output of the script?
8 Z. i; ]9 a! ]' wA.It will execute only in the /etc/oratab directory.+ g5 j2 t8 k4 e
B.It will show all the Oracle homes listed in the oratab file on the local machine.# t2 s" A/ b' D6 I0 h4 L( f
C.It will show all Oracle database SIDs listed in the oratab file on the local machine.
% \ A1 y6 h, z' s8 |5 u$ L& g) sD.The script output will depend on the command-line arguments passed while executing the script.# Z! `/ L5 u( a+ R2 }% H" N* P* G
ANSWER: C ( q+ T: n; s+ x; j
" ~8 {+ e9 u4 e5 t$ h% h8 X) n18. Which three statements are true about the built-in shell variables? (Choose three.)
( N& l# b, x* r0 l( FA.The $? Variable stores true and false values.* |+ j2 E6 K c3 m& ~4 R V
B.The $* variable stores all the command-line parameters passed.
1 X* b! L1 Z/ C' K5 C; fC.The $# variable stores the total number of command-line parameters.
! ?1 ?+ I9 K0 t, BD.The values for these variables are retained in the session until it is reset.
4 Z2 ~6 B3 `' U! BE.The $n variable can store n number of positional command-line parameters.6 |# Z# M, w" F9 Y$ m! q
ANSWER: BCE
8 m: C0 A2 `6 B: S
/ R6 L- }9 {3 Y19. View the following script:
5 V4 z! T! t3 S- a3 u' _if [ -d $1 ]
# L _) h( w% a" }0 z" m! Xthen; [; R1 W$ _# E" ?
for Data in `ls $1 *|tr -s " "| grep .dbf`) H: q: t2 J2 O9 \' S
do
4 K+ X1 I! `, iecho $Data+ Z9 o7 C9 }( L' {, C9 h
done5 a8 a, j4 S0 U U9 t1 h! d
else5 V9 { z+ M3 Y! i5 T* u/ O
echo -e "No Directory specified"2 ~6 z( f( ?7 X c/ c3 V+ H
fi) ^6 ]/ q: K0 X# ]1 q5 j1 B
Which statement is true about the script?; o5 b1 t; z+ d6 P$ D
A.The script displays the total number of .dbf files on the local machine.! W! e! ]1 J4 v& n6 _
B.The script will not execute because no value for the $1 variable is given.. V7 h- O* J# }7 y' {3 J5 k
C.The script displays the .dbf files in the location given as a value in the positional parameter.
m% a1 I- { {# B. h8 k$ ]8 PD.The script will give an error because the variable name should contain the letters of the English alphabet.7 _( {2 ], H- {3 i/ T
ANSWER: C
0 N, p" n j( ]; B2 x9 B& C; o8 V1 P3 O" N! R
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.)7 L& w% ^3 [' v/ r- s# o
A.The DISK_ASYNCH_IO initialization parameter will be set to True.3 @9 u% m; a9 b
B.The TAPE_ASYNCH_IO initialization parameter will be set to True.7 ^4 L8 \% \0 Q% v& d+ ]
C.The database instance will simulate asynchronous input/output (I/O).
; ~2 y# S y* s ?D.Oracle server will update the value for the DB_CACHE_SIZE initialization parameter as per the system requirement.& o" g6 k2 I$ |4 I7 @' b5 R* ~
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.
/ H" g% x! q3 F6 ]habet.
1 n% N% `, A. l, @" J5 X S/ k/ p9 LANSWER: CE % H( P* j/ T8 i; e. Y. s
8 c$ @4 @8 y3 [
21. Which two statements are correct about the DB_WRITER_PROCESSES initialization parameter? (Choose two.)
7 }6 y3 G( m1 YA.The default value for DB_WRITER_PROCESSES is (CPU_COUNT+7)/8.
- Y8 B( m6 k6 j% KB.You set DB_WRITER_PROCESSES to greater than one to simulate asynchronous input/output (I/O).
( ~7 W' p% E/ S( c6 eC.You cannot set DB_WRITER_PROCESSES to greater than one if asynchronous I/O is enabled for the Oracle server.
- B2 {; z$ ]1 p% ~& AD.You cannot set DB_WRITER_PROCESSES to greater than one if the DBWR_IO_SLAVES initialization parameter is set to greater than zero.$ @1 ]* E* u5 G% L
E.You must set an appropriate value for the LOG_PARALLELISM initialization parameter before modifying the default value for DB_WRITER_PROCESSES.
: K4 c0 O2 o/ a) LANSWER: AD ) o- x* i7 U' Q0 w1 n |
& ~! w8 [1 b; r% d7 ~! j
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.)
' B6 \, k7 ?1 C, o& [( f$ ?A.The startup process will take more time.' W3 i7 N0 f" q6 K
B.The value for DB_BLOCK_LRU_LATCHES will be set to 4.
" [$ I: n" |( e# r2 @0 O: y7 JC.The database instance cannot use multiple DBWR processes.1 i# M5 t: U& [
D.The database instance will simulate synchronous input/output (I/O).0 k- ^/ K7 Z9 v9 I, S
E.Each Oracle server process will read the entire System Global Area (SGA) to physical memory at session startup.
- O: p4 X1 |2 ]( v9 CANSWER: AE 0 }. }. I. \8 h) E$ C
) B, Y7 g7 Y( c; {+ ~$ P( p
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.
/ h" w$ U5 R6 ]What would you do to avoid the wait event in the new database? : S# C6 |, E8 [* k. A' [$ b
A.Consider setting a larger value for DB_BLOCK_SIZE for the database.5 U0 x P; X+ I) m# v& \
B.Consider setting a smaller value for DB_BLOCK_SIZE for the database.6 t3 O: Q( U1 ~; [8 \
C.Consider setting a larger value for the DB_CACHE_SIZE parameter for the database.
# L" B* }; z% R0 O0 z( J- h- JD.Consider using the DB_BLOCK_BUFFERS parameter instead of the DB_CACHE_SIZE parameter for the database.% K& B8 A* w/ t1 Y% X
ANSWER: B
2 r7 Z: B9 _* I* A4 k+ E- r; Q; f
H3 `; R9 H! t a) R/ K24. You executed the following command:
+ H, b1 E/ U' Q- h0 Qcat /proc/slabinfo | grep kio 1 m9 ~) g* e3 M
You received the following output: ) l4 t9 O$ ?8 {4 v; u/ w
kioctx 270 270 128 9 9 1 g& l/ U/ f/ v
kiocb 66080 66080 96 1652 1652 1
5 I" ?, k' |: ^5 W# ^6 b% Mkiobuf 236 236 64 4 4 1 & x4 e( y7 E7 [) m; ]
What do you infer from the output?
0 T: Y: t( } Y, aA.There are no inactive pages.
9 d4 a2 ~6 M+ F8 C6 I+ T" mB.The disk activity needs to be tuned.* k% d% Q' @' C
C.There are waits for the buffer cache.
' M E, V1 x- m5 v+ m' jD.The value for the shmmax parameter needs to be increased.8 U+ c; r2 s: z/ }
E.The Linux system has asynchronous input/output (I/O) configured on it.
; Z+ O+ \3 A$ E# H2 A: |: k& jo greater than 1, then the DB_WRITER_PROCESSES parameter will be set to 1.
% V1 R8 z2 Y* c( n' _2 `% q% w: `habet.1 ^- ]8 a/ E/ n7 Y, z6 V
ANSWER: E
8 J6 p- K ^6 \# j* T
( O7 W! x6 t- [25. You executed the following command on a Linux machine:$ q) P: G2 o3 j- G( H
$ cat /proc/slabinfo | grep kio
' S) |# u) [2 n8 W9 tkioctx 270 270 128 9 9 1 : 252 126
0 ^1 b6 P. m% `kiocb 66080 66080 96 1652 1652 1 : 252 1267 s/ i5 l6 |$ V: Q, s
kiobuf 236 236 64 4 4 1 : 252 126 A. p( |* c7 ~
Which statement describes the purpose of executing the command?) s0 u0 W$ D$ | ?
A.to check the virtual memory usage in the Linux system& a4 O/ d2 z0 b7 b( ?
B.to compare the I/O statistics of different channels in the system. z) S- N1 L Q
C.to check whether the asynchronous I/O is working in the Linux system1 z( M9 E$ x1 e1 ~/ e h
D.to check whether multiple data bus adapters are being used in the Linux system" _2 s* z+ z! q4 y
E.to check whether the shared memory file system is being used in the Linux system
% i. q, W7 k) X, t% JANSWER: C x( D- U; [+ y% I; x
' y8 c3 |! n5 {6 ^7 J
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. 0 P+ W3 b7 s0 l6 S i
What would be your next step to avoid this event in future?
, m ?" Q$ Q: t' x: V6 C/ oA.Decrease the value of the DBWR_IO_SLAVES parameter.
: T, ?2 f% S3 o) hB.Increase the value of the DB_WRITER_PROCESSES parameter.2 Q3 z+ j: r. I4 }
C.Set the USE_INDIRECT_DATA_BUFFERS parameter to TRUE.
( w& j; R+ L# M$ k. A* X4 ~; O$ {' cD.Increase the value of the DB_FILE_MULTIBLOCK_READ_COUNT parameter.8 i7 Z+ p8 _& j& H3 L
ANSWER: B 2 P3 j1 ]7 [3 K# M9 y/ I
" L7 T4 o1 h x5 ^+ v7 m/ c1 V6 K( ]* F
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.
, @ ?# m# ]; A& d0 ZWhich memory area is used as the communication area for I/O buffers?* I, m7 d! W! l: G
A.The java pool8 K+ L1 k! D. ~# m8 P4 q
B.The large pool
& x/ i, U9 G6 F2 }C.The shared pool) [3 B0 b1 A; F$ i8 p2 x7 i
D.Memory space allocated separately outside the SGA
3 W* u+ X8 H" QANSWER: B 4 f+ s9 X% g$ V
. q7 H2 z+ A, B0 R28. 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?7 e) e8 q6 V+ p$ g/ ^+ |
A.Setting DB_WRITER_PROCESSES to more than one reduces DBWR_IO_SLAVES to one." B& X) ]! n0 J) F* [: q+ U
B.Enabling I/O slaves forces the value of the DB_WRITER_PROCESSES parameter to be set to one.
& k4 l- n$ ~# O- w9 EC.Each DBWR process uses a single I/O slave when DB_WRITER_PROCESSES is set to more than one. * Z V4 ~8 P/ u: ]
D.The database performance is directly proportional to the number of I/O slaves when DB_WRITER_PROCESSES is set to more than one.0 ~# \4 S' K6 O/ `
ANSWER: B " D: E8 t! D" y; f2 [! f7 N
7 D& @7 x1 v4 u: ^: B- z% F& ~! T! K
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. ; f, ]% n: \2 c+ x6 }* ~( P. ^
What could be the reason for this?
+ S0 B! ]: O! I/ F2 ^% f; I5 [A.The SGA has been locked into physical memory.
+ P3 Q& {, }: Q l1 p4 nB.Each server process that starts must access every page in SGA.
* ]$ N* W0 V% v6 Z; fC.The session memory for the new connections is allocated from SGA. 3 Q& l" U+ {, k8 _8 n. T, U$ J
D.The SGA size is adjusted by the Automatic Shared Memory Management feature during every new connection.
8 e9 O g1 _ RANSWER: B - u& ]/ u0 d6 `
8 w0 Z+ ]" y+ L0 X8 X7 a/ T4 z30. You are working on a database instance with the following requirements:
* a, H$ W) ^2 i% ?, o8 gDuring daytime, there is a large volume of transaction that requires a large database buffer cache.
' `/ Y3 t+ F8 L- fIn the night, batch jobs are run. These jobs require a higher value for the large pool., p" r" i [7 n' d( g1 k7 E1 T6 `
You 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?% j, g$ Z: [6 s8 Z/ M
A.Set the PRE_PAGE_SGA initialization parameter to TRUE." m+ g/ L+ \/ n# g- I
B.Set the SGA_TARGET initialization parameter to a nonzero value.
, N- L) }# F9 G0 V& SC.Set the DB_BLOCK_BUFFERS initialization parameter to a nonzero value./ _; y! j C6 W9 j1 A
D.Set the USE_INDIRECT_DATA_BUFFERS initialization parameter to TRUE.
( r7 t4 F0 o0 y+ TANSWER: B |
|