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

Online RH202 Questions Video

Page: 4 / 5
Total 140 questions

RHCT (Redhat Certified Technician) RH202 Questions and Answers

Question 13

Raw printer named printerx where x is your station number is installed and shared on server1.example.com. Install the shared printer on your PC to connect shared printer using IPP Protocols. Your server is 192.168.0.254.

Answer and Explanation:

1.Open the Browser either firefox or links

2.Type : http://localhost:631

3.Click on Manage Printer

4.Click on Add Printer

5.Type Queue name like stationx and click on continue

6.Type Device type or printing Protocol: i.e Internet printing Protocol

7.Click on Continue

8.Type Device URL: ipp://server1.example.com/printers/printerx

9.Click on Continue

10.Select RAW Model printer

11.Click on Continue

12.Test by sending the printing job

Options:

Question 14

Create the user named jane and john.

Answer and Explanation:

1.useradd jane

2.useradd john

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.

Options:

Question 15

Create the partition having 100MB size and mount it on /mnt/neo

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? Where ? is your partition number
  • Or
  • mke2fs –j /dev/hda? To create ext3 filesystem.
  • mkdir /mnt/neo
  • vi /etc/fstab
  • Write:
  • /dev/hda?/mnt/neoext3defaults1 2
  • Verify by mounting on current Sessions also:
  • mount /dev/hda? /mnt/neo

Options:

Question 16

One Logical Volume is created named as myvol under vo volume group and is mounted. The Initial Size of that Logical Volume is 124MB. Make successfully that the size of Logical Volume 245MB without losing any data. The size of logical volume 240MB to 255MB will be acceptable.

Answer and Explanation:

1.First check the size of Logical Volume: lvdisplay /dev/vo/myvol

2.Increase the Size of Logical Volume: lvextend -L+121M /dev/vo/myvol

3.Make Available the size on online: ext2online /dev/vo/myvol

4.Verify the Size of Logical Volume: lvdisplay /dev/vo/myvol

5.Verify that the size comes in online or not: df -h

We can extend the size of logical Volume using the lvextend command. As well as to decrease the size of Logical Volume, use the lvresize command. In LVM v2 we can extend the size of Logical Volume without unmount as well as we can bring the actual size of Logical Volume on online using ext2online command.

Options:

Page: 4 / 5
Total 140 questions