<dfn id="w48us"></dfn><ul id="w48us"></ul>
  • <ul id="w48us"></ul>
  • <del id="w48us"></del>
    <ul id="w48us"></ul>
  • 國際認證RHCE紅帽認證考試試題

    時間:2024-10-21 00:44:20 Linux認證 我要投稿
    • 相關推薦

    國際認證RHCE(紅帽認證)考試試題

      中國加入WTO后,知識產權保護將逐步規范,使得更多企業轉向成本低廉的Linux操作平臺。下面是小編整理的關于國際認證RHCE(紅帽認證)考試試題,希望大家認真閱讀!

    國際認證RHCE(紅帽認證)考試試題

      1. If you want to allow X-Windows programs from hostB to run on the display on hostA what would you need to do?

      A. run xhost +hostB on hostA.

      B. run xhost +hostA on hostB.

      C. run xhost + on hostA.

      D. run xhost + on hostB.

      E. just set the DISPLAY environment variable and it will work.

      You answered this question incorrectly

      Explanation: You want programs from hostB to display on hostA. So you must tell hostA to allow Xclients from hostB. Hence A is correct. The xhost + command is too broad and allows anyone to connect to your X-server.

      2. What command can you enter to find out which rpm contains the /etc/foo file?

      A. rpm -qa |grep foo

      B. rpm -ql /etc/foo

      C. rpm -qlf /etc/foo

      D. rpm -q -f /etc/foo

      E. man foo

      You answered this question incorrectly

      Explanation: You can find out which rpm a file belongs to by using the rpm -q -f command. You must have the redhatrpmdb rpm installed though.

      3. You have a Linux machine that does not have X-Windows configured. What command can you use to find out what kind of graphics card it has?

      A. Xfind

      B. SuperProbe

      C. Xsetup

      D. cat /proc/video

      E. videocfg

      You answered this question incorrectly

      Explanation: The SuperProbe program is used to find information about your graphics card.

      4. Which installation class will automatically delete all of your DOS partitions?

      A. Custom

      B. Workstation

      C. Laptop

      D. Server

      E. All of the above

      You answered this question incorrectly

      Explanation: The Server installation class will automatically delete all DOS partitions. The workstation class will use availiable free space. The laptop class is very similar to the workstation class (but for laptops.)

      5. How do you install an RPM?

      A. rpm -evh packagename.rpm

      B. rpm -ivh packagename.rpm

      C. rpm -q packagename.rpm

      D. rpm -qa *.rpm

      E. rpm -ql *.rpm

      You answered this question incorrectly

      Explanation: A is wrong because the -e option is for uninstalling. B is right. C D and E are wrong because the -q option is for querrying.

      6. What program can be used to test the smb.conf file for errors?

      A. mount

      B. test

      C. samba --checkparm

      D. testparm

      E. smbfs

      You answered this question incorrectly

      Explanation: the testparm program parses the smb.conf file and reports any errors. If you make a typo this program is likely to find it.

      7. What command do you use to edit the default grace period for quotas?

      A. quotaconfig -g

      B. editquota -g

      C. quotaconfig -t

      D. edquota -t

      E. quotaeditor --grace

      You answered this question incorrectly

      Explanation: You use the edquota command to edit quotas. For example you can say edquota -u username to edit a specific user’s quota. Or you can type edquota -g to set a quota for a group. You can say edquota -t to set up grace periods.

      8. What is the correct syntax to mount an MS DOS formatted floppy disk (do not assume that there is an entry in /etc/fstab)?

      A. mount /dev/floppy /mnt/fd0

      B. mount -t iso9660 /dev/fd0 /mnt/floppy

      C. mount -t vfat /dev/fd0 /mnt/floppy

      D. mount -t msdos /dev/floppy /mnt/floppy

      E. mdir

      You answered this question incorrectly

      Explanation: A will only work if there is an entry in /etc/fstab. B is wrong because iso9660 is for CDROM’s. C is correct. D is wrong becuase the device should be /dev/fd0 rather than /dev/floppy.

      9. You have created a /home/projectfoo directory. How can you change its group ownership to the projectfoo group?

      A. chmod g+rwx projectfoo /home/projectfoo

      B. chown projectfoo /home/projectfoo

      C. chgrp projectfoo /home/projectfoo

      D. newgrp projectfoo /home/projectfoo

      E. chown projectfoo.users /home/projectfoo

      You answered this question incorrectly

      Explanation: The chgrp command sets the group ownership of a file or directory.

      10. You have installed a DHCP server on your Linux machine and edited the configuration file. What else must you do before it will give out ip addresses?

      A. reboot

      B. Put fixed-addresses in the configuration for each client.

      C. service dhcp begin

      D. touch /var/lib/dhcp/dhcpd.leases

      E. All of the above

      You answered this question incorrectly

      Explanation: You must touch the /var/lib/dhcp/dhcpd.leases file in order to get DHCP to begin giving out ip addresses.

      11. How do you enable quotas on a partition in /etc/fstab?

      A. Add the enforcequotas option.

      B. You don’t. Quotas are turned on automatically when you install the quota rpm.

      C. Add the quota option.

      D. Add the usrquota and grpquota options.

      E. You put a 1 in the last column.

      You answered this question incorrectly

      Explanation: To enable quotas on a partition you put the userquota and groupquota option in the options section for the partition in /etc/fstab.

      12. You want to compile a new kernel. You have just run

      A. make bzImage

      B. make dep

      C. make clean

      D. make mrproper

      E. make xconfig

      You answered this question incorrectly

      Explanation: The first thing you should do in the /usr/src/linux-2.4 directory is

      make mrproper

      Thencomma you should do the following: make config | make menuconfig | make xconfig

      make dep

      make clean

      make bzImage

      make modules (if modular kernel)

      make modules_install (if modular kernel)

      cp System.map /boot/System.map-2.4.17

      cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.17

      cp .config /boot/config-2.4.17

      mkinitrd /boot/initrd- # Depending on kernel configuration

      Update LILO or GRUB

      Reboot into new kernel

      13. You are configuring a Linux DHCP server. You have it setup and working (as Linux clients are getting ip addresses from the DHCP server fine) but some Windows 95 clients are not getting ip addresses properly from your DHCP server. What do you need to do?

      A. route add -host 255.255.255.255 dev eth0

      B. route add -net 255.255.255.255 dev eth0

      C. service dhcp restart

      D. touch /var/state/leases

      E. Windows 95 is not compatible with a Linux DHCP server.

      You answered this question incorrectly

      Explanation: Windows 95 insists that the DHCPOFFER messages be sent to 255.255.255.255. Linux will send them to the broadcast address instead. Adding a host entry for the host 255.255.255.255 will trick Linux into working with the Windows 95 clients.

      14. You want to add a directory to all users paths. What file should you edit to do this?

      A. /etc/sysconfig/profile

      B. /etc/sysconfig/profile

      C. /etc/bashrc

      D. /etc/profile

      E. /etc/env

      You answered this question incorrectly

      Explanation: The /etc/profile script is used for system-wide enviornment variables and startup files. You could also create a new file in /etc/profile.d/ that ends in .sh and set the enviornment variable in there. Keep in mind that not all users will necessarily use bash.

      15. Which files are used to configure TCP Wrappers?

      A. /etc/tcpwrapper.conf and /etc/hosts.conf

      B. /etc/hosts.allow and /etc/hosts.deny

      C. /etc/tcpwrapper.conf and /etc/xinetd.conf

      D. /etc/access.conf and /etc/xinetd.conf

      E. /etc/tcpwrapper and /etc/access.conf

      You answered this question incorrectly

      Explanation: TCP Wrappers are configured in the /etc/hosts.allow and /etc/hosts.deny files.

    【國際認證RHCE紅帽認證考試試題】相關文章:

    RHCE認證考試經驗分享10-18

    RHCE認證考試后的優勢09-24

    Linux認證考試RHCE考試大綱09-08

    Sun國際認證考試試題09-17

    紅帽認證考試內容07-27

    紅帽認證和思科認證的區別05-28

    LINUX認證:RHCE通關技巧08-01

    SUN國際認證試題及答案09-20

    蘇州紅帽認證工程師認證簡介10-28

    sun公司國際認證試題及答案09-10

    主站蜘蛛池模板: 精品国产sm捆绑最大网免费站 | 亚洲精品岛国片在线观看| 亚洲av无码精品网站| 国内精品久久久久久久涩爱| 极品精品国产超清自在线观看| 午夜精品乱人伦小说区| 久久人人超碰精品CAOPOREN| 91国内揄拍国内精品情侣对白| 国产麻豆精品久久一二三| 一夲道无码人妻精品一区二区| 久久精品无码专区免费 | 国产精品久久国产精麻豆99网站| 亚洲精品无码不卡在线播HE| 国产在线国偷精品免费看| 欧美+亚洲+精品+三区| 国产精品亚洲а∨无码播放 | 亚洲精品高清无码视频| 日本熟妇亚洲欧美精品区 | 久久亚洲精品人成综合网| 亚洲第一永久AV网站久久精品男人的天堂AV| 国产福利精品视频自拍| 66精品综合久久久久久久| 四虎最新永久在线精品免费| 国产精品久久成人影院| 2020亚洲男人天堂精品| 国产精品毛片无遮挡| 久久精品无码午夜福利理论片| 亚洲AV永久无码精品| 青娱乐国产精品视频| 久久精品综合一区二区三区| 精品国产一区二区三区久久蜜臀| 97久视频精品视频在线老司机| 久久久久国产精品| 久久国产乱子精品免费女| 国产精品一在线观看| 国产精品欧美一区二区三区不卡| 国产精品久久久亚洲| 国产高清在线精品一区| 精品国产一区二区三区久久| 亚洲国产精品免费视频| 国产A级毛片久久久精品毛片 |