New Year Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: Board70

Sure Pass Exam RH202 PDF

Page: 2 / 5
Question 8

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: At exam time read the Lab Scenario carefully. Actually there are two different networks one is 192.168.0.0/24 where your system resides know as example.com domain and another is 192.168.1.0/24 know as cracker.org domain.

One server named sever1.example.com having 192.168.0.254 and 192.168.1.254 is running in your exam. If you make a gateway to that server, you will can ping because IP forwarding is enabled on that server.

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

Note: If gateway is specified in both file, default gateway takes from interface specific file.

Options:

Question 9

You are giving the debug RHCT exam. The examiner told you that the password of root is redhat. When you tried to login displays the error message and redisplayed the login screen. You changed the root password, again unable to login as a root. How will you make Successfully Login as a root.

Answer and Explanation:

When root unable to login into the system think:

  • Is password correct?
  • Is account expired?
  • Is terminal Blocked?

Do these Steps:

  • Boot the System on Single user mode.
  • Change the password
  • Check the account expire date by using chage –l root command.

If account is expired, set net expire date: chage –E “NEVER” root

  • Check the file /etc/securettyWhich file blocked to root login from certain terminal.
  • If terminal is deleted or commented write new or uncomment.
  • Reboot the system and login as a root.

Options:

Question 10

Make a swap partition having 100MB. Make Automatically Usable at System Boot Time.

Answer and Explanation:

1.Use fdisk /dev/hda To create new partition.

  • Type nFor New partition
  • 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. Default System ID is 83 that means Linux Native.
  • Type t to change the System ID of partition.
  • Type Partition Number
  • Type 82 that means Linux Swap.
  • Press w to write on partitions table.
  • Either Reboot or use partprobe command.
  • mkswap /dev/hda?To create Swap File system on partition.
  • swapon /dev/hda?To enable the Swap space from partition.
  • free –mVerify Either Swap is enabled or not.
  • vi /etc/fstab

/dev/hda? swapswapdefaults 0 0

  • Reboot the System and verify that swap is automatically enabled or not.

Options:

Question 11

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.

Options:

Page: 2 / 5
Exam Code: RH202
Exam Name: RHCT (Redhat Certified Technician) RH202
Last Update: Dec 22, 2024
Questions: 140
RH202 pdf

RH202 PDF

$25.5  $84.99
RH202 Engine

RH202 Testing Engine

$28.5  $94.99
RH202 PDF + Engine

RH202 PDF + Testing Engine

$40.5  $134.99