下沙论坛

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

QQ登录

QQ登录

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

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

[复制链接]
头像被屏蔽

该用户从未签到

跳转到指定楼层
1
发表于 2008-12-27 13:40:16 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Oracle   10g DBA   1z0-046考题7 W, l2 P6 r9 J- T" Q" Z$ {& r$ I  C
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.
2 d) M; g* @9 C; hWhat could be the reason for this change?+ v! M* Y/ ]+ X
A.The buffer busy wait event has been detected.0 V$ \  `7 E! L8 x0 E
B.The no free buffers event has been detected.
% f& Q, h  w) x, r2 r$ P0 FC.The log buffer space wait event has been detected.
  |. k0 T3 C- Z5 Z, yD.The log file completion wait event has been detected.+ g" B" e# Y4 k; R) }
E.The value for the free buffer inspected statistics is growing.
. [$ ]7 p6 p+ F$ x) \, w& I/ S" sANSWER: C
1 R/ u' b5 H6 y; \* \: d) _2 X
6 C" m/ I: H; Q" y2. ho.sh is an executable shell script. You executed the following command that leads to an error:$ q0 |& I4 n, h
$ strace -o /tmp/ho.out ./ho.sh
: s+ U- t# R& }5 t! b1 ^strace: exec: Permission denied$ x% c. o8 e. }* }# F
What could you do to execute the command successfully in the next attempt?" x; z4 d) k3 O: ]1 |7 a8 V9 f
A.Provide the shell reference with the command.
8 f% j9 V7 W2 l: NB.Remove the shell reference present inside the shell script.
4 p9 B# N) @5 ~/ N% zC.Execute the command as the root operating system user.
- D% B$ {4 W* W; a9 fD.The extension for the output file should be changed to .log.& p. H7 g2 F# H- P
ANSWER: A
$ L. V, r8 [# f: {/ G$ Z- P! {9 U
3. You need to ensure that whenever you create a new file, it should have the following set of permissions:, {" v4 U$ y  v6 @- k1 ~) K
u=rwx,g=rx,o=rx. ! K( @5 a/ c* C- Q/ O
Which statement can you add to the .bashrc script to set the desired file permissions?
3 a5 j4 H6 _9 l& T4 pA.umask 455( |" y1 w) N* L* M1 ~- w  \, V
B.umask 012
( x. ^' z" C) ]* L" }8 H; zC.umask 0755
  Z. C) o: J- I: v, Y7 _; {6 uD.chmod u=rwx,g=rx,o=rx1 {( E' y' r+ K8 M+ \" l- }
ANSWER: C 6 }& [2 W& u2 V& V# I/ }, h: i- D/ U

% |! m8 n' F! u4 m0 q! C) O4. Which three statements are true about Oracle Clustered File System (OCFS)? (Choose three.)4 S- ^6 W% t% g2 d5 o
A.There is no limit on the number of files on OCFS.3 U, a) Z5 W3 Q. h* I+ m0 B" y
B.You can use OCFS for database files as well as general files.
/ p6 V, `3 k. V+ nC.You can create an OCFS using Logical Volume Manager (LVM).
: ^8 Q8 {9 |. B5 PD.You must modify the Linux kernel parameters before mounting OCFS., j+ X; N: o! X! {6 H5 P
E.Standard file system commands, such as mkdir, rmdir, and mv, are available on OCFS.
5 s; t0 c2 T: J  E7 nANSWER: ABE 5 L: w% G" Z) R' D

! b; }. ?9 S, S" L5. The OS user BOB is a member the osoper OS group in the database server. You want BOB :
  Z/ l2 {) v" k4 S. n" Q9 y2 e( r9 Y; RWhich of the option would fulfill the requirement? , ]2 f6 o( u( ?; W1 Y
A.Assign the sysdba privilege to BOB.
- Z4 q  ?$ v- T$ ~4 x/ X0 UB.Assign the osdba OS group to BOB.
& w( {  l8 F' wC.Set the REMOTE_LOGIN_PASSWORDFILE initialization parameter to SHARED.
, ^5 }1 p/ g6 A* [: fD.Set the REMOTE_LOGIN_PASSWORDFILE initialization parameter to EXCLUSIVE.
# P6 r8 E6 @, v1 Q3 O2 QANSWER: B
+ k3 d9 J3 \+ w% V  v3 q9 h) J
+ d& W! w; |, \# f8 W! W9 V" P6. You executed the ipcs -m command to list all the shared memory segments in your Oracle server.9 i7 e: d( U5 Q8 I  P1 e  d
View the Exhibit exhibit1 that shows the output of this command.
/ Z: O3 n, e/ K  jLater, you executed the same command to check the shared memory segments.
$ M- B" U( k2 Q% C5 ^View the Exhibit exhibit2 that shows the output of this command.! z% c& o. q/ z7 D
Why is the large shared memory segment not listed in the second Exhibit?
2 V3 L% f; O# P# n7 N0 eA.The Oracle database instance is shut down.
# [3 E9 @+ X$ gB.The swap space has been increased in the system.! z. V8 ]3 D% J* z- s; ^  Y. ]. L
C.The Oracle database instance is configured in shared server mode.% D0 p+ G* a4 h9 ?& c9 E
D.The large pool size set for the Oracle database instance is reset to zero.
+ |# t1 j* z; @9 x3 mANSWER: A
) `! }3 K" M$ Q$ G! i5 ^7 v* c4 f0 l- ~
7. 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/ y9 v0 l+ H- v4 L. U
Which set of commands would you use to restore the original settings?3 ~2 K; q3 I$ q2 a
A.echo 0X1000000 > ksms.s
1 T, M! M2 R( o7 F* D+ ]3 q5 r; `make -f ins_rdbms.mk ksms.s
" I" O5 E2 M/ H; v) hB.echo 0X15000000 > ksms.s
# j2 ~7 w4 ]5 u1 [" q! {9 N% P1 y# `make -f ins_rdbms.mk ioracle
: C- f# F) m. |) TC.make -f ins_rdbms.mk ksms.s
# P9 |- \% O# G4 B  hmake -f ins_rdbms.mk ioracle
; r" @% O0 l' D3 O& sD.genksms > ksms.s
+ w: a0 b- ?- r- Zmake -f ins_rdbms.mk ksms.o
4 ]4 Y# H( c! w3 I4 Dmake -f ins_rdbms.mk ioracle8 @" ?* }# ~( T' S
E.genksms -s 0X10000000 > ksms.o* b' R2 S5 G) w9 }9 ]! U& {
ANSWER: D
2 x' l; v& C6 |  ^5 H" [; d
5 W; \, w4 H4 m- ~" w# W8. 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?
! N8 o! j* r; A3 \# k# k  q5 Z  u# p% }4 VA.uname -r+ H' @4 A7 N. p, h
B.uname -v
) D; _4 u0 l# W- d. [6 }  u% aC.cat /proc/version
5 l) _" v' c5 V$ y3 P. sD.cat /proc/sys/kernel/tainted2 K) S2 N' q$ {6 h% F' Z; X7 l
ANSWER: D ! A  }' Z% ?6 S: U! f  e

