Page 1

Free VCE and PDF Exam Dumps from PassLeader

 Vendor: Red Hat  Exam Code: EX300  Exam Name: Red Hat Certified Engineer (RHCE) (v6+v7 version)  Part B – V6 Exam A Questions Visit PassLeader and Download Full Version EX300 Exam Dumps

-------------------------------------------- For v6 Exam A -----------------------------------------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: 1. All the software package is stored at http://ip/dir/cdom. 2. You can use the real machine to verify whether the examination experiment is correctly completed in the virtual machine. 3. The network environment: Host name: station.domainX0.example.com IP Address: 172.24.X0.5/24 (If your machine is No.1, X0 is 10.) Gateway: 172.24.10.254 4. You can use a real machine to verify the configuration of the virtual machine is properly completed: (different exam not the same Network domain, please look the situation) dn10.ws.com domain is 172.28.10.0/24 network. tk.com domain is 172.18.0.0/16 network. Generally, the network is required to be rejected in exam. EX300 Exam Dumps

EX300 Exam Questions

EX300 PDF Dumps

http://www.passleader.com/ex300.html

EX300 VCE Dumps


Free VCE and PDF Exam Dumps from PassLeader

Complete the task before the exam: 1. Reset root password (1) Press any key to enter the menu within 5 seconds.

(2) Enter “e” to edit the commands.

(3) Choose the line of begin with “kernel 1/……”.

(4) Select the kernel and sends a parameter: " 1 “, " s ", or " single ". These parameters are means that the system will start to enter single-user mode. EX300 Exam Dumps

EX300 Exam Questions

EX300 PDF Dumps

http://www.passleader.com/ex300.html

EX300 VCE Dumps


Free VCE and PDF Exam Dumps from PassLeader

(5) Press the "Enter" key, return to the start menu. Now press the letter "b" key to boot the system.

(6) Into single-user mode and reset the root password. PS: In the in RHEL6 system, modify root password directly is invalid, you need to temporarily turn off SELinux. This is a bug in rhel6 system.

EX300 Exam Dumps

EX300 Exam Questions

EX300 PDF Dumps

http://www.passleader.com/ex300.html

EX300 VCE Dumps


Free VCE and PDF Exam Dumps from PassLeader Here the detail of commands: runlevel: View the current run level, check whether on the single-user mode passwd: Change the root password getenforce: Check whether to enable SELinux, forced mode (Enforcing) setenforce 0: temporary disable SELinux protection, to change the root password init 5: Restart, and direct into run level 5, the graphical interface 2. Configure your Host Name, IP Address, Gateway and DNS Host name: dtop5.dn.ws.com IP Address: 172.28.10.5/24 Gateway: 172.28.10.1 DNS: 172.28.10.1 Answers: (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:

EX300 Exam Dumps

EX300 Exam Questions

EX300 PDF Dumps

http://www.passleader.com/ex300.html

EX300 VCE Dumps


Free VCE and PDF Exam Dumps from PassLeader

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: EX300 Exam Dumps

EX300 Exam Questions

EX300 PDF Dumps

http://www.passleader.com/ex300.html

EX300 VCE Dumps


Free VCE and PDF Exam Dumps from PassLeader a) Check gateway: # vim / etc / sysconfig / network

b) Check Host Name: # vim /etc/hosts

c) Check DNS: # vim /etc/resolv.conf

d) Check Gateway: # vim /etc/sysconfig/network-scripts/ifcfg-eth0

Part 1 The next day, preparation of RHCE. Attention, in the exam, Internet and system environment have been done in advance so you just need to operate directly. Remember the following several points:

(1) Remembering just operate on Virtual machine, don’t do anything on physical machine. (2) Remembering your fire wall MUST BE emptied or bear your own consequences. (3) Remembering to start using all the services. (chkconfig) Question 1 In accordance with the following requirements to deploy ssh login service: EX300 Exam Dumps

EX300 Exam Questions

EX300 PDF Dumps

http://www.passleader.com/ex300.html

EX300 VCE Dumps


Free VCE and PDF Exam Dumps from PassLeader

(1) harry belongs to example.com which can remote login your systems. (2) However, users of remote.test cannot use ssh login to your machine. Answer: [root@server1 ~]# grep sshd /etc/hosts.allow sshd:.example.com [root@server1 ~]# grep sshd /etc/hosts.deny sshd:.remote.test Notice: tcp_wrappers has two configuration files and their priority level is /etc/hosts.allow->/etc/hosts.deny Question 2 Via nfs service share the /common directory in your system, just doing ONE share in example.com domain. Answer: [root@server1 ~]# grep common /etc/exports /common *.example.com(ro,sync) Question 3 According to the following requirements, deploying your ftp login rule: (1) Users in example.com domain must be able to login to your ftp server as an anonymous user. (2) But users outside the example.com domain are unable to login to your server. Answer: [root@server1 ~]# grep vsftpd /etc/hosts.deny vsftpd:.example.com [root@server1 ~]# grep vsftpd /etc/hosts.deny vsftpd:ALL /etc/vsftpd/vsftpd.conf: anonymous_enable=YES Question 4 Deploying your exam system: linking to the iscsi target in the instructor.example.com and distinguish it well, then formatted as ext3 file system. You must can be able to mout the file system of the iscsi target to the /mnt/iscsi directory in your own system and make this file system can automatically mount (permanently mount) after system restart.

