下沙论坛

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

用新浪微博连接

一步搞定

QQ登录

QQ登录

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

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

[复制链接]
头像被屏蔽

该用户从未签到

跳转到指定楼层
1
发表于 2008-12-27 13:40:16 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Oracle   10g DBA   1z0-046考题/ j' n2 ]! W+ C: j& g: p* W) i$ t
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.
7 x8 z4 c( N" H: ^7 t+ a2 QWhat could be the reason for this change?
3 A" a" y- ~: CA.The buffer busy wait event has been detected.
, Z5 H7 X" P- w( lB.The no free buffers event has been detected.9 V2 K( ~; U3 O  R0 O  b6 A2 n
C.The log buffer space wait event has been detected.8 q& x7 P: u( z. X5 c9 i
D.The log file completion wait event has been detected.2 b5 K3 M  `& T3 ^, P, y
E.The value for the free buffer inspected statistics is growing.3 Z' r! u1 D; t) [, u& g
ANSWER: C
8 V" h/ k' f1 w( ]/ h7 ?2 d& N' W# e: S1 l- F+ l0 j
2. ho.sh is an executable shell script. You executed the following command that leads to an error:
% W' U6 g( D% e6 F- I6 C8 m3 r0 I$ strace -o /tmp/ho.out ./ho.sh
% [3 V9 n' w; A: r$ rstrace: exec: Permission denied8 U7 a' M/ @' O$ N5 C) Z6 M" B
What could you do to execute the command successfully in the next attempt?
& E  v6 K4 Y3 k. G* s! f; ?7 ]* QA.Provide the shell reference with the command.
$ Y% J% h" b" p) Q0 `5 ]% DB.Remove the shell reference present inside the shell script.- V) p/ F+ n$ {# I
C.Execute the command as the root operating system user.4 I7 `( _8 ]' e3 @( o: }
D.The extension for the output file should be changed to .log.
0 @' ?0 |5 R; lANSWER: A
/ H6 e: e7 P. a  T$ \8 n- j/ @# \, `8 U
3. You need to ensure that whenever you create a new file, it should have the following set of permissions:
+ m9 e+ k5 G& {* F2 Lu=rwx,g=rx,o=rx.
! ?0 t9 x7 ~( R2 p# [: [Which statement can you add to the .bashrc script to set the desired file permissions? ! r( `2 v  t8 h, D
A.umask 455  G6 E3 k, c0 ~! [' {% [7 b
B.umask 012
% U8 R* G1 m, l" Z3 H: {1 z7 E$ aC.umask 07554 i* Y$ z  l) k2 `# B7 l1 r3 M
D.chmod u=rwx,g=rx,o=rx
) ?4 j2 F: ^0 @5 s1 [7 _/ k! yANSWER: C * V7 u1 {+ F" P: {! E9 I- [! ^* Q
" _( [! h# B5 c8 y; F1 q) w
4. Which three statements are true about Oracle Clustered File System (OCFS)? (Choose three.)
/ ]" |) ^6 f  a& a) n# GA.There is no limit on the number of files on OCFS.& ]. s7 p/ \( T$ @* a' ~
B.You can use OCFS for database files as well as general files.
+ H7 H7 M2 D2 gC.You can create an OCFS using Logical Volume Manager (LVM).
; {2 @5 T) s$ S( w# {, F% H6 U9 VD.You must modify the Linux kernel parameters before mounting OCFS.& j8 W$ i4 ?0 {
E.Standard file system commands, such as mkdir, rmdir, and mv, are available on OCFS.$ ?: b& O4 F5 c( [
ANSWER: ABE
* M4 s- _( m! }& a$ L
0 j- t) s* |! s, f5 {* w: R5. The OS user BOB is a member the osoper OS group in the database server. You want BOB :
% }. }. W1 X3 Z+ H2 ]) o$ LWhich of the option would fulfill the requirement?
$ u4 d9 {# j. {! u3 U) D# QA.Assign the sysdba privilege to BOB.' [4 U) s  v3 f7 ^8 m
B.Assign the osdba OS group to BOB.0 C% a- f% h% F! \& F. D
C.Set the REMOTE_LOGIN_PASSWORDFILE initialization parameter to SHARED.( U" c! Q2 S+ B$ Y
D.Set the REMOTE_LOGIN_PASSWORDFILE initialization parameter to EXCLUSIVE.
  Z4 I% Z: m! s! r- S1 }8 ~4 ], rANSWER: B 6 Y- P- L( ~& t6 Q4 M0 c8 Z

- j$ q: G) D/ u  a$ x$ |6 a6. You executed the ipcs -m command to list all the shared memory segments in your Oracle server.$ p) s9 K6 Z2 Q! e% b. T3 S
View the Exhibit exhibit1 that shows the output of this command.
- @3 {) S$ B) }. I& JLater, you executed the same command to check the shared memory segments.
' q( t. h( }% R7 ^3 zView the Exhibit exhibit2 that shows the output of this command.
6 m* J/ j" Z" k* w5 m: ZWhy is the large shared memory segment not listed in the second Exhibit?
$ C6 \$ X8 w, u9 f1 _A.The Oracle database instance is shut down.
4 l6 x+ x4 c+ ?B.The swap space has been increased in the system.3 B( w2 M3 _; D  q% f$ t
C.The Oracle database instance is configured in shared server mode.
' k- h/ Q8 U# z: r7 R; R- MD.The large pool size set for the Oracle database instance is reset to zero.
) S2 ^: B* d% J4 Y4 _( b; y9 \ANSWER: A 2 ^6 `1 p$ S( v6 M

2 Q( l0 b; L: W  P* U" ~5 }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. 4 g  \6 o! j9 I+ B$ s
Which set of commands would you use to restore the original settings?
$ ^; ^9 l" i" d6 h  F, y1 TA.echo 0X1000000 > ksms.s
1 P) }6 _# I/ V- u% u+ u4 Pmake -f ins_rdbms.mk ksms.s! @  H8 c) p6 g( w5 X7 f! z& w
B.echo 0X15000000 > ksms.s
+ ]5 {" \: o# A, B3 q, x8 omake -f ins_rdbms.mk ioracle
$ N+ D# c2 m' O7 y& j6 E& hC.make -f ins_rdbms.mk ksms.s
2 a5 k" p7 n; A" U* q- M, x3 E7 amake -f ins_rdbms.mk ioracle
. {  ]( |) x4 z, E: v& i6 {( a- TD.genksms > ksms.s. N) _% L1 S* ]  H+ y/ f
make -f ins_rdbms.mk ksms.o% p1 @4 H% A. @5 n' ?% P* r
make -f ins_rdbms.mk ioracle) H5 I) [  L7 Y2 K
E.genksms -s 0X10000000 > ksms.o+ Q* ?4 n( ?8 B+ z
ANSWER: D # N) V* f" m" B6 I: G  C1 l* G" O* P

9 g, J, F, j' @/ }' [: I8. 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?- ~' d5 Q/ K4 _; {
A.uname -r
! D; b8 o3 j  A& r8 z- C2 N5 VB.uname -v
3 i/ g, q% t+ r$ k0 e4 p# j7 DC.cat /proc/version
; h$ L5 V: p: W9 ^: a+ M4 YD.cat /proc/sys/kernel/tainted$ |) f% z, N" T$ j
ANSWER: D 3 r7 G& x5 z9 U

. W0 E3 j; u( K* T: g0 }9. Examine the content of the /proc/sys/kernel/tainted file on your Linux machine:
$ X9 {& t4 e: |" A[root@edtdr6p1 root]# cat /proc/sys/kernel/tainted
. {( C9 y/ Z3 R% }; ?# W" L17 q; n- i/ |3 F" q! X* b5 ]
What will happen when you install Oracle Database 10g on this machine?
( ]1 Z7 @- W3 H" aA.Installation will fail because of the tainted kernel.
) o# ?& L0 b2 DB.Installation will be successful, but Oracle will not provide support for the database product.
& x5 U) Y5 ?; ^  `0 _+ B. ~0 L1 DC.Installation will be successful. Oracle will provide support for the database product but not for the operating system (OS).
2 ?6 G# r) L7 X, l, ID.Installation will be successful and Oracle will provide support for the database product as well as the OS.
' j1 X1 L% i) g3 {& bE.Successful installation and Oracle support for database product as well as Linux OS will depend on the module tainting the kernel.
( p0 y. ~2 P1 |' j9 m1 QANSWER: E 9 a9 z' w8 b5 E6 s& g3 P
) k9 W. t/ }- p0 W+ y
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 q' X. g9 w4 Y0 r" ^4 K
[root@edtdr6p1 root]# cat /proc/sys/kernel/tainted* R, @2 W& N$ S  q1 z5 m
1
# B% _5 g2 r* o% ]What do you infer from the output? (Choose all that apply.)
! h# i$ R# [% SA.A proprietary module has been loaded.
; c# b& h! S" M9 eB.A module is marked unsupported by the vendor.
" H7 f6 {0 e' i: c9 A' U7 [  e, IC.All the loaded modules have General Public License (GPL).4 x, S% Z4 H+ V* L3 l" V& ]# {
D.A module was force-loaded by using the insmod -f command.: Q$ h+ [2 V' O+ z7 ^2 D
ANSWER: AD / M; l3 Q9 o* `" F" k, ]; Y
, p( [2 `- a9 K% b4 e0 v
11. Which command is used to identify the kernel version number?
, C0 g( u# l4 j/ b2 r: fA.which
0 T" m9 I- J( f4 H! HB.whatis3 M1 O5 z" ]8 V/ i
C.uname -r
1 m8 e. y  @; y( i$ Y1 {D.ulimit -m2 [8 p$ H4 |0 Z5 z( n* M
E.chkconfig
, U6 v. s; U1 gANSWER: C   M' R5 O) q$ c' _0 {
3 Y0 J0 k, x& a; H- H# {0 e! l3 f
12. Match the following commands with the purpose they are used for:
! T, Q; G& Z7 D* k, c: ?- y: DI chmod a) To create a file with the desired time stamp/ Y: G5 [* e( V; K
ii touch b) To use the variable of the parent shell in child shell
  r& C/ {+ l- Qiii alias c) To give write permission to a directory
- t" @+ b, s) o7 F* w* t) Tiv uname d) To simplify long commands+ h; S" N0 ]* @1 \9 w3 I
v export e) To see the Linux release number$ Z1 P( W) I, i
A.i-a, ii-e, iii-d, iv-c, v-b9 c7 [: E( z  w
B.i-c, ii-a, iii-e, iv-d, v-b- F% e) K; \6 @0 m4 {# t" h3 i
C.i-c, ii-e, iii-b, iv-a, v-b1 |. b0 @8 H+ D
D.i-c, ii-a, iii-d, iv-e, v-b
9 Z+ D$ ^% P9 r* ?/ T: tANSWER: D 6 P6 }: o. Y) g  E$ N
; P! ^& Z- Y; k! H" k
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.)% ?: z  r; S$ |( Q7 C; b
A.id
6 L- H' {. O1 t; O' }0 HB.uname -G
) l' p$ m9 O9 s/ o/ f5 W& i2 ?C.cat /etc/passwd5 C" Y3 @& T7 l) X
D.cat /etc/group& }* N, m$ ^: D: n7 b* G, s
E.cat .bash_profile
" u5 l) f7 Z, C, m* aANSWER: AD ) F4 J4 D% p7 @% c. }5 O

& T6 k- N- M- ?' V% o) B/ z14. View the Exhibit.
1 N3 x" S1 a! C  c# `0 ~9 O) |Which two statements are true about the output of the cat /proc/partitions command? (Choose two.)
$ x- V9 m2 E5 v! z: F) CA.The hard disk has four partitions.
; s8 Q; z% s; mB.The hard disk has six partitions." V! d) u1 f, |/ Y1 U
C.The swap partition is not shown in the output.
5 V) s+ m& @9 pD.The major column shows the device number with partitions.
# Y( P' Z' W# Q' X9 l. }E.The #blocks column shows the number of inode blocks in that partition.
0 N. t" p% @3 b( N" J& X) z# j( Z% s4 @/ B& h* U* S0 n3 p
ANSWER: AD 0 Q6 y5 G, r7 z! [

, ~! d$ V) N$ d+ ]- B15. Which command would you use to identify the users that belong to the oradba group?
' G3 j5 R: i: a0 i2 g5 Z( LA.id -G
4 i  D- q! ~/ z0 U; J* |& NB.uname -g
5 p, \; z7 C2 @; d% j/ m& VC.grep ^oradba: /etc/passwd
& w! I( D* }4 o5 B3 i8 [' y$ TD.grep ^oradba: /etc/group
, W3 P4 ^- ]* z& L$ Y$ t- W# CANSWER: D " U4 ~6 j0 J0 M& g8 Q; V, Y
' j! v; T5 R% T  m, p- w
16. View the Exhibit and examine the output.% n: P( K. U) [, L6 H6 M
What do you infer from this? (Choose all that apply.)
8 h; K9 B  b. H. EA.The command output is stored in the pmon.txt file.& g. p3 P. Q/ Y! d! ?; f9 T* @
B.The command shows all the processes running on the machine.
, @& H: ^. U9 ]0 d; }C.The command appends the pmon.txt file with the output of the command." y1 `+ S% q  {" P- \1 T
D.The command shows only those processes that contain the text _pmon running on your machine.) k: p: m7 d' B% {) W4 C+ [- g
E.The logs generated while executing the command will be stored in the pmon.txt file.
" J; z9 k5 c0 z5 L! L: X: O
! N2 E& W, d+ G+ MANSWER: AD
1 N; _! y2 \! }; X6 j
& ]2 X0 B* M/ t17. View the following script:
- _. n8 r. T' ]! cif [ -r /etc/oratab ]$ x$ N: ?8 q, M. r7 F. h( B
then; S3 w7 a& X, |# j
ORATAB=/etc/oratab. b3 B# n8 y5 f8 M) }! ?9 b
else
8 |+ s& p& t. g) Zif [ -r /var/opt/oracle/oratab ]
$ k( Z! w4 P' ?9 y% S; a' t( \then
2 o9 \! b0 f0 `3 {ORATAB=/var/opt/oracle/oratab. k; J* [+ G3 R2 }0 Q( B- m
else$ u# b" r% N) P, @: z& m
echo "Can't find any oratab file"
  z0 E2 a0 @* F# E9 @" Cexit 1
9 Z8 c  @- G* I( f6 M+ l7 a4 z4 mfi/ l& ?5 E- q0 [" E, k$ V: _. a
fi3 {+ l2 S- l/ Q3 e- T
grep -v [\#\*] $ORATAB | cut -d ":" -f1- D) c6 C2 H$ y$ L5 b4 F
Which statement is true about the execution and output of the script?; T4 v" ~  i, w& v3 v/ M/ d
A.It will execute only in the /etc/oratab directory.
9 N) m, D+ x; [( y- p1 \: S5 BB.It will show all the Oracle homes listed in the oratab file on the local machine.5 l7 H  W; r) z3 J
C.It will show all Oracle database SIDs listed in the oratab file on the local machine. , G; p( |9 e% ^% ^$ M7 V- t: [* ]( b% {
D.The script output will depend on the command-line arguments passed while executing the script.3 q4 e. X* A1 h7 a5 g# C4 o
ANSWER: C / l4 Y9 o8 s% X  A) n0 ^, r) a2 r

  |  y% y0 m8 m$ ^9 I) o18. Which three statements are true about the built-in shell variables? (Choose three.)3 h! U; C: S: G% d; T% O; Y% k# L4 i
A.The $? Variable stores true and false values.
; p9 ~1 m4 I! H% q. E- j5 b! OB.The $* variable stores all the command-line parameters passed." C. b+ |0 s, W2 v3 i) K
C.The $# variable stores the total number of command-line parameters./ ~. O5 [) v- K  l0 k/ F/ k
D.The values for these variables are retained in the session until it is reset.: h  ]" m3 j1 d
E.The $n variable can store n number of positional command-line parameters.
3 v* s; j  t, _2 s* L% l; ^( uANSWER: BCE
! K) h. j' W/ b$ {& G5 U
0 \& t: o8 n3 D7 V19. View the following script:
" @) p' J4 [+ j/ `. |% v/ kif [ -d $1 ]
* W1 U1 d* b4 `8 xthen
% B. q% J* x7 h/ @for Data in `ls $1 *|tr -s " "| grep .dbf`) V7 T$ e9 X) D$ R  s5 z, f
do
( e6 H9 W9 O- M) Q' uecho $Data
* g4 k: W! S" p8 A% J" W) hdone; A5 f( }) J7 d! ?+ M4 i
else
: c$ c2 n. _, G. v3 P5 X8 x6 vecho -e "No Directory specified"4 C) v0 {% e( H# K# N9 w
fi! }4 q: Y" r8 d% z- s
Which statement is true about the script?
5 v" U0 l. S9 y% {: VA.The script displays the total number of .dbf files on the local machine.2 }9 |8 O* c& k& r; G
B.The script will not execute because no value for the $1 variable is given.9 \# q: D, A: k6 L; A# b- x) x
C.The script displays the .dbf files in the location given as a value in the positional parameter.  M  i. \4 ~9 b: m4 l
D.The script will give an error because the variable name should contain the letters of the English alphabet.1 I/ d/ y/ E" K. [3 h6 ^' k3 M
ANSWER: C
$ G( l3 d' M" H8 i
( b0 l2 i& S2 S' d# S/ P3 l20. 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 G* s' o- o8 S7 D  x# u: PA.The DISK_ASYNCH_IO initialization parameter will be set to True.
: o7 C( S- b; W, pB.The TAPE_ASYNCH_IO initialization parameter will be set to True.
$ _' }8 R  Z3 l- j5 lC.The database instance will simulate asynchronous input/output (I/O).  A. f1 h- K+ u1 U) L; z
D.Oracle server will update the value for the DB_CACHE_SIZE initialization parameter as per the system requirement.
$ d' x  p, Z  b2 z0 RE.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. 6 K+ M' _- y* A& `7 b, n/ |& I
habet.
: O. f8 a; Q  _6 Y( cANSWER: CE
' v* e* D& @+ [* J# q2 [6 ~
' n0 n2 W6 c' D0 ]' N7 E  ?9 e0 f21. Which two statements are correct about the DB_WRITER_PROCESSES initialization parameter? (Choose two.)
/ n, ?: q. G4 L7 c1 V3 rA.The default value for DB_WRITER_PROCESSES is (CPU_COUNT+7)/8.
9 L4 V+ N% f+ e0 j: wB.You set DB_WRITER_PROCESSES to greater than one to simulate asynchronous input/output (I/O).; N  c' V+ \9 R: M7 I1 @: k
C.You cannot set DB_WRITER_PROCESSES to greater than one if asynchronous I/O is enabled for the Oracle server.
% V9 `! A/ v( o" C+ I! UD.You cannot set DB_WRITER_PROCESSES to greater than one if the DBWR_IO_SLAVES initialization parameter is set to greater than zero.; q8 x- h" n4 U7 K) `
E.You must set an appropriate value for the LOG_PARALLELISM initialization parameter before modifying the default value for DB_WRITER_PROCESSES.
; P7 \/ S! J$ s9 p; kANSWER: AD
/ B  e& y$ K2 l# u: o
2 G) {# w9 D2 b  ]+ M22. 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.)
1 K$ @' E/ p4 l& M: H0 DA.The startup process will take more time.
8 d. s" @6 X5 d  [3 w$ vB.The value for DB_BLOCK_LRU_LATCHES will be set to 4.
- Y9 i) k! w% s; M' ^  DC.The database instance cannot use multiple DBWR processes.% {5 {! |9 z- b8 g" {0 ^9 s* j
D.The database instance will simulate synchronous input/output (I/O).
' A  ~/ u/ @7 _1 dE.Each Oracle server process will read the entire System Global Area (SGA) to physical memory at session startup.
3 s# @5 F$ S5 G" |ANSWER: AE 5 W* S' o7 N" R4 [
+ K8 |$ E7 a0 o& S
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.
- {  k$ T3 h) y. I2 R6 M7 }What would you do to avoid the wait event in the new database?
1 I( o6 d! x( I& e$ pA.Consider setting a larger value for DB_BLOCK_SIZE for the database.# ^. h( a+ t9 I9 j  R! F3 C" v
B.Consider setting a smaller value for DB_BLOCK_SIZE for the database.
/ D/ q' c2 J& t8 o/ b# kC.Consider setting a larger value for the DB_CACHE_SIZE parameter for the database.
! i7 i9 N" K& f7 xD.Consider using the DB_BLOCK_BUFFERS parameter instead of the DB_CACHE_SIZE parameter for the database.
) u1 p9 ^+ z/ n+ Z, U. pANSWER: B $ G4 N& C' e, y7 F: t  F

  ?7 [" x4 c- r$ z9 g$ J24. You executed the following command:
, Z2 j3 ^7 J0 N6 hcat /proc/slabinfo | grep kio 5 a. T  j* s. D. Q. n. a9 Z
You received the following output:
1 N& K* \7 G7 k0 |4 D0 \kioctx 270 270 128 9 9 1
1 v1 c" B, p) s: [! hkiocb 66080 66080 96 1652 1652 1 / q5 |) \- h) L) G- r
kiobuf 236 236 64 4 4 1 " e/ S: i: m5 g. Z, P% j0 ^
What do you infer from the output?$ \7 {3 \1 q: m7 Q, ~* A4 T
A.There are no inactive pages.9 P  X0 G( Z, J/ w
B.The disk activity needs to be tuned.4 P. S& O) D, F5 ]# k, m0 J6 Z! Z, W
C.There are waits for the buffer cache.% X0 |( w' U% t$ H( u2 k4 B
D.The value for the shmmax parameter needs to be increased.
! T+ c) s9 D! F7 c$ ~& r' ~E.The Linux system has asynchronous input/output (I/O) configured on it." g- B6 v2 I+ o: E1 V5 F, w2 Y
o greater than 1, then the DB_WRITER_PROCESSES parameter will be set to 1.
% e  g4 E9 e1 O& }. X/ qhabet.
* h& q; L. ~* S* J1 f, i' wANSWER: E ( a9 w) _$ y  _8 _) ^8 \

; ~, A2 l, |! t$ g/ S25. You executed the following command on a Linux machine:# _: a0 O6 Y% u$ y! q
$ cat /proc/slabinfo | grep kio
7 i! l. t8 N7 J: {/ Ckioctx 270 270 128 9 9 1 : 252 126
6 E) P8 E6 }+ Dkiocb 66080 66080 96 1652 1652 1 : 252 1269 g" q' H1 I) `; S
kiobuf 236 236 64 4 4 1 : 252 126
3 w* q" h* ~' HWhich statement describes the purpose of executing the command?9 F- O& b# R% U  u7 S
A.to check the virtual memory usage in the Linux system1 j2 D, D8 D. x' q8 F' O% ^
B.to compare the I/O statistics of different channels in the system
; J% N4 o) s0 y  [+ d4 J1 Y, `C.to check whether the asynchronous I/O is working in the Linux system! J7 a% Y8 W2 y' V
D.to check whether multiple data bus adapters are being used in the Linux system
/ a# [  V, f* N0 s* ~0 oE.to check whether the shared memory file system is being used in the Linux system
1 T% M+ u* v$ y8 SANSWER: C & |2 Z: M3 d- s$ N& J+ D
! j  O2 R" J  H: @3 c2 R
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. / }% ]* z8 m  A* I4 {  ]7 B
What would be your next step to avoid this event in future?
3 V8 U; v7 a* W; X) q' ]A.Decrease the value of the DBWR_IO_SLAVES parameter.
% ?" `' t1 F/ MB.Increase the value of the DB_WRITER_PROCESSES parameter.9 J3 a. [% t4 N3 R) }- P* X
C.Set the USE_INDIRECT_DATA_BUFFERS parameter to TRUE.. Q8 A; C. W+ r9 Y1 e5 `* _& f
D.Increase the value of the DB_FILE_MULTIBLOCK_READ_COUNT parameter.! U. _5 Q; O: w; i* L4 N
ANSWER: B
. Q4 \& M- p% L: [. Q5 C% _5 f. g$ ?. S4 Y& f3 ]( B2 u/ }: v
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. 9 [& X! e1 k: r4 W
Which memory area is used as the communication area for I/O buffers?
9 U: v1 b  u  B$ q* {- eA.The java pool
, [3 ~! H% a1 XB.The large pool
; S  n3 \, K' Y0 jC.The shared pool+ H! K( h1 X  o: o  n
D.Memory space allocated separately outside the SGA, o. e- q& Y" W3 n# O
ANSWER: B ' D/ X8 ]0 s, M2 R
+ \  @* ]! ~8 X9 j
28. 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/ `7 I, e/ E7 D2 a& i% {A.Setting DB_WRITER_PROCESSES to more than one reduces DBWR_IO_SLAVES to one.8 @" r9 q0 Q' N3 v
B.Enabling I/O slaves forces the value of the DB_WRITER_PROCESSES parameter to be set to one.
- D) }5 @8 @2 BC.Each DBWR process uses a single I/O slave when DB_WRITER_PROCESSES is set to more than one.
# ^1 g5 o) I! B) D' q# K  ?$ I  ]" r  ID.The database performance is directly proportional to the number of I/O slaves when DB_WRITER_PROCESSES is set to more than one.; P6 W7 _/ ^  o* B
ANSWER: B 5 Z/ ~, W9 V  J1 a

) j" u3 n* S6 u1 @3 ^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. 3 r9 m. W7 e8 l% @% G, O) K9 W! W
What could be the reason for this?! m8 ~9 q! b$ o6 ^; p
A.The SGA has been locked into physical memory.
2 G1 t$ U1 c. {3 D% FB.Each server process that starts must access every page in SGA." @5 J2 @$ `- G
C.The session memory for the new connections is allocated from SGA.
2 b. M- d; I4 X* P: e( w: l; }D.The SGA size is adjusted by the Automatic Shared Memory Management feature during every new connection.
/ E- F0 G+ [+ K# ~6 uANSWER: B * I& }' _6 F- O- M6 {+ t& `
) ]' K# F8 T  i) a
30. You are working on a database instance with the following requirements:- V; h1 z! v& U. q1 J& f; a. E
During daytime, there is a large volume of transaction that requires a large database buffer cache.
2 g/ r( x- j1 e4 q! JIn the night, batch jobs are run. These jobs require a higher value for the large pool.  s3 S3 s' e3 L" T0 F( v
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?
4 D% _/ b8 C* |A.Set the PRE_PAGE_SGA initialization parameter to TRUE.
. ^; M& W% O6 S: f5 aB.Set the SGA_TARGET initialization parameter to a nonzero value.+ ]+ D& D; z4 v! E/ L8 ]
C.Set the DB_BLOCK_BUFFERS initialization parameter to a nonzero value.
: r) ]3 B8 s/ X% p; T: bD.Set the USE_INDIRECT_DATA_BUFFERS initialization parameter to TRUE.
% e: R: y$ f9 d( j' aANSWER: B
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享 顶 踩 转发到微博

本版积分规则

关闭

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

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