9 minute read

EnsurePass Red Hat RHCE EX300 Exam Real Dumps Red Hat Certified Engineer (RHCE)

Red Hat EX300 Exam | EnsurePass.com

Red Hat RHCE EX300 Exam

Advertisement

Vendor: Red Hat

Exam Code: EX300

Exam Name: Red Hat Certified Engineer (RHCE)

Version: 13.04

Q & As: 52

Contact Us: support@ensurepass.com. Copyright © 2014 by EnsurePass.com. All rights reserved.

Why do you choose EnsurePass.com for your exam Preparation:

1. Real Exam Questions and Answers with PDF and VCE Files. 2. Free VCE Software 3. We do provide Personal Consulting Services. 4. Money Back Guarantee.

How to buy:

EX300 Exam Questions & Answershttp://www.ensurepass.com/EX300.html

Red Hat EX300 Exam | EnsurePass.com

Exam Times: RHCE: Two hours.

Pass Scores: Total 300 points. Pass at 210 points.

Exam Environment: Take examinations on a real system with a pre-installed virtual machine. All exams must be completed in the virtual machine. Network must be well configured. If the network cannot be accessed, you will not pass the exam. In the iptables configuration, if you need to refuse the access, please use “Reject”. (The default is set as ACCEPT.)

Note: Your IP address, Host Name, Gateway and DNS has been configured. IP address: 172.24.30.5/24 Hostname: station.domain30.example.com vim /etc/hosts 172.24.30.5 station.domain30.example.com Add the corresponding relation between the host name and IP in the hosts records.

You are a member of the domain30.example.com host domain, another domain is t3gg.com---172.25.0.0/16 network.

Contact Us: support@ensurepass.com. Copyright © 2014 by EnsurePass.com. All rights reserved.

Red Hat EX300 Exam | EnsurePass.com

QUESTION 1 To ensure SELinux open after the boot:

Answer: vim /etc/sysconfig/selinux selinux=enforcing setenforce 1 getenforce

QUESTION 2 Open system kernel forwarding packets function:

Answer: vim /etc/sysctl.conf net.ipv4.ip_forward = 1 sysctl -w (Effective immediately)

The following commands should executed without sysctl.conf option: sysctl -a |grep net.ipv4 sysctl -P net.ipv4.ip_forward = 1 sysctl -w

QUESTION 3 Configure SSH access as follows:

• Harry has remote SSH access to your machine from within example.com

• Clients within t3gg.com should NOT have access to ssh on your system

Answer: yum install -y sshd chkconfig sshd on vim /etc/hosts.deny sshd: 172.25.0.0/16

Use iptables: iptables -F iptables -X iptables -Z iptables -nvL iptables -A INPUT -s 172.25.0.0/16 -p tcp -dport 22 -j REJECT services iptables save

Contact Us: support@ensurepass.com. Copyright © 2014 by EnsurePass.com. All rights reserved.

Red Hat EX300 Exam | EnsurePass.com

Each finished writing a iptables rules saved iptables -nvL cat / etc / services can be used to view port If wrong, can be modified in vim / etc / sysconfig / iptables

QUESTION 4 Configure FTP access as follows:

• Download from catalog: / var / ftp / pub using anonymous is allowed

• Clients within t3gg.com should NOT have access to FTP on your system

Answer: yum install -y vsftpd chkconfig vsftpd on services vsftpd start Deny: uninstall hosts.deny or use iptables vim /etc/hosts.deny vsftpd: 172.25.0.0/16 iptables -A INPUT -s 172.25.0.0/16 -p tcp -dport 20:21 -j REJECT services iptables save

QUESTION 5 Mount /root/cdrom.iso under /opt/data, and take effect automatically at boot-start

Answer: cd /opt/ mkdir data mount -t iso9660 -o loop /root/cdrom.iso /opt/data vim /etc/fstab /root/cdrom.iso /opt/data iso9660 defaults,loop 0 0

QUESTION 6 Configure Web server as follow: Clients within http://station.domain30.example.com should have access to Web server on your system

Answer: yum install -y httpd chkconfig httpd on cd /etc/httpd/conf/

Contact Us: support@ensurepass.com. Copyright © 2014 by EnsurePass.com. All rights reserved.

Red Hat EX300 Exam | EnsurePass.com

vim httpd.conf NameVirtualHost 172.24.30.5:80 <VirtualHost 172.24.30.5:80> DocumentRoot /var/www/html/ ServerName tation.domain30.example.com </VirtualHost> service httpd restart