EX300 Exam Dumps

EX300 Exam Questions

EX300 PDF Dumps

http://www.passleader.com/ex300.html

EX300 VCE Dumps


Free VCE and PDF Exam Dumps from PassLeader Answer: [root@server1 ~]# iscsiadm --mode discoverydb --type sendtargets -portal instructor.example.com --discover 192.168.0.254:3260,1 iqn.2010-09.com.example:rdisks.server1 [root@server1 ~]# iscsiadm --mode node -targetname iqn.2010-09.com.example:rdisks.server1 --portal instructor.example.com --login Logging in to [iface: default, target: iqn.2010-09.com.example:rdisks.server1, portal: 192.168.0.254,3260] (multiple) Login to [iface: default, target: iqn.2010-09.com.example:rdisks.server1, portal: 192.168.0.254,3260] successful. Notice: This part also need to be formatted and modify /etc/fstab mount Question 5 In accordance with the following requirements, sharing /common directory through smb service. -- your sub service must be in the SAMBA working-set -- the shared name of common is common -- the common share just can be shared by the customers in the example.com domain -- the common must can be available for browsing -- mary must can login to the smb share and for read operation, “password “is the secret code if it need to be verified Answer: [root@server1 iscsi]# grep -v "^\s*#" /etc/samba/smb.conf | grep -v "^\s*;" | grep -v "^\s*$" [global] workgroup = SAMBA server string = Samba Server Version %v hosts allow = 127. 192.168.0. security = user passdb backend = tdbsam [common] comment = Public Stuff path = /common public = no EX300 Exam Dumps

EX300 Exam Questions

EX300 PDF Dumps

http://www.passleader.com/ex300.html

EX300 VCE Dumps


Free VCE and PDF Exam Dumps from PassLeader browseable = yes printable = no read only = mary Add SMB Mary users smbpasswd -a mary Modify the security context of /common directory chcon -R -t samba_share_t /common Question 6 Arrange a web service address is: http://serverX.example.com, X is the number of your exam machine. Deploy it in accordance with the following requirements: -- Download ftp://instructor.example.com/pub/rhce/server.html -- Cannot do any modification to file documwent server.html -- Rename file document server.html as index.html -- Copy the file document server.html to DocumentRoot Answer: [root@server1 common]# cd /var/www/html/ [root@server1 html]# lftp instructor.example.com lftp instructor.example.com:~> cd pub/rhce cd ok, cwd=/pub/rhce lftp instructor.example.com:/pub/rhce> get server.html 20 bytes transferred [root@server1 html]# mv server.html index.html [root@server1 html]# restorecon -Rv /var/www/html/ [root@server1 html]# /etc/init.d/httpd restart Stopping httpd: [ OK ] Starting httpd: [ OK ] [root@server1 html]# chkconfig httpd on Question 7 Expand your web service including a virtual hosting, address is:http://wwwX.example.com, X is the number of your exam machine. However, requiring you do as the following: -- Set up the DocumentRoot of this virtual hosting as /var/http/virtual -- Download ftp://instructor.example.com/pub/rhce/www.html -- Rename www.html file document as index.html -- Move this file document to this virtual hosting’s DocumentRoot -- Don't do any changes to this document -- Making sure that harry users are able to create project in /var/http/virtual Attention: Original web address is http://serverX.example.com must also can be browsed. EX300 Exam Dumps

EX300 Exam Questions

EX300 PDF Dumps

http://www.passleader.com/ex300.html

EX300 VCE Dumps


Free VCE and PDF Exam Dumps from PassLeader The DNS of the Server instructor.example.com has already been analyzed as the domain wwwX.example.com. Answer: [root@server1 html]# mkdir -p /var/http/virtual [root@server1 html]# cd /var/http/virtual/ [root@server1 virtual]# lftp instructor.example.com lftp instructor.example.com:~> cd pub/rhce lftp instructor.example.com:/pub/rhce> get www.html 17 bytes transferred lftp instructor.example.com:/pub/rhce> quit [root@server1 virtual]# mv www.html index.html [root@server1 virtual]# useradd harry [root@server1 virtual]# chgrp harry . [root@server1 virtual]# chmod 775. Edit /etc/httpd/conf/httpd.conf, add the follow content: NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /var/http/virtual ServerName www1.example.com <Directory /var/http/virtual/limited> Options Indexes MultiViews FollowSymlinks order deny,allow deny from all allow from 192.168.0. </Directory> </VirtualHost> <VirtualHost *:80> DocumentRoot /var/www/html/ ServerName server1.example.com Notice: The priority level of order denies, allow is deployed: The back is higher than in front of the priority. It means allow -> deny Question 8 ……

