a我考网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 137|回复: 1

[红帽认证] 红帽认证RHCE试题及答案9

[复制链接]
发表于 2012-8-4 12:19:50 | 显示全部楼层 |阅读模式
41. How can you create a file of all your ISA plug and play device settings?
4 I5 |! [" w/ @( Q! W3 cA. pnpdump > isapnp.conf ; v7 v/ u( n2 d3 z0 ^, l$ t
B. pnpdump -isa > isapnp.conf
& [( L) }3 D, Q, z2 O6 O! mC. isadump > isapnp.conf
! Q" X! c6 o5 F. x" u6 U9 yD. cat /proc/isa   M  z% o9 M* a, g, R+ m
E. isaadmin --dump >isapnp.conf , Y" p  S$ p% M) X
You answered this question incorrectly
0 ^  z- ?, a7 {9 Z% IExplanation: Only A is right 1 A, o9 @0 g1 i  p  k8 \0 ?
& V9 r/ W7 J5 u
42. What command allows you to switch from using Gnome to using KDE?
- u; j; _: s, x' W  fA. Xconfigurator - z2 ?( ^3 M; ^" [
B. Xsetup
$ [* S9 g8 E0 ~( ~5 RC. Xwindowconfig
4 A" v* x8 r" b# M& {D. switchdesk
+ q& z% n) B9 e( A" w$ aE. videocfg & @, {: |. h9 z+ Q' y0 }
You answered this question incorrectly
2 l4 {& w5 S0 r) h) W4 ^Explanation: The switchdesk program allows you to switch desktop enviornments and window managers. 5 U. E% o( q0 a. K/ Z- q( _6 q5 H

! q1 N6 d! P5 j* P+ Q" J: w& a43. What command will turn off the ftpd service in all runlevels? ! p2 h  I* R6 j7 m" |' |) a8 q
A. chkconfig ftpd off ( g% W. D/ j: z6 j
B. rm /etc/rc.d/init.d/*ftpd*
4 @; U# t, @' ?5 |' _7 Y. s) UC. chkconfig --levels 12345 ftpd off D. service ftpd stop
" t4 n/ f  q- {, Z; _' L- cE. service ftpd stop -persistant - e. a! C2 K0 Y5 }3 ^6 [! P. g9 j
You answered this question incorrectly * a# ]) E6 _+ ?+ N
Explanation: The chkconfig command is used to do this. You should also know how to use ntsysv.
3 n7 O4 V6 S4 B4 ~: z. R' D' _' x/ |% b' D9 ?  {: `
foo: 7 d% h7 F3 O' B! v, `
; s% ~( P/ A  g
44. You have Linux installed on a machine and you use LILO as your boot loader. How do you boot into single user mode? 3 V5 t3 S- R1 g' u- J0 ~1 v
A. Wait for the machine to boot up then log in as root. Use the init 2 command.
( U8 o  x' T, cB. At the LILO prompt use the linux single command. 4 v  g6 B9 i# x
C. At the LILO prompt use the linux 1 command.
3 a( f: T& F! l- I9 wD. At the LILO prompt use the linux command.
6 k* ~$ u6 R1 l' R  CE. Linux only supports multi-user mode. ( \" P1 @- R8 \. G0 L5 r' O6 A( F- [
You answered this question incorrectly & G- N, r+ |$ ~6 [4 U
Explanation: Either linux single or linux 1 will work at the LILO prompt. A will not work because single user mode is runlevel 1. D will only work if the default runlevel in /etc/inittab is set to 1 (which it is not normally.) 7 p9 c! }' u5 m# F$ m
  z8 x! w3 Z. [$ ?8 y  D5 n! C
45. You have created a /home/projectx directory with the owner of projectx and a group of projectx. How can you set its permissions so that all files created in this directory are owned by the projectx group? 9 T- x- E9 l& M$ ~3 y9 O' Q
A. chown projectx.projextx /home/projectx
+ R! Y7 ]+ o2 N1 _; i. LB. chgrp projectx /home/projectx ( `$ @5 E( ~) U# Q: y/ X4 x: u3 s
C. chmod 755 /home/projectx   |7 j* G* o$ A7 C1 W
D. chmod g-s /home/projectx
# d, ^: A5 Q: e8 gE. chmod g+s /home/projectx
- G' J- z, m# u, Z( kYou answered this question incorrectly
; ?2 }) f! G, M1 ?! lExplanation: The
回复

使用道具 举报

 楼主| 发表于 2012-8-4 12:19:51 | 显示全部楼层

红帽认证RHCE试题及答案9

a command tells you about your NICs. B is correct. C is wrong because it shows you the routing table. D doesn’t do anyting. E just shows you the etc/ports file.
5 f& e& p. X6 o3 r: p# q. O& `' r/ h
47. You install Linux and reboot your machine and you see only L instead of the expected LILO. What is wrong?
+ a' b3 ~8 g, B9 ~A. Lilo did not load at all.
8 t5 ]0 j/ ?& y# ]B. The first stage boot loader loaded but not the second stage. , u# a& y( p  v8 B
C. The descriptor table is corrupt. + q# Q5 V& N. E8 z
D. The second stage boot loader loaded at an incorrect address $ r" o7 j4 }, n6 _
E. Nothing is wrong.
- c6 Z0 C6 E1 G9 D- P$ R! }- sYou answered this question incorrectly
# y' p6 D% A" D$ N$ a# M# rExplanation: When Lilo just displays an L then the first stage boot loader loaded but not the second stage. If the second stage loaded then LILO would print an LI. When the descriptor table is corrupt LILO prints LIL-. When the second stage boot loader is loaded at an incorrect address LILO prints LIL?.
; z! ^3 P" p! Q. A. }# `
) |& t% r+ N1 r7 i. I8 s- g( H48. How do I immeadiately shut down a Linux system?
7 V, g% b' a; d: ]5 gA. Turn off the monitor then turn off the CPU.
( E8 b( z/ f3 D0 BB. /sbin/stop , S5 g( C3 G4 Q0 l1 e
C. init 6 & l: m( x# b; T, D: e
D. shutdown -h now
3 z5 F& y* s7 D5 EE. None of the above ) Z  E* O1 R( A# C2 ~! }2 C
You answered this question incorrectly 9 D2 Z7 F# s0 |3 F$ L$ u
Explanation: A is wrong because you should always gracefully shut down a machine. B is wrong because there is no such command. C is wrong becauuse it will reboot the machine. Hence D is correct.
# S4 K+ s$ L7 u, c; c1 `
+ a" K. ?' C7 R; ~49. You want to compile a new kernel. You have just run
4 p6 W7 X! a- L" {& T* HA. make bzImage   A: ^# `  b7 E( q1 a
B. make dep 3 H' D. k2 |) r: O! ~) Y1 Q2 e
C. make clean $ J# u7 b: y/ v0 n& N1 a. Z1 @
D. make mrproper 1 U3 A: @2 Z0 U: L: a
E. make xconfig ) I8 {) R* r# S0 w9 G! @3 v
You answered this question incorrectly
4 e8 [7 O; t& uExplanation: The first thing you should do in the /usr/src/linux-2.4 directory is
  I" l& c* U$ b5 d2 Z9 {, rmake mrproper 4 Q  n6 v9 F: s
Thencomma you should do the following: make config46. How can you find out which ports are being used? ) P2 z+ H% Q1 R0 k8 ^) I( V# v
A. ifconfig -a
8 `  B/ S' ?& [3 J% \B. netstat -a
5 L2 M" `% v2 g/ R" D- z( eC. netstat -rn
7 Y0 k0 o7 q* y# Z9 C' O$ w; |D. ports
, w: `  N" K! CE. cat /etc/services
, g1 ~3 s) |5 T. _- @+ ^You answered this question incorrectly ) d+ ^1 x. O# O9 g2 ]9 b
Explanation: The netstat -a command shows you which ports are in use. A is wrong because the ifconfig -make menuconfig | make xconfig 5 \4 ?! S( l4 b+ r2 D& U8 s! r0 f
make dep
) ~0 s0 M) Z0 M! R/ h) G7 _make clean
; T- m8 N4 u; x3 K1 Ymake bzImage 5 k& O# u6 \. S6 m4 V* F
make modules (if modular kernel) - P, _; d0 `* F, J, I
make modules_install (if modular kernel)
3 Z3 k4 m5 b( a+ u( t$ I  n0 Vcp System.map /boot/System.map-2.4.17
, K' S1 r* m# |7 Acp arch/i386/boot/bzImage /boot/vmlinuz-2.4.17
5 R1 s- d9 k" A( w/ Pcp .config /boot/config-2.4.17
& @: ?3 k7 V( d" jmkinitrd /boot/initrd- # Depending on kernel configuration ; k+ b& T% ^; ]; q6 X: F
Update LILO or GRUB
5 M$ }& _" e3 r8 k+ ?Reboot into new kernel 6 l0 ?+ {0 d! ?3 G- j2 l

; s$ Z/ m5 E4 H. L6 Y3 m9 [50. What does the following cron entry do? + Y# W/ ]8 i- P% _+ z+ M5 l4 d$ T1 |- ?
10 5 * * * /bin/foo
8 i6 B% w( Z9 t/ z6 F1 S8 mA. runs /bin/foo every 10 minutes 5 days a week
9 |8 V2 a% ^4 p( eB. runs /bin/foo at 10:05 AM every day $ T% @/ S, p0 Q, Z9 W( r$ E
C. runs /bin/foo on the 10th of May every year / [& j3 H: F' l2 [$ V1 `
D. runs /bin/foo at 5:10 AM every day & w/ X  l8 r2 c+ j
E. none of the above 9 I5 ?& Y: d% o& F3 W
You answered this question incorrectly
: s( P% X( T6 s! P8 r! }Explanation: The fields are: minute hour day of month month day of week command
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Woexam.Com ( 湘ICP备18023104号 )

GMT+8, 2024-5-6 06:55 , Processed in 0.202299 second(s), 23 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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