QUESTION 7 Build a web server to enable the virtual host. So http://www.domain30.example.com able to access to the page / www / virtual directory, download from http://ip/dir/example.html. And ensure, http://station.domain30.example.com also be access to the contents of.

Answer: mkdir -p /www/virtual cd /www/virtual wget http://ip/dir/example.com cp example.com index.html se manage fcontext -a -t httpd_sys_content_t ‘/www(/.*)?’ restorecon -vRF /www vim /etc/httpd/conf/httpd.conf (Create a new host) <VirtualHost 172.24.30.5:80> DocumentRoot /www/virtual/ ServerName www.domain30.example.com </VirtualHost> service httpd restart Verify with elinks

Other kinds of questions: Download files from http://ip/dir/restircted.html. Local user have access to it through http://dtop30.dn.ws.com/restircted, but Clients within remote.com should NOT have access to it.

htpasswd -cm /etc/httpd/.htpasswd sisi htpasswd -m /etc/httpd/.htpasswd tami <VirtualHost 172.24.30.5:80> DocumentRoot /www/virtual/ ServerName www.domain30.example.com <Directory “/www/virtual/”> AuthName “www.domain30.example.com” AuthType basic

Contact Us: support@ensurepass.com. Copyright © 2014 by EnsurePass.com. All rights reserved.

Red Hat EX300 Exam | EnsurePass.com

AuthUserFile /etc/httpd/.htpasswd Require valid-user </Directory> </VirtualHost> services httpd restart

QUESTION 8 Download files from http://ip/dir/restircted.html. Local users have access to it through http://station.domain30.example.com/restircted, but Clients within t3gg.com should NOT have access to it.

Answer: cd /var/www/html wget http://ip/dir/restircted.htm iptables -A INPUT -s 172.25.0.0/16 -p tcp -dport 80 -j REJECT service iptables save

QUESTION 9 Configure NFS server to share /common directory with domain30.example.com. Authenticate the clients devices have the access to it as root user.

Answer: yum install -y nfs chkconfig nfs on chkconfig rpcbind on vim /etc/exports /common 172.24.30.0/255.255.255.0 (rw,no_root_squash) showmount -e 172.16.30.5 mount -t nfs 172.16.30.5:/common /mnt

QUESTION 10 Configuring samba server, shared / common, and can browse to the. User harry shared read-only, if necessary, harry users password for harryuser were.

Answer: yum install -y postfix chkconfig smb on useradd harry smbpasswd -a harry vim /etc/samba/smb.conf

Contact Us: support@ensurepass.com. Copyright © 2014 by EnsurePass.com. All rights reserved.

Red Hat EX300 Exam | EnsurePass.com

[common] comment = common path = /common browseable = yes read only = yes testarpm getsebool -a |grep samba_share_nfs setsebool -P samba_share_nfs=1 services smb restart mount -t cifs //172.16.30.5/common /mnt -o username=harry%harryuser

QUESTION 11 Configure an email server domian30.example.com, and it requests to send and receive emails from the local server or the user harry can send or receive emails from network. The email of user harry is /var/spool/mail/harry. Please note: the DNS server has already been MX record.

Answer: yum install -y postfix chkconfig postfix on vim /etc/postfix/main.cf inet_interfaces = all mydestination = example.com, domain30.example.com, localhost mynetworks = 172.16.30.0/24, 127.0.0.1/8 services postfix restart

Test: netstat -tulnp |grep 25 hostname echo hello |mail -s “test”root@example.com cat /var/spool/mai/harry

QUESTION 12 Connect to mail server and send email to admin, ensure that user harry can revive it.

Answer: vim /etc/aliases admin: harry newaliases

Contact Us: support@ensurepass.com. Copyright © 2014 by EnsurePass.com. All rights reserved.

Red Hat EX300 Exam | EnsurePass.com

QUESTION 13 Configure Kernel parameters rhelblq=1 and enable /proc/cmdline to verify your Kernel parameters.

Answer: Vim /etc/grub.conf Write the end of the kernel line To see after restart cat /proc/cmdline

QUESTION 14 Configure cron as follow: Clients tom should NOT have access to cron

Answer: useradd tom vim /etc/cron.deny tom Effective immediately save and exit.

QUESTION 15 Write a script / root / program, the requirements when the input parameter kernel to the script, the script returns the user, the input parameters to the script user, the script returns the kernel. While the script no parameters or parameter error, the output from the standard error output usage: / root / the program kernel | user

