10 Tips For RH302 examinee

Our pass rate is high to 98.9% and the similarity percentage between our RH302 study guide and real exam is 90% based on our seven-year educating experience. Do you want achievements in the Red Hat RH302 exam in just one try? I am currently studying for the Red Hat RH302 exam. Latest Red Hat RH302 Test exam practice questions and answers, Try Red Hat RH302 Brain Dumps First.


♥♥ 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

Q11. CORRECT TEXT

There are mixed lots of System running on Linux and Windows OS. Some users are working on Windows Operating System. Your printer is connected on linux server. You want to share the printer-using samba so that users working on windows also can print. Configure the samba serve to share printer.

Answer and Explanation:

1. vi /etc/samba/smb.conf

[global]

netbios name=station?

workgroup=linuxgroup

security=share

printcap name=/etc/printcap

load printers=yes

printing=cups

[printers]

path=/var/spool/samba

browsable=yes

printable=yes

guest ok=no

writable=no

Samba servers helps to share the data between linux and windows. Configuration file is /etc/samba/smb.conf. There are some pre-defined section, i. global à use to define the global options, ii. Printers à use to share the printers, iii. homes à use to share the user's home directory.

/etc/printcap file contains all installed printers name. Printing is print system used on server.


Q12. CORRECT TEXT

Successfully resolv to server1.example.com where your DNS server is 172.24.254.254

Answer and Explanation:

1. vi /etc/resolv.conf

nameserver 172.24.254.254

2. host server1.example.com

On every clients, DNS server is specified in /etc/resolv.conf. When you request by name it tries to resolve from DNS server.


Q13. CORRECT TEXT

Your System is going to use as a Router for two networks. One Network is 192.168.0.0/24 and Another Network is 192.168.1.0/24. Both network's IP address has assigned. How will you forward the packets from one network to another network?

Answer and Explanation:

1. echo "1" >/proc/sys/net/ipv4/ip_forward

2. vi /etc/sysctl.conf

net.ipv4.ip_forward = 1

If you want to use the Linux System as a Router to make communication between different networks, you need enable the IP forwarding. To enable on running session just set value 1 to /proc/sys/net/ipv4/ip_forward. As well as automatically turn on the IP forwarding features on next boot set on /etc/sysctl.conf file.


Q14. CORRECT TEXT

Your LAN is 192.168.0.0/24. Block the telnet connection from outside the LAN.

Answer and Explanation:

1. vi /etc/hosts.deny

in.telnetd:ALL EXCEPT 192.168.0.

We can secure the services using tcp_wrappers. There are main two files, /etc/hosts.allow and /etc/hosts.deny.

There will be three stage access checking

-Is access explicitly permitted? Means permitted from /etc/hosts.allow?

- Otherwise, Is access explicitly denied? Means denied from /etc/hosts.deny?

- Otherwise, by default permit access if neither condition matched.

To deny the services we can configure /etc/hosts.deny file using ALL and EXCEPT operation.

Pattern of /etc/hosts.allow and /etc/hosts.deny file is:

Demon_list:client_list:options

In Client list can be either domain name or IP address. Here in.telnetd is the telnet server program name.


Q15. 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.


Q16. CORRECT TEXT

Configure the Slave DNS for example.com domain where master DNS is 192.100.0.254.

Answer and Explanation:

Slave DNS is the backup of master DNS. Automatically within a certain time slave DNS synchronizes with the Master DNS server.

1. vi /var/named/chroot/etc/named.conf

zone "example.com" IN {

type slave;

masters { 192.100.0.254; };

file "example.com.zone";

};

named-checkconf command checks the syntax for /var/named/chroot/etc/named.conf file.service named start | restart


Q17. CORRECT TEXT

Configure the web server for www.abc.com associated IP address is 192.100.0.1 by allowing access within your example.com domain.

Answer and Explanation:

1. vi /etc/httpd/conf/httpd.conf

<VirtualHost 192.100.0.1>

ServerName www.abc.com

DocumentRoot /var/www/abc/

<Directory /var/www/abc>

Order Allow, Deny

Allow from .example.com

</Directory>

DirectoryIndex index.html

ServerAdmin webmaster@abc.com

ErrorLog logs/error_abc.logs

CustomLog logs/custom_abc.logs common

</VirtualHost>

2. 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

3. service httpd start|restart

4. chkconfig httpd on

Order allow, deny à Allows explicitly allowed clients, denies everyone else; clients matched by both allow and deny are denied.

Order deny, allow à denies explicitly denied clients, allows everyone else, clients matched by both allow and deny are allowed.


Q18. CORRECT TEXT

Some users home directory is shared from your system. Using showmount -e localhost command, the shared directory is not shown. Make access the shared users home directory.

Answer and Explanation:

1. Verify the File whether Shared or not ? : cat /etc/exports

2. Start the nfs service: service nfs start

3. Start the portmap service: service portmap start

4. Make automatically start the nfs service on next reboot: chkconfig nfs on

5. Make automatically start the portmap service on next reboot: chkconfig portmap on

6. Verify either sharing or not: showmount -e localhost

7. Check that default firewall is running on system ? if running flush the iptables using iptables –F and stop the iptables service.


Q19. CORRECT TEXT

Some users home directory is shared from your system. Using showmount -e localhost command, the shared directory is not shown. Make access the shared users home directory.

Answer and Explanation:

1. Verify the File whether Shared or not ? : cat /etc/exports

2. Start the nfs service: service nfs start

3. Start the portmap service: service portmap start

4. Make automatically start the nfs service on next reboot: chkconfig nfs on

5. Make automatically start the portmap service on next reboot: chkconfig portmap on

6. Check default firewall is running in your system

# service iptables status

#iptables -F

#service iptables stop

#chkconfig iptables off

6. Verify Either sharing or not: showmount -e localhost

You will see that some shared directory will display


Q20. CORRECT TEXT

Add a new logical partition having size 100MB and create the /data which will be the mount point for the new partition.

Answer and Explanation:

Use fdisk /dev/hda àTo create new partition.Type n àFor New partitionsIt will ask for Logical or Primary Partitions. Press l for logical.It will ask for the Starting Cylinder: Use the Default by pressing Enter Key.Type the Size: +100M àYou can Specify either Last cylinder of Size here.Press P to verify the partitions lists and remember the partitions name.Press w to write on partitions table.Either Reboot or use partprobe command.Use mkfs -t ext3 /dev/hda?Ormke2fs -j /dev/hda? àTo create ext3 filesystem.vi /etc/fstabWrite:/dev/hda? /data ext3 defaults 0 0Verify by mounting on current Sessions also:mount /dev/hda? /data