This page was exported from Top Exam Collection [ http://blog.topexamcollection.com ] Export date:Sun Feb 23 17:01:43 2025 / +0000 GMT ___________________________________________________ Title: Get Instant Access of 100% Real RedHat RHCE Exam Questions with Verified Answers [Q66-Q80] --------------------------------------------------- Get Instant Access of 100% Real RedHat RHCE Exam Questions with Verified Answers Exam Dumps for the Preparation of Latest RHCE Exam Questions QUESTION 66CORRECT 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-aQUESTION 67CORRECT TEXTConfigure NTP.Configure NTP service, Synchronize the server time, NTP server: classroom.example.com Configuretheclient:Yum-yinstallchronyVim/etc/chrony.confAdd:serverclassroom.example.comiburstStart:systemctlenablechronydsystemctlrestartchronydValidate:timedatectlstatusQUESTION 68CORRECT TEXTDownload ftp://192.168.0.254/pub/boot.iso to /root, and mounted automatically under /media/cdrom and which take effect automatically at boot-start. #cd/root;wgetftp://192.168.0.254/pub/boot.iso#mkdir-p/media/cdrom#vim/etc/fstab/root/boot.iso/media/cdromiso9660defaultsloop00#mount-amount[-tvfstype][-ooptions]devicedirQUESTION 69CORRECT TEXTAdd user: user1, set uid=601Password: redhatThe user’s login shell should be non-interactive. #useradd-u601-s/sbin/nologinuser1#passwduser1redhatQUESTION 70CORRECT 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’tnotneedtosetQUESTION 71CORRECT TEXTMake on data that only the user owner and group owner member can fully access. chmod770/dataVerifyusing:ls-ld/dataPreviewshouldbelike:drwxrwx—2rootsysadmin4096Mar1618:08/dataTochangethepermissionondirectoryweusethechmodcommand.Accordingtothequestionthatonlytheowneruser(root)andgroupmember(sysadmin)canfullyaccessthedirectoryso:chmod770/dataQUESTION 72CORRECT TEXTSELinux must run in force mode. /etc/sysconfig/selinuxSELINUX=enforcingQUESTION 73CORRECT 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>QUESTION 74CORRECT TEXTConfigure a user account.Create a user iar , uid is 3400. Password is redhat useradd-u3400iarpasswdiarQUESTION 75CORRECT TEXTConfigure 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/httpdrestartchkconfighttpdonQUESTION 76CORRECT TEXTUser mary must configure a task.Requirement: The local time at 14:23 every day echo “Hello World.”. crontab-umary-e2314***echo”HelloWorld.”QUESTION 77CORRECT 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.QUESTION 78CORRECT 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//viewsystemctlenablecrondsystemcdlrestartcrondQUESTION 79CORRECT TEXTConfigure a task: plan to run echo hello command at 14:23 every day. #whichecho#crontab-e2314***/bin/echohellos#crontab-l(Verify)QUESTION 80CORRECT TEXTCreate 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) Loading … Download Latest & Valid Questions For RedHat RHCE exam: https://www.topexamcollection.com/RHCE-vce-collection.html --------------------------------------------------- Images: https://blog.topexamcollection.com/wp-content/plugins/watu/loading.gif https://blog.topexamcollection.com/wp-content/plugins/watu/loading.gif --------------------------------------------------- --------------------------------------------------- Post date: 2022-12-06 12:18:04 Post date GMT: 2022-12-06 12:18:04 Post modified date: 2022-12-06 12:18:04 Post modified date GMT: 2022-12-06 12:18:04