下沙论坛

 找回密码
 注册论坛(EC通行证)

QQ登录

QQ登录

下沙大学生网QQ群8(千人群)
群号:6490324 ,验证:下沙大学生网。
用手机发布本地信息严禁群发,各种宣传贴请发表在下沙信息版块有问必答,欢迎提问 提升会员等级,助你宣传
新会员必读 大学生的论坛下沙新生必读下沙币获得方法及使用
查看: 3751|回复: 1
打印 上一主题 下一主题

Oracle 10g DBA 1z0-046考题(分享)

[复制链接]
头像被屏蔽

该用户从未签到

跳转到指定楼层
1
发表于 2008-12-27 13:40:16 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Oracle   10g DBA   1z0-046考题
- N: D" G' l0 v! p; c# C6 ]4 j+ t$ X1. 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.
0 d8 |8 s! Q0 A' D5 MWhat could be the reason for this change?
8 a5 ^! d& d3 E5 `5 K  jA.The buffer busy wait event has been detected.- t% q, p, \! G$ c
B.The no free buffers event has been detected.% r3 {8 u; F' b4 E+ T! u. F
C.The log buffer space wait event has been detected.( i/ t: e' W* z0 j
D.The log file completion wait event has been detected.
0 m7 Q3 x* \( Z! P, e+ A7 J1 f  VE.The value for the free buffer inspected statistics is growing.
8 \: ^. W7 m0 c2 M8 XANSWER: C 1 w4 C) F8 B  X7 `& h
* r  C) |  X$ A. }- I4 e' Q
2. ho.sh is an executable shell script. You executed the following command that leads to an error:+ Q  v$ W3 F( u0 ?& M
$ strace -o /tmp/ho.out ./ho.sh. q9 X- f5 l: F
strace: exec: Permission denied+ y5 D9 M8 z4 [' t- O; Z
What could you do to execute the command successfully in the next attempt?, s% G" f7 w5 p8 E
A.Provide the shell reference with the command.
, h( w1 L, w8 P- M2 m8 {0 f( OB.Remove the shell reference present inside the shell script.
8 N* u1 i( m) _0 ]5 hC.Execute the command as the root operating system user.1 J% U- U6 x0 p7 h8 X
D.The extension for the output file should be changed to .log.
) q5 L/ Q) r9 c5 ^4 e" o7 DANSWER: A - B6 \8 _! q( f2 H/ e. ~/ s

$ w$ U: k# V4 o3. You need to ensure that whenever you create a new file, it should have the following set of permissions:
2 b2 ?# u+ Z; p% {u=rwx,g=rx,o=rx. % _0 B" c! J; Q# M
Which statement can you add to the .bashrc script to set the desired file permissions?
' P  l- c' [8 m4 W% f. IA.umask 455
7 t2 m  h2 c4 Z6 _8 cB.umask 012
7 I! G2 N  p  L# U' ^C.umask 0755
0 m# m2 Z/ t2 y9 _" ED.chmod u=rwx,g=rx,o=rx* F2 }3 N9 A  p4 J+ V+ I; l
ANSWER: C 6 O0 g: b, D" a+ [" Q

4 V% k6 U) ]5 X; C) F2 q, q/ o4. Which three statements are true about Oracle Clustered File System (OCFS)? (Choose three.)
+ p) V6 l8 r0 P( b2 PA.There is no limit on the number of files on OCFS., Z$ t1 q( a& w4 d9 f) z& ?
B.You can use OCFS for database files as well as general files.' n- S6 s) \8 q5 |# v3 [
C.You can create an OCFS using Logical Volume Manager (LVM).. Y" o, e2 J, d* e- Q, e$ ]! b
D.You must modify the Linux kernel parameters before mounting OCFS.
. U! w) A5 T2 m2 f/ H* G. @E.Standard file system commands, such as mkdir, rmdir, and mv, are available on OCFS.
- m7 r5 T# U- g. Y4 _; t/ aANSWER: ABE 4 r" b1 p# `0 k" ~

