This page was exported from Free Exam Dumps Collection [ http://free.examcollectionpass.com ] Export date:Wed Nov 27 22:53:41 2024 / +0000 GMT ___________________________________________________ Title: [Feb-2023] RHCE Exam Dumps - Free Demo & 365 Day Updates [Q35-Q52] --------------------------------------------------- [Feb-2023] RHCE Exam Dumps - Free Demo & 365 Day Updates Free Sales Ending Soon - Use Real RHCE PDF Questions NEW QUESTION 35CORRECT TEXTConfigure your system so that it is an NTP client of server.domain11.example.com #system-config-dateNote:dialogboxwillopeninthatCheckmarkSynchronizedateandtimeovernetwork.RemovealltheNTPSERVERandclickADDandtypeserver.domain11.example.com****************AndthenpressENTERandthepressOK***************NEW QUESTION 36CORRECT TEXTCreate 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/NEW QUESTION 37CORRECT TEXTWho ever creates the files/directories on archive group owner should be automatically should be the same group owner of archive. chmodg+s/archiveVerifyusing:ls-ld/archivePermissionshouldbelike:drwxrws—2rootsysuser4096Mar1618:08/archiveIfSGIDbitissetondirectorythenwhoeveryuserscreatesthefilesondirectorygroupownerautomaticallytheownerofparentdirectory.TosettheSGIDbit:chmodg+sdirectoryToRemovetheSGIDbit:chmodg-sdirectoryNEW QUESTION 38CORRECT TEXTBinding 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=comLDAP 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 encryptAfter 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’tnotneedtosetNEW QUESTION 39CORRECT TEXTCreate a new logical volume according to the following requirements:The logical volume is named database and belongs to the datastore volume group and has a size of 50 extents.Logical volumes in the datastore volume group should have an extent size of 16 MB.Format the new logical volume with a ext3 filesystem.The logical volume should be automatically mounted under /mnt/database at system boot time. fdisk-cu/dev/vdapartx-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-aNEW QUESTION 40CORRECT TEXTCreate a user named alex, and the user id should be 1234, and the password should be alex111. #useradd-u1234alex#passwdalexalex111alex111ORechoalex111|passwd-stdinalexNEW QUESTION 41CORRECT TEXT1. Find all sizes of 10k file or directory under the /etc directory, and copy to /tmp/findfiles directory.2. Find all the files or directories with Lucy as the owner, and copy to /tmp/findfiles directory. (1)find/etc-size10k-execcp{}/tmp/findfiles;(2)find/-userlucy-execcp-a{}/tmp/findfiles;Note:Iffindusersandpermissionsyouneedtousecp-aoptionstokeepfilepermissionsanduserattributesetc.NEW QUESTION 42CORRECT TEXTSuccessfully resolve to server1.example.com where your DNS server is 172.24.254.254. vi/etc/resolv.confnameserver172.24.254.254hostserver1.example.comOneveryclientsDNSserverisspecifiedin/etc/resolv.conf.WhenyourequestbynameittriestoresolvfromDNSserver.NEW QUESTION 43CORRECT TEXTConfigure 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//viewsystemctlenablecrondsystemcdlrestartcrondNEW QUESTION 44CORRECT TEXTCopy /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. 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-u1000bobNEW QUESTION 45CORRECT TEXTCreate a Shared Directory.Create a shared directory /home/admins, make it has the following characteristics:/home/admins belongs to group adminuserThis directory can be read and written by members of group adminuser Any files created in /home/ admin, group automatically set as adminuser. mkdir/home/adminschgrp-Radminuser/home/adminschmodg+w/home/adminschmodg+s/home/adminsNEW QUESTION 46CORRECT TEXTThere are two different networks 192.168.0.0/24 and 192.168.1.0/24. Where 192.168.0.254 and192.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.254ifdowneth0ifupeth0NEW QUESTION 47CORRECT TEXTConfigure a HTTP server, which can be accessed through http://station.domain40.example.com.Please download the released page from http://ip/dir/example.html. #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 48CORRECT TEXTCreate User Account.Create the following user, group and group membership:Adminuser groupUser natasha, using adminuser as a sub groupUser Harry, also using adminuser as a sub groupUser sarah, can not access the SHELL which is interactive in the system, and is not a member of adminuser, natasha , harry , sarah password is redhat. groupaddadminuseruseraddnatasha-Gadminuseruseraddharyy-Gadminuseruseraddsarah-s/sbin/nologinPasswdusername//tomodifypasswordorechoredhat|passwd–stdinusernameidnatasha//toviewusergroup.NEW QUESTION 49CORRECT TEXTThe firewall must be open. /etc/init.d/iptablesstartiptables-Fiptables-Xiptables-Z/etc/init.d/iptablessavechkconfigiptablesonNEW QUESTION 50CORRECT TEXTOne Package named zsh is dump on ftp://server1.example.com under /pub/updates directory and your FTP server is 192.168.0.254. Install the package zsh. rpm-ivhftp://server1/example.com/pub/updates/zsh-*orLogintoftpserver:ftpftp://server1.example.comusinganonymoususer.Changethedirectory:cdpubandcdupdatesDownloadthepackage:mgetzsh-*Quitfromtheftpprompt:byeInstallthepackagerpm-ivhzsh-*Verifyeitherpackageisinstalledornot:rpm-qzshNEW QUESTION 51CORRECT TEXTThere 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-aNEW QUESTION 52CORRECT TEXTOne 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/myvolMakesurethatthefilesystemisinaconsistentstatebeforereducing:#fsck-f/dev/vo/myvolNowreducethefilesystemby200MB.#resize2fs/dev/vo/myvol200MItisnowpossibletoreducethelogicalvolume.#lvreduce/dev/vo/myvol-L200MVerifytheSizeofLogicalVolume:lvdisplay/dev/vo/myvolVerifythatthesizecomesinonlineornot:df-h Loading … RHCE Dumps - Pass Your Certification Exam: https://www.examcollectionpass.com/RedHat/RHCE-practice-exam-dumps.html --------------------------------------------------- Images: https://free.examcollectionpass.com/wp-content/plugins/watu/loading.gif https://free.examcollectionpass.com/wp-content/plugins/watu/loading.gif --------------------------------------------------- --------------------------------------------------- Post date: 2023-02-12 16:27:09 Post date GMT: 2023-02-12 16:27:09 Post modified date: 2023-02-12 16:27:09 Post modified date GMT: 2023-02-12 16:27:09