0 U" l6 Y" v* h8 b- k* `4 G' {! \- B9. Examine the content of the /proc/sys/kernel/tainted file on your Linux machine:% Q5 P, |: k5 ?  c1 N& S4 g- \
[root@edtdr6p1 root]# cat /proc/sys/kernel/tainted
/ q7 z$ v: G. v  C, U1( O8 ?' j+ N) X1 K  P
What will happen when you install Oracle Database 10g on this machine?
* x7 J. x+ ^2 m9 I3 N8 TA.Installation will fail because of the tainted kernel.
0 D9 W7 x/ z+ H* DB.Installation will be successful, but Oracle will not provide support for the database product.
, I0 N- z/ o% [" ?4 l" PC.Installation will be successful. Oracle will provide support for the database product but not for the operating system (OS).  y: _6 o9 E, A& d
D.Installation will be successful and Oracle will provide support for the database product as well as the OS.3 E0 }" n+ K0 k' ~2 S% R7 ]% F' e
E.Successful installation and Oracle support for database product as well as Linux OS will depend on the module tainting the kernel.
+ F5 f/ J) s+ s) Y$ r" ?ANSWER: E 1 d0 i# W$ M! K. H* P0 s

4 Z9 y6 _8 f+ D6 I10. 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:% E. Q  ~- h, T3 W+ R
[root@edtdr6p1 root]# cat /proc/sys/kernel/tainted6 ?" y$ u2 L% s1 C
1- ^, m9 Y- {: [" l( ?1 D( k- b/ p
What do you infer from the output? (Choose all that apply.)
. Q* }1 |! u0 |* d- D( bA.A proprietary module has been loaded.( b7 j% B7 h" w( P) F; {; V/ k
B.A module is marked unsupported by the vendor.
" b5 }  w' ~$ {* c& Q% |! L" |; hC.All the loaded modules have General Public License (GPL).
; r9 p- r7 c- K1 oD.A module was force-loaded by using the insmod -f command.5 M; {5 n, C6 T  O& P# _$ O
ANSWER: AD   w. o& M. v5 ?
! R* _+ D, |8 S) D  U
11. Which command is used to identify the kernel version number?
' r3 v3 N! O# v0 U" UA.which1 x  y  h6 r3 K$ ~4 M
B.whatis
& }3 M9 v& x2 i" ?2 C+ q& DC.uname -r+ i, B: r& z+ Y8 R) [2 o
D.ulimit -m
' t1 b5 R4 N5 F) d. zE.chkconfig6 L! l+ i+ Z& t# d. A
ANSWER: C - ^' l5 d  ]( _: f& E
  z' x; E1 X# z7 C
12. Match the following commands with the purpose they are used for:
# U' ]1 h0 F, f1 r: t1 I8 oI chmod a) To create a file with the desired time stamp
8 z: d) D, q6 f# t  r6 tii touch b) To use the variable of the parent shell in child shell
# {2 h$ x+ [$ f9 q! K1 x+ {iii alias c) To give write permission to a directory. P. J* M6 l! l8 e7 r. E6 U7 r
iv uname d) To simplify long commands
# Q5 f" p, V4 Lv export e) To see the Linux release number
2 I% M7 v+ k" c5 Y0 ^5 ?: s& GA.i-a, ii-e, iii-d, iv-c, v-b! S/ l7 f0 q+ \) L8 L* @, j7 y
B.i-c, ii-a, iii-e, iv-d, v-b
8 [& D2 \, u! n, d, C+ Q3 jC.i-c, ii-e, iii-b, iv-a, v-b
2 }# T+ S# D; n% N" b# oD.i-c, ii-a, iii-d, iv-e, v-b9 [/ C( ^/ r4 P, c
ANSWER: D
! J# W6 I) _) g* ]. o, W+ K$ n7 D* }2 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.)
8 S$ C9 h( x; D' _% c# [3 ?. tA.id2 P( S- R. S5 i# a2 q) @/ m, E. d
B.uname -G4 h3 R' t) j8 h3 b# _
C.cat /etc/passwd
  F) y1 u- \+ F9 g; j9 v6 _D.cat /etc/group
' c. n! s5 W* V$ m) w8 EE.cat .bash_profile
1 R9 r5 ~2 }! A' ]( lANSWER: AD
- u( P8 w$ ?$ ?5 |: f, ?
1 Z' ]# A0 ]* `# K14. View the Exhibit.! ~8 a* J8 k: m# ~
Which two statements are true about the output of the cat /proc/partitions command? (Choose two.)
1 w( ?: T9 J! `+ OA.The hard disk has four partitions.- p( [1 x$ W5 Y, N# F% @
B.The hard disk has six partitions.
' N+ L2 L* w1 ~9 TC.The swap partition is not shown in the output. - A5 L+ i% A* `
D.The major column shows the device number with partitions.$ z6 o0 @: |0 o6 E# M
E.The #blocks column shows the number of inode blocks in that partition.) O, u% ?3 T# ?. E0 o$ |5 W

  v$ F$ W+ J' a$ \7 r5 n7 S8 _3 o4 GANSWER: AD $ g+ g; ^3 k6 E$ W7 A6 D2 D$ j" l

' y: z, [# l  C6 f! x' z5 @15. Which command would you use to identify the users that belong to the oradba group?2 h% g* Z- G6 |, ^3 E
A.id -G
( E' j* q6 h( r. T' Q/ q. NB.uname -g
5 _+ E! |3 Q5 f! [" N( SC.grep ^oradba: /etc/passwd
! q4 ^9 X1 N" W& Z2 M( T7 [D.grep ^oradba: /etc/group" g: s5 H+ g# K  D- P
ANSWER: D
* P* E! O/ C* ~+ L: B- U% `) D. G: M+ |  b% j
16. View the Exhibit and examine the output.
9 v2 Z2 O. y! W' K* N: T# [# }What do you infer from this? (Choose all that apply.)
/ G$ _! `# w+ {# D" Z& QA.The command output is stored in the pmon.txt file.
3 O0 b* n9 g) U% D; U6 I& QB.The command shows all the processes running on the machine.! n* ^" F; M& _0 O
C.The command appends the pmon.txt file with the output of the command.
! _! t0 m$ T/ v4 j/ lD.The command shows only those processes that contain the text _pmon running on your machine.7 Y; |; z8 n) a" a1 Q
E.The logs generated while executing the command will be stored in the pmon.txt file.
4 K/ d0 \2 v, R; L1 X$ x
" Q1 a% ]/ k/ f* NANSWER: AD ) V$ Q" }- w- f: A1 u) x# K0 t