Answer: vim /root/program #!/bin/bash if [ “$1” == “kernel”];then echo “user” elif [“$1” == “user”];then echo “kernel” else echo “usage:/root/program kernel|user” fi

Test: chmod a+x /root/program .root/program kernel ./root/program user

Contact Us: support@ensurepass.com. Copyright © 2014 by EnsurePass.com. All rights reserved.

Red Hat EX300 Exam | EnsurePass.com

./root/program lll

QUESTION 16 Please visit iscsi shared storage, storage server address is 172.24.30.100, ceded 1500M space, formatted with the ext3 file system, mount / mnt / data, and boot automatically mount.

Answer: yum install -y iscsi* chkconfig iscsid on chkconfig iscsi on iscsiadm -m discovery -t st -p 172.24.30.100:3260 iscsiadm -m node -T iqn.2011 -p 172.24.30.100 -| service iscsi restart fdisk -| fdisk /dev/sda partx -a /dev/sda partx -a /dev/sda mkfs.ext3 /dev/sad1 yum -y install tree cd /var/lib/iscsi tree . view iqn cd /mnt mkdir data blkid /dev/sda1 (View UUID, UUID mount) vim /etc/fstab UUID=XXX /mnt/data ext3 default, _netdev 0 0 mount -a

QUESTION 17 Configuring the NFS service that will /mnt /storage directory with read-only shared to the example.com domain user when the client as the root user will also have access to the root directory permissions to read-only shared to cracker.org domain users.

Answer: # vim /etc/exports /mnt/storage *.example.com(ro,sync,no_root_squash) /mnt/storage *.cracker.org(ro,sync)

Contact Us: support@ensurepass.com. Copyright © 2014 by EnsurePass.com. All rights reserved.

Red Hat EX300 Exam | EnsurePass.com

QUESTION 18 Example.com only allows access to the local SSH.

Answer: # vim /etc/hosts.allow sshd: .example.com # vim /etc/hosts.deny sshd: ALL

QUESTION 19 Samba configuration requirements are as follows:

1. The Working Group called RHCE 2. Types of user authentication 3. Shared / mnt / storage directory share name for the share 4. The shared directory allows user1 and user2 user has write permissions to other users are read-only, if you need password are redhat 5. only allows the user to access the shared directory domain example.com

Answer: # yum install -y samba # vim /etc/samba/smb.conf [global] workgroup = RHCE security = user [share] path = /mnt/storage write list = user1 user2 hosts allow = .example.com # ( echo redhat ; echo redhat ) | smbpasswd -s -a user1 # ( echo redhat ; echo redhat ) | smbpasswd -s -a user2 # service smb start; chkconfig smb on

QUESTION 20 Establish vsftp server, so that only allow user1 user access, and cannot jump out of home directories only allow users to upload and download example domain, allowing only example domains can be accessed.

Answer: # yum -y install vsftpd # vim /etc/vsftpd/vsftpd.conf

Contact Us: support@ensurepass.com. Copyright © 2014 by EnsurePass.com. All rights reserved.

Red Hat EX300 Exam | EnsurePass.com

userlist_deny=NO userlist_file=/etc/vsftpd/vsftpd.user_list chroot_list_enable=YES chroot_list_file= /etc/vsftpd/vsftpd.chroot_list anon_upload_enable=YES anonymous_enable=YES # mkdir -p /var/ftp/incoming; chmod 777 /var/ftp/incoming # chcon -t public_content_rw_t /var/ftp/incoming # setsebool -P allow_ftpd_anon_write 1 # setsebool -P ftp_home_dir 1 # vim /etc/vsftpd/vsftpd.user_list user1 # vim /etc/vsftpd/vsftpd.chroot_list user1 # service vsftpd start; chkconfig vsftpd on # vim /etc/hosts.deny vsftpd: ALL EXCEPT .example.com

QUESTION 21 Create new mail server, the following:

1. Allow localhost and remote hosts can access 2. Allow example.com users can relay to refuse remote test 3. All mail sent to the user3 will be sent to user2 4. Confirm / var/spool/mail/user1 exist 5. Example.com domain only allows the user to receive mail via pop3

Answer: # yum install postfix -y # alternatives --set mta (Choose postfix) # service sendmail stop; chkconfig sendmail off # cd /etc/postfix # vim main.cf myhostname = stationX.example.com mynetworks_style = subnet mydestination = $ myhostname myorigin = $ myhostname relay_domains = example.com, $mydestination inet_interfaces = all smtpd_client_restrictions = check_client_access hash:/etc/postfix/access, check_sender_access hash:/etc/postfix/access,

