Several RHCE reference test questions

Source: Internet
Author: User
For more information about RHCE-Linux general technology-Linux technology and application, see the following. Hello .. Dear heroes, This is a few questions about the RHCE reference written examination. I hope you can write some answers. If you have different opinions on the answers, you can exchange them;
1. What file do I edit to prevent specific users from accessing an ftp server?
Choose the best answer:
A./etc/hosts. allow
B./etc/hosts. deny
C./etc/ftpacess
D./etc/ftpusers
E./etc/ftpd. conf
2. You have just added a new NFS share to the appropriate file. What must you do to activate the share?
Choose the best answer:
A. reboot
B. exportfs-
C. ndc restart
D. server nfs start
E. mount-
3. What does the-H option do for the dhcpcd program?
Choose the best answer:
A. Sets the hostname of the machine to the name provided by DHCP.
B. Kills any previous version of the dhcpcd program that may be running.
C. Passes the machine name to DHCP as part of the DHCP request.
D. Only tries to get a new ip address if the current one is older than a certain number of hours.
E. None of the above
4. What command will map all of the dependencies between modules into a file?
Choose the best answer:
A. modmap
B. depmod-
C. depmod -- rebuild
D. modmap -- rebuild
E. modprobe -- rebuild
5. What file contains the list of terminals that root is allowed to log?
Choose the best answer:
A./etc/rooterm. conf
B./etc/terminals
C./etc/secure
D./etc/tty. conf
E./etc/securetty
6. How do you install an RPM?
Choose the best answer:
A. rpm-evh packagename. rpm
B. rpm-ivh packagename. rpm
C. rpm-q packagename. rpm
D. rpm-qa *. rpm
E. rpm-ql *. rpm
7. What command will turn off the ftpd service in all runlevels?
Choose the best answer:
A. chkconfig ftpd off
B. rm/etc/rc. d/init. d/* ftpd *
C. chkconfig -- levels 12345 ftpd off
D. service ftpd stop
E. service ftpd stop-persistant
8. What file wocould you edit to share out a directory via NFS?
Choose the best answer:
A./etc/nfsd. conf
B./etc/nsf
C./etc/fstab
D./etc/exports
E./etc/export. conf
9. How can you see the kernel routing table?
Choose the best answer:
A. netstat-Route
B. netstat-rn
C. netstat-
D. route show default gw
E. netstat
10. Sendmail is an example of a (n ):?
Choose the best answer:
A. MTA
B. MUA
C. MDA
D. MLA
E. All of the above


This is a few random questions. You may wish to write out the answer. Thank you.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.