6 u$ @0 `1 w( \8 n' Z7 a5. The OS user BOB is a member the osoper OS group in the database server. You want BOB :
  _1 }( q$ f; w" n& |( @3 Q9 F* W7 KWhich of the option would fulfill the requirement? & y9 `) m  S4 I+ K0 n7 ^! t# ~/ q
A.Assign the sysdba privilege to BOB.
5 c  _  k2 W" C+ `1 }6 VB.Assign the osdba OS group to BOB.3 p) u, X3 K8 c
C.Set the REMOTE_LOGIN_PASSWORDFILE initialization parameter to SHARED.
+ N( }" J! x6 ]" ED.Set the REMOTE_LOGIN_PASSWORDFILE initialization parameter to EXCLUSIVE.
" ?' s2 ?5 [3 n) hANSWER: B 2 ~1 \8 @1 C- b0 `( o$ {

; n* m$ z% \8 i/ Y3 k! m0 H" _6. You executed the ipcs -m command to list all the shared memory segments in your Oracle server.
" C8 R% ^4 d5 ]# }View the Exhibit exhibit1 that shows the output of this command.) S7 x9 ?% N0 M0 c% Z% C% h  A- }
Later, you executed the same command to check the shared memory segments.  P! ~4 M$ Z! C% b
View the Exhibit exhibit2 that shows the output of this command.# I6 |8 m  }5 n7 i! E0 J6 h& x
Why is the large shared memory segment not listed in the second Exhibit?! |# F( C! n) l; E$ T; b
A.The Oracle database instance is shut down.% q; G1 [. X" i9 n3 {, n- A+ m
B.The swap space has been increased in the system.2 K. o- e$ x9 x3 K
C.The Oracle database instance is configured in shared server mode.8 @, K/ E6 s6 `' O' F8 Z6 W
D.The large pool size set for the Oracle database instance is reset to zero.
" Z$ X3 w( ~) H4 W5 FANSWER: A ) @& T& [( v3 l# k

1 c9 V$ t6 g2 B/ v+ C( q9 \# j7. 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.
! D' k# Y$ {: V" l3 nWhich set of commands would you use to restore the original settings?
5 S! ]' e0 R. u3 _& K5 m, CA.echo 0X1000000 > ksms.s
/ E2 ~  y# D2 e7 _, D- d: dmake -f ins_rdbms.mk ksms.s
; m+ o' L  N; Z) J7 s1 S( x- BB.echo 0X15000000 > ksms.s0 s6 k" Y+ S% B) B6 ~
make -f ins_rdbms.mk ioracle
4 |2 N& h, b) H3 B% e8 gC.make -f ins_rdbms.mk ksms.s: I" \- \4 R+ }6 C
make -f ins_rdbms.mk ioracle5 R. i6 Q" f9 i
D.genksms > ksms.s: @! L9 x6 D2 P
make -f ins_rdbms.mk ksms.o
9 y, F$ u2 c5 i$ mmake -f ins_rdbms.mk ioracle
( `2 U# e, ]3 [: RE.genksms -s 0X10000000 > ksms.o
, F$ n7 ?. W) jANSWER: D 0 \) f2 L" m$ J
* S$ I2 S2 N% o# H* X+ w9 N
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?! t& d3 X% v: V9 L% s) L
A.uname -r
8 W( k/ X! l- C9 E/ T% NB.uname -v" l3 @1 ^  n+ E" Y) O, y$ Q, _
C.cat /proc/version8 B/ w2 }, I9 e( t" S% X+ \: c
D.cat /proc/sys/kernel/tainted
6 I, E( I, ~; L/ t6 _; ~* lANSWER: D
1 n3 j8 V# k+ t3 F$ m' o; a
; \6 V* {+ T+ `# G9. Examine the content of the /proc/sys/kernel/tainted file on your Linux machine:4 \2 n5 V) J1 t6 y: L
[root@edtdr6p1 root]# cat /proc/sys/kernel/tainted
7 M9 v5 D, N. k8 \1 P1
# A, N# F0 B( [2 CWhat will happen when you install Oracle Database 10g on this machine?# c  J/ F/ L( ~. }
A.Installation will fail because of the tainted kernel.& J" S1 ?1 f* ^, [- a% s
B.Installation will be successful, but Oracle will not provide support for the database product.
: k3 B! Z: c0 K: c& N# XC.Installation will be successful. Oracle will provide support for the database product but not for the operating system (OS).  s! \3 O: ~/ s
D.Installation will be successful and Oracle will provide support for the database product as well as the OS.; Y3 Z, h* ~! u" U
E.Successful installation and Oracle support for database product as well as Linux OS will depend on the module tainting the kernel.6 n+ n4 Y' h& `, h/ v' |& E: _1 W
ANSWER: E
2 q7 f: w3 V6 m+ s; S4 S& H  q- m7 q0 Y9 e+ j2 g$ L
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:1 o, Y1 j, \* l5 }# k
[root@edtdr6p1 root]# cat /proc/sys/kernel/tainted
7 y, A) p9 Z& N& }# }14 f" ?6 ]! b* Z  ?6 U
What do you infer from the output? (Choose all that apply.)
8 s. G  U0 p' R6 W! iA.A proprietary module has been loaded.( a9 i/ f2 O, z. y" x- f
B.A module is marked unsupported by the vendor.. @/ A9 x) K6 E6 H
C.All the loaded modules have General Public License (GPL).. |7 E  Y" e; G& i' t( k( W3 A
D.A module was force-loaded by using the insmod -f command.
: C% I# r  t  lANSWER: AD 8 W/ n3 r9 `: a7 c" a

