Winter Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: v4s65

RH202 Exam Dumps - RHCT (Redhat Certified Technician) RH202

Go to page:
Question # 9

You are new System Administrator and from now you are going to handle the system and your main task is Network monitoring, Backup and Restore. But you don’t know the root password. Change the root password to redhat and login in default Runlevel.

Answer and Explanation:

When you Boot the System, it starts on default Runlevel specified in /etc/inittab:

Id:?:initdefault:

When System Successfully boot, it will ask for username and password. But you don’t know the root’s password. To change the root password you need to boot the system into single user mode. You can pass the kernel arguments from the boot loader.

  • Restart the System.
  • You will get the boot loader GRUB screen.
  • Press a and type 1 or s for single mode

ro root=LABEL=/ rhgb queit s

  • System will boot on Single User mode.
  • Use passwd command to change.
  • Press ctrl+d

Full Access
Question # 10

Make Successfully Resolve to server1.example.com where DNS Server is 192.168.0.254.

Answer and Explanation: 1. vi /etc/resolv.conf

Write : nameserver 192.168.0.254

Full Access
Question # 11

Your System is configured in 192.168.0.0/24 Network and your nameserver is 192.168.0.254. Make successfully resolve to server1.example.com.

Answer and Explanation:

Very Easy question, nameserver is specified in question,

1.vi /etc/resolv.conf

nameserver 192.168.0.254

2.host server1.example.com

Full Access
Question # 12

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

Answer and Explanation:

  • uk.co.certification.simulator.questionpool.PList@4199f8c0

nameserver 172.24.254.254

  • uk.co.certification.simulator.questionpool.PList@4199f960

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

Full Access
Question # 13

Create one partitions having size 100MB and mount it on /data.

Answer and Explanation:

  • Use fdisk /dev/hdaTo create new partition.
  • Type nFor New partitions
  • It 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?

Or

mke2fs –j /dev/hda?  To create ext3 filesystem.

  • vi /etc/fstab

Write:

/dev/hda?/dataext3defaults1 2

11. Verify by mounting on current Sessions also:

mount /dev/hda? /data

Full Access
Question # 14

One Logical Volume named lv1 is created under vg0. The Initial Size of that Logical Volume is 100MB. Now you required the size 500MB. Make successfully the size of that Logical Volume 500M without losing any data. As well as size should be increased online.

Answer and Explanation:

The LVM system organizes hard disks into Logical Volume (LV) groups. Essentially, physical hard disk partitions (or possibly RAID arrays) are set up in a bunch of equal-sized chunks known as Physical Extents (PE). As there are several other concepts associated with the LVM system, let's start with some basic definitions:

  • Physical Volume (PV)is the standard partition that you add to the LVM mix. Normally, a physical volume is a standard primary or logical partition. It can also be a RAID array.
  • Physical Extent (PE)is a chunk of disk space. Every PV is divided into a number of equal sized PEs. Every PE in a LV group is the same size. Different LV groups can have different sized PEs.
  • Logical Extent (LE)is also a chunk of disk space. Every LE is mapped to a specific PE.
  • Logical Volume (LV)is composed of a group of LEs. You can mount a filesystem such as /home and /var on an LV.
  • Volume Group (VG)is composed of a group of LVs. It is the organizational group for LVM. Most of the commands that you'll use apply to a specific VG.

1. Verify the size of Logical Volume: lvdisplay /dev/vg0/lv1

2. Verify the Size on mounted directory: df –h or df –h mounted directory name

3. Use : lvextend –L+400M /dev/vg0/lv1

4. ext2online –d /dev/vg0/lv1  to bring extended size online.

5. Again Verify using lvdisplay and df –h command.

Full Access
Question # 15

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.

Full Access
Question # 16

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 button
  • Type the Mount Point
  • Select File system type
  • Select RAID Level
  • Select Partitions/disks as a member of RAID.
  • Click on ok

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

  • Create the Two partitions having equal size. (Specify the Size using Cylinder, find the remaining cylinder and divide by 2).
  • Change the Partition ID to fd (Linux raid Autodetect) by typing t.
  • Type wTo write on partitions table.
  • Use partprobe command to synchronic the partition table.
  • Use: mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/hda? /dev/hda?
  • Verify the RAID: mdadm --detail /dev/md0
  • mkfs -t ext3 /dev/md0
  • mount /dev/md0 /data
  • vi /etc/fstab

/dev/md0/dataext3defaults0 0

  • Verify mounting devices using mount command.

Full Access
Go to page: