下沙论坛

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

用新浪微博连接

一步搞定

QQ登录

QQ登录

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

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

[复制链接]
头像被屏蔽

该用户从未签到

跳转到指定楼层
1
发表于 2008-12-27 13:40:16 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Oracle   10g DBA   1z0-046考题" N, ]; j: y6 E& k. h' _
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. ) Z$ K  L0 h5 E7 l/ L- U+ d
What could be the reason for this change?
4 S* F" w0 ~7 D% c2 ]  G- ?$ t. A* mA.The buffer busy wait event has been detected.
% V7 ^# E" u# d- \! [B.The no free buffers event has been detected.
* D, P8 }+ I" d: |8 q- MC.The log buffer space wait event has been detected.; e) i; l+ g9 U6 D7 W/ t, D; j
D.The log file completion wait event has been detected.
. H. V  H5 Z* fE.The value for the free buffer inspected statistics is growing.  I3 R5 a: f: V! O0 r/ Q
ANSWER: C
4 ^8 V! |* k5 {4 n! h  W2 u
% y8 M" r% f+ j0 e" _- i/ i) O' L2. ho.sh is an executable shell script. You executed the following command that leads to an error:
8 U- A- L0 M) E- @6 }) S8 x! m$ strace -o /tmp/ho.out ./ho.sh* Y& o. M  }  i, F) n
strace: exec: Permission denied
7 X5 G5 P9 ?) D4 xWhat could you do to execute the command successfully in the next attempt?" r5 i5 J4 G* C$ v8 ~. K
A.Provide the shell reference with the command.
+ U  ~5 ^# H7 n. S5 P1 O! ~B.Remove the shell reference present inside the shell script.
% |7 i8 g2 x; z# ^& YC.Execute the command as the root operating system user.
& f2 n: G; K3 V% O5 YD.The extension for the output file should be changed to .log.
5 o; D4 e$ o* R0 n# {ANSWER: A ! P3 i( M! b, {! W
1 A7 l" _& J0 A+ G0 Z1 W
3. You need to ensure that whenever you create a new file, it should have the following set of permissions:
5 f* G* q# W6 n$ {1 u% s7 M& wu=rwx,g=rx,o=rx.
5 D- r! z5 i8 h- I* {. k# HWhich statement can you add to the .bashrc script to set the desired file permissions?
! s' v, J8 I  Y8 I+ o8 x- [8 V/ vA.umask 4551 U9 |) i. S" C  [
B.umask 012
, }6 I2 e2 e) J% a3 I% qC.umask 0755
4 u; w5 A; ~3 @1 O$ Z# G" N5 }D.chmod u=rwx,g=rx,o=rx: B4 w- g' m0 n, x* g1 a
ANSWER: C
4 x* K/ o5 P; |" O! X' N* V. n* N: ~; z2 [- r
4. Which three statements are true about Oracle Clustered File System (OCFS)? (Choose three.)$ q! H+ A% d5 x4 N3 m+ `
A.There is no limit on the number of files on OCFS.
* Y4 A7 R/ b, _B.You can use OCFS for database files as well as general files.
2 M' z# ^" {' ]C.You can create an OCFS using Logical Volume Manager (LVM).
2 S1 K3 a5 `2 }3 _0 \- DD.You must modify the Linux kernel parameters before mounting OCFS.
; r- k  s6 B" k3 I; T  C$ OE.Standard file system commands, such as mkdir, rmdir, and mv, are available on OCFS.8 n% q  y% H, B( H, p
ANSWER: ABE : _3 E* W- h! B8 p