Contact Us: support@ensurepass.com. Copyright © 2014 by EnsurePass.com. All rights reserved.

EnsurePass.com Members Features:

1.

Verified Answers researched by industry experts.

2.

Q&As are downloadable in PDF and VCE format.

3.

98% success Guarantee and Money Back Guarantee.

4.

Free updates for 180 Days.

5.

Instant Access to download the Items

View list of All Exam provided: http://www.ensurepass.com/certfications?index=ATo purchase Lifetime Full Access Membership click here: http://www.ensurepass.com/user/register

Valid Discount Code 20% OFF for 2019: MMJ4-IGD8-X3QW

To purchase the HOT Exams:

Vendors

Hot Exams

Download

Cisco

100-105

http://www.ensurepass.com/100-105.html

Cisco

200-105

http://www.ensurepass.com/200-105.html

Cisco

200-125

http://www.ensurepass.com/200-125.html

Cisco

200-310

http://www.ensurepass.com/200-310.html

Cisco

200-355

http://www.ensurepass.com/200-355.html

Cisco

300-101

http://www.ensurepass.com/300-101.html

Cisco

300-115

http://www.ensurepass.com/300-115.html

Cisco

300-135

http://www.ensurepass.com/300-135.html

Cisco

300-320

http://www.ensurepass.com/300-320.html

Cisco

400-101

http://www.ensurepass.com/400-101.html

CompTIA

220-1001

http://www.ensurepass.com/220-1001.html

CompTIA

220-1002

http://www.ensurepass.com/220-1002.html

CompTIA

220-901

http://www.ensurepass.com/220-901.html

CompTIA

220-902

http://www.ensurepass.com/220-902.html

CompTIA

CAS-003

http://www.ensurepass.com/CAS-003.html

CompTIA

LX0-103

http://www.ensurepass.com/LX0-103.html

CompTIA

LX0-104

http://www.ensurepass.com/LX0-104.html

CompTIA

N10-007

http://www.ensurepass.com/N10-007.html

CompTIA

PK0-004

http://www.ensurepass.com/PK0-004.html

CompTIA

SK0-004

http://www.ensurepass.com/SK0-004.html

CompTIA

SY0-501

http://www.ensurepass.com/SY0-501.html

Microsoft

70-410

http://www.ensurepass.com/70-410.html

Microsoft

70-411

http://www.ensurepass.com/70-411.html

Microsoft

70-412

http://www.ensurepass.com/70-412.html

Microsoft

70-740

http://www.ensurepass.com/70-740.html

Microsoft

70-741

http://www.ensurepass.com/70-741.html

Microsoft

70-742

http://www.ensurepass.com/70-742.html

Microsoft

70-761

http://www.ensurepass.com/70-761.html

Microsoft

70-762

http://www.ensurepass.com/70-762.html

ISC

CISSP

http://www.ensurepass.com/CISSP.html

Cisco Exam Dumps

CCDA

200-310

CCIE Security

300-701 400-251

CCDE

352-001

CCIE Service Provider

300-501 400-201

CCDP

300-101 300-115 300-320

CCIE Wireless

400-351

CCENT

100-105

CCNA

200-301

CCIE Collaboration

300-801 400-051

CCNA Cloud

210-451 210-455

CCIE Data Center

300-601 400-151

CCNA Collaboration

210-060 210-065

CCIE Enterprise Infrastructure

300-401

CCNA Cyber Ops

210-250 210-255

CCIE Enterprise Wireless

300-401

CCNA Data Center

200-150 200-155

CCIE Routing and Switching

400-101

CCNA Industrial

200-601

CCNA Routing & Switching

100-105 200-105

CCNP Routing & Switching

300-101 300-115

200-125300-135

CCNA Security

210-260

CCT Data Center

010-151

CCNA Service Provider

640-875 640-878

CCT Routing & Switching

640-692

CCNA Wireless

200-355

Cisco Certified DevNet Associate

200-901

CCNP Cloud

300-460 300-465

300-470 300-475

Cisco Network Programmability Design and

Implementation Specialist

300-550

CCNP Collaboration

300-070 300-075

300-080

300-085 300-801

300-810

300-815 300-820

300-835

CCNP Enterprise

300-401 300-410 300-415

300-420 300-425 300-430

300-435

CCNP Data Center

300-160 300-165

300-170

300-175 300-180

300-601

