下沙论坛

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

QQ登录

QQ登录

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

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

[复制链接]
头像被屏蔽

该用户从未签到

跳转到指定楼层
1
发表于 2008-12-27 13:40:16 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Oracle   10g DBA   1z0-046考题' r3 p" V; q$ X" s! I
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 F3 v8 X8 F5 E# X  c
What could be the reason for this change?) s2 Z1 b. k: k' K' {' o
A.The buffer busy wait event has been detected.
( \2 C2 D5 \* y* [1 u. g7 R  c& j# a) AB.The no free buffers event has been detected.
0 g% Q$ M% s# w9 l1 RC.The log buffer space wait event has been detected.) U7 D+ l8 Z; ]5 k4 c5 f
D.The log file completion wait event has been detected.
# K* ?6 f- H3 U* SE.The value for the free buffer inspected statistics is growing.0 D- |) Y7 T6 U: m7 K7 d+ w  G
ANSWER: C 4 d9 G+ @9 W$ z7 c$ H8 v, ]

* z# w& H2 k+ d2. ho.sh is an executable shell script. You executed the following command that leads to an error:# [7 t' I7 [! S& g* }5 Z
$ strace -o /tmp/ho.out ./ho.sh; k7 s9 ^* _, O
strace: exec: Permission denied
: }5 v1 K6 b% GWhat could you do to execute the command successfully in the next attempt?
& I4 y' R0 }3 c5 ]* c2 V& dA.Provide the shell reference with the command.
7 u3 j1 s5 n  C7 S" @" [7 H3 CB.Remove the shell reference present inside the shell script.; f8 x5 p3 w. [, M( A$ r
C.Execute the command as the root operating system user.
7 Z& U8 t( @5 u! r0 B, T1 D! ~D.The extension for the output file should be changed to .log.
4 X9 m8 S6 v0 b8 \/ X" lANSWER: A ; V: Q6 l3 _3 y6 G: v$ l

' }5 I5 v0 e8 `3 D3. You need to ensure that whenever you create a new file, it should have the following set of permissions:! n& O0 ^( r, y" C/ K
u=rwx,g=rx,o=rx.
% ^7 h' c- V1 f$ g2 |( mWhich statement can you add to the .bashrc script to set the desired file permissions?
% x9 I0 }  m* m" w+ @2 \$ aA.umask 455
) L4 ]/ ^+ ]+ G! V+ }B.umask 012
9 v$ }2 y5 D! @$ R6 ~C.umask 0755
) X) a8 _; P7 j  q" p# O" ?: `D.chmod u=rwx,g=rx,o=rx7 z1 c9 f8 M! l
ANSWER: C
7 p+ p# {+ W; k' L$ j* X  p" w# e' |5 H5 v$ v6 m4 A0 J) Q* Q% g6 T; J* V
4. Which three statements are true about Oracle Clustered File System (OCFS)? (Choose three.)6 }3 ]  O5 O0 T1 w
A.There is no limit on the number of files on OCFS.
6 k# S5 @% k4 t9 V9 cB.You can use OCFS for database files as well as general files.
3 H, Y; y+ y& l) H7 t+ P4 ?1 BC.You can create an OCFS using Logical Volume Manager (LVM).
. T* T4 b( g7 T0 ^. F7 y. jD.You must modify the Linux kernel parameters before mounting OCFS.9 V/ W. |' Y, X; e! b8 Q
E.Standard file system commands, such as mkdir, rmdir, and mv, are available on OCFS.
" Q. {4 N) J) SANSWER: ABE
; _; }, j" a8 N( A2 H* U5 {$ O$ U9 ]0 q& }: N  v2 n& K# h
5. The OS user BOB is a member the osoper OS group in the database server. You want BOB :( ~6 m1 d  I; L& G! {
Which of the option would fulfill the requirement? 8 D* r& _7 h# ?
A.Assign the sysdba privilege to BOB., m9 y$ H* n$ f; U0 k% b6 F& v) \% V
B.Assign the osdba OS group to BOB." F8 y# q2 ]* s- [
C.Set the REMOTE_LOGIN_PASSWORDFILE initialization parameter to SHARED.
+ b, C. P: A+ k9 R( l& v& o3 ND.Set the REMOTE_LOGIN_PASSWORDFILE initialization parameter to EXCLUSIVE.
9 t, K3 P4 |$ i) w" _4 {ANSWER: B 6 q% n4 n, o* c) p" X% K
/ |  ]& Z; r6 F9 w1 O+ y# [
6. You executed the ipcs -m command to list all the shared memory segments in your Oracle server.! F7 o5 Z5 h( N1 u
View the Exhibit exhibit1 that shows the output of this command.' M- y8 R' \( Y: N0 H' i; ~' k4 Q  W
Later, you executed the same command to check the shared memory segments.
4 m5 \$ y3 n0 c% C# BView the Exhibit exhibit2 that shows the output of this command.2 S2 R, S( _! }0 l6 K, \
Why is the large shared memory segment not listed in the second Exhibit?% M8 t8 L0 b' d8 p% P
A.The Oracle database instance is shut down.
, B* @8 ]' |  p$ pB.The swap space has been increased in the system.6 {! j- |- L( p* p. t" k# F2 C5 j, j
C.The Oracle database instance is configured in shared server mode.- `1 {' A9 o: ^! k; F
D.The large pool size set for the Oracle database instance is reset to zero.
1 B" h9 C5 `3 W" Z6 yANSWER: A 6 t$ l& H. ?0 d6 G5 q0 Q' y/ n/ o7 C' T
" v: l4 A7 Y3 x: N9 u# ^
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. $ M* N/ ~% @3 v) a: S
Which set of commands would you use to restore the original settings?
+ n6 x$ V7 E$ n( z& EA.echo 0X1000000 > ksms.s
  c% q1 }' ^5 hmake -f ins_rdbms.mk ksms.s4 P- ]+ Q0 E$ F
