下沙论坛

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

用新浪微博连接

一步搞定

QQ登录

QQ登录

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

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

[复制链接]
头像被屏蔽

该用户从未签到

跳转到指定楼层
1
发表于 2008-12-27 13:40:16 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Oracle   10g DBA   1z0-046考题
, |( P: Q7 Y1 Y+ w* T0 f+ r8 A1 I; I1. 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. : c  H. |+ T: J, v; l/ |  a
What could be the reason for this change?- L4 u; a. o9 c& W1 N  ?0 o
A.The buffer busy wait event has been detected.
/ f, j+ J* p; B. @9 `B.The no free buffers event has been detected.9 i$ w' {. B" e5 c3 x3 W
C.The log buffer space wait event has been detected.
0 H+ ^4 O4 p1 O" y( ]7 {D.The log file completion wait event has been detected.' B, }7 k0 T3 g) g
E.The value for the free buffer inspected statistics is growing.
& K. r9 P1 z" m0 F) e0 D7 t5 hANSWER: C
0 y5 ?9 a$ \+ o7 S7 T+ {" u/ S* D( i5 A7 Q0 Q- R# j0 R( z' Q, ]2 N9 ]* `
2. ho.sh is an executable shell script. You executed the following command that leads to an error:
( v6 _7 _0 U9 \  x" L$ strace -o /tmp/ho.out ./ho.sh
! u& @- u2 w; u# r7 Astrace: exec: Permission denied  M* L9 S$ B" G. r2 q
What could you do to execute the command successfully in the next attempt?" l1 p& D% _) }2 ]8 v* R' D' A# _
A.Provide the shell reference with the command.
" Y4 H8 ?* Y* Q% n* B8 z/ {B.Remove the shell reference present inside the shell script.2 B7 z, ?( h9 a! E! p; Q' H
C.Execute the command as the root operating system user.
4 ]7 t% h- j5 i. gD.The extension for the output file should be changed to .log.! `/ o+ R# a3 d; s6 l- m, J
ANSWER: A
$ a" Y( v1 L* C' p
  C2 _5 L( y( |; y) i3. You need to ensure that whenever you create a new file, it should have the following set of permissions:2 @" O: m- g1 T7 Q7 T
u=rwx,g=rx,o=rx.
" \* y( l7 h% H; E# H7 \Which statement can you add to the .bashrc script to set the desired file permissions?
5 G1 N0 o0 Z) b6 X% N' t3 E7 AA.umask 455
% Q8 V" f+ c5 z0 `+ p' I9 gB.umask 0129 W/ Q# `- m; P
C.umask 07558 N+ Y  j: {) G0 X
D.chmod u=rwx,g=rx,o=rx
/ A; l# B& L# ~& O4 Z, d7 b6 \ANSWER: C + B9 e0 R0 d/ Y& b

* O+ r2 O5 C2 F4 M# a4. Which three statements are true about Oracle Clustered File System (OCFS)? (Choose three.)7 u! z; G9 P$ z! B& M' S; _
A.There is no limit on the number of files on OCFS.
1 Y" i" t2 u  G" ]B.You can use OCFS for database files as well as general files., u9 O' a5 P" ~8 v7 d# g
C.You can create an OCFS using Logical Volume Manager (LVM).& V. n: e5 k9 y& \, O. e6 b
D.You must modify the Linux kernel parameters before mounting OCFS.
# k4 H. s3 g0 ~. BE.Standard file system commands, such as mkdir, rmdir, and mv, are available on OCFS.* a& r0 }8 [( u
ANSWER: ABE
/ n6 X) G9 l7 c8 A& f
8 |  f: N" b; ~' |5. The OS user BOB is a member the osoper OS group in the database server. You want BOB :
+ H7 x6 |& X8 _0 U" FWhich of the option would fulfill the requirement?
' J/ u, p3 ]5 k, S! hA.Assign the sysdba privilege to BOB.* \+ n& g, a, p0 d* c
B.Assign the osdba OS group to BOB.
4 U, \% x: \( VC.Set the REMOTE_LOGIN_PASSWORDFILE initialization parameter to SHARED.
" L$ x" P  o5 n( O7 a- GD.Set the REMOTE_LOGIN_PASSWORDFILE initialization parameter to EXCLUSIVE.( F1 I% [5 X5 z% \9 M
ANSWER: B
/ }& o  }) S- N1 F5 i9 e
8 s  ]; O4 S+ v1 M+ s, L& d6. You executed the ipcs -m command to list all the shared memory segments in your Oracle server.) b4 y0 M- s; m- n) r# s+ I& u1 o
View the Exhibit exhibit1 that shows the output of this command.
1 z2 h: w, u$ Q* `4 cLater, you executed the same command to check the shared memory segments.9 g+ `9 s$ N1 W7 A+ w
View the Exhibit exhibit2 that shows the output of this command.7 v/ a4 n& v& b- L, r
Why is the large shared memory segment not listed in the second Exhibit?
0 e) e* A: i( _% ~: I6 oA.The Oracle database instance is shut down.
6 M7 F; v. x0 n& d, CB.The swap space has been increased in the system.2 F, `# r1 h' h" F8 z! [$ T
C.The Oracle database instance is configured in shared server mode., U  |3 N- o) n, w' O' F& ^" M
D.The large pool size set for the Oracle database instance is reset to zero.) Z: a, M* u" Z& {. _- b- K2 v2 u
ANSWER: A
9 `) ~7 D( k+ ~9 x+ \! L/ ~' g" l; [6 @  I, f% ~7 c; U$ o
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. * I1 M1 E/ ~) y* H5 T# s
Which set of commands would you use to restore the original settings?
$ t; v$ f! D/ }5 k9 m8 V- `# lA.echo 0X1000000 > ksms.s7 I7 M0 p* ]  Q& O. U- X
make -f ins_rdbms.mk ksms.s6 Z4 W$ ^9 n0 W  N  T* O
B.echo 0X15000000 > ksms.s
: L" N- e( d6 j! C. z8 Gmake -f ins_rdbms.mk ioracle; o9 t: Y: P; v# A7 a# ~
C.make -f ins_rdbms.mk ksms.s$ v% o0 L, y+ q) z% K
make -f ins_rdbms.mk ioracle
8 F, r  E/ @' P: B. P$ G! nD.genksms > ksms.s' @2 F! ^+ Y5 P6 P0 e
make -f ins_rdbms.mk ksms.o
5 _1 E. x! s) f% o0 Y$ p( Imake -f ins_rdbms.mk ioracle9 g0 i/ h6 T/ G
E.genksms -s 0X10000000 > ksms.o
% g+ Y  F, g) {* C6 vANSWER: D
" E. ^- u0 W! `9 W2 u; J/ U: W
, l. ~) t3 M' \( h5 U9 ^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?
, a+ `' ?8 V* x; _: w* qA.uname -r
" ~, ?& [* |3 J9 _8 R4 Y1 pB.uname -v
/ j! E) Z# t5 ^! s+ U! Y4 C4 V- LC.cat /proc/version  u8 X5 D* M$ F: ~7 M
D.cat /proc/sys/kernel/tainted
& G, |+ o1 [- }' X% i1 lANSWER: D
+ c0 h6 |/ o8 {$ F  }1 W
; D% s! K3 M; Y" p# N  ?6 L9. Examine the content of the /proc/sys/kernel/tainted file on your Linux machine:7 T: s- q% b/ d7 `
[root@edtdr6p1 root]# cat /proc/sys/kernel/tainted3 m: c0 j6 s/ K) v& l+ n
1
! S9 q1 ~  f0 a" a9 hWhat will happen when you install Oracle Database 10g on this machine?" r( d' e5 q: F% m/ F
A.Installation will fail because of the tainted kernel.
6 M% E  T3 I+ y0 ~) q6 R& d' BB.Installation will be successful, but Oracle will not provide support for the database product.
5 H+ ?/ o* P$ c! K1 @$ pC.Installation will be successful. Oracle will provide support for the database product but not for the operating system (OS).
! A& j) I' Z% n: C" {D.Installation will be successful and Oracle will provide support for the database product as well as the OS.6 Y# T% V6 r/ F8 E
E.Successful installation and Oracle support for database product as well as Linux OS will depend on the module tainting the kernel.
; M# S+ [; \# }  B! @ANSWER: E 0 ?/ j- n  i( W; `1 X' t