300-610 300-615

300-620

300-625

300-635

CCNP Security

300-206 300-208 300-209

300-210 300-701 300-710

300-715 300-720 300-725

300-730 300-735

CCNP Service Provider

300-501 300-510 300-515

642-883 642-885 642-887

642-889 300-535

CCNP Wireless

300-360 300-365

300-370 300-375

Cisco Certified DevNet Professional

300-435 300-535

300-635

300-735 300-835

300-901

300-910 300-915

300-920

Cisco Certified DevNet Specialist

300-435 300-535 300-635

300-735 300-835 300-901

300-910 300-915 300-920

Cisco Network Programmability Developer

Specialist

300-560

Role-based Exams Dumps

Azure Security Engineer Associate

AZ-500

Microsoft 365 Certified Fundamentals

MS-900

Dynamics 365 Fundamentals

MB-900

Messaging Administrator Associate

MS-200 MS-201 MS-202

Dynamics 365 for Marketing FunctionalModern Desktop Administrator Associate

Consultant AssociateMD-100

MD-101

MB-200

MB-220

Dynamics 365 for Field Service Functional

Consultant Associate

Security Administrator Associate

MS-500

MB-200

MB-240

Dynamics 365 for Finance and Operations,

Financials Functional Consultant Associate

Teamwork Administrator Associate

MS-300 MS-301 MS-302

MB-300

MB-310

Dynamics 365 for Finance and Operations,

Manufacturing Functional Consultant

Azure Administrator Associate

AZ-103

Associate

MB-300

MB-320

Dynamics 365 for Finance and Operations,

Supply Chain Management Functional

Azure AI Engineer Associate

AI-100

Consultant Associate

MB-300MB-330

Azure Data Engineer AssociateMicrosoft Certified Azure Fundamentals

DP-200DP-201

AZ-900

Azure Data Scientist AssociateAzure Solutions Architect Expert

DP-100AZ-300

AZ-301

Azure Developer Associate

AZ-203

Dynamics 365 for Customer Service

Functional Consultant Associate

MB-200MB-230

Azure DevOps Engineer Expert

AZ-400

Dynamics 365 for Sales Functional Consultant

Associate

MB-200MB-210

MCSA Exams Dumps

BI Reporting

70-778

70-779

SQL Server 2012/2014

70-461

70-462

70-463

Microsoft Dynamics 365 for Operations

70-764

70-765

Universal Windows Platform

70-483

70-357

MB6-894

SQL 2016 BI Development

70-767

70-768

Web Applications

70-480

70-483

70-486

SQL 2016 Database Administration

70-764

70-765

Windows Server 2012

70-410

70-411

70-412

SQL 2016 Database Development

70-761

70-762

Windows Server 2016

70-740

70-741

70-742

MCSE Exams Dumps

Business Applications

MB2-716

MB2-718

MB2-719

MB6-895

MB6-896

MB6-897

MB6-898

Data Management and Analytics

70-464

70-465

70-466

70-467

70-762

70-767

70-768

70-777

Core Infrastructure

70-744

70-745

70-413

70-414

MCSE Productivity Solutions Expert

70-345

70-339

70-333

70-334

70-537

MCSD Exams Dumps

70-357 70-486 70-487

MTA Exams Dumps

Exam 98-349

Exam 98-361

Exam 98-364

Exam 98-365

Exam 98-366

Exam 98-367

Exam 98-368

Exam 98-369

Exam 98-375

Exam 98-380

Exam 98-381

Exam 98-382

Exam 98-383

Exam 98-388

CompTIA Exam Dumps

CompTIA A+ 2019

CompTIA A+ 2019

CompTIA A+ 2019

CompTIA A+ 2019

CompTIA Advanced Security Practitioner

CompTIA Cloud Essentials

CompTIA Cloud Essentials

CompTIA CySA+

CompTIA Cloud+

CompTIA IT Fundamentals

CompTIA IT Fundamentals

CompTIA Linux+

CompTIA Linux+

CompTIA Network+

CompTIA Project+

CompTIA PenTest+

CompTIA Security+

CompTIA CTT+

CompTIA CTT+

CompTIA CTT+

CompTIA Linux+

220-1001

220-1002

220-901

220-902

CAS-003

CLO-001

CLO-002

CS0-001

CV0-002

FC0-U51

FC0-U61

LX0-103

LX0-104

N10-007

PK0-004

PT0-001

SY0-501

TK0-201

TK0-202

TK0-203

XK0-004

This article is from: