Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

RedHat EX200 Exam - Topic 3 Question 34 Discussion

Create a new logical volume according to the following requirements:The logical volume is named database and belongs to the datastore volume group and has a size of 50 extents.Logical volumes in the datastore volume group should have an extent size of 16 MB.Format the new logical volume with a ext3 filesystem.The logical volume should be automatically mounted under /mnt/database at system boot time.
B) fdisk -cu /dev/vda partx -a /dev/vda pvcreate /dev/vdax vgcreate datastore /dev/vdax -s 16M lvcreate-l 50 -n database datastore mkfs.ext3 /dev/datastore/database mkdir /mnt/database mount /dev/datastore/database /mnt/database/ df -Th vi /etc/fstab /dev/datastore /database /mnt/database/ ext3 defaults 0 0 mount -a
A) fdisk -cu /dev/vda partx -a /dev/vda pvcreate /dev/vdax vgcreate datastore /dev/vdax -s 16M lvcreate-l 50 -n database datastore mount /dev/datastore/database /mnt/database/ df -Th vi /etc/fstab /dev/datastore /database /mnt/database/ ext3 defaults 0 0 mount --a

RedHat EX200 Exam - Topic 3 Question 34 Discussion

Actual exam question for RedHat's EX200 exam
Question #: 34
Topic #: 3
[All EX200 Questions]

Create a new logical volume according to the following requirements:

The logical volume is named database and belongs to the datastore volume group and has a size of 50 extents.

Logical volumes in the datastore volume group should have an extent size of 16 MB.

Format the new logical volume with a ext3 filesystem.

The logical volume should be automatically mounted under /mnt/database at system boot time.

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Tamesha
8 months ago
Surprised they didn’t mention checking the volume group status first!
upvoted 0 times
...
Dorcas
8 months ago
I think both options are missing the mkfs step for formatting.
upvoted 0 times
...
Mickie
9 months ago
Wait, did they just mix up the mount point in option A?
upvoted 0 times
...
Alonzo
9 months ago
Totally agree, option B is the way to go!
upvoted 0 times
...
Lon
9 months ago
The extent size is 16 MB, right?
upvoted 0 times
...
Jose
9 months ago
I feel like both options are close, but I’m leaning towards B since it explicitly formats the filesystem, which seems important.
upvoted 0 times
...
Genevieve
9 months ago
I’m a bit confused about the fstab entry. Should it be /dev/datastore/database instead of /dev/datastore?
upvoted 0 times
...
Colette
9 months ago
I think option B looks familiar; it has the mkfs.ext3 command, which we definitely covered in class.
upvoted 0 times
...
Sabra
9 months ago
I remember we practiced creating logical volumes, but I'm not sure if I got the extent size right in the commands.
upvoted 0 times
...
Alva
9 months ago
Okay, I've got this. The key here is to use the firewall-cmd command, which is the standard command-line tool for managing the firewall. And the --query-service option will let me check if the HTTP service is allowed. Easy peasy!
upvoted 0 times
...
Cathern
9 months ago
Okay, let's think this through. The stable, controllable environment is a plus, but those third-party controls are definitely going to be the biggest challenge.
upvoted 0 times
...

Save Cancel