下沙论坛

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

QQ登录

QQ登录

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

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

[复制链接]
头像被屏蔽

该用户从未签到

跳转到指定楼层
1
发表于 2008-12-27 13:40:16 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Oracle   10g DBA   1z0-046考题  ?! g+ f  {( f' X/ v' R
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. - U5 w' G6 W! n) z+ H9 U* D: z& g
What could be the reason for this change?# h0 K! Q; p) C, R+ t
A.The buffer busy wait event has been detected.
2 G$ n5 G4 T; d- d4 QB.The no free buffers event has been detected.
' t9 a8 m. |3 X3 g  m* PC.The log buffer space wait event has been detected.' f% J. x% t9 E" b$ r: w  L/ G
D.The log file completion wait event has been detected.
; i% I8 C& y. F' E6 `2 m; `E.The value for the free buffer inspected statistics is growing.
$ p5 `- X& h) H( e# YANSWER: C
% F- q1 x" q0 _, ?+ z( R- H! A. Q
2. ho.sh is an executable shell script. You executed the following command that leads to an error:& h( W7 O: O9 g, G# ?" d; N
$ strace -o /tmp/ho.out ./ho.sh' P' Q' X# i! q, R+ @
strace: exec: Permission denied: m5 |/ R, L. x
What could you do to execute the command successfully in the next attempt?
' o, Y1 _% c; e/ b( `) V# nA.Provide the shell reference with the command.
& ?9 k' ?% D8 ?* C2 ?' j- }/ aB.Remove the shell reference present inside the shell script.
' n) @1 M* u6 U- cC.Execute the command as the root operating system user.0 O2 i1 ?8 P* W. [( r6 c+ p
D.The extension for the output file should be changed to .log.
' c6 O. D- y7 D3 IANSWER: A 0 ~% f6 Z' S: k1 t
+ _2 x1 Z' f! i! R
3. You need to ensure that whenever you create a new file, it should have the following set of permissions:" C* N" n- ^9 S6 z# c
u=rwx,g=rx,o=rx.   R3 ]) c2 R  A
Which statement can you add to the .bashrc script to set the desired file permissions? * g6 K+ K# H, s9 X5 Z' ~2 i/ x
A.umask 455
5 g1 o" c; F0 m) X) v1 e# mB.umask 012
. o- {" W, c: _5 h; h# F4 H1 WC.umask 0755: i. Z# A! e) m3 Z  t# V2 o3 K
D.chmod u=rwx,g=rx,o=rx
. z8 n% \$ X& MANSWER: C ( h- L/ N2 m& {0 P  k

  s3 G+ S# B% _4. Which three statements are true about Oracle Clustered File System (OCFS)? (Choose three.)
  P! n5 P9 f! g6 h& g( qA.There is no limit on the number of files on OCFS.
% a1 e( ^1 e6 Q& Z4 EB.You can use OCFS for database files as well as general files.
' @1 G, s9 E- `C.You can create an OCFS using Logical Volume Manager (LVM).
' `5 p& I7 @$ [" a6 X2 D# oD.You must modify the Linux kernel parameters before mounting OCFS.
3 _, X$ P: d& ^/ ~, xE.Standard file system commands, such as mkdir, rmdir, and mv, are available on OCFS.4 T; W! z- F3 s! \% r
ANSWER: ABE # u2 Q) y0 t1 L$ C! Q2 x
- A9 U  G/ e/ S+ z8 a
5. The OS user BOB is a member the osoper OS group in the database server. You want BOB :
- E/ M8 x& C7 f* o) Q# ~* `Which of the option would fulfill the requirement?
+ j3 I' ^7 b5 z" O6 d* ~  r7 @A.Assign the sysdba privilege to BOB.6 q2 S: ]8 `1 T' D
B.Assign the osdba OS group to BOB.: F' F) S" Y9 Q6 V
C.Set the REMOTE_LOGIN_PASSWORDFILE initialization parameter to SHARED.+ }1 O" Q% q% _  o, J
D.Set the REMOTE_LOGIN_PASSWORDFILE initialization parameter to EXCLUSIVE.
, _# d, q( C: M  `ANSWER: B
7 Q+ ^. ], y! B3 u5 N' L# t5 B. v7 e/ t- G5 v. t
6. You executed the ipcs -m command to list all the shared memory segments in your Oracle server.
9 G( s7 O( E, Z9 N  I! fView the Exhibit exhibit1 that shows the output of this command.6 b* X! d6 Z! Y$ c
Later, you executed the same command to check the shared memory segments.
1 Z: I0 y) Z4 }) jView the Exhibit exhibit2 that shows the output of this command.$ i+ n! ]% y5 M6 o2 O0 @0 V3 M" m- R) E
Why is the large shared memory segment not listed in the second Exhibit?/ i3 h6 W5 N6 Z8 C- k9 Q( r
A.The Oracle database instance is shut down.5 e- m2 R! T! v/ ?: @
B.The swap space has been increased in the system.
8 E: \; f- H9 w  gC.The Oracle database instance is configured in shared server mode.0 H1 o* l0 h" q
D.The large pool size set for the Oracle database instance is reset to zero.
9 D: V4 Z& m: ?" ^ANSWER: A 0 Q5 `' m* Q% o. f( T, D

0 _# H0 A' h) r/ X7. 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. ) y5 Y; O2 O! B, C2 Q; [+ L0 O* v
Which set of commands would you use to restore the original settings?
. h$ p4 w4 B# V  c, H+ E8 RA.echo 0X1000000 > ksms.s
1 V0 S9 N* `1 L* h9 F/ _- {6 }make -f ins_rdbms.mk ksms.s% V: x6 L# T0 W) `! h
B.echo 0X15000000 > ksms.s5 C! h( G$ P) ]  H
make -f ins_rdbms.mk ioracle
9 Y" S# r+ `/ D2 C8 A% BC.make -f ins_rdbms.mk ksms.s( x" U8 K1 w0 Y1 p* a* ]
make -f ins_rdbms.mk ioracle5 m1 J2 B/ i" ?0 G8 z4 B
D.genksms > ksms.s
# A2 Q! n! D% n# D5 Tmake -f ins_rdbms.mk ksms.o
' c, o5 @! `( b5 xmake -f ins_rdbms.mk ioracle. \& b$ p* F! ^' z( g
E.genksms -s 0X10000000 > ksms.o
1 r3 c$ d# B/ r9 G% @$ B/ ?ANSWER: D
1 Y5 W" X! I3 P. s' J1 V9 S
; S5 V, u- ?7 t- j5 F4 x3 _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?
8 k# e8 g2 Q4 \A.uname -r: K/ A) v4 |/ u' @
B.uname -v& y$ L$ u. ^, s% R, y
C.cat /proc/version: i1 A$ x9 {7 I
D.cat /proc/sys/kernel/tainted
7 d7 q. x' K( d/ ~0 C" ^6 Q  sANSWER: D
$ {+ E2 ~$ v, @& l6 c" M1 h3 [! ]9 c! W$ b4 R" O( l* Q2 o
9. Examine the content of the /proc/sys/kernel/tainted file on your Linux machine:
1 R2 P# k! E0 K9 _8 S" J[root@edtdr6p1 root]# cat /proc/sys/kernel/tainted% R$ ~8 |& T( D" p: }8 A1 `% y
1
3 J9 A7 y2 w. B* O% ^2 WWhat will happen when you install Oracle Database 10g on this machine?
& ^  c- j  y/ _( X# ^+ G; xA.Installation will fail because of the tainted kernel.$ M) I/ K6 q" y3 G# _3 d6 N
B.Installation will be successful, but Oracle will not provide support for the database product.  Y5 V  y2 R1 h0 c7 l7 g# b
C.Installation will be successful. Oracle will provide support for the database product but not for the operating system (OS).# L; T2 p5 h: f0 ^
D.Installation will be successful and Oracle will provide support for the database product as well as the OS.1 q' I8 R7 _% l; {! a. N
E.Successful installation and Oracle support for database product as well as Linux OS will depend on the module tainting the kernel." E+ R* B5 B- @4 G$ a( h2 T, h5 W
ANSWER: E 0 z3 d: Q6 ?1 e) @, o. b
) ~6 i6 W( x( A8 y* K: E9 S2 I: W
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 o8 t$ C$ `9 E8 |
[root@edtdr6p1 root]# cat /proc/sys/kernel/tainted
4 \- T0 x* U$ Z) E2 f# S' v1! z! }! o7 g3 b
What do you infer from the output? (Choose all that apply.)8 F0 ]$ O. H5 e% k1 ]8 ~
A.A proprietary module has been loaded.
8 H+ U" D4 j7 Y$ l/ iB.A module is marked unsupported by the vendor.
9 \6 e" b+ G* R( f# ~; I2 ^C.All the loaded modules have General Public License (GPL).. B+ r# E$ j" \, A$ p4 f8 r" M
D.A module was force-loaded by using the insmod -f command.
% x: N7 E0 R1 z' QANSWER: AD ( w. E6 N' @+ }$ B% A) C/ p
- D3 F: D# a) S8 W! t$ @# B3 s
11. Which command is used to identify the kernel version number?/ w1 A( R5 D, C0 `; ~0 W* X8 r
A.which
) B, G0 \' B( ~$ z) c1 vB.whatis
% O4 \& G  b, r6 hC.uname -r
* i" o: y8 q; N2 R/ aD.ulimit -m/ C; W6 Q4 y+ D5 a1 ]7 o
E.chkconfig
- Q3 C9 R' p+ n# a* W# ]- P- VANSWER: C 2 g% h# _( L. R: Z: ~% I

3 r( p2 B7 d% _* I! L3 F12. Match the following commands with the purpose they are used for:! m& x4 V2 `1 g3 y6 g
I chmod a) To create a file with the desired time stamp
! M% E$ K; e* W0 U6 ^ii touch b) To use the variable of the parent shell in child shell/ m: y0 |1 E, v7 _) B1 o% K
iii alias c) To give write permission to a directory% n! V) C$ I! L5 \. C1 i
iv uname d) To simplify long commands2 v, E7 s7 h+ J: G6 h1 f1 G5 S
v export e) To see the Linux release number3 N; L/ k9 E5 u; j: y' c7 f
A.i-a, ii-e, iii-d, iv-c, v-b# U- K' c9 x; \* @
B.i-c, ii-a, iii-e, iv-d, v-b" }( p) b/ g6 z. E$ J4 [2 ?
C.i-c, ii-e, iii-b, iv-a, v-b
9 Z8 w& E9 i( sD.i-c, ii-a, iii-d, iv-e, v-b
* g6 v/ {. r; j0 K) ^5 E2 UANSWER: D , |% K! ^' D% R- m# D! W
7 N* n. w0 A0 ?9 x- |
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.)' m) S/ o2 w  B; y" d; j
A.id# I+ C1 H" `' P( R
B.uname -G
/ d/ f  j1 _" x  C3 NC.cat /etc/passwd
" m$ z& l( G# ^) W7 S5 iD.cat /etc/group1 Q0 f, i3 m, P1 m. B* f
E.cat .bash_profile
! [& ?" m& @6 P" c0 L% H6 g% ]+ VANSWER: AD
# j$ x$ z2 b/ X+ d4 l# u* A1 X0 _: c
14. View the Exhibit.
" ?4 D2 B& W$ G% N, }2 ?- WWhich two statements are true about the output of the cat /proc/partitions command? (Choose two.)0 M& o2 i5 I) {% f
A.The hard disk has four partitions.
' \. X% k+ C! C6 h+ ?1 hB.The hard disk has six partitions.! ~) _2 n+ p( X6 h; |
C.The swap partition is not shown in the output. * K2 E' c# q  a$ W; w
D.The major column shows the device number with partitions.
/ ]' Z1 |) W3 h9 _E.The #blocks column shows the number of inode blocks in that partition.+ |# F2 X# C* `3 b' F" \+ d' u

5 g7 r: _, D: p0 K6 j3 fANSWER: AD
# W+ d/ v7 ~5 m7 m8 U: E' A4 F- g8 f' l$ z: Y7 {  g) |
15. Which command would you use to identify the users that belong to the oradba group?, Z, j6 v, c7 c  U0 n+ T
A.id -G
  B8 @  m4 U0 \4 O! G: A# b" eB.uname -g
/ F2 i1 F: p0 z# {, T3 T$ s0 o- uC.grep ^oradba: /etc/passwd
% p, X4 |- r8 Y7 x* ^) [- J( ~3 l7 AD.grep ^oradba: /etc/group
/ f$ z) \6 ]7 N0 J  Y7 `* MANSWER: D
5 Q; R2 L$ s6 |( U* f: @$ e) B5 i2 s# J. ]; d
16. View the Exhibit and examine the output.
; E, ]! O) J1 C) M: TWhat do you infer from this? (Choose all that apply.), z0 _' Y+ ~  r! Z& p
A.The command output is stored in the pmon.txt file.: T! G- ?! Q! i6 `/ a  f
B.The command shows all the processes running on the machine.  n9 f( C& c/ g0 `: q+ q
C.The command appends the pmon.txt file with the output of the command.% Y7 K+ _* C! ]& y
D.The command shows only those processes that contain the text _pmon running on your machine.2 T0 p: ]8 S: R* f3 C
E.The logs generated while executing the command will be stored in the pmon.txt file.
# }6 l1 A& r% `+ P1 R; H0 l* Z# z  o) z: P
ANSWER: AD
1 ^' ]- A( g  P6 K0 E
7 p2 `! A; ]' M$ w17. View the following script:
9 F: `0 V; X2 o1 i3 f1 W  T9 Mif [ -r /etc/oratab ]
8 Y: w& p. v4 ~then
4 w2 d( G) ~' m- W: x1 wORATAB=/etc/oratab
$ s6 i4 d5 v1 X8 ]& {. lelse
" U0 h* ?0 t: B, }' ~# Jif [ -r /var/opt/oracle/oratab ]- i0 a0 j3 \: f  ~2 R' U# f
then
4 |  e- L3 A1 D8 ]& C: Y; S8 n  XORATAB=/var/opt/oracle/oratab. F" N. l& b9 a( G' o
else) V& [4 V) g9 A3 k+ U
echo "Can't find any oratab file"
8 Q' [0 [1 K+ g( o! {+ M0 o+ S+ f0 y1 Fexit 15 F- h! p* w) N4 W- ]
fi- _7 l9 h/ e/ H8 D! n& q
fi/ G2 ]% e, ^2 f" I: h, K4 _
grep -v [\#\*] $ORATAB | cut -d ":" -f1% E" `; l7 k* o8 O7 h  }
Which statement is true about the execution and output of the script?
% x/ E! N- {6 ~# ?! KA.It will execute only in the /etc/oratab directory.
/ j3 t( T% R: f3 GB.It will show all the Oracle homes listed in the oratab file on the local machine.$ C3 w( l' [; M/ w4 g4 {0 G* y
C.It will show all Oracle database SIDs listed in the oratab file on the local machine.
% w% l! t  k, xD.The script output will depend on the command-line arguments passed while executing the script.4 D. N+ @* k% G3 e- n7 O4 d5 t" Z
ANSWER: C - B1 w! l! B  L0 r8 T. [
$ [8 H& P* H7 ^! l0 i! L  p. H" Z$ F
18. Which three statements are true about the built-in shell variables? (Choose three.)# s6 Z, G) l- s, L, J
A.The $? Variable stores true and false values.1 H  T- j" q* v/ Q4 l  L4 P
B.The $* variable stores all the command-line parameters passed.2 B: `, x0 ]) E7 P- D2 z
C.The $# variable stores the total number of command-line parameters.
, X$ V9 i8 G4 q8 GD.The values for these variables are retained in the session until it is reset.
. l# l( B4 |/ k7 Q9 c7 P$ }E.The $n variable can store n number of positional command-line parameters.7 e8 P( ?8 ^, Z* Z' ^' f
ANSWER: BCE
% O9 }% |  X" P9 ^$ }0 v# w( k; n
19. View the following script:
2 O/ o8 R, `4 Q& G& Tif [ -d $1 ]3 ]& ~! K' f8 ]% T6 j
then. O: P6 p  @) t$ q
for Data in `ls $1 *|tr -s " "| grep .dbf`7 A, \9 d6 H9 P
do
  K: `& ?! V2 h+ ?- \echo $Data; |. b* o& o$ N" F
done
3 w1 B: V7 V: Q! Oelse$ r5 _" r. C8 i, Z
echo -e "No Directory specified"
/ o5 d" J" F; _5 Qfi. I5 X. v" v) ^( i' |. S: P3 v4 M' b
Which statement is true about the script?
+ X1 |. c1 X; i4 FA.The script displays the total number of .dbf files on the local machine.5 }" V" N: V; g% ?8 Q. Y  n
B.The script will not execute because no value for the $1 variable is given.9 V6 T) \0 V" o1 L7 C5 @
C.The script displays the .dbf files in the location given as a value in the positional parameter.4 \3 w3 r9 M1 I: n  R3 v1 W6 _- k
D.The script will give an error because the variable name should contain the letters of the English alphabet.! J1 s# W( u7 s) s; {
ANSWER: C
+ ~' i2 }  s7 S: i5 z( g% g' V. h2 s; u2 Z$ s( G
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.)
! V( E; ~3 h6 Z' N$ g: fA.The DISK_ASYNCH_IO initialization parameter will be set to True.
% P" m9 o! K5 v/ R: V8 CB.The TAPE_ASYNCH_IO initialization parameter will be set to True.
( _8 q. z6 s1 d! ]C.The database instance will simulate asynchronous input/output (I/O).6 i+ H0 J$ h* w: b0 n
D.Oracle server will update the value for the DB_CACHE_SIZE initialization parameter as per the system requirement.
7 p, K5 V! K* W* Y# X" L" AE.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. : }  @& M3 W& C( |% j9 H$ L' U6 p
habet.
2 H- I' H0 ^, O0 ?& FANSWER: CE # G# X* b; Z% h. {2 T# c# g+ X

4 T8 L9 ]: [4 S2 w7 X. h' X  T: b21. Which two statements are correct about the DB_WRITER_PROCESSES initialization parameter? (Choose two.)
) q# l5 k! q: @* d: B0 E1 ^+ H% eA.The default value for DB_WRITER_PROCESSES is (CPU_COUNT+7)/8.3 W% Y+ w# m3 s3 r7 x2 g
B.You set DB_WRITER_PROCESSES to greater than one to simulate asynchronous input/output (I/O).
! R2 `  D/ Y1 ?+ _% UC.You cannot set DB_WRITER_PROCESSES to greater than one if asynchronous I/O is enabled for the Oracle server.
1 r  N4 g, u8 h6 Y- OD.You cannot set DB_WRITER_PROCESSES to greater than one if the DBWR_IO_SLAVES initialization parameter is set to greater than zero.
/ Y2 @: }; p. A7 ?% Z" w: M% XE.You must set an appropriate value for the LOG_PARALLELISM initialization parameter before modifying the default value for DB_WRITER_PROCESSES.
  B& N1 D! f% c8 G  qANSWER: AD
) E! y# B+ c( K4 B6 Z" y# @: n- s; f7 j; i
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.)0 u, |. Q  d' L% W6 i$ o( g! J" w
A.The startup process will take more time.
- g. L1 `' ^0 N' }+ RB.The value for DB_BLOCK_LRU_LATCHES will be set to 4.3 d( q4 E$ ^( o2 ~
C.The database instance cannot use multiple DBWR processes.
% w. {3 @0 [7 |8 mD.The database instance will simulate synchronous input/output (I/O).: ~& q& Z8 ?7 g' }
E.Each Oracle server process will read the entire System Global Area (SGA) to physical memory at session startup.$ L7 H6 X8 B8 ~# ?
ANSWER: AE
: n$ I; G. g6 H% x1 L' X* I% J, ?6 o/ v
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.8 c7 v7 S/ E# G$ f4 ^8 Z" Y2 y
What would you do to avoid the wait event in the new database?
+ Z) H7 Z/ |5 n, W: ]A.Consider setting a larger value for DB_BLOCK_SIZE for the database.
* l6 Y6 }9 k, `3 k3 I& P. DB.Consider setting a smaller value for DB_BLOCK_SIZE for the database.' ]- i1 n$ `) n$ O  f9 F* A
C.Consider setting a larger value for the DB_CACHE_SIZE parameter for the database.
% W" z6 i. U6 T, T# N% Z% rD.Consider using the DB_BLOCK_BUFFERS parameter instead of the DB_CACHE_SIZE parameter for the database.
$ r/ `1 A7 P# w; }+ u9 JANSWER: B
4 ^& [5 g7 R0 ^1 B% ]0 S- X+ _, Q% F
24. You executed the following command:
  h3 V3 B" S0 [5 ]3 a3 qcat /proc/slabinfo | grep kio , n! m9 j  W4 A: G, i
You received the following output: " L. x5 {. I& W8 @' K! E
kioctx 270 270 128 9 9 1
: S3 Y% l# U$ H3 p, skiocb 66080 66080 96 1652 1652 1 5 L  A( B. C. v  ~) D
kiobuf 236 236 64 4 4 1 1 P- _4 S8 c5 @) L8 V. l- L
What do you infer from the output?
7 F0 U# }8 N2 M8 Z; k6 }A.There are no inactive pages.
/ O' e+ D1 ~% b" Z- NB.The disk activity needs to be tuned.  h# \7 ]  [% f
C.There are waits for the buffer cache.
. F' ~* f$ m( W) r, cD.The value for the shmmax parameter needs to be increased.
3 M# r! |, h+ [' R1 |4 q, ]; bE.The Linux system has asynchronous input/output (I/O) configured on it.8 b6 c# G( l  Q; ^( H& Z8 E6 g
o greater than 1, then the DB_WRITER_PROCESSES parameter will be set to 1.
) x4 d, |7 j2 v" g- |9 r! ?. nhabet.( T) i& _  Y  L& p' ^* M3 F
ANSWER: E
+ o/ d& U6 d" N4 W- Q9 H/ m5 U# D" g/ l; R- z( z% \
25. You executed the following command on a Linux machine:. S. A9 l. A. ?) w3 W, ]
$ cat /proc/slabinfo | grep kio
( C# ]; y; z+ m( U3 O% Dkioctx 270 270 128 9 9 1 : 252 126& n, `  Z& ~, R" Z
kiocb 66080 66080 96 1652 1652 1 : 252 126( }  n/ ]/ z- O* \7 |8 S: r6 c
kiobuf 236 236 64 4 4 1 : 252 126# X" m. {( A2 o+ R
Which statement describes the purpose of executing the command?
' Z7 C( b% N) @! d4 O2 |4 oA.to check the virtual memory usage in the Linux system
9 e; }+ C- \! L7 y2 |: }B.to compare the I/O statistics of different channels in the system
+ \9 r9 Z6 A8 D* AC.to check whether the asynchronous I/O is working in the Linux system9 c( Z5 ]  o" }
D.to check whether multiple data bus adapters are being used in the Linux system3 N$ i: A* v% b8 n6 m& S) z% D  H& L
E.to check whether the shared memory file system is being used in the Linux system
7 o$ r% }: F; y2 U1 T+ nANSWER: C : y% X* ?3 m3 I8 u& u
/ A- `! |! n  X6 w: s
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.
6 d5 h+ |& o9 O: o, dWhat would be your next step to avoid this event in future?8 {1 g6 Q8 r3 D* b# J! \1 k
A.Decrease the value of the DBWR_IO_SLAVES parameter.& ]  R/ H" Y( F( Q+ @9 L
B.Increase the value of the DB_WRITER_PROCESSES parameter.0 M, j. O& E1 \3 S# b/ C" H
C.Set the USE_INDIRECT_DATA_BUFFERS parameter to TRUE.
: D( _# E$ t% m% AD.Increase the value of the DB_FILE_MULTIBLOCK_READ_COUNT parameter.
* k; h! h& K7 e! K  RANSWER: B " R: z0 B' T' v$ j- d6 @! a7 G
( q! v+ U7 Z9 o! }+ O$ q
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. / D' D3 [& o- o7 ]4 i* u
Which memory area is used as the communication area for I/O buffers?
8 C' m' x+ |$ x2 R$ tA.The java pool+ o. ]  g5 E+ V, j$ m; G: v: c
B.The large pool
/ j+ O. y/ h9 Q9 CC.The shared pool
( D+ ?# R4 E3 y+ u* QD.Memory space allocated separately outside the SGA9 [- _- ~9 j) h+ I- F3 {; d
ANSWER: B ' D9 U7 F6 o& N" O9 o

) C, }9 Z) S# y& b# @# i# 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?
, G, \5 Y$ F2 Q  B5 ^A.Setting DB_WRITER_PROCESSES to more than one reduces DBWR_IO_SLAVES to one.4 R1 ^+ m$ f, r$ v& A& A# c
B.Enabling I/O slaves forces the value of the DB_WRITER_PROCESSES parameter to be set to one.
3 _  a5 p! R' rC.Each DBWR process uses a single I/O slave when DB_WRITER_PROCESSES is set to more than one. 8 x- M% f# L2 L3 M$ R3 M/ 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.
' N8 P. y& Y' A- d- [7 I" fANSWER: B
# a7 f8 t! o# e9 R& @* B: D  \$ E1 _8 F% ^# @3 U
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.
2 D. f" T! ~; M; R0 _# m& {What could be the reason for this?, n5 d* m8 L" Y3 @" C
A.The SGA has been locked into physical memory.
" X: u1 ]/ l9 a% W# aB.Each server process that starts must access every page in SGA.
6 K/ `+ a$ X: D% W) E. r* aC.The session memory for the new connections is allocated from SGA. * s- i$ K! P) g& u
D.The SGA size is adjusted by the Automatic Shared Memory Management feature during every new connection.
" j1 k9 o! Q0 b2 {! d. W6 QANSWER: B ) f4 W+ ?; Q1 h* W% ?
2 C) z$ Q7 T6 y* X3 @8 ?4 ^$ l$ k
30. You are working on a database instance with the following requirements:
, ^  v6 Z7 a' ~$ r4 {During daytime, there is a large volume of transaction that requires a large database buffer cache.
0 l' M7 I3 i# c# S/ ?3 zIn the night, batch jobs are run. These jobs require a higher value for the large pool.6 o" K6 k! t/ U) o2 R+ _4 z
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?& B) W  i2 h" N  e
A.Set the PRE_PAGE_SGA initialization parameter to TRUE.
, U( M4 ^3 J* DB.Set the SGA_TARGET initialization parameter to a nonzero value.  W8 L+ B1 @: L' _* x0 i3 a
C.Set the DB_BLOCK_BUFFERS initialization parameter to a nonzero value.! t9 y4 R  M, S" r( H: B6 \+ |
D.Set the USE_INDIRECT_DATA_BUFFERS initialization parameter to TRUE.
0 [; l: T% w' W/ g) `4 g) gANSWER: B
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享 顶 踩

本版积分规则

关闭

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

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