# e1 B3 R" d' X. c; ^8 i* n" ?' N17. View the following script:
" \2 p9 R& X- Z2 _8 b5 ?$ Uif [ -r /etc/oratab ]- T' R5 ]) G- I0 p; p
then% p5 }, w5 s( B4 C. {1 P- E
ORATAB=/etc/oratab
0 z6 L0 V; w. z* [2 R/ F6 k- T& J5 \else, L# Q0 Q5 B% I1 H- I
if [ -r /var/opt/oracle/oratab ]! M* F, U$ o9 Y. D
then
8 r) \6 H) K( p4 n  I7 l1 D5 oORATAB=/var/opt/oracle/oratab* N6 s* J# L% o0 a5 ~
else
2 W! z6 I' z) G4 C1 I; o/ ]echo "Can't find any oratab file"( U" ?. v3 H) I7 w' H$ a( M
exit 1; S! ?8 l0 a6 T) Y2 [
fi3 K4 T8 f: c) z
fi
0 j* Y  E# x! D4 w+ \grep -v [\#\*] $ORATAB | cut -d ":" -f1
$ n5 C7 {4 t) ^% s) n4 g& IWhich statement is true about the execution and output of the script?1 s: R8 |( N. H9 Q
A.It will execute only in the /etc/oratab directory.0 I- H- u# b: @9 Y' W
B.It will show all the Oracle homes listed in the oratab file on the local machine.
8 ^% p$ o; B; Z1 @& n# m$ G1 c& L' [0 FC.It will show all Oracle database SIDs listed in the oratab file on the local machine.
& A( P% h, E- c( C2 `7 y9 C5 X, f% KD.The script output will depend on the command-line arguments passed while executing the script.6 v2 d& ?+ [4 [& Y: `
ANSWER: C
- @' k1 _  p1 U. [- i9 D8 |' q6 t" }/ t' e4 n* k: @
18. Which three statements are true about the built-in shell variables? (Choose three.)
+ k; }4 L& E" M6 w% m: HA.The $? Variable stores true and false values./ v- A! k% x* S. D4 Y7 Y, o2 P
B.The $* variable stores all the command-line parameters passed.
  K: J0 V  n, y# c' pC.The $# variable stores the total number of command-line parameters.
" f4 I. V5 u' }$ K% T3 _4 t) KD.The values for these variables are retained in the session until it is reset.
) d* [8 }; R; KE.The $n variable can store n number of positional command-line parameters.& V+ z& `- V8 \
ANSWER: BCE
, x+ c" S& S( v  Q  c6 T/ n8 i* r# P
19. View the following script:6 ]4 w% G3 j; Z* u0 v) S3 A
if [ -d $1 ]
- m. K2 Q7 t% a4 d& Wthen
" ?% [3 Q3 C$ W3 T0 M, R* m4 v6 qfor Data in `ls $1 *|tr -s " "| grep .dbf`
! i. q% H# N" I" n/ s. V% o3 ido
5 ]! g" _* Y* Z% }: y! ^$ g( jecho $Data& n7 ]% E$ J) I8 Z# O
done3 A$ U; M9 P. @3 G. Z$ i
else8 v8 f' }7 ?" D: d- j, `3 \
echo -e "No Directory specified"
! U  z' V# Y# `+ x, Nfi1 w1 e. t) @( r5 e/ _! i( {$ }2 L  p
Which statement is true about the script?) B5 s" f, u4 z3 K7 }0 ]
A.The script displays the total number of .dbf files on the local machine.
4 g$ f8 c" j. [, c6 K9 uB.The script will not execute because no value for the $1 variable is given.3 u# p5 u* e0 T' o
C.The script displays the .dbf files in the location given as a value in the positional parameter.
# A; ]- d4 L6 g9 HD.The script will give an error because the variable name should contain the letters of the English alphabet.5 `+ e* A( j& K* a1 x
ANSWER: C % g& |' p: A" n" j' {9 X) ?: w

