최신RedHat Red Hat Certified Engineer - RHCE - RHCE무료샘플문제
문제1
CORRECT TEXT
According the following requirements to create user, user group and the group members:
- A group named admin.
- A user named mary, and belong to admin as the secondary group.
- A user named alice, and belong to admin as the secondary group.
- A user named bobby, bobby's login shell should be non-interactive. Bobby not belong to admin as the secondary group.
Mary, Alice, bobby users must be set "password" as the user's password.
CORRECT TEXT
According the following requirements to create user, user group and the group members:
- A group named admin.
- A user named mary, and belong to admin as the secondary group.
- A user named alice, and belong to admin as the secondary group.
- A user named bobby, bobby's login shell should be non-interactive. Bobby not belong to admin as the secondary group.
Mary, Alice, bobby users must be set "password" as the user's password.
정답:
groupaddadminuseradd-Gadminmaryuseradd-Gadminaliceuseradd-s/sbin/nologinbobbyecho"password"|passwd--stdinmaryecho"password"|passwd--stdinaliceecho"password"|passwd--stdinbobby
문제2
CORRECT TEXT
Create a volume group, and set the size is 500M, the size of single PE is 16M. Create logical volume named lv0 in this volume group, set size is 20 PE, make it as ext3 file system, and mounted automatically under data.
CORRECT TEXT
Create a volume group, and set the size is 500M, the size of single PE is 16M. Create logical volume named lv0 in this volume group, set size is 20 PE, make it as ext3 file system, and mounted automatically under data.
정답:
fdisk/dev/vdapvcreate/dev/vda3vgcreate-s16Mvg0/dev/vda3lvcreate-nlv0-l20vg0mkfs.ext3/dev/mapper/vg0-lv0mkdir/data/etc/fstab:/dev/mapper/vg0-lv0/dataext3defaults00mount-amount|grepdata
문제3
CORRECT TEXT
User mary must configure a task.
Requirement: The local time at 14:23 every day echo "Hello World.".
CORRECT TEXT
User mary must configure a task.
Requirement: The local time at 14:23 every day echo "Hello World.".
정답:
crontab-umary-e2314***echo"HelloWorld."
문제4
CORRECT TEXT
Configure your Host Name, IP Address, Gateway and DNS.
Host name: dtop5.dn.ws.com
IP Address: 172.28.10.5/4
Gateway: 172.28.10.1
DNS: 172.28.10.1
CORRECT TEXT
Configure your Host Name, IP Address, Gateway and DNS.
Host name: dtop5.dn.ws.com
IP Address: 172.28.10.5/4
Gateway: 172.28.10.1
DNS: 172.28.10.1
정답:
see explanation below. Explanation 1. Configure Host Name
vim /etc/sysconfig/network NETWORKING=yes HOSTNAME=dtop5.dn.ws.com GATEWAY=172.28.10.1 2. Configure IP Address, Gateway and DNS Configure the network by Network Manager:

Note: Please remember to choose two options:
Connect automatically
Available to all users Click "Apply", save and exit, and restart your network services:
# Service network restart 3. Validate these profiles: a) Check gateway:
# vim / etc / sysconfig / network NETWORKING=yes HOSTNAME=dtop5.dn.ws.com GATEWAY=172.28.10.1 b) Check Host Name:
# vim /etc/hosts

c) Check DNS:
# vim /etc/resolv.conf
# Generated by NetworkManager Search dn.ws.com Nameserver 172.28.10.1 d) Check Gateway:
# vim /etc/sysconfig/network-scripts/ifcfg-eth0

vim /etc/sysconfig/network NETWORKING=yes HOSTNAME=dtop5.dn.ws.com GATEWAY=172.28.10.1 2. Configure IP Address, Gateway and DNS Configure the network by Network Manager:

Note: Please remember to choose two options:
Connect automatically
Available to all users Click "Apply", save and exit, and restart your network services:
# Service network restart 3. Validate these profiles: a) Check gateway:
# vim / etc / sysconfig / network NETWORKING=yes HOSTNAME=dtop5.dn.ws.com GATEWAY=172.28.10.1 b) Check Host Name:
# vim /etc/hosts

c) Check DNS:
# vim /etc/resolv.conf
# Generated by NetworkManager Search dn.ws.com Nameserver 172.28.10.1 d) Check Gateway:
# vim /etc/sysconfig/network-scripts/ifcfg-eth0