1 {0 N! k( U1 N6 Q. q10. 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:
* s4 N& B; P, I" d4 O. h! ~9 v/ ~7 p) k[root@edtdr6p1 root]# cat /proc/sys/kernel/tainted
, n; [! e$ x# k* `9 f/ `3 T0 }4 x* G& n7 Z1# X% `' N8 x* i; Q4 k; c9 g# Z
What do you infer from the output? (Choose all that apply.); f; e% k6 R5 l' ]
A.A proprietary module has been loaded.8 R. ~# J5 T; W7 J6 c' {
B.A module is marked unsupported by the vendor.  }7 Z. S. O4 _: u( ~
C.All the loaded modules have General Public License (GPL).
% w  D4 R: o3 H" GD.A module was force-loaded by using the insmod -f command.
  r7 `6 W* J$ n5 I/ x! TANSWER: AD : i' s- t- e" S. e3 _

: W9 O- m1 j% z11. Which command is used to identify the kernel version number?% n7 K* x  h9 t! _. D$ v3 f9 n
A.which& C( B0 D0 Y3 B
B.whatis. j  X3 J, n+ J  U% `
C.uname -r4 ?5 a& J; |( U9 B
D.ulimit -m! b  m/ E: Z" q% L
E.chkconfig9 }) W" I  P! U2 z$ A+ ~7 [
ANSWER: C
) c3 I) T$ r+ l2 L0 T+ z7 s8 C
; E7 n" T' |5 i8 e4 {+ p12. Match the following commands with the purpose they are used for:
7 V5 {4 r+ G7 h3 Z2 AI chmod a) To create a file with the desired time stamp
! ^; T) y; U. {2 f- mii touch b) To use the variable of the parent shell in child shell
' ]. l( J, P- }% j& N( Siii alias c) To give write permission to a directory# s4 F0 S8 W( E/ U! U
iv uname d) To simplify long commands
2 i# q+ q- t2 F3 t. f: e$ Zv export e) To see the Linux release number. W  Y. S2 n8 K% O: V" D! y
A.i-a, ii-e, iii-d, iv-c, v-b
- p2 m- I: p' E; OB.i-c, ii-a, iii-e, iv-d, v-b. E0 h9 y0 W, b" Q: k* g
C.i-c, ii-e, iii-b, iv-a, v-b/ b' e1 \/ y$ V+ b) `4 @
D.i-c, ii-a, iii-d, iv-e, v-b/ J# T, ]( Y9 S) u
ANSWER: D
2 }& V5 }+ {  Z7 c& n1 [( i
5 _6 O5 b1 r$ d, }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.)
% T) _; b( v) e" r2 I* {/ VA.id: w& ]2 ?9 G$ H( N
B.uname -G
- [; Z: X2 ?* q+ T. gC.cat /etc/passwd
, a2 e9 F( ~$ Y$ S* {/ t/ v& m7 _D.cat /etc/group% e' l) w' K/ f+ o& @
E.cat .bash_profile
( X, D( t8 c% W+ _0 a0 IANSWER: AD 8 ?, a. H% @# o

0 C, @7 [) |& Z8 l/ y14. View the Exhibit.
5 [+ t- F6 |/ b3 Q0 {Which two statements are true about the output of the cat /proc/partitions command? (Choose two.)2 n* o6 g2 ]2 e/ C  g
A.The hard disk has four partitions.
  C; L1 x. D- y6 w5 d8 j5 L" O  h2 lB.The hard disk has six partitions.
1 O; ?; O+ G# E3 c/ N' r0 vC.The swap partition is not shown in the output.
, g$ j9 F# q( w( y9 L% N: e* Q- dD.The major column shows the device number with partitions.
3 a3 K+ h# a1 S) FE.The #blocks column shows the number of inode blocks in that partition.
) [4 d7 [9 J7 ~9 L6 p  w  _2 K3 w( F9 f9 G: a3 I# M5 H$ D
ANSWER: AD
: U3 p% A8 ^9 k& g9 k8 ?6 P% N5 ^( M: n* m  w! r
15. Which command would you use to identify the users that belong to the oradba group?1 {9 A2 t9 X- Z* R' V# w
A.id -G$ E, r9 W8 R2 O
B.uname -g
. W3 J- X  ^! V, fC.grep ^oradba: /etc/passwd0 t# C7 X  f" M9 w% [, c3 |
D.grep ^oradba: /etc/group
& J( J. Q7 C; K. fANSWER: D $ @& \4 D; a- X1 N" W; K* C

9 o  A4 V( X2 K16. View the Exhibit and examine the output.9 W/ q- p- s6 \; }# S- J+ O! y
What do you infer from this? (Choose all that apply.)
" D- d: R6 ]# o0 Z' _+ _* fA.The command output is stored in the pmon.txt file.
9 ^7 Z9 d: L1 N$ M2 S' kB.The command shows all the processes running on the machine.+ g8 G' Z  l; s3 C/ ^; [0 l7 ^
C.The command appends the pmon.txt file with the output of the command.
* G3 b1 ?- C; ^* D1 `" ^D.The command shows only those processes that contain the text _pmon running on your machine.
! o" g% x3 [9 s9 d, b5 b, ^- ^E.The logs generated while executing the command will be stored in the pmon.txt file.4 j3 _/ q/ \2 \  s2 o6 u3 J2 }

! q. n; j" I, F5 D! J* b& N" PANSWER: AD   y! p, Y" H# ^
6 V  C- T9 P8 Q& q2 ~: m! `
17. View the following script:
. C5 C( S' R+ @4 F: L  n6 x8 \if [ -r /etc/oratab ]" u5 h# u# N7 Z5 s/ L7 h
then
+ L3 W- V# `* }# F- A6 xORATAB=/etc/oratab, ~9 c, x+ C  _: J# u2 s; P
else8 l8 X% s5 h! D- s& B
if [ -r /var/opt/oracle/oratab ]
0 _1 c& L! B( @3 w& c. c8 @then
( d5 O5 r! O5 ^/ MORATAB=/var/opt/oracle/oratab
, H+ n3 `- t8 j  P% P4 Q3 F+ F! L8 pelse
' Q  E. X/ C  Y2 m( l! C& y4 becho "Can't find any oratab file"( \/ U3 X+ b  `" W5 T
exit 1% q5 _7 ^4 R: \+ {
fi/ d: I6 D( p/ n" H+ h: j& X, }
fi
7 d1 b! @* _, |; G, Vgrep -v [\#\*] $ORATAB | cut -d ":" -f1
  T, w% V* b- _" s; [6 TWhich statement is true about the execution and output of the script?
- x8 R: n( t' U: vA.It will execute only in the /etc/oratab directory.
1 F( R8 M# J( H2 H4 D6 p' VB.It will show all the Oracle homes listed in the oratab file on the local machine.
. z) J. a8 R! S$ p8 B- iC.It will show all Oracle database SIDs listed in the oratab file on the local machine.
2 A. z/ Q& T' ~6 _2 qD.The script output will depend on the command-line arguments passed while executing the script.6 d2 E& ?- y( K
ANSWER: C
! x$ [# {/ n1 M  u
3 X' A0 A" T0 W1 x0 F' R4 |, j18. Which three statements are true about the built-in shell variables? (Choose three.)
9 ]5 @" u- n& ?6 M3 B3 y, j8 gA.The $? Variable stores true and false values.+ s) V8 R& ^6 \3 f! x
B.The $* variable stores all the command-line parameters passed.
2 J& J% I# H; q+ TC.The $# variable stores the total number of command-line parameters.
1 ~5 U3 o7 a: }D.The values for these variables are retained in the session until it is reset.
9 c$ h( d; X8 `3 QE.The $n variable can store n number of positional command-line parameters.; W, k) L: ?* |
ANSWER: BCE
* I: e  X3 p) x0 J* Y  C
4 b. t' U5 M1 |19. View the following script:! `" l" J! F7 @* f7 o+ a. n* `
if [ -d $1 ], F  V: ]* j7 e1 ]: Y8 I
then& k. _" X1 t7 v& `: K- z
for Data in `ls $1 *|tr -s " "| grep .dbf`
0 F; G4 H& h5 G9 S, b7 cdo" w: t2 I1 Y% w; L1 V
echo $Data/ m1 H/ T! `" [' X6 z8 @5 r
done& |9 B9 Y; G0 l1 i- N
else; G9 z% d- c  |3 {; `' M# D
echo -e "No Directory specified"3 c% a  L5 j" A* I
fi
# h! G1 o3 K, N( t2 X  B- RWhich statement is true about the script?$ X* h( x8 e9 \- d" \) H
A.The script displays the total number of .dbf files on the local machine.
" a7 d% D5 ]  EB.The script will not execute because no value for the $1 variable is given.3 }9 G! C, ]& w, v! }7 A% \1 j6 j
C.The script displays the .dbf files in the location given as a value in the positional parameter.
, Q# w5 e: ?. `) ^D.The script will give an error because the variable name should contain the letters of the English alphabet.
' h& b9 z2 d8 W6 E/ m0 g. Z0 ^! zANSWER: C & ~- }- @  _$ R% p! J
+ w0 _# |7 P+ Q& M( L
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.)
6 Y1 n! W% ]$ `: g3 @+ y3 e  ^- aA.The DISK_ASYNCH_IO initialization parameter will be set to True.
1 O! g* |0 E' ~B.The TAPE_ASYNCH_IO initialization parameter will be set to True.' ?% M; `( y' {
C.The database instance will simulate asynchronous input/output (I/O).$ g( b. p* ^: D/ o6 y- [
D.Oracle server will update the value for the DB_CACHE_SIZE initialization parameter as per the system requirement.0 M5 h2 I8 p7 ?' a/ m9 j
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. # V7 ]# N( q* V
habet.- T4 R) @* B! ~& m
ANSWER: CE
4 d( R8 i# G# u' K2 {0 c
8 u7 H* s1 b1 J& E/ M6 J21. Which two statements are correct about the DB_WRITER_PROCESSES initialization parameter? (Choose two.)/ R5 S  m7 U; d
A.The default value for DB_WRITER_PROCESSES is (CPU_COUNT+7)/8.' A. P1 o' x' a& ^
B.You set DB_WRITER_PROCESSES to greater than one to simulate asynchronous input/output (I/O)./ _3 g& M% A4 e* ~# \' p: e& v4 t' f0 V
C.You cannot set DB_WRITER_PROCESSES to greater than one if asynchronous I/O is enabled for the Oracle server.
) F; K( J" K8 c7 m- j& K7 S, N' ND.You cannot set DB_WRITER_PROCESSES to greater than one if the DBWR_IO_SLAVES initialization parameter is set to greater than zero.
+ U; M4 z" ~6 J' W/ X5 {$ VE.You must set an appropriate value for the LOG_PARALLELISM initialization parameter before modifying the default value for DB_WRITER_PROCESSES.
1 v. q. ?! x( E% {ANSWER: AD
$ i' U, R6 p6 e' `# b1 o, X+ H" c+ L$ r6 X, g1 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.); n9 y( e; R% O4 s  `1 n# S: q
A.The startup process will take more time.
# s. ~/ {- I) l0 n  DB.The value for DB_BLOCK_LRU_LATCHES will be set to 4.  _; m7 g2 H3 F- a' A5 g% S' j4 |2 @
C.The database instance cannot use multiple DBWR processes.8 ?7 n5 n8 H* M
D.The database instance will simulate synchronous input/output (I/O).! a# }$ S3 x- B4 ~4 M" M! j& |5 S) Y4 [
E.Each Oracle server process will read the entire System Global Area (SGA) to physical memory at session startup.. B/ a" S( p( \/ I1 Q
ANSWER: AE 7 m7 I) v6 t& U6 ?2 v
1 o+ ?8 ^- u3 Y
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.
$ ?+ i( c7 G  j1 f6 I/ l; @7 \" YWhat would you do to avoid the wait event in the new database? ( O7 K4 a& U3 n0 _/ q5 Y) j( g) [3 A
A.Consider setting a larger value for DB_BLOCK_SIZE for the database.
' U/ u" T* O! u; h, vB.Consider setting a smaller value for DB_BLOCK_SIZE for the database.5 ]: E$ `+ }* H( A% q4 c' Y* T
C.Consider setting a larger value for the DB_CACHE_SIZE parameter for the database.$ g; B% h$ M: A5 w! t$ F+ u
D.Consider using the DB_BLOCK_BUFFERS parameter instead of the DB_CACHE_SIZE parameter for the database.$ ^6 R  `* f. e) c; l# S8 t8 |% T$ f# i
ANSWER: B % @( N* O9 O0 C( Q: w
  k+ R: c& j' ?; e  z3 i# G
24. You executed the following command:% F5 i* G1 s* r) y) k
cat /proc/slabinfo | grep kio
9 K; M! G. [9 `; s# OYou received the following output:
" z5 s  z5 ^3 L3 K7 i: Mkioctx 270 270 128 9 9 1 . ^' u; _, ], }8 p1 W
kiocb 66080 66080 96 1652 1652 1
, R" x* x: e% }. |- {( V; ikiobuf 236 236 64 4 4 1
3 y! \- X2 ~# E/ v+ \2 V+ e0 F8 _What do you infer from the output?, t9 R) B0 @6 E
A.There are no inactive pages.+ z# w& C! _- G3 K+ k# M* V
B.The disk activity needs to be tuned.! @! ^& p9 ~( Z( K- a% d
C.There are waits for the buffer cache.
8 ]1 H9 @9 u% K9 w, T$ z1 U" ID.The value for the shmmax parameter needs to be increased.
  z" a6 O$ ~1 T+ Y% L. B* CE.The Linux system has asynchronous input/output (I/O) configured on it.
9 h7 d2 w/ d# [! ]  Oo greater than 1, then the DB_WRITER_PROCESSES parameter will be set to 1.
% C" e* n" m+ D+ c" a9 ^habet.
: @8 a4 j- s- n( h( S) hANSWER: E " h% Q( G: x! w; N7 l  k

" K' u' W3 f7 h2 j; `8 s25. You executed the following command on a Linux machine:
  M2 Q2 G2 _& B" @* c* {0 }$ cat /proc/slabinfo | grep kio! `' @9 T0 V& n" u6 i( i$ y
kioctx 270 270 128 9 9 1 : 252 126* w9 @: S4 F4 \! G7 ?
kiocb 66080 66080 96 1652 1652 1 : 252 126$ C) l# }5 p) D) }6 T: D5 D
kiobuf 236 236 64 4 4 1 : 252 126
# r/ |! t' V  z" Z" [. C( X! BWhich statement describes the purpose of executing the command?( Z6 y& ~( j  S* f9 Z- G
A.to check the virtual memory usage in the Linux system9 v" ~2 b- `5 M" Q/ j+ u
B.to compare the I/O statistics of different channels in the system$ Q4 e- l) K2 B, F# @
C.to check whether the asynchronous I/O is working in the Linux system
! s9 M# _' [! a5 B4 K, `% G' eD.to check whether multiple data bus adapters are being used in the Linux system
% z; }+ w6 d0 N0 dE.to check whether the shared memory file system is being used in the Linux system* e; o; X" J# F! r0 ^4 W
ANSWER: C
0 f6 P* b0 p2 w1 P( }
- C! |6 f- t$ i% _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. 4 x" `7 M& |7 x4 z/ m( w( `
What would be your next step to avoid this event in future?
' N! k9 z# V4 oA.Decrease the value of the DBWR_IO_SLAVES parameter.
- X) J3 G, y5 f+ ~7 D6 ?B.Increase the value of the DB_WRITER_PROCESSES parameter.: p7 h1 g. k7 V
C.Set the USE_INDIRECT_DATA_BUFFERS parameter to TRUE.
0 L' R1 x) ]% \2 n. B7 LD.Increase the value of the DB_FILE_MULTIBLOCK_READ_COUNT parameter.
  E1 m; A# S  z. z. ZANSWER: B
3 V! F9 _% R1 y& J! u
# ], N0 z$ M  d/ r- a/ u' B1 ~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.
" o; n/ t# ^- `8 j6 c* vWhich memory area is used as the communication area for I/O buffers?
+ {% C* ~- \8 j$ IA.The java pool- S2 D, H; @- G3 m) y# z5 L1 \
B.The large pool/ k6 p& m" g0 {* |- A9 a+ i
C.The shared pool8 x& t, [& y- _9 ~0 a# Z  F: L
D.Memory space allocated separately outside the SGA
2 t( g3 T: }# I" g. i" KANSWER: B : ~& K( H" M  L7 V3 D1 p* [+ d

; e& l) ^# H( w7 K8 j4 s28. 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?1 R  n* P$ v8 N+ M8 R/ A
A.Setting DB_WRITER_PROCESSES to more than one reduces DBWR_IO_SLAVES to one.
9 ^+ s" u) ~: tB.Enabling I/O slaves forces the value of the DB_WRITER_PROCESSES parameter to be set to one.. `  H3 R& t3 T+ }6 X! Q2 W" y4 ?! k
C.Each DBWR process uses a single I/O slave when DB_WRITER_PROCESSES is set to more than one.
) t  i; j+ P# o# @2 F" o% MD.The database performance is directly proportional to the number of I/O slaves when DB_WRITER_PROCESSES is set to more than one.- M# Q6 `6 ^4 E+ d3 o' @" J, y# `
ANSWER: B
% C$ r/ Y9 J  U# ?1 ]! r, v, w- q, `5 I7 h) Y
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. , j. I& L# [& j4 o! X
What could be the reason for this?1 J) P* O6 k" b3 x: B  \8 l
A.The SGA has been locked into physical memory.
! v4 m" I0 P  m3 FB.Each server process that starts must access every page in SGA.
7 ]3 I0 I- F" m* Z: Z; ]2 ]C.The session memory for the new connections is allocated from SGA.
  H& _6 U0 m- V: X9 h/ OD.The SGA size is adjusted by the Automatic Shared Memory Management feature during every new connection.
" B, F. c' o1 l* Y  ~& w% Z$ DANSWER: B
0 B8 K. Z( f& m7 X9 c
, C, T9 c, d1 D0 W9 O7 z: O$ \( x30. You are working on a database instance with the following requirements:
: R  ~# C- ^/ y2 {* D# o, }4 ZDuring daytime, there is a large volume of transaction that requires a large database buffer cache.: w5 j) k' |" \: o+ s0 ]' e
In the night, batch jobs are run. These jobs require a higher value for the large pool.# ?2 E* g) i/ c0 U+ ^# }
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?5 ]2 r8 s" o; W# ~  _( r
A.Set the PRE_PAGE_SGA initialization parameter to TRUE.
" v! |& r" @3 o) ?1 l. N9 aB.Set the SGA_TARGET initialization parameter to a nonzero value.! ]8 z# H( l. [1 g: D
C.Set the DB_BLOCK_BUFFERS initialization parameter to a nonzero value.
1 {, ~$ G0 n5 T% ^% Y7 O7 |D.Set the USE_INDIRECT_DATA_BUFFERS initialization parameter to TRUE.7 s& D, `0 V( R3 U
ANSWER: B
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享 顶 踩 转发到微博

本版积分规则

关闭

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

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