Visit PassLeader and Download Full Version EX300 Exam Dumps EX300 Exam Dumps

EX300 Exam Questions

EX300 PDF Dumps

http://www.passleader.com/ex300.html

EX300 VCE Dumps


Free VCE and PDF Exam Dumps from PassLeader

Part 2 Question 14 Please set the SElinux status as enforcing. Answer: # getenforce 1 # vim /etc/sysconfig/selinux SELINUX=enforcing Question 15 Please open the ip_forward, and take effect permanently. Answer: # vim /etc/sysctl.conf net.ipv4.ip_forward = 1 # sysctl -w

(takes effect immediately)

If no “sysctl.conf” option, use these commands: # sysctl -a |grep net.ipv4 # sysctl -P net.ipv4.ip_forward = 1 # sysctl -w Question 16 Configure ssh to allow user harry to access, reject the domain t3gg.com (172.25.0.0/16) to access. Answer: # yum install -y sshd # chkconfig sshd on # vim /etc/hosts.deny sshd: 172.25.0.0/16 # service sshd restart Use iptables: # chkconfig iptables on # 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 EX300 Exam Dumps

EX300 Exam Questions

EX300 PDF Dumps

http://www.passleader.com/ex300.html

EX300 VCE Dumps


Free VCE and PDF Exam Dumps from PassLeader # iptables -nvL # cat /etc/services

(check port)

Question 17 Configure the ftp to allow anonymously download the directory /var/ftp/pub, and reject the domain t3gg.com to access. Answer: # yum install -y vsftpd # chkconfig vsftpd on # services vsftpd start # vim /etc/hosts.deny vsftpd: 172.25.0.0/16 OR # iptables -A INPUT -s 172.25.0.0/16 -p tcp -dport 20:21 -j REJECT # services iptables save Question 18 Shutdown the /root/cdrom.iso under /opt/data, and set as boot automatically mount. 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 # mount -a # mount Question 19 Configure the web server, which can be accessed by: http://station.domain30.example.com. Answer: # yum install -y httpd # chkconfig httpd on # cd /etc/httpd/conf/ # vim httpd.conf NameVirtualHost 172.24.30.5:80 <VirtualHost 172.24.30.5:80> DocumentRoot /var/www/html/ EX300 Exam Dumps

EX300 Exam Questions

EX300 PDF Dumps

http://www.passleader.com/ex300.html

EX300 VCE Dumps


Free VCE and PDF Exam Dumps from PassLeader ServerName tation.domain30.example.com </VirtualHost> # service httpd restart Question 20 Configure the web server, and implement the virtual host. http://www.domain30.example.com can access

the

pages

under

the

directory:

http://ip/dir/example.html.

And

make

sure,

http://station.domain30.example.com can also access the previous content. 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 <VirtualHost 172.24.30.5:80>

(Add new VirtualHost)

DocumentRoot /www/virtual/ ServerName www.domain30.example.com </VirtualHost> # chcon -R --reference=/var/www/html/ /www/ # service httpd restart OR Use elinks to test. # mkdir -p /www/virtual # cd /www/virtual # wget http://ip/dir/example.html # mv example.html index.html # chcon -R --reference=/var/www/html/ /www/ # ls -ldZ /www/virtual # vim /etc/httpd/conf/httpd.conf NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /var/www/html/ ServerName station.domain30.example.com </VirtualHost> <VirtualHost *:80> DocumentRoot /www/virtual/ EX300 Exam Dumps

EX300 Exam Questions

EX300 PDF Dumps

http://www.passleader.com/ex300.html

EX300 VCE Dumps


Free VCE and PDF Exam Dumps from PassLeader ServerName www.domain30.example.com </VirtualHost> # service httpd restart Question 21 Download file from http://ip/dir/restircted.html, and the local user harry can access it by http://station.domain30.example.com/restircted.html, and cannot be accessed by t3gg.com. 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 OR # yum install httpd # service httpd restart # chkconfig httpd on # cd /var/www/html # wget http://ip/dir/restricted.html # iptables -A INPUT 172.25.0.0/16 -p tcp --dport 80 -j REJECT # service iptables save # service iptables restart # elinks http://station.domain30.example.com/restricted.html Question 22 ……

Visit PassLeader and Download Full Version EX300 Exam Dumps

Part 3 Question 30 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: 1. vi /etc/sysconfing/network NETWORKING=yes EX300 Exam Dumps

