RHCE Dumps - Grab Out For [NEW-2023] RedHat Exam
RHCE Exam Dumps PDF Guaranteed Success with Accurate & Updated Questions
NEW QUESTION 12
CORRECT TEXT
Create a Shared Directory.
Create a shared directory /home/admins, make it has the following characteristics:
/home/admins belongs to group adminuser
This directory can be read and written by members of group adminuser Any files created in /home/ admin, group automatically set as adminuser.
Answer:
Explanation:
mkdir/home/adminschgrp-Radminuser/home/adminschmodg+w/home/adminschmodg+s/home/admins
NEW QUESTION 13
CORRECT TEXT
Add a new logical partition having size 100MB and create the data which will be the mount point for the new partition.
Answer:
Explanation:
1.Usefdisk/dev/hda->Tocreatenewpartition.2.Typen->ForNewpartitions3.ItwillaskforLogicalorPrimaryPartitions.Presslforlogical.4.ItwillaskfortheStartingCylinder:UsetheDefaultbypressingEnterKeys5.Typethesize:+100MyoucanspecifyeitherLastcylinderofsizehere.6.PressPtoverifythepartitionslistsandrememberthepartitionsname.7.Presswtowriteonpartitionstable.8.EitherRebootorusepartprobecommand.9.Usemkfs-text3/dev/hda?OR1.mke2fs-j/dev/hda?->Tocreateext3filesystem.2.vi/etc/fstab3.Write:/dev/hda?/dataext3defaults004.Verifybymountingoncurrentsessionsalso:mount/dev/hda?/data
NEW QUESTION 14
CORRECT TEXT
Copy /etc/fstab document to /var/TMP directory. According the following requirements to configure the permission of this document.
The owner of this document must be root.
This document belongs to root group.
User mary have read and write permissions for this document.
User alice have read and execute permissions for this document.
Create user named bob, set uid is 1000. Bob have read and write permissions for this document.
All users has read permission for this document in the system.
Answer:
Explanation:
cp/etc/fstab/var/tmpchownroot:root/var/tmp/fstabchmoda-x/var/tmp/fstabsetfacl-mu:mary:rw/var/tmp/fstabsetfacl-mu:alice:rx/var/tmp/fstabuseradd-u1000bob
NEW QUESTION 15
CORRECT TEXT
Create a user alex with a userid of 3400. The password for this user should be redhat.
Answer:
Explanation:
useradd-u3400alex
passwdalex
su-alex
NEW QUESTION 16
CORRECT TEXT
Create a 512M partition, make it as ext4 file system, mounted automatically under /mnt/data and which take effect automatically at boot-start.
Answer:
Explanation:
#fdisk/dev/vdan+512Mw
#partprobe/dev/vda
#mkfs-text4/dev/vda5
#mkdir-p/data
#vim/etc/fstab/dev/vda5/dataext4defaults00
#mount-a
NEW QUESTION 17
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.
Answer:
Explanation:
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
NEW QUESTION 18
CORRECT TEXT
Notes:
NFS : NFS instructor.example.com:/var/ftp/pub/rhel6/dvd
YUM : http://instructor.example.com/pub/rhel6/dvd
ldap : http : //instructor.example.com/pub/EXAMPLE-CA-CERT
Install dialog package.
Answer:
Explanation:
yum install dialog
NEW QUESTION 19
CORRECT TEXT
Add admin group and set gid=600
Answer:
Explanation:
#groupadd-g600admin
NEW QUESTION 20
CORRECT TEXT
Configure your Host Name, IP Address, Gateway and DNS.
Host name: station.domain40.example.com
/etc/sysconfig/network
hostname=abc.com
hostname abc.com
IP Address:172.24.40.40/24
Gateway172.24.40.1
DNS:172.24.40.1
Answer:
Explanation:
#cd/etc/syscofig/network-scripts/
#ls
#vimifcfg-eth0(ConfigureIPAddressGatewayandDNS)IPADDR=172.24.40.40GATEWAY=172.24.40.1DNS1=172.24.40.1
#vim/etc/sysconfig/network(ConfigureHostName)HOSTNAME=station.domain40.example.comORGraphicalInterfaces:System->Preference->NetworkConnections(ConfigureIPAddressGatewayandDNS)Vim/etc/sysconfig/network(ConfigureHostName)
NEW QUESTION 21
CORRECT TEXT
Upgrading the kernel as 2.6.36.7.1, and configure the system to Start the default kernel, keep the old kernel available.
Answer:
Explanation:
#cat/etc/grub.conf
#cd/boot
#lftpit
#getdr/dom/kernel-xxxx.rpm
#rpm-ivhkernel-xxxx.rpm
#vim/etc/grub.confdefault=0
NEW QUESTION 22
CORRECT TEXT
According the following requirements, configure autofs service and automatically mount to user's home directory in the ldap domain.
- Instructor.example.com (192.168.0.254) has shared /home/guests/ldapuserX home directory to your system by over NFS export, X is your hostname number.
- LdapuserX's home directory is exist in the instructor.example.com: /home/ guests/ldapuserX
- LdapuserX's home directory must be able to automatically mount to /home/ guests/ldapuserX in your system.
- Home directory have write permissions for the corresponding user.
However, you can log on to the ldapuser1 - ldapuser99 users after verification. But you can only get your corresponding ldapuser users. If your system's hostname is server1.example.com, you can only get ldapuser1's home directory.
Answer:
Explanation:
mkdir-p/home/guestscat/etc/auto.master:/home/guests/etc/auto.ldapcat/etc/auto.ldap:ldapuser1-rwinstructor.example.com:/home/guests/ldapuser1
automaticallymountalltheuser'shomedirectory
#*-rwinstructor.example.com:/home/guests/&
NEW QUESTION 23
CORRECT TEXT
In the system, mounted the iso image /root/examine.iso to/mnt/iso directory. And enable automatically mount (permanent mount) after restart system.
Answer:
Explanation:
mkdir-p/mnt/iso/etc/fstab:/root/examine.iso/mnt/isoiso9660loop00mount-amount|grepexamine
NEW QUESTION 24
CORRECT TEXT
Configure a user account.
Create a user iar , uid is 3400. Password is redhat
Answer:
Explanation:
useradd-u3400iarpasswdiar
NEW QUESTION 25
CORRECT TEXT
Create a logical volume
Create a new logical volume as required:
Name the logical volume as database, belongs to datastore of the volume group, size is 50 PE.
Expansion size of each volume in volume group datastore is 16MB.
Use ext3 to format this new logical volume, this logical volume should automatically mount to /mnt/database
Answer:
Explanation:
fdisk-cu/dev/vda//Createa1Gpartitionmodifiedwhenneededpartx-a/dev/vdapvcreate/dev/vdaxvgcreatedatastore/dev/vdax-s16Mlvcreate-l50-ndatabasedatastoremkfs.ext3/dev/datastore/databasemkdir/mnt/databasemount/dev/datastore/database/mnt/database/df-Thvi/etc/fstab/dev/datastore/database/mnt/database/ext3defaults00mount-aRestartandcheckallthequestionsrequirements.
NEW QUESTION 26
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".
Answer:
Explanation:
see explanation below. Explanation system-config-authentication &
NEW QUESTION 27
CORRECT TEXT
Configure a HTTP server, which can be accessed through http://station.domain40.example.com.
Please download the released page from http://ip/dir/example.html.
Answer:
Explanation:
#yuminstall-yhttpd
#chkconfighttpdon
#cd/var/www/html
#wgethttp://ip/dir/example.html
#cpexample.comindex.html
#vim/etc/httpd/conf/httpd.confNameVirtualHost192.168.0.254:80<VirtualHost192.168.0.254:80>DocumentRoot/var/www/html/ServerNamestation.domain40.example.com</VirtualHost>
NEW QUESTION 28
CORRECT TEXT
Find all lines in the file /usr/share/dict/words that contain the string seismic. Put a copy of all these lines in their original order in the file /root/wordlist. /root/wordlist should contain no empty lines and all lines must be exact copies of the original lines in /usr/share/dict/words.
Answer:
Explanation:
grepseismic/usr/share/dict/words>/root/wordlist
NEW QUESTION 29
CORRECT TEXT
Create a backup file named /root/backup.tar.bz2, which contains the contents of /usr/local, bar must use the bzip2 compression.
Answer:
Explanation:
cd/usr/localtar-jcvf/root/backup.tar.bz2*mkdir/testtar-jxvf/root/backup.tar.bz2-C/test/
NEW QUESTION 30
CORRECT TEXT
SELinux must run in force mode.
Answer:
Explanation:
/etc/sysconfig/selinuxSELINUX=enforcing
NEW QUESTION 31
CORRECT TEXT
Configure your system so that it is an NTP client of server.domain11.example.com
Answer:
Explanation:
#system-config-dateNote:dialogboxwillopeninthatCheckmarkSynchronizedateandtimeovernetwork.RemovealltheNTPSERVERandclickADDandtypeserver.domain11.example.com****************AndthenpressENTERandthepressOK***************
NEW QUESTION 32
......
Get New RHCE Certification Practice Test Questions Exam Dumps: https://www.dumpexams.com/RHCE-real-answers.html
Pass RHCE Exam - Real Test Engine PDF with 111 Questions: https://drive.google.com/open?id=1MPik-HpxlECGQQplTVnygU0ESALi5e2H