Pass4sure presents the Red Hat RH302 in two forms-PDF files along with Test powerplant software. Youd better have a test ahead of buying. Then youll find exactly what can be carried out in reduced and higher proficiency. Choose your suitable Red Hat RH302 practice materials based on personal requires. All the Red Hat exam contents associated with Pdf files can download for free right after purchasing. The actual test powerplant will develop a real tests environment in your case, which will allow you to feel no cost and confident from the Red Hat RH302 actual exam. Acquire full advantage of our Red Hat Red Hat studying materials, you will pass your Red Hat exam with a higher mark. All of us provide nearly 100% guarantee to obtain certified with the assistance associated with Pass4sures products. the truth is, you will acquire full refund should you fail. Or youll be able to order yet another Red Hat Red Hat RH302 exam dumps for no cost.

2021 Apr RH302 exam engine

Q51. CORRECT TEXT

Change the root Password to redtophat

Answer and Explanation: 

Boot the system in Single user modeUse the passwd command


Q52. CORRECT TEXT

24. There is a server having 172.24.254.254 and 172.25.254.254. Your System lies on

172.24.0.0/16. Make successfully ping to 172.25.254.254 by Assigning following IP:

172.24.0.x Where x is your station number.

Answer and Explanation:

1. Use netconfig command

2. Enter the IP Address as given station number by your examiner: example: 172.24.0.1

3. Enter Subnet Mask

4. Enter Default Gateway and primary name server

5. press on ok

6. ifdown eth0

7. ifup eth0

8. verify using ifconfig

In the lab server is playing the role of router, IP forwarding is enabled. Just set the Correct IP and gateway, you can ping to 172.25.254.254.


Q53. CORRECT TEXT

One Domain RHCE is configured in your lab, your domain server is server1.example.com. nisuser2001, nisuser2002, nisuser2003 user are created on your server 192.168.0.254:/rhome/stationx/nisuser2001. Make sure that when NISuser login in your system

automatically mount the home directory. Home directory is separately shared on server /rhome/stationx/ where x is your Station number.

Answer and Explanation:

1. use the authconfig --nisserver=<NIS SERVER> --nisdomain=<NIS DOMAIN> --update

Example: # authconfig --nisserver=192.168.0.254 --nisdomain=RHCE --update

or system-config-authentication

2. Click on Enable NIS

3. Type the NIS Domain: RHCE

4. Type Server 192.168.0.254 then click on next and ok

5. You will get a ok message.

6. Create a Directory /rhome/stationx where x is your station number.

6. vi /etc/auto.master and write at the end of file

/rhome/stationx /etc/auto.home --timeout=60

7. vi /etc/auto.home and write

* -rw,soft,intr 192.168.0.254:/rhome/stationx/&

Note: please specify your station number in the place of x.

8. Service autofs restart

9. Login as the nisuser2001 or nisuser2002 on another terminal will be Success.

According to question, RHCE domain is already configured. We have to make a client of RHCE domain and automatically mount the home directory on your system. To make a member of domain, we use the authconfig with option or system-config-authentication command. There a are lots of authentication server i.e NIS, LDAB, SMB etc. NIS is a RPC related Services, no need to configure the DNS, we should specify the NIS server address.

Here Automount feature is available. When user tried to login, home directory will automatically mount. The automount service used the /etc/auto.master file. On /etc/auto.master file we specified the mount point the configuration file for mount point.


Q54. CORRECT TEXT

Any mail coming for accountmanager should get by jeff user.

Answer and Explanation:

1. vi /etc/mail/virtusertable

accountmanager@ jeff

2. service sendmail restart


Q55. CORRECT TEXT

You are giving RHCE exam. You should boot the system in Run level 3. When you start the system after while it is going on runlevel 6 : like

INIT: Entering Run level 6

Sending TERM Single

Fix the problem and boot the system.

Answer and Explanation:

It is due to either default runlevel or runlevel specific scripts.

3. id:?:initdefault: àWhere default runlevel is specified. It shouldn't be 6.

4. l3:3:wait:/etc/rc.d/rc 6 àIt reads the scripts of runlevel 6 while booting system on rulevel 3.

It should be like:

si::sysinit:/etc/rc.d/rc.sysinit

l0:0:wait:/etc/rc.d/rc 0

l1:1:wait:/etc/rc.d/rc 1

l2:2:wait:/etc/rc.d/rc 2

l3:3:wait:/etc/rc.d/rc 3 Should be like this

l4:4:wait:/etc/rc.d/rc 4

l5:5:wait:/etc/rc.d/rc 5

l6:6:wait:/etc/rc.d/rc 6


Renovate RH302 brain dumps:

Q56. CORRECT TEXT

If root sends the mail to jane, mail should be send to /var/spool/mail/jane.

Answer and Explanation:

By default all mails to user will send to user's spool directory. Nothing to do.


Q57. CORRECT TEXT

One New Kernel is released named kernel-.2.6.19-11. Kernel is available on ftp://server1.example.com/pub/updates directory for anonymous. Install the Kernel and make the kernel-2.6.18-8 default.

Answer and Explanation:

1. rpm -ivh ftp://server1.example.com/pub/updates/kernel-2.6.19-11.i686.rpm

2. vi /etc/grub.conf

default=1 à Change this value to 1

timeout=5

splashimage=(hd0,0)/grub/splash.xpm.gz

hiddenmenu

title Red Hat Enterprise Linux ES (2.6.19-11)

root (hd0,0)

kernel /vmlinuz-2.6.19-11.EL ro root=LABEL=/ rhgb quiet

initrd /initrd-2.6.19-11.EL.img

title Red Hat Enterprise Linux ES (2.6.9-5.EL)

root (hd0,0)

kernel /vmlinuz-2.6.9-5.EL ro root=LABEL=/ rhgb quiet

initrd /initrd-2.6.9-5.EL.img

According question that kernel is available to anonymous user. You can directly install from the ftp server using rpm command.

When you install the kernel, it will write on /etc/grub.conf file. You can set the default kernel by changing the default value. See on the output of /etc/grub.conf file that new kernel is on first title so it's index is 0 and previous kernel's index is 1.


Q58. CORRECT TEXT

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 and Explanation:

1. vi /etc/sysconfing/network

NETWORKING=yes

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


Q59. CORRECT TEXT

Create the user named jackie, curtin, david

Answer and Explanation:

1. useradd jackie

2. useradd curtin

3. useradd david

useradd command is used to create the user. All user's information stores in /etc/passwd and user;s shadow password stores in /etc/shadow.


Q60. CORRECT TEXT

Your Machine Name is stationx.example.com, (x is your host IP address) which is already resolved. Set the default page for stationx.example.com by downloading www.html file from ftp.server1.example.com.

Answer and Explanation:ftp ftp.server1.example.comDownload the www.html

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

move the downloaded file into /var/www/htmlRename the file into index.htmlCheck using links

http://stationx.example.com

/var/www/html is the default directory for httpd service. Index.html is the default directory index. To set the default page without configuring virtualhost copy the file as a index.html in /var/www/html.