売れ筋トップクラスのRHCE最新試験問題2022年最新のRedHat試験練習
RHCE Certification問題集でRHCE試験は完全版問題で試験学習ガイド
質問 52
CORRECT TEXT
Configure the NTP service in your system.
正解:
解説:
see explanation below. Explanation system-config-date &
質問 53
SIMULATION
Add an additional swap partition of 754 MB to your system.
The swap partition should automatically mount when your system boots.
Do not remove or otherwise alter any existing swap partitions on your system.
正解:
解説:
fdisk-l
fdisk-cu/dev/vdapneorpselectedefault(first):enterdefault(last):enterndefault(first):enterdefault(first):+754Mt(1-5)l:82pw
#reboot
#mkswap/dev/vda5
vim/etc/fstab/dev/vda5swapswapdefaults00wq
mount-a
swapon-a
swapon-s
質問 54
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
質問 55
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
質問 56
CORRECT TEXT
There is a local logical volumes in your system, named with shrink and belong to VGSRV volume group, mount to the /shrink directory. The definition of size is 320 MB.
Requirement:
Reduce the logical volume to 220 MB without any loss of data. The size is allowed between 200-260 MB after reducing.
正解:
解説:
cd;umount/shrinke2fsck-f/dev/mapper/vgsrv-shrinkresize2fs/dev/mapper/vgsrv-shrink220Mlvreduce-L220M/dev/mapper/vgsrv-shrinkmount-a
質問 57
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)
質問 58
CORRECT TEXT
Find the rows that contain abcde from file /etc/testfile, and write it to the file/tmp/testfile, and the sequence is requested as the same as /etc/testfile.
正解:
解説:
#cat/etc/testfile|whilereadline;doecho$line|grepabcde|tee-a/tmp/testfiledoneORgrep`abcde'/etc/testfile>/tmp/testfile
質問 59
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
質問 60
CORRECT TEXT
/data Directory is shared from the server1.example.com server. Mount the shared directory that:
a. when user try to access, automatically should mount
b. when user doesn't use mounted directory should unmount automatically after 50 seconds.
c. shared directory should mount on /mnt/data on your machine.
正解:
解説:
1.vi/etc/auto.master/mnt/etc/auto.misc--timeout=50
vi/etc/auto.misc
data-rwsoftintrserver1.example.com:/data
serviceautofsrestart
chkconfigautofsonWhenyoumounttheotherfilesystemyoushouldunmountthemountedfilesystemAutomountfeatureoflinuxhelpstomountataccesstimeandaftercertainsecondswhenuserunaccessthemounteddirectoryautomaticallyunmountthefilesystem./etc/auto.masteristhemasterconfigurationfileforautofsservice.Whenyoustarttheserviceitreadsthemountpointasdefinedin/etc/auto.master.
質問 61
CORRECT TEXT
Adjust the size of the Logical Volume.
Adjust the size of the vo Logical Volume, its file system size should be 290M. Make sure that the content of this system is complete.
Note: the partition size is rarely accurate to the same size as required, so in the range 270M to 320M is acceptable.
正解:
解説:
Additiondf-hTlvextend-L+100M/dev/vg0/voLvscanxfs_growfs/home///homeisthemounteddirectoryoftheLVMthisstepjustneedtodointhepracticeenvironmentandtestEXT4doesnotneedthisstep.resize2fs/dev/vg0/vo//usethiscommandtoupdateinexamination.df-hTORSubtractione2fsck-f/dev/vg0/voumount/homeresize2fs/dev/vg0/vo//thefinalrequiredpartitioncapacityis100Mlvreduce-l100M/dev/vg0/vomount/dev/vg0/vo/homedf-hT
質問 62
CORRECT TEXT
One Logical Volume named lv1 is created under vg0. The Initial Size of that Logical Volume is 100MB. Now you required the size 500MB. Make successfully the size of that Logical Volume 500M without losing any data. As well as size should be increased online.
正解:
解説:
TheLVMsystemorganizesharddisksintoLogicalVolume(LV)groups.Essentiallyphysicalharddiskpartitions(orpossiblyRAIDarrays)aresetupinabunchofequalsizedchunksknownasPhysicalExtents(PE).AsthereareseveralotherconceptsassociatedwiththeLVMsystemlet'sstartwithsomebasicdefinitions:PhysicalVolume(PV)isthestandardpartitionthatyouaddtotheLVMmix.Normallyaphysicalvolumeisastandardprimaryorlogicalpartition.ItcanalsobeaRAIDarray.PhysicalExtent(PE)isachunkofdiskspace.EveryPVisdividedintoanumberofequalsizedPEs.EveryPEinaLVgroupisthesamesize.DifferentLVgroupscanhavedifferentsizedPEs.LogicalExtent(LE)isalsoachunkofdiskspace.EveryLEismappedtoaspecificPE.LogicalVolume(LV)iscomposedofagroupofLEs.Youcanmountafilesystemsuchas/homeand/varonanLV.VolumeGroup(VG)iscomposedofagroupofLVs.ItistheorganizationalgroupforLVM.Mostofthecommandsthatyou'lluseapplytoaspecificVG.
VerifythesizeofLogicalVolume:lvdisplay/dev/vg0/lv1
VerifytheSizeonmounteddirectory:df-hordf-hmounteddirectoryname
Use:lvextend-L+400M/dev/vg0/lv1
ext2online-d/dev/vg0/lv1tobringextendedsizeonline.
AgainVerifyusinglvdisplayanddf-hcommand.
質問 63
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
質問 64
CORRECT TEXT
Configure the verification mode of your host account and the password as LDAP. And it can login successfully through ldapuser40. The password is set as "password". And the certificate can be downloaded from http://ip/dir/ldap.crt. After the user logs on the user has no host directory unless you configure the autofs in the following questions.
正解:
解説:
system-config-authenticationLDAPServer:ldap//instructor.example.com(IndomainformnotwriteIP)OR
#yumgroupinstalldirectory-client(1.krb5-workstation2.pam-krb53.sssd)
#system-config-authentication1.UserAccountDatabase:LDAP2.LDAPSearchBaseDN:dc=exampledc=com3.LDAPServer:ldap://instructor.example.com(IndomainformnotwriteIP)4.DownloadCACertificate5.AuthenticationMethod:LDAPpassword6.Applygetentpasswdldapuser40
質問 65
CORRECT TEXT
Configure the system synchronous as 172.24.40.10.
正解:
解説:
GraphicalInterfaces:System-->Administration-->Date&TimeOR
#system-config-date
質問 66
CORRECT TEXT
Add users: user2, user3.
The Additional group of the two users: user2, user3 is the admin group Password: redhat
正解:
解説:
#useradd-Gadminuser2
#useradd-Gadminuser3
#passwduser2redhat
#passwduser3redhat
質問 67
CORRECT TEXT
Open kmcrl value of 5 , and can verify in /proc/ cmdline
正解:
解説:
#vim/boot/grub/grub.confkernel/vmlinuz-2.6.32-71.el6.x86_64roroot=/dev/mapper/GLSvg-GLSrootrd_LVM_LV=GLSvg/GLSrootrd_LVM_LV=GLSvg/GLSswaprd_NO_LUKSrd_NO_MDrd_NO_DMLANG=en_US.UTF-8SYSFONT=latarcyrheb-sun16KEYBOARDTYPE=pcKEYTABLE=uscrashkernel=autorhgbquietkmcrl=5Restarttotakeeffectandverification:
#cat/proc/cmdlineroroot=/dev/mapper/GLSvg-GLSrootrd_LVM_LV=GLSvg/GLSrootrd_LVM_LV=GLSvg/GLSswaprd_NO_LUKSrd_NO_MDrd_NO_DMLANG=en_US.UTF-8SYSFONT=latarcyrheb-sun16KEYBOARDTYPE=pcKEYTABLE=usrhgbquietkmcrl=5
質問 68
CORRECT TEXT
Configure iptables, there are two domains in the network, the address of local domain is 172.24.0.0/16 other domain is 172.25.0.0/16, now refuse domain 172.25.0.0/16 to access the server.
正解:
解説:
below
iptables-F
serviceiptablessave
iptables-AINPUT-s172.25.0.0/16-jREJECT
serviceiptablessave
serviceiptablesrestart
質問 69
CORRECT TEXT
Configure your web services, download from http://instructor.example.com/pub/serverX.html And the services must be still running after system rebooting.
正解:
解説:
cd/var/www/htmlwgethttp://instructor.example.com/pub/serverX.htmlmvserverX.htmlindex.html/etc/init.d/httpdrestartchkconfighttpdon
質問 70
CORRECT TEXT
Add admin group and set gid=600
正解:
解説:
#groupadd-g600admin
質問 71
CORRECT TEXT
Configure NTP.
Configure NTP service, Synchronize the server time, NTP server: classroom.example.com
正解:
解説:
Configuretheclient:Yum-yinstallchronyVim/etc/chrony.confAdd:serverclassroom.example.comiburstStart:systemctlenablechronydsystemctlrestartchronydValidate:timedatectlstatus
質問 72
CORRECT TEXT
Binding to an external validation server.
System server.domain11.example.com provides a LDAP validation service, your system should bind to this service as required:
Base DN of validation service is dc=example,dc=com
LDAP is used for providing account information and validation information Connecting and using the certification of http://server.domain11.example.com/pub/EXAMPLE-CA-CERT to encrypt
After the correct configuration, ldapuser1 can log into your system, it does not have HOME directory until you finish autofs questions, ldapuser1 password is password.
正解:
解説:
yum-yinstallsssdauthconfig-gtkkrb5-workstationauthconfig-gtk//openthegraphicalinterfaceModifyuseraccountdatabasetoldapfillupDNandLDAPSERVERasquestionsrequireduseTLStoencryptconnectionsmakingtickwritehttp://server.domain11.example.com/pub/EXAMPLE-CA-CERTtodownloadcaauthenticationmethodchooseldappassword.Youcantestiftheldapuserisaddedbythefollowingcommand:Idldapuser1Note:userpassworddoesn'tnotneedtoset
質問 73
CORRECT TEXT
Upgrade the kernel, start the new kernel by default. kernel download from this address:
ftp://server1.domain10.example.com/pub/update/new.kernel
正解:
解説:
Downloadthenewkernelfileandtheninstallit.[root@desktop8Desktop]#lskernel-2.6.32-71.7.1.el6.x86_64.rpmkernel-firmware-2.6.32-71.7.1.el6.noarch.rpm[root@desktop8Desktop]#rpm-ivhkernel-*Preparing...###########################################[100%]1:kernel-firmware###########################################[50%]2:kernel################
#[100%]Verifythegrub.conffilewhetherusethenewkernelasthedefaultboot.[root@desktop8Desktop]
#cat/boot/grub/grub.confdefault=0titleRedHatEnterpriseLinuxServer(2.6.32-71.7.1.el6.x86_64)root(hd00)kernel/vmlinuz-2.6.32-71.7.1.el6.x86_64roroot=/dev/mapper/vol0-rootrd_LVM_LV=vol0/rootrd_NO_LUKSrd_NO_MDrd_NO_DMLANG=en_US.UTF-8SYSFONT=latarcyrheb-sun16KEYBOARDTYPE=pcKEYTABLE=uscrashkernel=autorhgbquietinitrd/initramfs-2.6.32-71.7.1.el6.x86_64.img
質問 74
CORRECT TEXT
SELinux must be running in the Enforcing mode.
正解:
解説:
getenforce//CheckthecurrentmodeofSELinux//SELinuxrunsinenforcingmode//Checkgetenforce1getenforcevim/etc/selinux/configselinux=enforcing//TotemporarilyenableSELinuxwgsestatus
質問 75
CORRECT TEXT
One Logical Volume is created named as myvol under vo volume group and is mounted. The Initial Size of that Logical Volume is 400MB. Make successfully that the size of Logical Volume 200MB without losing any data. The size of logical volume 200MB to 210MB will be acceptable.
正解:
解説:
FirstcheckthesizeofLogicalVolume:lvdisplay/dev/vo/myvol
Makesurethatthefilesystemisinaconsistentstatebeforereducing:
#fsck-f/dev/vo/myvol
Nowreducethefilesystemby200MB.
#resize2fs/dev/vo/myvol200M
Itisnowpossibletoreducethelogicalvolume.
#lvreduce/dev/vo/myvol-L200M
VerifytheSizeofLogicalVolume:lvdisplay/dev/vo/myvol
Verifythatthesizecomesinonlineornot:df-h
質問 76
CORRECT TEXT
There are two different networks, 192.168.0.0/24 and 192.168.1.0/24. Your System is in 192.168.0.0/24 Network. One RHEL6 Installed System is going to use as a Router. All required configuration is already done on Linux Server. Where 192.168.0.254 and 192.168.1.254 IP Address are assigned on that Server.
How will make successfully ping to 192.168.1.0/24 Network's Host?
正解:
解説:
vi/etc/sysconfig/networkGATEWAY=192.168.0.254ORvi/etc/sysconf/network-scripts/ifcfg-eth0DEVICE=eth0BOOTPROTO=staticONBOOT=yesIPADDR=192.168.0.?NETMASK=255.255.255.0GATEWAY=192.168.0.254
servicenetworkrestartGatewaydefinesthewaytoexitthepackets.AccordingtoquestionSystemworkingasarouterfortwonetworkshaveIPAddress192.168.0.254and192.168.1.254.
質問 77
......
最善な方法で問題集を使おう!練習テストならこれRedHat RHCE:https://jp.fast2test.com/RHCE-premium-file.html
RHCE問題集を無料提供しております!試験問題と解答:https://drive.google.com/open?id=1nJVZNk6i12RNrsRgvW7DswovtkK5cSLm