8 R2 G& r& L+ b! e+ F4 m3 K5. The OS user BOB is a member the osoper OS group in the database server. You want BOB :
9 a! z( v  F$ A( FWhich of the option would fulfill the requirement?
- {* C  K" Y$ u7 iA.Assign the sysdba privilege to BOB.
& D1 n! i( Y  W( @: b' `2 NB.Assign the osdba OS group to BOB.
: K8 n4 ]. }; q: R' f7 ^% fC.Set the REMOTE_LOGIN_PASSWORDFILE initialization parameter to SHARED.
, U7 S7 p; s5 b/ ED.Set the REMOTE_LOGIN_PASSWORDFILE initialization parameter to EXCLUSIVE.' B# g' \- p' \% p* F
ANSWER: B 1 q( U8 }! i( X6 v7 P- J

, r9 }% c5 t$ }# w' o5 m( S4 i5 c6. You executed the ipcs -m command to list all the shared memory segments in your Oracle server.
- `: k" S- T$ H5 s6 S5 A* sView the Exhibit exhibit1 that shows the output of this command.& w) @8 {3 x; v* T
Later, you executed the same command to check the shared memory segments.
4 P: c% g+ y. ]( x! ?4 dView the Exhibit exhibit2 that shows the output of this command.5 u1 T( h4 j. B, U' {7 k  q
Why is the large shared memory segment not listed in the second Exhibit?
& F# @  h8 s& S: R# uA.The Oracle database instance is shut down.
. H. V# p+ I8 [2 [% Q% v, m1 VB.The swap space has been increased in the system.
9 w( c: @7 {5 WC.The Oracle database instance is configured in shared server mode.
" S. v$ y4 ~# K' X# Y8 SD.The large pool size set for the Oracle database instance is reset to zero.9 w9 l0 t- c% l' x& i
ANSWER: A - N( r0 P1 q$ Q# K1 k

! ?" G# K  n, M6 R# u1 I7. 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' j8 s6 u5 o
Which set of commands would you use to restore the original settings?
- K: j/ a+ T7 F& W% q& h, nA.echo 0X1000000 > ksms.s: ^8 r& N3 T4 w( @, r& V
make -f ins_rdbms.mk ksms.s/ R2 p' S5 W- d8 d
B.echo 0X15000000 > ksms.s& n' ]4 k& |; N  k
make -f ins_rdbms.mk ioracle2 B# y: q( B8 _* z4 v0 ~# r
C.make -f ins_rdbms.mk ksms.s
! P8 o; I9 t# K0 X% C/ dmake -f ins_rdbms.mk ioracle. y1 m' r# M' b- M' [5 E
D.genksms > ksms.s
- g! q( J' y1 k5 a- p9 B# `. Hmake -f ins_rdbms.mk ksms.o
# v2 x/ s% E& amake -f ins_rdbms.mk ioracle! H3 n9 z- _' V9 b8 b) ~
E.genksms -s 0X10000000 > ksms.o9 B6 p* l3 L4 O2 P. Z/ @% E6 ^
ANSWER: D
4 s0 B' t2 x- E$ t+ _: C# B7 j  Q0 z; K4 e3 S
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?+ ^/ u$ B" a, A
A.uname -r
, h+ p+ v" ^9 DB.uname -v
5 r7 Z  v3 G; @! EC.cat /proc/version
- v: o+ P8 o; a4 E" W/ OD.cat /proc/sys/kernel/tainted5 E3 l8 x% [; B$ B/ b
ANSWER: D
. _5 E  n- b  f/ ^  w+ R( T
( N) E9 K( |* u$ l" f9. Examine the content of the /proc/sys/kernel/tainted file on your Linux machine:
7 e: ~9 c" P# Y6 p[root@edtdr6p1 root]# cat /proc/sys/kernel/tainted
% ^+ m) g6 S+ f7 R( L1+ J( s  F+ Y( w7 C, u/ ^& ]9 m
What will happen when you install Oracle Database 10g on this machine?
6 ^, r9 c1 k+ x( z* GA.Installation will fail because of the tainted kernel.* a% k$ M. O+ L, W: F
B.Installation will be successful, but Oracle will not provide support for the database product.8 ~2 ~' X2 N4 O1 ?: ~) ]
C.Installation will be successful. Oracle will provide support for the database product but not for the operating system (OS).
1 }- J6 ?& c, R7 J; ]* Y7 O7 u, xD.Installation will be successful and Oracle will provide support for the database product as well as the OS., S- E. t; O- `7 L2 U* r; {/ \
E.Successful installation and Oracle support for database product as well as Linux OS will depend on the module tainting the kernel.
; r3 E% ]" C* r) |. `3 U4 yANSWER: E
0 H: X1 a1 K8 [
! M6 p/ ?) B- x; c& v# g. c10. 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:
: w$ S# p! X# B: ?5 |* h# U[root@edtdr6p1 root]# cat /proc/sys/kernel/tainted, O! L; t3 J, E/ x0 C2 z$ y
1
7 l! M: {; v/ U' ]% fWhat do you infer from the output? (Choose all that apply.)
, }& E; d9 |- x# N+ p% B" k5 AA.A proprietary module has been loaded.
$ y7 Q1 k9 L: f8 C  W& _. TB.A module is marked unsupported by the vendor.5 W1 u& _& E4 f+ u7 {
C.All the loaded modules have General Public License (GPL).% p( H1 _$ P% u+ F4 Y( a# v& X3 u
D.A module was force-loaded by using the insmod -f command.* z. E' U: e- Z  U- y+ i" d  e& Y
ANSWER: AD
0 F8 T% n6 P8 \$ h
- `6 u, A. x' y8 D$ M0 F% p! \11. Which command is used to identify the kernel version number?
2 i2 w! t7 x8 u6 ?5 }; w# w4 _& rA.which
1 I5 M4 M: Y" n  m' A4 j1 e% ]" v9 w: ZB.whatis  A1 Z* z4 {6 A( W9 j. l2 M2 p
C.uname -r, g# Q* g; H5 x" U* J4 f
D.ulimit -m
1 A- W& Y& M% T4 h+ }1 ^  J! oE.chkconfig3 t9 O' ?# b: ~
ANSWER: C % [' F, v3 |* d* x1 t/ ?+ |* h

( R* S6 A2 U8 |) q0 R5 C5 O3 U; U12. Match the following commands with the purpose they are used for:
% q- X( h, i( t8 HI chmod a) To create a file with the desired time stamp: X4 L( d1 [1 p( l7 _7 `' U
ii touch b) To use the variable of the parent shell in child shell( Q! v. p7 j1 g- v+ d
iii alias c) To give write permission to a directory
6 E6 f- c% _4 H! |9 P* Qiv uname d) To simplify long commands# [6 b& O2 f, W! }
v export e) To see the Linux release number
1 ?( ?4 J8 q) F! R2 J5 q4 o) D, gA.i-a, ii-e, iii-d, iv-c, v-b; T: v( j: Y# R$ V( w# z6 ]) U
B.i-c, ii-a, iii-e, iv-d, v-b
+ E4 [5 B* ^, |+ t3 Y* C5 ?C.i-c, ii-e, iii-b, iv-a, v-b/ }+ v, H1 A; ?/ _% G
D.i-c, ii-a, iii-d, iv-e, v-b
5 C+ T2 l" C0 B8 C9 r8 ]% pANSWER: D
6 s0 n& `% o; T0 ?8 S, ~( x. L& E
$ ~9 x4 s9 P. B( U4 ~0 z( s13. 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.), z1 M# b: F, N% p6 w! E& r
A.id3 d( A7 F. P* @4 \; X
B.uname -G
. @; J$ c+ }) S6 l+ w* D, ~1 kC.cat /etc/passwd
- C9 D# E+ i5 L$ OD.cat /etc/group
7 G2 Z' W- L3 _4 c% |E.cat .bash_profile
0 I& L7 x, C; O  SANSWER: AD ( {3 d/ d' [- I: g
  ~9 m; E; i9 f  B8 T0 L, O/ H
14. View the Exhibit.% R, z/ O! q) p, v! X' P% D
Which two statements are true about the output of the cat /proc/partitions command? (Choose two.)
& a5 h& O/ o8 Y, X& vA.The hard disk has four partitions.
6 M& B/ ~* }6 N, vB.The hard disk has six partitions.
" Z! G' ?! f/ ]  d8 [C.The swap partition is not shown in the output. 9 [: P5 W3 _1 r
D.The major column shows the device number with partitions.
0 J- ^2 r. C( B8 F$ d9 c9 T6 G5 @& w2 uE.The #blocks column shows the number of inode blocks in that partition.( y, v" C1 |  _- O, U, a- L) b/ q
$ d7 n4 O# x% t- I: R' Z
ANSWER: AD
% I" L! G1 t5 |- A6 P+ }0 A1 l3 `1 T+ y; B# G2 ]! c9 u
15. Which command would you use to identify the users that belong to the oradba group?4 {; K$ j0 \3 O
A.id -G
& t3 S) U+ U) w0 N2 E# KB.uname -g
1 ~+ j7 m* N! nC.grep ^oradba: /etc/passwd
2 j6 u& s$ r5 u" _- I$ m/ D% GD.grep ^oradba: /etc/group1 r5 L  F2 X* _% o
ANSWER: D # B( s/ x6 A: I$ {; r7 w
5 N/ l" F  @4 Y9 q& ]1 X( O1 L% ^
16. View the Exhibit and examine the output.$ F& `/ i: a* _: U
What do you infer from this? (Choose all that apply.)
2 Z: C+ A0 C7 a9 I$ sA.The command output is stored in the pmon.txt file.
7 m7 D4 l& a2 V1 v$ r4 V* ?3 pB.The command shows all the processes running on the machine.6 M' h' P8 ~! Z% [, j: s
C.The command appends the pmon.txt file with the output of the command.
4 V, M# t1 A1 b2 ED.The command shows only those processes that contain the text _pmon running on your machine.7 @/ n" g" \, ]6 }
E.The logs generated while executing the command will be stored in the pmon.txt file.
+ f$ L' h1 w% o+ B6 F; W0 _, R& G! M* G
ANSWER: AD
$ i  t$ A! ~7 c3 m
) U9 x6 ]9 D$ K$ w+ D, s9 d17. View the following script:
4 Q4 p) p# m/ h. f5 R4 S3 Mif [ -r /etc/oratab ]# m4 ^% g3 ~. a
then
, V9 p1 r+ Y% @3 N# @3 iORATAB=/etc/oratab
# p# d% z9 Q7 C9 selse4 U/ E, }, v$ c; [. j3 i9 Z
if [ -r /var/opt/oracle/oratab ]
4 |2 q  _, Z9 z7 fthen8 ~4 X. t' i. u* J" X/ f
ORATAB=/var/opt/oracle/oratab6 M3 m3 b- T6 \3 r+ P3 z
else
7 A+ U) c" m3 _" ~& O! Yecho "Can't find any oratab file"
3 f2 t& x( n: Z8 X2 Y1 O; nexit 1
$ j( {* ]& N4 [5 wfi
' J' s; Q- T. Cfi* U, o& D% U9 E/ A8 R
grep -v [\#\*] $ORATAB | cut -d ":" -f1/ B  g7 h6 }% g8 S3 m
Which statement is true about the execution and output of the script?
1 y9 x4 o& F$ T. J' l" L" Y" YA.It will execute only in the /etc/oratab directory.9 B' s. I  }3 V; [2 R. V2 G
B.It will show all the Oracle homes listed in the oratab file on the local machine.
/ V- f7 C8 Z0 N: N* [; `6 cC.It will show all Oracle database SIDs listed in the oratab file on the local machine. , J0 c  D# E5 ^5 g  ~+ I
D.The script output will depend on the command-line arguments passed while executing the script.9 ^/ Q* l( K. `  |3 w
ANSWER: C ; D5 P; q- V! ~$ |: t# h# t
* `: r' j: C3 r/ Q4 O; @
18. Which three statements are true about the built-in shell variables? (Choose three.)0 ~* q* B1 r4 ~  N4 I9 f
A.The $? Variable stores true and false values.$ u2 [! N2 y# F) t9 X5 W
B.The $* variable stores all the command-line parameters passed.
4 y, _' x0 @& _" H2 b( g4 XC.The $# variable stores the total number of command-line parameters.
$ K) I- O% P) x8 v% F! oD.The values for these variables are retained in the session until it is reset.
9 t; M1 t% ^, X* e- a5 vE.The $n variable can store n number of positional command-line parameters.
) L8 S! a6 G# R$ ?" mANSWER: BCE ) m1 d  c1 M' R$ K, c
1 w' S! ^" j3 k* S
19. View the following script:
, H% M: U5 k- y1 W$ c* ]; sif [ -d $1 ]. S( s' m; \" ]! ^$ H, A  V& v# l
then
) ?* w4 p# i" S# u0 c9 vfor Data in `ls $1 *|tr -s " "| grep .dbf`$ ?2 p* `) K; |2 X2 \
do
3 M* w4 q: t) o) L: Secho $Data+ k" ~; `. K5 w' H
done% g" m, R' W9 n* `( W
else
& C9 G0 D1 K$ q1 T1 {echo -e "No Directory specified"
! u3 X" @# l( D1 P! |# yfi7 {. F7 @5 O7 Z  @5 ~6 j2 {
Which statement is true about the script?
, x, c- N/ u0 uA.The script displays the total number of .dbf files on the local machine.4 x! F# e) P- q  R% b. \
B.The script will not execute because no value for the $1 variable is given.
* m- }- R& L6 I2 x1 |* IC.The script displays the .dbf files in the location given as a value in the positional parameter.
2 ?6 l" b8 _; G2 r/ u/ F4 QD.The script will give an error because the variable name should contain the letters of the English alphabet.! X& F; L% f2 c* X5 F$ W
ANSWER: C
2 C+ |" ^1 g$ l$ h$ x
9 ]& |; f. }) w4 i( m20. 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 h; @! q# m6 O( r. ^; rA.The DISK_ASYNCH_IO initialization parameter will be set to True.
8 ^3 C$ v/ R5 VB.The TAPE_ASYNCH_IO initialization parameter will be set to True.
7 D& \! o6 d1 t% oC.The database instance will simulate asynchronous input/output (I/O).
/ K6 s) V) u$ r" h8 ?+ Y5 ?4 dD.Oracle server will update the value for the DB_CACHE_SIZE initialization parameter as per the system requirement.! o' |; N9 g$ X4 |! Z" O
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.
- `: g9 D& y: \/ K' }4 [habet.
' l. g/ K/ i" t8 iANSWER: CE
2 o" Q  q) Y0 o$ c& {# i
' N" J5 R3 W# F; |21. Which two statements are correct about the DB_WRITER_PROCESSES initialization parameter? (Choose two.)
! t$ R3 v3 W" ~  v4 C( fA.The default value for DB_WRITER_PROCESSES is (CPU_COUNT+7)/8.
/ M( U2 }9 p' C8 ~B.You set DB_WRITER_PROCESSES to greater than one to simulate asynchronous input/output (I/O).+ T, q& e  d6 \
C.You cannot set DB_WRITER_PROCESSES to greater than one if asynchronous I/O is enabled for the Oracle server.- R& \( f3 F+ q  O9 n' L4 t  \
D.You cannot set DB_WRITER_PROCESSES to greater than one if the DBWR_IO_SLAVES initialization parameter is set to greater than zero.
6 I0 v; U  V6 O4 C) iE.You must set an appropriate value for the LOG_PARALLELISM initialization parameter before modifying the default value for DB_WRITER_PROCESSES.
; E+ r) ~' P, i: pANSWER: AD
4 V/ @6 X% _( J! h  V
  R7 `* A; p: f0 R22. 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.)5 e% N( w8 i* U
A.The startup process will take more time.9 [0 X* j) K+ J# c& c* x3 m9 f
B.The value for DB_BLOCK_LRU_LATCHES will be set to 4.
- A- Q5 _3 K; t: }: \4 R8 ]C.The database instance cannot use multiple DBWR processes.2 F5 V) {, U3 C2 s
D.The database instance will simulate synchronous input/output (I/O).% E& s; K' y% I1 Z. w
E.Each Oracle server process will read the entire System Global Area (SGA) to physical memory at session startup.. x( J; U4 ~! w- R! G
ANSWER: AE + L  @$ W9 z3 B% u% Z+ x+ d+ }

2 {2 n: N% m3 D. E; x23. 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.  i& R1 ~; ?% o9 ?$ Q$ V( q
What would you do to avoid the wait event in the new database?
$ q! Z2 e8 P4 m* yA.Consider setting a larger value for DB_BLOCK_SIZE for the database.
" I5 m: D" Q  n" A4 HB.Consider setting a smaller value for DB_BLOCK_SIZE for the database.
, e. J. j! V- T7 L/ w. |C.Consider setting a larger value for the DB_CACHE_SIZE parameter for the database.8 N: `$ Y9 v- |: ?
D.Consider using the DB_BLOCK_BUFFERS parameter instead of the DB_CACHE_SIZE parameter for the database.
8 N% t$ A' M2 a$ SANSWER: B
! @3 T6 K# }9 \4 l4 u/ Q/ K/ P) b* H+ P' r7 d5 Y) C
24. You executed the following command:
, \6 f' T  n/ J# G! A$ Qcat /proc/slabinfo | grep kio 9 g* S# }+ A$ H) N. R+ m
You received the following output:
) r& r# j; j6 [; @kioctx 270 270 128 9 9 1
3 W" _( K- q: Z/ m# c; y5 Tkiocb 66080 66080 96 1652 1652 1 + X, T. L# W  t- I$ `$ e( L/ g
kiobuf 236 236 64 4 4 1 7 o1 S6 K( n0 D- j4 V4 Y: N/ Q4 E
What do you infer from the output?
& K$ K0 L3 @6 I0 {8 h' HA.There are no inactive pages.1 v' C) H. ]2 z/ _) {
B.The disk activity needs to be tuned.. R, a$ Z0 c9 [6 @) B5 L
C.There are waits for the buffer cache.
" I. A0 S: G9 ^% jD.The value for the shmmax parameter needs to be increased.2 l$ f& ]9 z( b- T+ p5 U
E.The Linux system has asynchronous input/output (I/O) configured on it." K: r0 w! M5 f8 `8 o& Z" V' ^7 `. U
o greater than 1, then the DB_WRITER_PROCESSES parameter will be set to 1.
8 E8 t9 G$ ]$ ^8 l6 x8 T4 Lhabet.2 B: S  w/ v$ b2 v! j
ANSWER: E 4 F! w9 F3 A2 a* E# U" ]# |3 C

8 m5 D  F1 n" o8 K6 z25. You executed the following command on a Linux machine:
( k; C. x+ k7 q9 S0 \6 G$ cat /proc/slabinfo | grep kio
3 ?0 P; Y, {- h0 i5 kkioctx 270 270 128 9 9 1 : 252 126, T1 b) x0 _- }+ @3 W: R$ W
kiocb 66080 66080 96 1652 1652 1 : 252 126! i+ g! M$ v1 f) I6 v3 j7 M
kiobuf 236 236 64 4 4 1 : 252 126
; @0 @  u8 S1 Q7 xWhich statement describes the purpose of executing the command?
7 n  T  ^0 U) m* f4 X/ X0 ?: k4 o$ zA.to check the virtual memory usage in the Linux system
4 ?: K& d/ J( B  U7 J" sB.to compare the I/O statistics of different channels in the system
8 ?0 e5 r# G2 F- V7 [3 F$ Q7 vC.to check whether the asynchronous I/O is working in the Linux system" w# p0 [4 x+ N% }2 z
D.to check whether multiple data bus adapters are being used in the Linux system3 i: r9 R: p- c
E.to check whether the shared memory file system is being used in the Linux system$ F! j- ]! h: Z4 x+ E* {3 {) c
ANSWER: C 3 O; ~# A+ M( O9 a0 L

+ @' X( K1 @4 `1 a1 b1 K26. 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.
. O' c& P! {- t; ?% @What would be your next step to avoid this event in future?+ B" F7 \2 G1 v* E' k2 a4 z( P' b. r
A.Decrease the value of the DBWR_IO_SLAVES parameter.
& g* f. \/ B. ^# j& tB.Increase the value of the DB_WRITER_PROCESSES parameter.
9 i0 n3 A8 X/ L9 R6 {7 oC.Set the USE_INDIRECT_DATA_BUFFERS parameter to TRUE.% A. A# D  J, v. |8 ~0 `. I% X
D.Increase the value of the DB_FILE_MULTIBLOCK_READ_COUNT parameter.
+ _- O6 `; i" [; J, @4 m1 k- vANSWER: B ' S2 e% K) E2 p

. @. s0 [* o% Q, U5 p27. 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.
  u4 W: D$ o5 a( Z3 ?0 t( gWhich memory area is used as the communication area for I/O buffers?
  L, N- M: n; u. qA.The java pool
+ {- T# V3 B' W' ?B.The large pool
6 Q3 j7 `% G4 N% q# T4 c+ \C.The shared pool
7 U5 U& `* `4 j" D  z4 vD.Memory space allocated separately outside the SGA
* U. i0 J, S. l( ?& T. `; mANSWER: B
2 k5 ~$ q' D+ M! ]+ g2 z( D" Q  Q
5 x% n$ M  w; c3 C4 a: X28. 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?: m4 w: A& H2 c% r
A.Setting DB_WRITER_PROCESSES to more than one reduces DBWR_IO_SLAVES to one.  _8 b  G0 e6 z& o/ S
B.Enabling I/O slaves forces the value of the DB_WRITER_PROCESSES parameter to be set to one.7 e9 D8 K6 n4 S  o' ?: c& W* ?
C.Each DBWR process uses a single I/O slave when DB_WRITER_PROCESSES is set to more than one.
/ T2 m+ A" V9 i' S5 b" A2 ~D.The database performance is directly proportional to the number of I/O slaves when DB_WRITER_PROCESSES is set to more than one.
8 W8 O. e1 \- k5 k$ Q+ y' {7 tANSWER: B
! E. V$ O& V9 ^) q6 l2 j! E" G& X/ 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. 2 L: m' q" c* r- J4 Z
What could be the reason for this?
! d3 J2 `  q8 y" P7 oA.The SGA has been locked into physical memory., `2 L% I8 ?2 ]' d- X( P
B.Each server process that starts must access every page in SGA.
* X7 J, y7 {2 J  d/ k7 LC.The session memory for the new connections is allocated from SGA.
/ J* f) _+ b; w0 a9 B6 {2 vD.The SGA size is adjusted by the Automatic Shared Memory Management feature during every new connection.
6 r" K) J1 _" A3 n" cANSWER: B
4 M* R% J$ Q, n. X/ C. v
+ j; s) F1 z# N7 ?1 n0 Z. M30. You are working on a database instance with the following requirements:9 f+ p- b4 A$ a0 n9 x. a6 W) L1 A3 A
During daytime, there is a large volume of transaction that requires a large database buffer cache.4 H- Z( S4 q/ f+ `
In the night, batch jobs are run. These jobs require a higher value for the large pool.
7 R4 e2 i) g9 N" z4 w+ b) SYou 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?' L2 h1 }; M, W2 ^
A.Set the PRE_PAGE_SGA initialization parameter to TRUE.
! |+ n) ?- R* _, o$ y" X, f' TB.Set the SGA_TARGET initialization parameter to a nonzero value.
4 P" J: e: b# F5 a4 R  }! n' U) \C.Set the DB_BLOCK_BUFFERS initialization parameter to a nonzero value.. c0 z. P8 F8 C, g# @9 w
D.Set the USE_INDIRECT_DATA_BUFFERS initialization parameter to TRUE.
, ~* ?# G$ j: e; v9 {ANSWER: B
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享 顶 踩 转发到微博

本版积分规则

关闭

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

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