B.echo 0X15000000 > ksms.s
4 c  A  q5 {% P# E8 L, lmake -f ins_rdbms.mk ioracle( P  Q) x' n& q; b: ^# Z3 y, U* ?, |
C.make -f ins_rdbms.mk ksms.s
) h+ Y  Y3 f! v, v! V5 D1 I. _make -f ins_rdbms.mk ioracle
1 ^$ t2 ~6 c' u( Q8 G6 X" `. RD.genksms > ksms.s
4 A) B, Z. u3 O; a* X3 H- Gmake -f ins_rdbms.mk ksms.o, Q1 [( S3 x5 `' k7 A9 r
make -f ins_rdbms.mk ioracle5 ^  L. u( R2 V# ^3 R8 X5 c% n: m
E.genksms -s 0X10000000 > ksms.o0 M9 j9 x- s) w: \
ANSWER: D
1 E8 v9 `- s* c4 k  }8 x; L4 _+ z8 G
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?& h& z. [9 h" y
A.uname -r
5 j1 d. }( H; r8 O8 s# G; dB.uname -v
/ L4 Y5 Y: ~- w' pC.cat /proc/version3 q+ g$ p+ Y. Z% o  j! D& y& D
D.cat /proc/sys/kernel/tainted
7 d" Y& m* G& i6 dANSWER: D
% m) H: W$ c: p1 t3 r$ w; o! U8 ~
4 b$ x5 U% N/ f9 ^" E0 Z  @; _9. Examine the content of the /proc/sys/kernel/tainted file on your Linux machine:
' i& ^$ K) }! T  g[root@edtdr6p1 root]# cat /proc/sys/kernel/tainted
7 y$ H/ M2 T  \2 P8 E. z# P% O0 o1
" {/ p( r1 V- @& d6 p4 r- ^4 pWhat will happen when you install Oracle Database 10g on this machine?2 c7 A7 ]2 R5 i* L5 b
A.Installation will fail because of the tainted kernel.# a7 C4 Z" c( }' Q6 o! k( N7 n
B.Installation will be successful, but Oracle will not provide support for the database product.5 z5 G. g- h: B, e/ M
C.Installation will be successful. Oracle will provide support for the database product but not for the operating system (OS).
# @1 v! u& Q) nD.Installation will be successful and Oracle will provide support for the database product as well as the OS.
& q2 F7 D/ j) uE.Successful installation and Oracle support for database product as well as Linux OS will depend on the module tainting the kernel.
  C! J, L1 [% [: u" @3 o5 \ANSWER: E
0 `' }' D) {, Y, I" [. p: d+ k) v
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:) }7 Z/ G6 p1 N4 x+ g
[root@edtdr6p1 root]# cat /proc/sys/kernel/tainted3 o2 A0 a! \4 R" f. i, P6 m
15 r6 N2 P0 G8 m; U* X
What do you infer from the output? (Choose all that apply.)
* k; S) ~' s6 P% I: i$ jA.A proprietary module has been loaded.
% e- f) p1 F7 \. n8 H6 X2 v7 \3 {B.A module is marked unsupported by the vendor.
* f! H7 L/ T! ^2 @* O" oC.All the loaded modules have General Public License (GPL).
3 ^4 k) A- I1 n  E! X5 RD.A module was force-loaded by using the insmod -f command.
" c# V+ M+ i0 C7 m/ UANSWER: AD & G8 ?: Y) W$ q1 ^, C2 `
+ A+ L. q+ d; o2 y& t3 b( l/ |3 F
11. Which command is used to identify the kernel version number?! h- K- P2 g+ h- s8 [- e8 A2 \
A.which: f3 x+ N( H2 L/ f% v
B.whatis
, C9 p+ q; ]+ l0 M, yC.uname -r1 F0 Z! S# L7 F+ k9 u* E
D.ulimit -m
) n, T9 w1 z/ |2 m& NE.chkconfig
( K* `0 n: C4 p; o( |ANSWER: C ( E7 N: c6 m% q5 p. C

8 |8 w7 R1 H4 \12. Match the following commands with the purpose they are used for:/ ]( V# S  C' e6 N) m; L* V
I chmod a) To create a file with the desired time stamp
" X/ y) C( T+ ^' i$ f$ Wii touch b) To use the variable of the parent shell in child shell8 K; e3 }5 ?" W( v! m% s( y$ P
iii alias c) To give write permission to a directory' O1 F# Z$ b& r" g2 ^  b, D
iv uname d) To simplify long commands
; \1 q7 p% g: X' T  T- |  G: jv export e) To see the Linux release number" q; _, ]- f; r0 x8 G5 q
A.i-a, ii-e, iii-d, iv-c, v-b- H& Z' L: Q+ _! x+ m
B.i-c, ii-a, iii-e, iv-d, v-b
9 D* e: o- l6 y6 R+ z' YC.i-c, ii-e, iii-b, iv-a, v-b* J! a9 h# R% ?. @
D.i-c, ii-a, iii-d, iv-e, v-b
% ]+ I9 B8 ]  S& R$ [2 Y/ W6 _ANSWER: D
4 g7 B2 T  @3 m2 L9 s. Z6 [; F# `- \; h  p4 ^
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.)5 _4 t! H" M( }# c3 f. G
A.id
% f! ^. w! _6 z  K/ uB.uname -G
7 O1 L$ `3 S* pC.cat /etc/passwd* X; E( P" p5 J! I- ^
D.cat /etc/group
( b% }6 U# {& I/ E$ ^' wE.cat .bash_profile: q0 l* E! f% n, a0 s, w+ @8 L9 p
ANSWER: AD
* |, ~' S3 _& Z& Z+ E/ h1 O2 U6 V- _/ `% w0 G1 B# b
14. View the Exhibit.) l4 C1 ^: C! [7 e3 k
Which two statements are true about the output of the cat /proc/partitions command? (Choose two.)
# k" O$ K& W" ]$ n( [A.The hard disk has four partitions.
) A# T+ a9 q6 s: a, M9 h4 K$ p$ wB.The hard disk has six partitions.
9 ^1 x% D9 |& A- L! jC.The swap partition is not shown in the output.
" N; _" s: T2 u/ ~D.The major column shows the device number with partitions.
; Y( S- s$ x1 w, x# j) k) |: ]6 QE.The #blocks column shows the number of inode blocks in that partition.
4 O3 R1 ^: q1 s, w; P6 r% S/ d, d8 B/ L( Z. C, B
ANSWER: AD 9 b, Z+ h4 [! o" O: T9 Q6 M
) W9 ?' ~  H# J# D' t2 Q
15. Which command would you use to identify the users that belong to the oradba group?; V% X4 B# H7 m) X( S5 n6 h* h. E
A.id -G- T' }# X9 B" g3 R  G& P, g# h
B.uname -g6 g  O. |% `1 d& n( U7 ~
C.grep ^oradba: /etc/passwd( r8 j; t5 ^2 h2 K# r& S* P2 W
D.grep ^oradba: /etc/group6 }: ]1 r% W! s: S- A2 o
ANSWER: D & q/ _) [$ ?6 J4 H4 G+ A. I

$ D. f; ]& u/ q2 h16. View the Exhibit and examine the output.: x* u4 Q  i8 g% v
What do you infer from this? (Choose all that apply.)
2 F+ t5 v' _- M' K% YA.The command output is stored in the pmon.txt file.( _- N9 }! b7 S# |
B.The command shows all the processes running on the machine.
* A( P" ~* q+ h- i! r! l2 jC.The command appends the pmon.txt file with the output of the command.
9 B1 L4 u- ]: VD.The command shows only those processes that contain the text _pmon running on your machine.) e* Q1 t. }! }! K) \4 R6 T7 G' ]
E.The logs generated while executing the command will be stored in the pmon.txt file.
4 ]7 h2 I; g7 f, z: H9 H8 y
, q* F! @  [! GANSWER: AD
! L' i# P- ]( H  I& z; A+ V
/ l* f! k5 `" R" w- A17. View the following script:
. d) j/ n% m6 `+ rif [ -r /etc/oratab ]
3 B+ s0 n3 S' t$ Zthen  W2 A6 a. U; J6 i
ORATAB=/etc/oratab
, x  ~6 ?) \0 Y: r# V! r6 o+ j# H& relse
4 o4 U# ^8 x" E3 ~6 z' `5 Oif [ -r /var/opt/oracle/oratab ]1 q4 k: [+ s+ P7 h
then( j, }% p+ \8 c/ x2 x+ T
ORATAB=/var/opt/oracle/oratab
  _) H4 e' ^% Xelse) M5 P  p8 i) {6 E( u2 \. V: k) @
echo "Can't find any oratab file"* V  D) N6 w  q: \# @
exit 1
6 P$ n( \2 C2 d3 w' Q; T2 cfi5 K' M! \- h* _; G; c' z+ b
fi1 l$ K: N/ N7 y) q
grep -v [\#\*] $ORATAB | cut -d ":" -f1
' ]* O; H% w% W4 x- FWhich statement is true about the execution and output of the script?$ G7 y% u9 f" |* D) h9 h* v
A.It will execute only in the /etc/oratab directory.
. b" A- w% q' n* h' JB.It will show all the Oracle homes listed in the oratab file on the local machine.
6 j* j8 X2 l( L6 W2 [; t* rC.It will show all Oracle database SIDs listed in the oratab file on the local machine.
  ~7 d+ O4 H+ a) x  wD.The script output will depend on the command-line arguments passed while executing the script.
: Y) @; s( N% GANSWER: C
: K6 G  B1 d9 \' Y
6 d) Q: i9 `: N3 e18. Which three statements are true about the built-in shell variables? (Choose three.)& F# C+ t9 P# I+ A0 ^) W) H4 t2 s" h
A.The $? Variable stores true and false values.
. a) x! s) b, l) }: ~$ I1 ]) `B.The $* variable stores all the command-line parameters passed.
$ f6 s# \, L. u& J5 D. I: D# ~5 ^C.The $# variable stores the total number of command-line parameters.
* c. S: @# ]" w& d  r# U! w3 \D.The values for these variables are retained in the session until it is reset.. D* ?7 ], p0 [2 T  |* n
E.The $n variable can store n number of positional command-line parameters.% A4 `; f; N, v  b3 ~
ANSWER: BCE
' }* i" b- c2 f
, G" [$ ~. T) L5 v9 a9 _* [19. View the following script:& s$ ]; {$ n/ n, X) I; \
if [ -d $1 ]
  Q6 s7 }/ j5 L9 I- O3 l+ a  P8 L* f: Athen/ W, g* O! R" I) R/ x1 _. e8 g
for Data in `ls $1 *|tr -s " "| grep .dbf`
/ [7 y. @$ o8 |3 I. ?2 Z/ g6 ydo7 w' S) X: s8 U! ?4 \4 Y; c; a: d3 j
echo $Data
4 _7 _9 w( c" d& I% Hdone
0 o& a- `8 W" [! @$ l( e3 helse% q( a0 v% ^% J* k2 i' m) [
echo -e "No Directory specified"
+ N0 g3 Q* r: {8 e# c0 S) m2 {fi
* ?1 M. G4 w- T$ L% j# xWhich statement is true about the script?
. T2 W6 _, K0 a3 k6 ~A.The script displays the total number of .dbf files on the local machine.
$ R0 I' `# N3 H+ `" E5 b" OB.The script will not execute because no value for the $1 variable is given.- G3 Y/ G! M+ A; d7 s$ {3 ^
C.The script displays the .dbf files in the location given as a value in the positional parameter.4 L* e7 y0 ]6 n1 ^" O4 M$ Q% D
D.The script will give an error because the variable name should contain the letters of the English alphabet.
* b: R7 g' G5 gANSWER: C
6 n& Q: Y- y4 O( V' f6 y. ^7 Q* p$ }# d
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.)& s) c! s/ _$ p$ c
A.The DISK_ASYNCH_IO initialization parameter will be set to True.. P3 O6 L5 w/ V% S, `
B.The TAPE_ASYNCH_IO initialization parameter will be set to True.
& p! p+ G2 @2 f; mC.The database instance will simulate asynchronous input/output (I/O).7 @/ {5 H( y( ~% U5 c
D.Oracle server will update the value for the DB_CACHE_SIZE initialization parameter as per the system requirement.
9 h! H! d: n9 m$ N1 KE.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. 5 i; Q, \0 q1 h% F. {4 [
habet.
. p9 R! J! ]0 FANSWER: CE 4 {( {/ S1 I0 _

, v) m* Z- ]( }: D6 w6 F; d21. Which two statements are correct about the DB_WRITER_PROCESSES initialization parameter? (Choose two.): x( ?* y6 ?. L
A.The default value for DB_WRITER_PROCESSES is (CPU_COUNT+7)/8." g/ ]; n6 ~, U/ B  f5 [; V* _  Z
B.You set DB_WRITER_PROCESSES to greater than one to simulate asynchronous input/output (I/O).2 \1 ^2 A* I0 I5 ~6 |! f0 C
C.You cannot set DB_WRITER_PROCESSES to greater than one if asynchronous I/O is enabled for the Oracle server.! L% M6 I& m2 ?( ^+ X$ P; Q
D.You cannot set DB_WRITER_PROCESSES to greater than one if the DBWR_IO_SLAVES initialization parameter is set to greater than zero.
2 g  K' [% j6 z+ w! ?7 zE.You must set an appropriate value for the LOG_PARALLELISM initialization parameter before modifying the default value for DB_WRITER_PROCESSES.! D% }0 D5 s( f3 T& r* p- L
ANSWER: AD
% ~* _8 D6 T) `% u
7 n( W0 n: _4 m, N; q2 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.)
0 ?: r* \' Y- l" S  `A.The startup process will take more time.9 G  M1 ?3 h" ~
B.The value for DB_BLOCK_LRU_LATCHES will be set to 4.2 `- ?5 `0 g6 x
C.The database instance cannot use multiple DBWR processes.2 W4 ?7 _' R  K( e5 O
D.The database instance will simulate synchronous input/output (I/O).* h2 s+ p& [$ A- m1 v* n+ J/ G0 v' n
E.Each Oracle server process will read the entire System Global Area (SGA) to physical memory at session startup.3 K% w: ~- i( v+ T
ANSWER: AE
, A3 V0 C) o4 B) m  [; }( k
! `- J  P' L) t- @4 _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.6 A% F* P! W1 b; Z- l8 s% k
What would you do to avoid the wait event in the new database?
' C! s8 Q/ P2 o7 fA.Consider setting a larger value for DB_BLOCK_SIZE for the database." m0 |+ y  A( p
B.Consider setting a smaller value for DB_BLOCK_SIZE for the database.1 l  N1 }; Z: k% ~6 ^+ m2 @
C.Consider setting a larger value for the DB_CACHE_SIZE parameter for the database.
4 {$ Y# ^" D8 @3 C+ y, k/ }; x% rD.Consider using the DB_BLOCK_BUFFERS parameter instead of the DB_CACHE_SIZE parameter for the database.
$ L- M7 \9 o& Y$ sANSWER: B % D# q9 S: e0 b( \
, c1 w5 q6 i- T) S
24. You executed the following command:& U1 B2 x% v  [  G! f* S( l
cat /proc/slabinfo | grep kio
1 ?2 l+ h# E7 \( l0 C' W6 zYou received the following output:
7 Y3 X: b; s5 S. `kioctx 270 270 128 9 9 1
5 p2 |: \6 z! n* c5 y8 ]. S8 E6 z1 fkiocb 66080 66080 96 1652 1652 1 1 x+ X3 y9 v# D& `( V8 x; B1 F
kiobuf 236 236 64 4 4 1
) y2 i$ n$ B  d! V) HWhat do you infer from the output?
% y8 e2 |8 |( |# GA.There are no inactive pages.$ E, `/ P, O8 y! g3 |! u1 T6 E# N
B.The disk activity needs to be tuned.
' |7 F- `  N0 ?+ G8 Z& mC.There are waits for the buffer cache.
& g; B! {# D. l+ Y9 F, r: ?- KD.The value for the shmmax parameter needs to be increased.( v/ h  [: C0 U8 v- y) ^  y: j
E.The Linux system has asynchronous input/output (I/O) configured on it." @$ S8 b' y( g) M8 Y
o greater than 1, then the DB_WRITER_PROCESSES parameter will be set to 1. - n! h/ h2 |) j" V# @
habet.
7 ~5 ^: ^9 a1 f5 S2 BANSWER: E
% u. o$ q, Y4 ]/ {! w! t( W9 e% |8 P$ }5 R  H
25. You executed the following command on a Linux machine:' T2 d6 f% T1 ], E
$ cat /proc/slabinfo | grep kio
2 O" B7 `# H* X9 Rkioctx 270 270 128 9 9 1 : 252 126: o0 }+ `& L, {1 e0 i
kiocb 66080 66080 96 1652 1652 1 : 252 126$ H8 G  ?$ T8 O% u' J
kiobuf 236 236 64 4 4 1 : 252 126
3 L4 a) H7 l3 c) c: b9 a/ j" sWhich statement describes the purpose of executing the command?, `" U2 s8 l3 s* Q
A.to check the virtual memory usage in the Linux system
1 S- F  ?% g$ q! u/ SB.to compare the I/O statistics of different channels in the system
1 b# P/ f) w( i/ z7 H7 RC.to check whether the asynchronous I/O is working in the Linux system9 a$ n1 C) P. K4 V; b
D.to check whether multiple data bus adapters are being used in the Linux system
" [* s; o- j& FE.to check whether the shared memory file system is being used in the Linux system% J3 M- n/ Z5 K
ANSWER: C
3 W, U* z( D. G- @/ W, P% c. \- F5 P" A- ]- H! R1 `
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.
" N; v- g" _, {# `What would be your next step to avoid this event in future?
2 [1 O. D+ l/ L6 m  T4 Y3 J. l% CA.Decrease the value of the DBWR_IO_SLAVES parameter.
0 H) Z) l8 u2 i6 r$ eB.Increase the value of the DB_WRITER_PROCESSES parameter.. v2 ^/ k4 F% V9 f
C.Set the USE_INDIRECT_DATA_BUFFERS parameter to TRUE.2 B1 b5 H, T/ M# A9 ]" l
D.Increase the value of the DB_FILE_MULTIBLOCK_READ_COUNT parameter.5 [( U; O- m" u' _8 c0 T% T% X: `
ANSWER: B
! }5 H) ?) X5 W2 M. [7 ?: V# V' Y: B# T3 @( x' U
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 J9 S9 J0 P/ Y. T/ R* DWhich memory area is used as the communication area for I/O buffers?' D( Z3 _. L" G: y; s/ o5 p
A.The java pool
: Q1 E1 I( r2 K+ V8 OB.The large pool+ I0 B" j& D" d& U: e+ m+ ~5 W
C.The shared pool, w: g9 m3 J( D
D.Memory space allocated separately outside the SGA2 F1 y  `% t! h8 U
ANSWER: B
4 f3 s' C6 c; ], `# K) K& \+ }# N8 w! h2 D* p! I" X- u/ U; t
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?
+ h! V9 y3 z5 r" h% Q% MA.Setting DB_WRITER_PROCESSES to more than one reduces DBWR_IO_SLAVES to one., r$ v2 @+ ~+ ^) R, N# L3 \( r. k
B.Enabling I/O slaves forces the value of the DB_WRITER_PROCESSES parameter to be set to one./ m' d; L: p. x2 n/ \1 K
C.Each DBWR process uses a single I/O slave when DB_WRITER_PROCESSES is set to more than one.
6 R6 k2 {) T% o+ U  AD.The database performance is directly proportional to the number of I/O slaves when DB_WRITER_PROCESSES is set to more than one.
8 Q. }2 G) V% zANSWER: B 6 Y: F) D) C3 [' `: r- H
7 a" j5 \) y* v! w/ |8 g
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 H- q) L( Q) c, N" L/ Q  M; k
What could be the reason for this?4 k; n5 y/ M' c$ w
A.The SGA has been locked into physical memory.' F* Q" V7 G0 P/ E4 ]
B.Each server process that starts must access every page in SGA.
- _* g" `0 U# s8 JC.The session memory for the new connections is allocated from SGA.
7 w# g8 R0 P8 v- `/ n1 sD.The SGA size is adjusted by the Automatic Shared Memory Management feature during every new connection.8 Q0 ^& \0 D, ^6 D  A
ANSWER: B
4 B, X0 ~  o5 D3 b* P! ?0 G3 g
5 ?8 `4 U2 d1 [30. You are working on a database instance with the following requirements:
/ \7 G6 {( f: ]% i: oDuring daytime, there is a large volume of transaction that requires a large database buffer cache.& S" c1 j9 A  }7 s' R% v
In the night, batch jobs are run. These jobs require a higher value for the large pool.
7 u& y+ ?0 @0 ^0 NYou 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?
: `, g1 p$ c, i) [% I+ O: \/ ]. zA.Set the PRE_PAGE_SGA initialization parameter to TRUE.- u3 o5 B5 j* R" m" R/ x
B.Set the SGA_TARGET initialization parameter to a nonzero value.
6 Y- ~) r  e4 r: D" uC.Set the DB_BLOCK_BUFFERS initialization parameter to a nonzero value.
2 Q, d, V# V% X) bD.Set the USE_INDIRECT_DATA_BUFFERS initialization parameter to TRUE.
8 y3 I+ N) a+ E# z! A# }/ `/ IANSWER: B
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享 顶 踩

本版积分规则

关闭

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

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