a我考网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 302|回复: 0

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

[复制链接]
发表于 2012-8-4 12:19:50 | 显示全部楼层 |阅读模式
21. What directory contains the DNS zone files?
, s! D- S* }, ?; @* [A. /etc/bind/ 0 k2 V$ G, k2 Q, n
B. /etc/named/ % \9 U5 H7 O2 |4 b8 F
C. /etc/bind.d
5 l$ f0 h- J% q! d3 FD. /var/named
2 }: ]( X, {" o% z' p' y- r  kE. /var/bind.d
7 O! [1 a/ H! n: E, i5 TYou answered this question incorrectly $ s: B" e& f1 K) v
Explanation: The zone files are stored in /var/named by default. The location of this directory is specified in /etc/named.conf.
' F5 U% P9 I2 V1 u1 G1 d$ ~$ S" ^) h9 ]" Y4 S5 Q( B1 ~
22. Where are source RPMs installed?
- p8 d" T6 j- w7 yA. /usr/src/linux/rpms/ # b: N  L/ b1 C# H* }, m
B. /var/src/linux/rpm/   U) N/ z0 \0 d& Q6 C) O
C. /var/rpm/src/
* t8 k" ~+ T( Y* H) Y( o# u5 V$ VD. /var/linux/rpm/src/
; t0 y9 H5 L  n3 V) p- z# DE. /usr/src/redhat/
. E: p% W' H2 n, n7 _, uYou answered this question incorrectly
, p5 N  S* p, ?( f* v1 mExplanation: Source RPMs are installed in /usr/src/redhat. There are 5 subdirectories under there. SOURCES contains the original source code. SPECS contains the specification files that control the RPM build process. BUILD is where source code is uncompressed and built. SRPMS contains the source RPM that is created when you build one.
: Y- D: x2 m0 S$ l" e
8 |. a' G4 j1 s$ ~23. Which option can not be specified to a Client using the DHCP protocol? 4 \/ `. t$ R' I
A. default gateway 8 e) k8 s% b# W
B. primary WINS server
( o% V7 z% e, OC. subnet mask
& S6 W7 r9 y1 s1 mD. web proxy server
9 e- L2 |$ l. `* T: a* m  X) ^% VE. IP address 1 Q$ [" T6 ^3 L* R. {9 A2 k* I# N
You answered this question incorrectly
9 g. O  [" {" l& j8 ^Explanation: You can specify all of the above except the address of the web proxy server via DHCP.
1 R' H! x+ t( _" Y& `7 c" P* y, w% X, K& r
24. Your IP address is 10.0.0.2 and your subnet mask is 255.255.255.0. You have one ethernet card. You want to set your default gateway to be 10.0.0.1. Which of the following is the correct syntax to accomplish this? / P( l+ Z: B) R9 I0 \' f( ^: f
A. route add default 10.0.0.1 eth0
% N+ z7 i- c( z/ v1 {/ MB. route add default gw 10.0.0.1 dev eth0 " U, i: {9 E, v: o2 R7 Y
C. route add default gw 10.0.0.2 eth0 255.255.255.0
# ], \8 p- Q  D$ g5 RD. route add default gw 10.0.0.2 /dev/eth0 255.255.255.0
7 O& R4 t/ e1 Y% D2 rE. route add default gw 10.0.0.2 255.255.255.0 9 U: q# \* ]- O6 z
You answered this question incorrectly
3 f( }6 @/ {4 W$ v6 Y; V" \0 d% _Explanation: A and B don’t set the proper subnet mask. C is correct. D’s syntax is wrong. E’s syntax is wrong.
% D# |8 M; N! U3 @
) O6 G6 G- Y  n6 \25. What command will create the quota.user and quota.group files for me?
8 t  A  Q3 {1 O. ^! _0 [7 i; HA. quotacheck -avug ) X8 ~& ^- [2 D2 B8 Z. [
B. quotacheck -cugf 7 p# T7 h: @7 S0 ~, z
C. quotacheck -rugf # O' q5 q. h8 P
D. repquota -u
' ^) N- z& M2 {$ C+ r$ a5 CE. none of the above
" g2 {& c; E+ U* M- L- e, w5 RYou answered this question incorrectly * L5 e3 q; g& R# i, m* y4 k( O0 a
Explanation: A is right. You can also do it like this:
; O/ d* O( j; E# @9 R1 ktouch /quota.user : W# |7 W1 D2 T8 t2 d, O
touch /quota.group ( s0 E7 c6 U7 g) T- R: S' v
chmod 600 /quota.*
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-6 15:17 , Processed in 0.276352 second(s), 21 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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