RHCE 예상문제3

Linux/일반 | 2004/12/07 02:01 | adioshun
1. You have a default Red Hat 7.x workstation. Your lilo.conf contains the following lines

  boot=/dev/hda3
  password=foo123
  restricted

This means that:

A. password is needed to proceed beyond LILO at every bootup
B. A password is needed to drop single user mode
C. Login are restricted to user foo123
D. None of the above


2.A filesystem contains errors You run fsck. Where do you look for orphaned file?

A. /boot
B. /var/fsck/orphan-files
C. tmp of the filesystem
D. lost+found of the filesystem


3. You have to find out whether an application foo uses the shared library libbar.so.
  You can do this by:

A. grep libbar foo
B. ldd foo | grep libbar
C. ldconfig foo bar
D. find foo-lib libbar-print


4.In the bash shell,command history is controlled by which group of following environment
 variables?

A. HISTFILE, HISTSIZE, HISTFILESIZE
B. HISTFILE, HISTFILESIZE, EDITOR
C. HISTFILE, HISTOPTIONS, EDITOR
D. HISTSIZE, HISTFILESIZE, EDITOR


5.Protocols used for retrieval and deletion mail are:

A. tcp and udp
B. smtp and imap4
C. imap4 and pop3
D. mail and pop3


6.Your workstation is on a LAN. You can successfully ping other hosts on the same network.
 but are unab to ping a host outside your network. Which command(s) will help you diagnose
 the program?

A. route
B. tracert
C. nettl
D. traceroute


7. You want to the lynx to web browse the WWW. You are behind a WinGate proxy whose IP address is 10.0.0.1 You have to make the following change(s) in your /etc/lynx.cfg:

A.http_proxy=http://10.0.0.1:80
B.http_proxy_host=http://10.0.0.1
C.http_proxy_port=80
D.HTTP_PROXY=10.0.0.1:80


8.You do not wish to recieve any mail from the cron daemon. What do you do?

A.You set the CRONMAIL environment variable to 0
B.You set the MAIL environment variable to 0
C.You put MAIL=0 at the top of your crontab file
D.You put MAILTO="" at the top of your crontab file


9.The following free,opensource journalling filesystems are variable for Linux at the moment:

A.ext2,ext3 and reisser
B.ext3,reisser and xfs
C.ext3 and xfs
D.afs, ext3 and reisser


10.You do not know which NIC you have in your workstation. You only know that it is a PCI NIC. Which command(s) can help you find out more?

A.lspci
B.devscan pci
C.cat /proc/pci | more
D.ioscan -funC lan


11.You have 2 PCI video cards in you workstations. To enable the second, you have to use the following command(s):

A.This is impossible. You cannot have more than one video card per workstation
B.setpci
C.modprobe svga
D.modprobe pci


12.You have implemented RAID5. you can expect:

A.Fast reads and fast writes
B.Fast reads and slow writes
C.Slow reads and fast writes
D.Slow reads and slow writes


13.You wish to add to your swap memory by swapping to a file "swapfile" in addition to your
  swap partition The first command you have to run create the file is:

A.dd
B.touch
C.>
D.swapon


14.Your server hs RedHat 7.x installed. Your NIC has been detected but you have configured
  networking. To allot it an IP address, you have to edit the following file:

A.This is impossible.An address has to be allotted the moment an NIC has been detected.
B./etc/hosts
C./etc/sysconfig/network
D./etc/sysconfig/network-scripts/ifcfg-eth0


15.You have to allocate the addresses 192.168.0.1 to 192.168.0.123 to eth1. You have to edit:

A. /etc/sysconfig/network-scripts/eth{1,1:0,1:2..1:123}
B. /etc/sysconfig/network-scripts/ifcfg-eth0
C. /etc/sysconfig/network-scripts/ifcfg-eth1-range0
D. /etc/sysconfig/network/range0


16.By default DNS checks:

A.cache only
B.hint file only
C.hint file and cache in that order
D.cache and hint file that order


