[2023年更新]RHCEまとめセット試験ガイド練習からあなたのRHCE試験を合格させます! [Q51-Q71]

Share

[2023年更新]RHCEまとめセット試験ガイド練習からあなたのRHCE試験を合格させます!

準備RHCE試験2023年最新のRHCE Certification無制限111問題

質問 51
CORRECT TEXT
Configure a default software repository for your system.
One YUM has already provided to configure your system on http://server.domain11.example.com/pub/ x86_64/Server, and can be used normally.

正解:

解説:
Yum-config-manager--add-repo=http://content.example.com/rhel7.0/x86-64/dvd"istogenerateafilevimcontent.example.com_rhel7.0_x86_64_dvd.repoAddalinegpgcheck=0YumcleanallYumrepolistAlmost4305packagesarerightWrongYumConfigurationwillleadtosomefollowingquestionscannotbeworkedout.

 

質問 52
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

 

質問 53
CORRECT TEXT
Locate all the files owned by ira and copy them to the / root/findresults directory.

正解:

解説:
#find/-userira>/root/findresults(if/root/findfilesisafile)
#mkdir-p/root/findresults
#find/-userira-execcp-a{}/root/findresults\;[if/root/findfilesisadirectory]ls/root/findresults

 

質問 54
CORRECT TEXT
Configure your system so that it is an NTP client of server.domain11.example.com

正解:

解説:
#system-config-dateNote:dialogboxwillopeninthatCheckmarkSynchronizedateandtimeovernetwork.RemovealltheNTPSERVERandclickADDandtypeserver.domain11.example.com****************AndthenpressENTERandthepressOK***************

 

質問 55
CORRECT TEXT
Configure the FTP service in your system, allow remote access to anonymous login and download the program by this service. Service is still running after system rebooting.

正解:

解説:
yuminstallvsftpd/etc/init.d/vsftpdstartchkconfigvsftpdon

 

質問 56
CORRECT TEXT
A YUM source has been provided in the http://instructor.example.com/pub/rhel6/dvd
Configure your system and can be used normally.

正解:

解説:
/etc/yum.repos.d/base.repo[base]name=basebaseurl=http://instructor.example.com/pub/rhel6/dvdgpgcheck=0yumlist

 

質問 57
CORRECT TEXT
Resize the logical volume vo and its filesystem to 290 MB. Make sure that the filesystem contents remain intact.
Note: Partitions are seldom exactly the same size requested, so a size within the range of 260 MB to 320 MiB is acceptable.

正解:

解説:
df-hTlvextend-L+100M/dev/vg0/volvscanxfs_growfs/home///homeisLVMmounteddirectoryNote:Thisstepisonlyneedtodoinourpracticeenvironmentyoudonotneedtodointherealexamresize2fs/dev/vg0/vo//Usethiscomandtoupdateintherealexamdf-hTORe2fsck-f/dev/vg0/voumount/homeresize2fs/dev/vg0/vorequiredpartitioncapacitysuchas100Mlvreduce-l100M/dev/vg0/vomount/dev/vg0/vo/homedf-Ht

 

質問 58
CORRECT TEXT
Create the user named eric and deny to interactive login.

正解:

解説:
useradderic
passwderic
vi/etc/passwd
eric:x:505:505::/home/eric:/sbin/nologinWhichshellorprogramshouldstartatlogintimeisspecifiedin/etc/passwdfile?BydefaultRedhatEnterpriseLinuxassignsthe/bin/bashshelltotheusers.Todenytheinteractiveloginyoushouldwrite/sbin/nologinor/bin/falseinsteadofloginshell.

 

質問 59
CORRECT TEXT
Configure a cron Task.
User natasha must configure a cron job, local time 14:23 runs and executes: */bin/echo hiya every day.

正解:

解説:
crontab-e-unatasha2314/bin/echohiyacrontab-l-unatasha//viewsystemctlenablecrondsystemcdlrestartcrond

 

質問 60
CORRECT TEXT
The system ldap.example.com provides an LDAP authentication service.
Your system should bind to this service as follows:
The base DN for the authentication service is dc=domain11, dc=example, dc=com LDAP is used to provide both account information and authentication information. The connection should be encrypted using the certificate at http://host.domain11.example.com/pub/domain11.crt
When properly configured, ldapuserX should be able to log into your system, but will not have a home directory until you have completed the autofs requirement. Username: ldapuser11
Password: password

正解:

解説:
system-config-authenticationLDAPuserDN=dc=domain11dc=exampledc=comServer=host.domain11.example.comCertificate=http://host.domain11.example.com/pub/domain11.crt(enterurlcarefullytheremaybe//or..)LDAPpasswordOKstartingsssd
su-ldapuser11DisplayBashprompt
#exit

 

質問 61
CORRECT TEXT
The user authentication has been provided by ldap domain in 192.168.0.254. According the following requirements to get ldapuser.
-LdapuserX must be able to login your system, X is your hostname number. But the ldapuser's home directory cannot be mounted, until you realize automatically mount by autofs server.
- All ldap user's password is "password".

