Tested of RH302 free question materials and testing bible for Red Hat certification for IT learners, Real Success Guaranteed with Updated RH302 pdf dumps vce Materials. 100% PASS Red Hat Certified Engineer on Redhat Enterprise Linux 5 (Labs) exam Today!


♥♥ 2021 NEW RECOMMEND ♥♥

Free VCE & PDF File for Red Hat RH302 Real Exam (Full Version!)

★ Pass on Your First TRY ★ 100% Money Back Guarantee ★ Realistic Practice Exam Questions

Free Instant Download NEW RH302 Exam Dumps (PDF & VCE):
Available on: http://www.surepassexam.com/RH302-exam-dumps.html

Q141. CORRECT TEXT

Your system is giving error to load X window System. Make successfully boot your system in runlevel5.

Answer and Explanation: 

While you load the X Window System, you will get the problem. Problem may caused by different error.

1. Check the /tmp is full ?

2. Check your quota, hard limit is already crossed ?

3. Check xfs service is running ?

4. Configure the Video card, Resolution, monitor type using: system-config-display (Most Probably in Redhat exam)

5. Edit the /etc/inittab to set default runlevel 5.

id:5:initdefault:


Q142. CORRECT TEXT

You want to deny to user1 and user2 users to access files via ftp. Configure to deny these users to access via ftp.

Answer and Explanation:

1. vi /etc/vsftpd/ftpusers

user1

user2

2. service vsftpd start| restart

Using /etc/vsftpd/ftpusers file we can deny to certain users to access files via ftp. As well as there is another file named /etc/vsftpd.user_list can be used to allow or to deny to users.


Q143. CORRECT TEXT

You have a domain in your LAN example.com. Configure to allow login to jack only from station10.example.com.

Answer and Explanation:

1. vi /etc/security/access.conf

-:jack:ALL EXCEPT station10.example.com

2. vi /etc/pam.d/system-auth

account required /lib/security/pam_access.so

/etc/security/access.conf file helps to allow or deny login to users on the basis of origin.

Syntax of /etc/security/access.conf

permission : users : origins

The first field should be a "+" (access granted) or "-" (access denied) character.

The second field should be a list of one or more login names, group names, or ALL (always matches). A pattern of the form user@host is matched when the login name matches the "user" part, and when the "host" part matches the local machine name.

The third field should be a list of one or more tty names (for non-networked logins), host names, domain names (begin with "."), host addresses, internet network numbers (end with "."), ALL (always matches) or LOCAL (matches any string that does not contain a "." character).

The EXCEPT operator makes it possible to write very compact rules


Q144. CORRECT TEXT

Who ever creates the files/directories on /data group owner should be automatically should be the same group owner of /data.

Answer and Explanation:

1. chmod g+s /data

2. Verify using: ls -ld /data

Permission should be like:

drwxrws--- 2 root sysadmin 4096 Mar 16 18:08 /data

If SGID bit is set on directory then who every users creates the files on directory group owner automatically the owner of parent directory.

To set the SGID bit: chmod g+s directory

To Remove the SGID bit: chmod g-s directory


Q145. CORRECT TEXT

Create the group named sysuser.

Answer and Explanation:

1. groupadd sysuser

groupadd command is used to create the group and all group information is stored in /etc/group file.


Q146. CORRECT TEXT

You have a domain named www.rhce.com associated IP address is 192.100.0.2. Configure the Apache web server by implementing the SSL for encryption communication.

Answer and Explanation:

1. vi /etc/httpd/conf.d/ssl.conf

<VirtualHost 192.100.0.2>

ServerName www.rhce.com

DocumentRoot /var/www/rhce

DirectoryIndex index.html index.htm

ServerAdmin webmaster@rhce.com

SSLEngine on

SSLCertificateFile /etc/pki/tls/certs/localhost.crt

SSLCertificateKeyFile /etc/pki/tls/private/localhost.key

</VirtualHost>

2. cd /etc/httpd/conf

3. make testcert

4. Create the directory and index page on specified path. (Index page can download from

ftp://server1.example.com at exam time)

Check the SELinux context of index page , should like this:

-rw-r--r-- root root system_u:object_r:httpd_sys_content_t /var/www/html/index.html

If SELinux Context is mismatched, use the restorecon -R /var command

5. service httpd start|restart

6. chkconfig httpd on

Apache can provide encrypted communications using SSL (Secure Socket Layer). To make use of encrypted communication, a client must request to https protocol, which is uses port 443. For HTTPS protocol required the certificate file and key file.


Q147. CORRECT TEXT

neo user tried by:

dd if=/dev/zero of=/home/neo/somefile bs=1024 count=70

files created successfully. Again neo tried to create file having 70K using following command:

dd if=/dev/zero of=/home/neo/somefile bs=1024 count=70

But he is unable to create the file. Make the user can create the file less then 70K.

Answer and Explanation:

Very Tricky question from redhat. Actually question is giving scenario to you to implement quota to neo user. You should apply the quota to neo user on /home that neo user shouldn't occupied space more than 70K.

1. vi /etc/fstab

LABEL=/home /home ext3 defaults,usrquota 0 0 à To enable the quota on filesystem you should mount the filesystem with usrquota for user quota and grpquota for group quota.

2. touch /home/aquota.user àCreating blank quota database file.

3. mount -o remount /home à Remounting the /home with updated mount options. You can verify that /home is mounted with usrquota options or not using mount command.

4. quotacheck -u /home à Initialization the quota on /home

5. edquota -u neo /home à Quota Policy editor

See the snapshot

Disk quotas for user neo (uid 500):

Filesystem blocks soft hard inodes soft hard

/dev/mapper/vo-myvol 2 30 70 1 0 0

Can you set the hard limit 70 and soft limit as you think like 30.

Verify using the repquota /home command.


Q148. CORRECT TEXT

Add a user named user4 and make primarily belongs to training group. As well account should expire on 30 days from today.

Answer and Explanation:

useradd usernamepasswd usernameusermod -e "date"

example: usermod -e "12 Feb 2006" user4

Verify: chage -l user4


Q149. CORRECT TEXT

Create a RAID Device /dev/md0 by creating equal two disks from available free space on your harddisk and mount it on /data.

Answer and Explanation:

Redhat Enterprise Linux 5 Supports the RAID LEVEL 0, RAID LEVEL 1, RAID LEVEL 5 and RAID LEVEL 6 at installation time. You can create it at installation time later no need to type lots of commands for RAID.

At Installation Time:Create the partitions using diskdruid.Create the Partitions having File system

Type Software RAID.Click on RAID buttonType the Mount PointSelect File system typeSelect

RAID LevelSelect Partitions/disks as a member of RAID.Click on ok

After Installation: We can create the RAID Device after Installation on command-line.

1. Create the Two partitions having equal size. (Specify the Size using Cylinder, find the remaining cylinder and divide by 2).

2. Change the Partition ID to fd (Linux raid Autodetect) by typing t.

3. Type w à To write on partitions table.

4. Use partprobe command to synchronic the partition table.

5. Use: mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/hda? /dev/hda?

6. Verify the RAID: mdadm --detail /dev/md0

7. mkfs -t ext3 /dev/md0

8. mount /dev/md0 /data

9. vi /etc/fstab

/dev/md0 /data ext3 defaults 0 0

10. Verify mounting devices using mount command.


Q150. CORRECT TEXT

Fill up the Form through http://server1.example.com/form.php

Answer and Explanation:

1. Open the Browser and type the above URL.

2. Fill the form as required all information.