Doing RH302 certification exams is really a challenge for people that are operating full occasion or studying to get a graduate or post graduate degree. There is a far more simple and also effective tactic for the preparation associated with Red Hat RH302 tests at Exambible. Through doing our Red Hat RH302 practice materials, you are going to be able to getting a new high score which usually maintains your passing your exam. Were proud of ourselves on the achievement associated with 100% passing ratio in RH302 exam. Weve a conscientious team. The particular experts exert just about all their energies so that you can keep this specific Red Hat Red Hat study supplies up to date. Right now we have your latest and also comprehensive version of Red Hat RH302 exam questions and also practice tests on the web site. You will have the ability to go via your Red Hat Red Hat exam paper smoothly if you keep speed with the Red Hat RH302 review guide. You will just spend a little funds and occasion taking your Red Hat RH302 online simulation exam as well as studying the RH302 practice supplies. It is the utterly shortcut to Red Hat Red Hat certification.
Q101. CORRECT TEXT
Make Secondary belongs the jackie and curtin users on sysuser group. But david user should not belongs to sysuser group.
Answer and Explanation:
1. usermod -G sysuser jackie
2. usermod -G sysuser curtin
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.
Q102. 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.
Q103. CORRECT TEXT
There is one partition /dev/hda14 mounted on /data. The owner of /data is root user and root group. And Permission is full to owner user, read and execute to group member and no permission to others. Now you should give the full permission to user user1 without changing pervious permission.
Answer and Explanation:
We know that every files/directories are owned by certain user and group. And Permissions are defines to owner user, owner group and other.
-rwxr-x--- àFull permission to owner user, read and write to owner group and no permission to others.
According to question: We should give the full permission to user user1 without changing the previous permission.
ACL (Access Control List), in ext3 file system we can give permission to certain user and certain group without changing previous permission. But that partition should mount using acl option.
Follow the stepsvi /etc/fstab
/dev/hda14 /data ext3 defaults,acl 0 1Either Reboot or use: mount -o remount /datasetfacl –m u:user1:rwx /dataVerify using: getfacl /data
Q104. CORRECT TEXT
Create the directory /archive and group owner should be the sysuser group.
Answer and Explanation:
1. chgrp sysuser /archive
2. Verify using ls -ld /archive command. You should get like
drwxr-x--- 2 root sysadmin 4096 Mar 16 17:59 /archive
chgrp command is used to change the group ownership of particular files or directory.
Another way you can use the chown command.
chown root:sysuser /archive
Q105. CORRECT TEXT
You are administrator of Certkiller network. First time you are going to take the full backup of all user's home directory. Take the full backup of /home on /tmp/back file.
Answer and Explanation:
1. dump -0u -f /tmp/back /dev/hda4
dump is the standard backup utility. According to the questions, fullback should take. -0 means fullback, -u means update the /etc/dumpdates which maintains the backup record and -f means filename. If you are directly taking backup into other device, you can specify the device name.
i.e dump -0u -f /dev/st0 /dev/hda4. Where hda4 is a separate partition mounted on /home.
Q106. CORRECT TEXT
You have DHCP server, which assigns the IP, gateway and DNS server ip to Clients. There are two DNS servers having MAC address (00:50:FC:98:8D:00, 00:50:FC:98:8C:00), in your LAN, But they always required fixed IP address (192.168.0.254, 192.168.0.253). Configure the DHCP server to assign the fixed IP address to DNS server.
Answer and Explanation:
1. vi /etc/dhcpd.conf
ddns-update-style none;
option routers 192.168.0.1;
option domain-name "example.com";
option domain-name-servers 192.168.0.254;
default-lease-time 21600;
max-lease-time 43200;
subnet 192.168.0.0 netmask 255.255.255.0
{
range 192.168.0.1 192.168.0.254;
host dns1 {
hardware ethernet 00:50:FC:98:8D:00;
fixed-address 192.168.0.254;
}
host dns2 {
hardware ethernet 00:50:FC:98:8C:00;
fixed-address 192.168.0.253;
}
}
/etc/dhcpd.conf file is used to configure the DHCP. Some global options i.e Gateway,
domainname, DNS server specified using option keyword. To assign as static ip from dhcp server,
required the mac address of interface.
2. Check the SELinux Context, should be like this:
-rw-r--r-- root root system_u:object_r:dhcp_etc_t /etc/dhcpd.conf
3. Use the restorecon -R /etc command to restore the selinux context of the file.
4. service dhcpd start | restart
Q107. CORRECT TEXT
Share /data directory using NFS only to example.com members. These hosts should get read and write access on shared directory.
Answer and Explanation:
1. vi /etc/exports
/data *.example.com(rw,sync)
Check the SELinux Context, should be like this:
-rw-r--r-- root root system_u:object_r:exports_t /etc/exports
Use the restorecon -R /etc command to restore the selinux context of the file.
2. service nfs start | restart
3. service portmap start | restart
4. chkconfig nfs on
5. chkconfig portmap on
In Linux to share the data we use the /etc/exports file. Pattern is:
Path client(permission)
Shared Directory Path, Client can be single host or domain name or ip address. Permission should specify without space with client lists in parentheses. NFS is RPC service so portmapper service should restart after starting the nfs service.
Q108. CORRECT TEXT
Create the group named sysadmin.
Answer and Explanation:
1. groupadd sysadmin
groupadd command is used to create the group and all group information is stored in /etc/group file.
Q109. 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
Q110. CORRECT TEXT
Install the Redhat Linux RHEL 5 through NFS. Where your Server is server1.example.com having IP 192.168.0.254 and shared /var/ftp/pub. The size of the partitions are listed below:
/ à 1048
/home à 1028
/boot à 512
/var à 1028
/usr à 2048
Swap -> 1.5 of RAM Size
/data à configure the RAID Level 0 of remaining all free space.
After completing the installation through NFS solve the following questions. There are two networks 192.168.0.0/24 and 192.168.1.0/24. As well as there are two domains example.com on 192.168.0.0/24 network and cracker.org on 192.168.1.0/24 network. Your system is based on example.com domain.
Answer and Explanation:
1. Insert the CD on CD-ROM and start the system.
2. In Boot: Prompt type linux askmethod
3. It will display the language, keyboard selection.
4. It will ask you for the installation method.
5. Select the NFS Image from the list
6. It will ask the IP Address, Net mask, Gateway and Name Server. Select Use
Dynamic IP Configuration: because DHCP Server will be configured in your exam lab.
7. It will ask for the NFS Server Name and Redhat Enterprise Linux Directory.
Specify the NFS Server: 192.168.0.254
Directory: /var/ftp/pub
8. After Connecting to the NFS Server Installation start in GUI. Go up to the partition screen by selecting the different Options.
9. Create the partition According to the Question because Size and what-what partition should you create at installation time is specified in your question
10. Create the two RAID partitions having equal size of remaining all free space.
11. Click on RAID button
12. Type mount point /data
13. Select RAID Level 0
14. Click on ok
15. Then select the MBR Options, time zone and go upto package selections.
It is another Most Important Time of installation. Due to the time limit, you should care about the installation packages. At Exam time you these packages are enough.
X-Window System
GNOME Desktop
(these two packages are generally not required)
Administration Tools.
System Tools
Windows File Server
FTP Servers
Mail Servers
Web Servers
Network Servers
Editors
Text Based Internet
Server Configuration Tools
Printing Supports
When installation will complete, your system will reboot. Jump for another Question.