17.In your LAN, there has been a change in the IP address of one host. You have changed the relevant record in the  DNS zone file(s) and restarted named.Still the old IP address is being served out by the DNS sever. The problem could be that:

A.You have forgotten to decrease the TimeToLive in the zone files(s)
B.You have forgotten to increment Serial in the zone file
C.You have forgotten to update /etc/named.conf
D.You have check from the whois databbase


18.The default umask for a non-privileged user on a Red Hat system is:

A.777
B.222
C.022
D.755


19.You are running a gateway for LAN on a RedHat 7.x system . You will configure the static route j which of the following file(s)?

A. /etc/defaultrouter
B. /etc/sysconfig/static-routes
C. /etc/static-routes
D. /etc/router/static-routes

20.ish to allow a non-root user to bring network interface eth0 up and down:
A.This is impossible. Only root can bring interfaces up or down
B.The user can "su" to root and manage the interface
C.You have to set USER variable to that user in the /etc/sysconfig/network-scripts/ifcfg-eth0 file
D.You have to set the USERCTL variable in the /etc/sysconfig/network-scripts/ifcfg-eth0 file


21. -4u -f /dev/nrst1/home will update the following file(s):

A./home/dumpdates
B./etc/dump/home/dumpdates
C./etc/dumpdates
D./etc/home/dumpdates


22.In order to map the proper module libraries to the proper kernel, it is advisable to set the __________ variable in /usr/src/linux/Makefile:

A.KERNELVERSION
B.EXTRAVERSION
C.VERSION
D.PROPERVERSION


23.You wish to allow non-root user to mount dos-formatted floppy disks on /dev/fd0. The following line(s) j /etc/fstab will do the job:

A./dev/fd0/mnt msdos user,noauto
B./dev/fd0/mnt dosfs defaults
C./dev/fd0/mnt dos users,noauto
D./dev/fd0/mnt dos users,noauto 0 0


24.It is impossible to run X without a window manager

A.True
B.False


25.You wish to use multiple monitors with your X:

A.You have to use the lbx extensions
B.You have to use the omniX server
C.You have to use the xinerama extensions
D.It is not possible to use multiple monitors with X


26.Your /etc/securetty file contains the following entries:

tty1
tty2
tty3

This means that root can login at:

A.virtual terminals tty4 to tty7
B.virtual terminals tty1 to tty3
C.Both of the above
D.The /etc/securetty controls only remote logins.Hence the above file will have no effect/


27.Your /etc/securetty file contains the following line:

tty1
Also your /etc/pam.d/login file has the following line at the top:
auth sufficient /lib/pam_securetty.so
This means that:

A.All users can login without passwords
B.Only root can login at tty1 witout password
C.No user can login at tty1 without password
D.All users excluding root can login at tty1 without passwords


28.You are running a mailserver using default Red Hat 7.x The default Sendmail generates a relaying denied errors. This means that:

A.Recipient's domain is not in /etc/sendmail.cf
B.Recipient's domain is not in /etc/sendmail.cw
C.Recipient's domain is not in /etc/mail/local-host-names
D.Recipient's domain is not in /etc/mail/virtdomains


29.The main tripwire configuration file by default in a Red Hat 7.x server is :

A./etc/tripwire/config
B./etc/twconifg
C./etc/tripwire.conf
D./etc/tripwire/twpol.txt


30.The minimum keysize for a DSA and ELGamal key generated by gpg 1.0.6 is :

A.768 bits
B.512 bits
C.1024 bits
D.4096 bits




1.B  2.D  3.B  4.A  5.C  6.A and B  7.A  8.D  9.B  10.A and C  11.B  12.B  13.A  14.D  
15.C  16.D  17.B  18.C  19.B  20.D  21.C  22.B  23.A  24.B  25.C  26.B  27.A  28.A and C
29.D  30.A
2004/12/07 02:01 2004/12/07 02:01
TAG
Trackback address :: http://4ellene.net/tt/trackback/73

Comments List

  1. gothic names 2008/05/23 07:52

    洹몃

Write a comment.

[로그인][오픈아이디란?]