문제5
CORRECT TEXT
According the following requirements to create a local directory /common/admin.
This directory has admin group.
This directory has read, write and execute permissions for all admin group members.
Other groups and users don't have any permissions.
All the documents or directories created in the/common/admin are automatically inherit the admin group.
CORRECT TEXT
According the following requirements to create a local directory /common/admin.
This directory has admin group.
This directory has read, write and execute permissions for all admin group members.
Other groups and users don't have any permissions.
All the documents or directories created in the/common/admin are automatically inherit the admin group.
정답:
mkdir-p/common/adminchgrpadmin/common/adminchmod2770/common/admin
문제6
CORRECT TEXT
You are new System Administrator and from now you are going to handle the system and your main task is Network monitoring, Backup and Restore. But you don't know the root password. Change the root password to redhat and login in default Runlevel.
CORRECT TEXT
You are new System Administrator and from now you are going to handle the system and your main task is Network monitoring, Backup and Restore. But you don't know the root password. Change the root password to redhat and login in default Runlevel.
정답:
WhenyouBoottheSystemitstartsondefaultRunlevelspecifiedin/etc/inittab:Id:?:initdefault:WhenSystemSuccessfullybootitwillaskforusernameandpassword.Butyoudon'tknowtheroot'spassword.Tochangetherootpasswordyouneedtobootthesystemintosingleusermode.Youcanpassthekernelargumentsfromthebootloader.1.RestarttheSystem.2.YouwillgetthebootloaderGRUBscreen.3.Pressaandtype1orsforsinglemoderoroot=LABEL=/rhgbqueits4.SystemwillbootonSingleUsermode.5.Usepasswdcommandtochange.6.Pressctrl+d
문제7
CORRECT TEXT
Configure autofs to automount the home directories of LDAP users as follows:
host.domain11.example.com NFS-exports /home to your system.
This filesystem contains a pre-configured home directory for the user ldapuser11 ldapuser11's home directory is host.domain11.example.com /rhome/ldapuser11 ldapuser11's home directory should be automounted locally beneath /rhome as /rhome/ldapuser11
Home directories must be writable by their users
ldapuser11's password is 'password'.
CORRECT TEXT
Configure autofs to automount the home directories of LDAP users as follows:
host.domain11.example.com NFS-exports /home to your system.
This filesystem contains a pre-configured home directory for the user ldapuser11 ldapuser11's home directory is host.domain11.example.com /rhome/ldapuser11 ldapuser11's home directory should be automounted locally beneath /rhome as /rhome/ldapuser11
Home directories must be writable by their users
ldapuser11's password is 'password'.
정답:
vim/etc/auto.master/rhome/etc/auto.miscwq!
#vim/etc/auto.miscldapuser11--rwsynchost.domain11.example.com:/rhome/ldpauser11:wq!
#serviceautofsrestart
serviceautofsreload
chkconfigautofson
su-ldapuser11Loginldapuserwithhomedirectory
#exit
#vim/etc/auto.miscldapuser11--rwsynchost.domain11.example.com:/rhome/ldpauser11:wq!
#serviceautofsrestart
serviceautofsreload
chkconfigautofson
su-ldapuser11Loginldapuserwithhomedirectory
#exit
문제8
CORRECT TEXT
There is a server having 172.24.254.254 and 172.25.254.254. Your System lies on 172.24.0.0/16. Make successfully ping to 172.25.254.254 by Assigning following IP: 172.24.0.x where x is your station number.
CORRECT TEXT
There is a server having 172.24.254.254 and 172.25.254.254. Your System lies on 172.24.0.0/16. Make successfully ping to 172.25.254.254 by Assigning following IP: 172.24.0.x where x is your station number.
정답:
Usenetconfigcommand
EntertheIPAddressasgivenstationnumberbyyourexaminer:example:172.24.0.1
EnterSubnetMask
EnterDefaultGatewayandprimarynameserver
pressonok
ifdowneth0
ifupeth0
verifyusingifconfigInthelabserverisplayingtheroleofrouterIPforwardingisenabled.JustsettheCorrectIPandgatewayyoucanpingto172.25.254.254.
EntertheIPAddressasgivenstationnumberbyyourexaminer:example:172.24.0.1
EnterSubnetMask
EnterDefaultGatewayandprimarynameserver
pressonok
ifdowneth0
ifupeth0
verifyusingifconfigInthelabserverisplayingtheroleofrouterIPforwardingisenabled.JustsettheCorrectIPandgatewayyoucanpingto172.25.254.254.