8 }4 ^* {7 k$ \5 H' b9 i20. 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.)
% O5 G; p+ \, o; D! EA.The DISK_ASYNCH_IO initialization parameter will be set to True.
" \6 y1 [& B2 d9 i  Y0 i; BB.The TAPE_ASYNCH_IO initialization parameter will be set to True.
* X4 |0 [9 X  ?( i- M1 b1 V) VC.The database instance will simulate asynchronous input/output (I/O).
) O- P9 i1 k' K2 n. s. w' mD.Oracle server will update the value for the DB_CACHE_SIZE initialization parameter as per the system requirement., T9 E, T. R& N$ D3 K5 F
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. ! U- _4 K0 c( Q
habet.
1 J) \+ o! v9 |+ y0 VANSWER: CE 7 p# H0 p6 \) M( \2 F
, g. A' K" k. N7 V1 ~* f
21. Which two statements are correct about the DB_WRITER_PROCESSES initialization parameter? (Choose two.)9 G+ j8 p/ \8 J4 i& E
A.The default value for DB_WRITER_PROCESSES is (CPU_COUNT+7)/8.
/ t8 Q0 `9 y  N/ X0 mB.You set DB_WRITER_PROCESSES to greater than one to simulate asynchronous input/output (I/O).
) Z; q0 o9 r+ V+ C3 o$ RC.You cannot set DB_WRITER_PROCESSES to greater than one if asynchronous I/O is enabled for the Oracle server.
5 U3 @/ u/ D9 t, y$ bD.You cannot set DB_WRITER_PROCESSES to greater than one if the DBWR_IO_SLAVES initialization parameter is set to greater than zero.* }& h9 B* x- h. K" W
E.You must set an appropriate value for the LOG_PARALLELISM initialization parameter before modifying the default value for DB_WRITER_PROCESSES.
) I  k+ X. `$ e9 {( n/ A1 XANSWER: AD % f) P5 f# i2 {7 T; U2 O
3 B$ m5 V+ E/ d: S
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.): c; V: U* E  E! u
A.The startup process will take more time., a$ `7 q4 G# m; n) T4 ^
B.The value for DB_BLOCK_LRU_LATCHES will be set to 4.
+ ]7 A9 s( V# {0 ~& M8 sC.The database instance cannot use multiple DBWR processes.
* i$ W8 V# v; L" A8 bD.The database instance will simulate synchronous input/output (I/O).& D% w* ^) m/ m0 _, E1 A
E.Each Oracle server process will read the entire System Global Area (SGA) to physical memory at session startup.
1 ~' U4 u# }: ZANSWER: AE
* n+ y9 M/ ]) i0 V& S% l
. u! z6 c0 t9 a; c* w23. 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.5 f+ z& M0 j1 a
What would you do to avoid the wait event in the new database?
* m* B; o2 M2 C) F) LA.Consider setting a larger value for DB_BLOCK_SIZE for the database.
5 H  w+ h( {- ]' ?; d# [2 O- {: c: DB.Consider setting a smaller value for DB_BLOCK_SIZE for the database.
6 B6 q$ r+ E' s0 `( RC.Consider setting a larger value for the DB_CACHE_SIZE parameter for the database.
2 m( u. B/ q( a8 @" m% YD.Consider using the DB_BLOCK_BUFFERS parameter instead of the DB_CACHE_SIZE parameter for the database.0 q9 W3 W4 v. ?6 M5 [) L
ANSWER: B
" S) Q! s! Y8 O4 f* ?' ?' u- _) f, K* g
24. You executed the following command:1 t: g7 M& R$ X( u! N
cat /proc/slabinfo | grep kio
$ O( a: X0 l& v/ v2 yYou received the following output: ! c; `" f7 w) V% o  ^) ~6 s
kioctx 270 270 128 9 9 1
; O4 }& \6 V& ^- D3 ]0 ~kiocb 66080 66080 96 1652 1652 1 5 m8 [0 v3 E, u& P
kiobuf 236 236 64 4 4 1 : E7 N  Q1 j0 ]0 L+ |0 E
What do you infer from the output?
( x! \& g/ \, U/ i! oA.There are no inactive pages.
2 ]4 @8 H4 n3 c+ TB.The disk activity needs to be tuned.
( R2 V' b5 g* [' s8 a' wC.There are waits for the buffer cache.
( N+ c7 }- G2 n. L4 {# ?: L: u, `5 iD.The value for the shmmax parameter needs to be increased.
9 o, d" `2 P1 G; V$ [E.The Linux system has asynchronous input/output (I/O) configured on it.3 z' q5 f: L' R# |7 O! A+ |
o greater than 1, then the DB_WRITER_PROCESSES parameter will be set to 1.
$ m3 i. G7 |/ k" z, d" j% ]habet.
( n6 \& m* \3 V7 x) F& oANSWER: E
. m# R2 P+ B) h$ [5 ]* k; @1 z; d9 l
25. You executed the following command on a Linux machine:, k4 I5 U2 \5 W
$ cat /proc/slabinfo | grep kio$ M+ k1 \  W1 p9 e( `8 |& l
kioctx 270 270 128 9 9 1 : 252 126! V2 G/ ?3 i. z; k% P+ b  j' u
kiocb 66080 66080 96 1652 1652 1 : 252 126
0 n- B, d: z% ]1 Bkiobuf 236 236 64 4 4 1 : 252 126
* x9 A. p) K# }; E7 yWhich statement describes the purpose of executing the command?8 d2 y/ X. }- ?7 V# s) `' H
A.to check the virtual memory usage in the Linux system! \) ]: [7 S1 Y4 Y2 ^0 I: `
B.to compare the I/O statistics of different channels in the system0 J2 O" a! U, g# o
C.to check whether the asynchronous I/O is working in the Linux system
- F: ?, N; a7 uD.to check whether multiple data bus adapters are being used in the Linux system7 ]4 U" w2 k1 W9 v: R7 w7 r' p# I
E.to check whether the shared memory file system is being used in the Linux system% o4 L* M1 t& V7 e* P
ANSWER: C
/ Z' _+ @9 O6 G, a
- ?. d8 r! f% \3 L* v% \( 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. . C5 d' m! `  C* J# U# R& q( Y; {
What would be your next step to avoid this event in future?
0 ?$ \7 Y7 l) |4 @$ e0 \A.Decrease the value of the DBWR_IO_SLAVES parameter.
# Y5 V% k' R0 b- U2 D' _7 ~4 BB.Increase the value of the DB_WRITER_PROCESSES parameter." J5 ]2 @' N) ^# q1 Y* q. i
C.Set the USE_INDIRECT_DATA_BUFFERS parameter to TRUE.
+ W8 e9 X2 z! _( i8 VD.Increase the value of the DB_FILE_MULTIBLOCK_READ_COUNT parameter.
) W' C, R5 V9 I! A; |! vANSWER: B
* P& [0 U3 {  K- S/ Q, N
* Z+ D- |) Y$ u27. 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. % v9 A% V+ y6 E. L) U
Which memory area is used as the communication area for I/O buffers?9 [3 z9 `" ^7 O
A.The java pool
1 h2 T6 v' q( N1 Z; R! lB.The large pool
: ?# a6 T# k; L& ?4 LC.The shared pool& ]0 t; e: K( D" G; ~' x
D.Memory space allocated separately outside the SGA* V8 S$ Z, h/ I/ _# \
ANSWER: B % T5 t/ y5 m6 L9 n

/ U- B5 l; x' }. e' ~5 l: z: n28. 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?
; V4 g- r( V8 NA.Setting DB_WRITER_PROCESSES to more than one reduces DBWR_IO_SLAVES to one.
$ g) K$ A! q; y% [& \0 SB.Enabling I/O slaves forces the value of the DB_WRITER_PROCESSES parameter to be set to one.; f% k, b- M) k5 {* B2 x
C.Each DBWR process uses a single I/O slave when DB_WRITER_PROCESSES is set to more than one. 0 a6 m$ x4 e' q/ 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.
+ B& T# ]1 ^4 [; VANSWER: B
4 U7 I5 S, e9 a5 L" _7 T+ g5 E! L. I6 U- R# 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.
' _! C* ?. B: {What could be the reason for this?
( M5 X- O* j" q" F5 I4 S# uA.The SGA has been locked into physical memory.
4 R* m# h- |" Q. p1 KB.Each server process that starts must access every page in SGA.
0 e$ Z* B+ {6 f6 M# HC.The session memory for the new connections is allocated from SGA.
, ~  ]" ]1 m- r' P+ Q: u4 UD.The SGA size is adjusted by the Automatic Shared Memory Management feature during every new connection., t# [! ~- l& M3 Q& P
ANSWER: B 7 n+ W' t& r1 k
& z- J3 |9 B/ w) a& X: g' a
30. You are working on a database instance with the following requirements:' S! `# |- D& I4 g$ f& W
During daytime, there is a large volume of transaction that requires a large database buffer cache.( E; Y) s- [3 o6 J% k" z: q
In the night, batch jobs are run. These jobs require a higher value for the large pool.0 F0 |. b( e' n: b
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?
: x& z( _  x8 q( t3 c4 W7 U% `A.Set the PRE_PAGE_SGA initialization parameter to TRUE.
* ]' q( \% P! b6 pB.Set the SGA_TARGET initialization parameter to a nonzero value.% O( n& R+ d  _2 t
C.Set the DB_BLOCK_BUFFERS initialization parameter to a nonzero value.
) }. y* Y2 v2 H6 K3 U. P8 D0 E  j) l8 hD.Set the USE_INDIRECT_DATA_BUFFERS initialization parameter to TRUE.+ _# o- C% ^/ Z- Y6 }
ANSWER: B
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享 顶 踩

本版积分规则

关闭

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

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