正解:

解説:
see explanation below. Explanation system-config-authentication &

 

質問 62
CORRECT TEXT
Configure autofs.
Configure the autofs automatically mount to the home directory of LDAP, as required:
server.domain11.example.com use NFS to share the home to your system. This file system contains a pre
configured home directory of user ldapuserX.
Home directory of ldapuserX is:
server.domain11.example.com /home/guests/ldapuser
Home directory of ldapuserX should automatically mount to the ldapuserX of the local /home/guests Home directory's write permissions must be available for users ldapuser1's password is password

正解:

解説:
yuminstall-yautofsmkdir/home/rehome
/etc/auto.master/home/rehome/etc/auto.ldapKeepthenexitcp/etc/auto.misc/etc/auto.ldap
/etc/auto.ldapldapuserX-fstype=nfsrwserver.domain11.example.com:/home/guests/Keepthenexitsystemctlstartautofssystemctlenableautofssu-ldapuserX//testIftheabovesolutionscannotcreatefilesorthecommandpromptis-bash-4.2$itmaybeexistmulti-leveldirectorythisneedstochangetheserver.domain11.example.com:/home/guests/toserver.domain11.example.com:/home/guests/ldapuserX.Whatismulti-leveldirectory?ItmeansthereisadirectoryofldapuserXunderthe/home/guests/ldapuserXinthequestions.Thisdirectoryistherealdirectory.

 

質問 63
CORRECT TEXT
Set cronjob for user natasha to do /bin/echo hiya at 14:23.

正解:

解説:
#crontab-e-unatasha2314***/bin/echohiyawq!

 

質問 64
CORRECT TEXT
Configure the system synchronous as 172.24.40.10.

正解:

解説:
GraphicalInterfaces:System-->Administration-->Date&TimeOR
#system-config-date

 

質問 65
CORRECT TEXT
There is a local logical volumes in your system, named with common and belong to VGSRV volume group, mount to the /common directory. The definition of size is 128 MB.
Requirement:
Extend the logical volume to 190 MB without any loss of data. The size is allowed between 160-160 MB after extending.

正解:

解説:
lvextend-L190M/dev/mapper/vgsrv-commonresize2fs/dev/mapper/vgsrv-common

 

質問 66
CORRECT TEXT
Create a 2G swap partition which take effect automatically at boot-start, and it should not affect the original swap partition.

正解:

解説:
#fdisk/dev/sdap(checkPartitiontable)n(createnewpartition:pressetocreateextendedpartitionpressptocreatethemainpartitionandtheextendedpartitionisfurtherdividedintologicalpartitions)Enter+2GtlWpartx-a/dev/sdapartprobemkswap/dev/sda8CopyUUIDswapon-avim/etc/fstabUUID=XXXXXswapswapdefaults00(swapon-s)

 

質問 67
CORRECT TEXT
Create a backup file named /root/backup.tar.bz2, which contains the contents of /usr/local, bar must use the bzip2 compression.

正解:

解説:
cd/usr/localtar-jcvf/root/backup.tar.bz2*mkdir/testtar-jxvf/root/backup.tar.bz2-C/test/

 

質問 68
CORRECT TEXT
There are two different networks 192.168.0.0/24 and 192.168.1.0/24. Where 192.168.0.254 and
192.168.1.254 IP Address are assigned on Server. Verify your network settings by pinging 192.168.1.0/24 Network's Host.

正解:

解説:
vi/etc/sysconfing/networkNETWORKING=yesHOSTNAME=station?.example.comGATEWAY=192.168.0.254servicenetworkrestart2.vi/etc/sysconfig/network-scripts/ifcfg-eth0DEVICE=eth0ONBOOT=yesBOOTPROTO=staticIPADDR=X.X.X.XNETMASK=X.X.X.XGATEWAY=192.168.0.254ifdowneth0ifupeth0

 

質問 69
CORRECT TEXT
Create a volume group, and set 8M as a extends. Divided a volume group containing 50 extends on volume group lv (lvshare), make it as ext4 file system, and mounted automatically under /mnt/data. And the size of the floating range should set between 380M and 400M.

正解:

解説:
#fdisk
#partprobe
#pvcreate/dev/vda6
#vgcreate-s8Mvg1/dev/vda6-s
#lvcreate-nlvshare-l50vg1-l
#mkfs.ext4/dev/vg1/lvshare
#mkdir-p/mnt/data
#vim/etc/fstab/dev/vg1/lvshare/mnt/dataext4defaults00
#mount-a
#df-h

 

質問 70
CORRECT TEXT
Configure your NFS services. Share the directory by the NFS Shared services.

正解:

解説:
/etc/init.d/rpcbindstart/etc/init.d/nfslockstart/etc/init.d/nfsstartchkconfigrpcbindonchkconfignfslockonchkconfignfsonshowmount-elocalhost

 

質問 71
......

注目のRHCEまとめセット試験ガイドは最速合格できます:https://www.jpntest.com/shiken/RHCE-mondaishu

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