9 j  B5 _7 `$ G# N& B11. Which command is used to identify the kernel version number?  s, g5 S. f2 u3 L+ F
A.which- A# L, Q4 \5 @3 \+ B# Z% E
B.whatis
3 E& j/ E" O% OC.uname -r/ A/ h# ]) t3 t8 S! a8 ?
D.ulimit -m
1 Y. }+ d) f# K% t% U0 W7 g4 UE.chkconfig9 |  O7 m6 H) Q
ANSWER: C 8 z+ p; W& h& A  U2 m! ~
# h: L; M& `8 P6 p
12. Match the following commands with the purpose they are used for:
9 Y- f3 D, e3 Y. f  m/ hI chmod a) To create a file with the desired time stamp. ?& k) K2 ^. o0 D8 f: Q. V; r9 l$ G
ii touch b) To use the variable of the parent shell in child shell3 l0 p1 C) I- R/ I& @- F6 ]0 z
iii alias c) To give write permission to a directory
5 i  ?! I+ N( s" i' X( Niv uname d) To simplify long commands
+ W3 w1 a1 u  ]* P3 hv export e) To see the Linux release number
- o, J3 e* X& O+ p/ e9 l$ DA.i-a, ii-e, iii-d, iv-c, v-b
/ j) D1 m, @! w5 [. S+ _B.i-c, ii-a, iii-e, iv-d, v-b
1 o$ z, k, P/ l7 r8 v9 |C.i-c, ii-e, iii-b, iv-a, v-b- I* i9 O7 D) _& D1 B4 M- d
D.i-c, ii-a, iii-d, iv-e, v-b
/ V2 v4 I7 l0 wANSWER: D
- w' o9 F9 Z, p( F/ `# Z9 ?/ L2 v
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.)
, D" M7 _8 F+ j/ w; k$ W6 UA.id
8 h5 v' i/ [- T. t$ A' LB.uname -G7 H) o2 n/ L& o) @$ }1 [
C.cat /etc/passwd8 i, n. M; H# {3 a7 O: ^$ ]; P
D.cat /etc/group
4 W0 c+ }1 c: IE.cat .bash_profile% r1 W( r+ N, l' s9 q
ANSWER: AD
/ ]6 W8 n: m' U$ I+ j4 a- _. x* Q# p9 U+ E0 a3 M
14. View the Exhibit./ ~7 S; W0 X  f  }( z; F6 e- N
Which two statements are true about the output of the cat /proc/partitions command? (Choose two.)6 p: g7 t1 y  d& y8 f# ]
A.The hard disk has four partitions.
% g6 Y8 p, i+ U5 [" k8 f4 cB.The hard disk has six partitions.
7 `8 ]3 y5 P) p, kC.The swap partition is not shown in the output. + K; _1 O( G( n! N( J5 j; d' p
D.The major column shows the device number with partitions.
1 ?3 q$ N% b5 s% n1 o, N8 jE.The #blocks column shows the number of inode blocks in that partition.
+ u! D2 w3 A4 C" y+ M/ |1 h1 m+ B
8 _' C* Z5 K; U9 D( S8 l" ~) i! j0 gANSWER: AD
4 z1 N9 c4 v: i% b2 U8 U: j: C% A: @( q/ I8 ^
15. Which command would you use to identify the users that belong to the oradba group?. H! T3 I+ w* C% w* _* i
A.id -G
) ~/ [$ {! G+ zB.uname -g
& Q0 Z4 ^3 \5 d% x* `; C6 F" V6 kC.grep ^oradba: /etc/passwd$ j& C$ e1 W/ W) @( j
D.grep ^oradba: /etc/group
2 b7 m" b5 }' v! ?# NANSWER: D 1 {3 a3 J- ~; U* L+ x& E( g5 l2 ^
0 K. c/ [2 k- }, U7 ]* i
16. View the Exhibit and examine the output.3 w6 V  X/ P9 K$ `2 g
What do you infer from this? (Choose all that apply.)
# ]  O. y+ X* CA.The command output is stored in the pmon.txt file.
- W. s3 E2 s# w3 y8 n  eB.The command shows all the processes running on the machine.' N1 V6 v( w$ q) t+ H+ {8 T
C.The command appends the pmon.txt file with the output of the command.
, T" i+ M: B1 z3 e, B2 GD.The command shows only those processes that contain the text _pmon running on your machine." i; V) |( Z5 F, ?6 T
E.The logs generated while executing the command will be stored in the pmon.txt file.
/ ]& {0 I5 @. W& `* I/ S6 i
3 |  L! |  W) {( i) pANSWER: AD
$ X4 m, T7 H. t( w$ `' x0 ]( X& p* Z9 t2 g
17. View the following script:
8 {* B8 r+ C3 Q1 uif [ -r /etc/oratab ]
5 m1 r9 F5 O8 Othen
! R. T; [0 D; `ORATAB=/etc/oratab9 ~* c2 C  @. t5 Y
else
. K/ @3 K3 e% c: E# R* nif [ -r /var/opt/oracle/oratab ]
1 g( w: E; P2 j2 @9 [& G9 j& ithen
) ?3 X6 ^  t% qORATAB=/var/opt/oracle/oratab6 f, p7 c, F. o0 w7 B
else" y- P- r6 {' |2 S, k# N; y/ B4 v
echo "Can't find any oratab file"5 S6 ~  v9 {) T# W* u& a5 V/ t1 Z
exit 1) ~$ [% C7 l, a5 C
fi, [$ D9 h- P  u
fi! C4 z2 `6 O6 b3 f4 g. Z9 G
grep -v [\#\*] $ORATAB | cut -d ":" -f1
3 N9 \; |) h6 Z: i% a% `Which statement is true about the execution and output of the script?# I; I' E' G5 c: A$ p1 ]& a
A.It will execute only in the /etc/oratab directory.
3 ^: f, A+ f! Z, H  a: s+ o3 dB.It will show all the Oracle homes listed in the oratab file on the local machine.
, ?2 X1 ~; u4 D' \0 P0 XC.It will show all Oracle database SIDs listed in the oratab file on the local machine.
6 f  u6 O, p+ f3 x' aD.The script output will depend on the command-line arguments passed while executing the script.
% N& C0 g2 P% ?  l4 q( S- NANSWER: C . n! \# p. ]! c" v

* u; @4 `0 d$ n( u  v! e1 B* D18. Which three statements are true about the built-in shell variables? (Choose three.)
8 ?  w8 b0 U0 r. O- L( |A.The $? Variable stores true and false values.
" n4 l' Y" }  e9 {B.The $* variable stores all the command-line parameters passed.
$ [! s6 D4 Y4 W& Q0 v9 v+ J; @% _C.The $# variable stores the total number of command-line parameters.1 Y, v5 \1 l, B! ]
D.The values for these variables are retained in the session until it is reset.
- I* `0 y2 P" y$ I+ lE.The $n variable can store n number of positional command-line parameters.  {8 E9 ~6 y2 @6 _- X; G
ANSWER: BCE 5 I3 o, l1 F. j
. t. r! q4 ^6 ^8 w  r! e
19. View the following script:
+ m3 H  [( m; O5 i5 V1 ]if [ -d $1 ]: n- X2 L' m8 z- T! p
then' Q* ~: s6 n( W6 \# @8 L  P% G
for Data in `ls $1 *|tr -s " "| grep .dbf`
. t) M, V4 [6 R" q5 K$ @3 z9 G; Zdo
* N* B) |  H6 Pecho $Data' A* q6 i  d$ k2 L
done
) |7 W+ x1 n# U, N0 h+ Kelse
7 e7 O' ~# J) Z& }3 c" wecho -e "No Directory specified"
; i# T3 S+ M, H9 }& Qfi: i. ?, ^7 J' F1 L# @; C, G
Which statement is true about the script?
3 {! V0 c3 E: H* M/ LA.The script displays the total number of .dbf files on the local machine.
# R! W5 |9 c1 QB.The script will not execute because no value for the $1 variable is given.
# \* ]( {# M) [2 B" b  g/ Q: ZC.The script displays the .dbf files in the location given as a value in the positional parameter.
7 ^5 f5 ]/ b& x: z3 aD.The script will give an error because the variable name should contain the letters of the English alphabet.
3 O2 x& N6 x! @9 G5 d# rANSWER: C
/ |$ t0 S9 ~- ?- t8 k, b$ J: t1 w  o$ p: v
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.)
& G, ~# b/ T& l1 h5 R- [; [7 YA.The DISK_ASYNCH_IO initialization parameter will be set to True.) q  [' ^8 ~* ^+ @/ m3 W# c
B.The TAPE_ASYNCH_IO initialization parameter will be set to True.
, e# r" @' E( B7 L; kC.The database instance will simulate asynchronous input/output (I/O).
9 k) j. G: T4 R# YD.Oracle server will update the value for the DB_CACHE_SIZE initialization parameter as per the system requirement.+ }$ A6 V3 Q2 l/ r4 M  W7 L# g
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.
$ t8 e' V. [) {0 hhabet.
% p5 M8 b2 s% F! T. a3 P& k7 O, YANSWER: CE 3 a( K0 l; e8 k$ W0 Q
# R! X2 a4 j" S) ]$ c1 i! l$ s
21. Which two statements are correct about the DB_WRITER_PROCESSES initialization parameter? (Choose two.)
% {; V2 Z- E9 j; PA.The default value for DB_WRITER_PROCESSES is (CPU_COUNT+7)/8.
/ ~# F' M+ F! y, X9 ^: g; UB.You set DB_WRITER_PROCESSES to greater than one to simulate asynchronous input/output (I/O).6 I  \2 D1 k+ q- y# H6 |
C.You cannot set DB_WRITER_PROCESSES to greater than one if asynchronous I/O is enabled for the Oracle server.- ]( r( @  ?! k" ]; ^4 \
D.You cannot set DB_WRITER_PROCESSES to greater than one if the DBWR_IO_SLAVES initialization parameter is set to greater than zero.& P8 B( X( `& S$ [% [6 R5 l4 U" b4 p
E.You must set an appropriate value for the LOG_PARALLELISM initialization parameter before modifying the default value for DB_WRITER_PROCESSES.! Y! J+ _$ E2 h: b/ q
ANSWER: AD 0 R/ z' I: o4 V( x; @& C/ [
3 f& q& A& w+ 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.)
9 F( f8 K5 ?" C) WA.The startup process will take more time., }5 g0 P/ z9 A
B.The value for DB_BLOCK_LRU_LATCHES will be set to 4.; J2 I0 f( t5 {% I
C.The database instance cannot use multiple DBWR processes.- V, N7 c- N/ a1 Q2 y6 @7 b8 a
D.The database instance will simulate synchronous input/output (I/O).
0 L8 M' A6 v5 qE.Each Oracle server process will read the entire System Global Area (SGA) to physical memory at session startup.
: d3 s2 [1 |4 Q! s& l/ I' F) x4 QANSWER: AE 1 L- a/ {* P" t" |, s$ d9 V

& t% h2 H2 `8 }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.. A4 c: c) q( [, @& k; _% }6 E
What would you do to avoid the wait event in the new database?
4 Y) h' A9 J- o# }( o* F/ F1 zA.Consider setting a larger value for DB_BLOCK_SIZE for the database.) L* M% E7 Q8 S5 `) a; m5 _
B.Consider setting a smaller value for DB_BLOCK_SIZE for the database.
1 c' M$ n* e) G" y( {C.Consider setting a larger value for the DB_CACHE_SIZE parameter for the database.
, a% i" Q9 X, |; F/ jD.Consider using the DB_BLOCK_BUFFERS parameter instead of the DB_CACHE_SIZE parameter for the database.
$ N5 {: ~: C" b" H7 n0 ?4 X3 A8 nANSWER: B
7 l3 |) t( v" Y/ G$ ^- O2 S; O8 ]" s7 g6 }& y6 F/ ~
24. You executed the following command:" D2 |: E8 J+ C' K! V
cat /proc/slabinfo | grep kio
# E0 F' j* x0 o; ]$ |9 E$ O9 wYou received the following output: 1 y. e  y+ d6 X- E. b9 h
kioctx 270 270 128 9 9 1
) e1 {) a/ `0 C1 _$ Y) w- }kiocb 66080 66080 96 1652 1652 1
# J' q( X5 h/ O2 nkiobuf 236 236 64 4 4 1 . _0 c# N% v0 W2 ]2 _7 |( \+ e
What do you infer from the output?; C2 O+ ~, i0 j9 H$ Q
A.There are no inactive pages.' ]( }/ p6 f8 P/ {2 c* T
B.The disk activity needs to be tuned.
, s9 Q* b! {, i5 s- C! jC.There are waits for the buffer cache.0 j0 \9 c3 A$ }& ^
D.The value for the shmmax parameter needs to be increased.
; y6 z& m* H8 p) _5 vE.The Linux system has asynchronous input/output (I/O) configured on it.
2 a# `! L4 p& C2 m3 l4 io greater than 1, then the DB_WRITER_PROCESSES parameter will be set to 1.
5 S6 u3 O2 M$ p+ A* E! Fhabet.4 Q" b: w1 L) V$ s1 c9 s4 m
ANSWER: E 1 m$ E5 B0 [! O/ {9 [+ Y5 Z
; ]3 i. v" Q+ q+ k
25. You executed the following command on a Linux machine:
8 \: b  i+ \6 L( @" k3 B' p* i1 W$ cat /proc/slabinfo | grep kio) \9 u& [% K" C# H
kioctx 270 270 128 9 9 1 : 252 126) I. S. _! {8 _+ q
kiocb 66080 66080 96 1652 1652 1 : 252 126- i  b& R; }4 l% j" p
kiobuf 236 236 64 4 4 1 : 252 126
8 ?# q8 }9 a( i2 @9 HWhich statement describes the purpose of executing the command?9 z) s5 w& [0 r: n
A.to check the virtual memory usage in the Linux system
- s$ M! c9 _: m$ q6 i/ iB.to compare the I/O statistics of different channels in the system" g8 }- }3 \1 Y
C.to check whether the asynchronous I/O is working in the Linux system
  W( x" O& r$ s& D% D+ _D.to check whether multiple data bus adapters are being used in the Linux system! N2 K5 y4 d3 f
E.to check whether the shared memory file system is being used in the Linux system
; |) s: p0 d7 E' x$ a; S' Q7 G8 l5 iANSWER: C - C. F4 ^9 g& Q) O4 o

( L/ H3 \8 D. F& \! I8 G6 U26. 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. ! e$ e. O+ k" I6 g. B4 m  L
What would be your next step to avoid this event in future?
% w4 d6 F& d: [* c5 L* l6 G/ O6 AA.Decrease the value of the DBWR_IO_SLAVES parameter.% Q/ }- V% A) v: w. b8 S. h
B.Increase the value of the DB_WRITER_PROCESSES parameter.
9 L4 z/ X- a2 D2 ~C.Set the USE_INDIRECT_DATA_BUFFERS parameter to TRUE.
* o# j. a4 b; l9 J2 VD.Increase the value of the DB_FILE_MULTIBLOCK_READ_COUNT parameter.
/ Q" p" z/ N. e  |9 \4 B9 N, yANSWER: B
4 J; M! w/ p& n" A0 p* F' c; K( N) @$ }" v9 o- I- n" S$ c- E5 b, ]! |
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. 2 B! w. N( \" ~4 N
Which memory area is used as the communication area for I/O buffers?1 p, r2 H: \; T' _$ \' d' D
A.The java pool
6 |9 i8 |1 ]4 D, U# b! ?B.The large pool- Z. J6 I5 q$ j' O9 I! u" G8 j
C.The shared pool9 `0 j" j* m8 b# ]0 q" W, Z) S. N
D.Memory space allocated separately outside the SGA
* j, R5 Y1 d5 z) m' _ANSWER: B
( N- E7 X# R' O/ e& L: k
' P7 u0 j" D& p& T3 W; H28. 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?; Y2 r9 b% Z, D" l$ [0 I" W! a* q; y/ N
A.Setting DB_WRITER_PROCESSES to more than one reduces DBWR_IO_SLAVES to one.; ~# L) v8 O7 z8 j  {4 U) ^
B.Enabling I/O slaves forces the value of the DB_WRITER_PROCESSES parameter to be set to one.
+ q' N# q: X' R0 O+ g. p5 o% O- cC.Each DBWR process uses a single I/O slave when DB_WRITER_PROCESSES is set to more than one. ' r$ l% P' Z7 D+ _4 ^2 l9 N
D.The database performance is directly proportional to the number of I/O slaves when DB_WRITER_PROCESSES is set to more than one.
; z2 L$ \/ H2 Y9 T: F2 mANSWER: B & T9 D* g. W- |1 D& f0 M

, U" B3 Z7 h8 {+ J( j" s29. 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.
* t/ g3 }- p5 [1 v' W3 H/ w. LWhat could be the reason for this?: L/ J( x% z4 e; T6 U. B0 ^
A.The SGA has been locked into physical memory.
' u9 r- {8 J- C9 pB.Each server process that starts must access every page in SGA.
& J$ B3 c$ U9 y( fC.The session memory for the new connections is allocated from SGA.
2 P- Y, W5 ^8 OD.The SGA size is adjusted by the Automatic Shared Memory Management feature during every new connection.
& E$ h9 R6 Z6 v1 F9 P( aANSWER: B 6 Y0 n2 m8 r/ J  q) \3 G
9 Q  F. o$ B1 y( o1 ?
30. You are working on a database instance with the following requirements:' j+ t/ ]& B) `* m  h
During daytime, there is a large volume of transaction that requires a large database buffer cache.( Z% @( ~& L2 P& y
In the night, batch jobs are run. These jobs require a higher value for the large pool.
, n) ]" r2 p9 Y( l. c) bYou 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?
, e! ^$ i$ u1 |4 \$ |A.Set the PRE_PAGE_SGA initialization parameter to TRUE.- ]+ z" m3 y1 d; d" A3 {
B.Set the SGA_TARGET initialization parameter to a nonzero value., |& M' M. K% v
C.Set the DB_BLOCK_BUFFERS initialization parameter to a nonzero value.
/ G. j; L6 _+ ~6 _D.Set the USE_INDIRECT_DATA_BUFFERS initialization parameter to TRUE.
, y$ @. P4 s2 v* qANSWER: B
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享 顶 踩

本版积分规则

关闭

下沙大学生网推荐上一条 /1 下一条

快速回复 返回顶部 返回列表