EX300 Exam Questions

EX300 PDF Dumps

http://www.passleader.com/ex300.html

EX300 VCE Dumps


Free VCE and PDF Exam Dumps from PassLeader HOSTNAME=station?.example.com GATEWAY=192.168.0.254 2. service network restart Or 1. vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 ONBOOT=yes BOOTPROTO=static IPADDR=X.X.X.X NETMASK=X.X.X.X GATEWAY=192.168.0.254 2. ifdown eth0 3. ifup eth0 Question 31 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. Answer: 1. First check the size of Logical Volume: lvdisplay /dev/vo/myvol 2. Make sure that the filesystem is in a consistent state before reducing: # fsck -f /dev/vo/myvol 3. Now reduce the filesystem by 200MB. # resize2fs /dev/vo/myvol 200M 4. It is now possible to reduce the logical volume. #lvreduce /dev/vo/myvol -L 200M 4. Verify the Size of Logical Volume: lvdisplay /dev/vo/myvol 5. Verify that the size comes in online or not: df -h Question 32 You are giving RHCE exam. Examiner gave you the Boot related problem and told to you that make successfully boot the System. When you started the system, System automatically asking the root password for maintenance. How will you fix that problem? Answer: Maintenance mode also known as emergency mode. System boots on emergency mode when file system error occurred. It is due to unknown partition, bad filesystem specified in /etc/fstab. To solve follow the steps: 1. Give the Root password EX300 Exam Dumps

EX300 Exam Questions

EX300 PDF Dumps

http://www.passleader.com/ex300.html

EX300 VCE Dumps


Free VCE and PDF Exam Dumps from PassLeader 2. fdisk -l Verify the Number of parathions 3. Identify the Root partition, e2label /dev/hda1, e2label /dev/hda2 4. Remount the root partition on rw mode: mount -o remount,defaults /dev/hda6/ 5. vi /etc/fstab Correct all partitions, mount point, mount options, file system etc. 6. Press Ctrl+d Question 33 You are working as an Administrator. There is a common data shared (/data) from 192.168.0.254 to all users in your local LAN. When user's system start, shared data should automatically mount on /common directory. Answer: To automatically mount at boot time, we use the /etc/fstab file. Because /etc/rc.d/rc.sysinit file reads and mount all file system specified in /etc/fstab. To mount Network Sharing Files also use the /etc/fstab but filesystem is nfs. 1. vi /etc/fstab 192.168.0.254:/data / common nfs defaults 0 0 2. reboot the system Question 34 Create the group named sysusers. Answer: 1. groupadd sysusers groupadd command is used to create the group and all group information is stored in /etc/group file. Question 35 Create the user named jeff, marion, harold Answer: 1. useradd jeff 2. useradd marion 3. useradd harold useradd command is used to create the user. All user's information stores in /etc/passwd and userâ&#x20AC;&#x2122;s shadow password stores in /etc/shadow. Question 36 Make Secondary belongs the jeff and marion users on sysusers group. But harold user should not EX300 Exam Dumps

EX300 Exam Questions

EX300 PDF Dumps

http://www.passleader.com/ex300.html

EX300 VCE Dumps


Free VCE and PDF Exam Dumps from PassLeader belongs to sysusers group. Answer: 1. usermod -G sysusers jeff 2. usermod -G sysuser marion 3. Verify by reading /etc/group file Using usermod command we can make user belongs to different group. There are two types of group one primary and another is secondary. Primary group can be only one but user can belongs to more than one group as secondary. usermod -g groupname username to change the primary group of the user usermod -G groupname username to make user belongs to secondary group. Question 37 Create the directory /storage and group owner should be the sysusers group. Answer: 1. chgrp sysusers /storage 2. Verify using ls -ld /storage command You should get like drwxr-x--- 2 root sysusers 4096 Mar 16 17:59 /storage chgrp command is used to change the group ownership of particular files or directory. Another way you can use the chown command. chown root:sysusers /storage Question 38 Make on /storage directory that only the user owner and group owner member can fully access. Answer: 1. chmod 770 /storage 2. Verify using: ls -ld /storage Preview should be like: drwxrwx- 2 root sysusers 4096 Mar 16 18:08 /storage To change the permission on directory we use the chmod command. According to the question that only the owner user (root) and group member (sysusers) can fully access the directory so: chmod 770 /archive Question 39 â&#x20AC;Śâ&#x20AC;Ś

Visit PassLeader and Download Full Version EX300 Exam Dumps EX300 Exam Dumps

EX300 Exam Questions

EX300 PDF Dumps

http://www.passleader.com/ex300.html

EX300 VCE Dumps

Free PassLeader EX300 Dumps with VCE and PDF (Part B)  

Free PassLeader EX300 Dumps with VCE and PDF (Part B) -- http://www.passleader.com/ex300.html

Advertisement