100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
RHCSA Study Questions With Accurate Solutions $24.99   Add to cart

Exam (elaborations)

RHCSA Study Questions With Accurate Solutions

 1 view  0 purchase
  • Course
  • RHCSA
  • Institution
  • RHCSA

RHCSA Study Questions With Accurate Solutions

Preview 4 out of 33  pages

  • October 24, 2024
  • 33
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • RHCSA
  • RHCSA
avatar-seller
LeCrae
RHCSA Study Questions With Accurate Solutions

List the order of the layers involved in the LVM architecture Right Ans - 1.
Physical Volume(PV)
2. Volume Group(VG)
3. Logical Volume(LV)

What do you need to do before you create a physical volume? Right Ans -
You need to create a partition marked as the LVM partition type. In fdisk or
gdisk you need to press t to change the partition type. MBR disk is 8e, GUID is
8300

What command verifies the physical volumes that were created? Right Ans
- pvs

What command shows details about the physical volume? Right Ans -
pvdisplay

What command gives a hierarchical overview of which disks and partitions
are in the LVM volume groups and logical volumes? Right Ans - lsblk

How do you create a volume of the first partition of the the sdb disk? You want
to call the volume vgdata. Right Ans - vgcreate vgdata /dev/sdb1

Give the two commands that will allow you to see the volume group Right
Ans - vgs - Shows a summary of available volume groups
vgdisplay - Shows a detailed list of volume groups and their properties

Show the command you would use to create a logical volume of half the
physical volume vgdata. Name the logical volume lvvol01 Right Ans -
lvcreate -n lvvol01 -l 50%FREE vgdata

Show the command you would use to remove the logical volume lvvol01. That
logical volume resides in the physical volume vgdata. Right Ans -
lvremove /dev/vgdata/lvvol01

Show the command you would use to create a logical volume of 500 megabyte
in the physical volume vgdata. Name the logical volume lvvol01 Right Ans -
lvcreate -n lvvol01 -L 500M vgdata

,Show the commands you would use to show the logical volumes Right Ans
- lvs - Shows a summary of all available logical volumes
lvdisplay - Shows a detailed list of available logical volumes and their
properties

What would the name of the LV called lvvol01 in the Physical Volume vgdata
be called the the device mapper name? Right Ans - /dev/mapper/vgdata-
lvvol01

If you want to make an XFS file system out of the logical volume lvvol01 in the
PV vgdata, what is the command? Right Ans - mkfs.xfs
/dev/vgdata/lvvol01

If you want to make an EXT4 file system out of the logical volume lvvol01 in
the PV vgdata, what is the command? Right Ans - mkfs.ext4
/dev/vgdata/lvvol01

What file systems can only be increased and what file systems can be
increased and reduced? Right Ans - XFS - can only be increased
EXT4 - can be increased and decreased
Btrfs - can be increased and decreased

If you are going to reduce an EXT4 file system, what state must it be in?
Right Ans - You can only reduce the volume when it is offline

I want to add 250 megabytes to the file system /dev/vgdata/lvvol01. Show
the command Right Ans - lvresize -L +250M -r /dev/vgdata/lvvol01

I want to reduce the EXT4 file system by 250 megabytes. The LV is lvvol01, VG
is vgdata and the mount point is /files Right Ans - 1. umount /files
2. lvreduce -L -250M -r /dev/vgdata/lvvol01

I want to resize the LV to 75 percent of the Volume group. The LV is lvvol01,
VG is vgdata and the mount point is /files Right Ans - lvresize -r -l
75%VG /dev/vgdata/lvvol01

,I want to reduce the logical volume to 750 MB. LV is lvvol01 and VG is vgdata.
Show the command you would use Right Ans - lvreduce -r -l 750M
/dev/vgdata/lvvol01

I want to remove the physical volume /dev/sdb2 out of the volume group
vgdata, show the command you would use Right Ans - vgredeuce vgdata
/dev/sdb2

Which command shows the current version of RHEL you are using?
a. uname -r
b. cat /proc/rhel-version
c. cat /etc/redhat-release
d. uname -k Right Ans - C
[root@client ~]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)

Which command enables you to find the actual version of the kernel that is
used?
a. uname -r
b. uname -v
c. procinfo -k
d. procinfo -l Right Ans - A

[root@client ~]# uname -r
3.10.0-957.12.2.el7.x86_64

What is the name of the process that helps the kernel initializing hardware
devices properly?
a. systemd-udevd
b. hwinit
c. udev
d. udevd Right Ans -

Where does your system find the default rules that are used for initializing
new hardware devices?
a. /etc/udev/rules.d
b. /usr/lib/udev/rules.d
c. /usr/lib/udev.d/rules
d. /etc/udev.d/rules Right Ans - A

, /etc/udev/rules.d

Which command should you use to unload a kernel module, including all of
its dependencies?
a. rmmod
b. insmod -r
c. modprobe -r
d. modprobe Right Ans - c

modprobe -r

Which command enables you to see whether the appropriate kernel modules
have been loaded for hardware in your server?
a. lsmod
b. modprobe -l
c. lspci -k
d. lspci Right Ans -

Where do you specify a kernel module parameter to make it persistent?
a. /etc/modules.conf
b. /etc/modprobe.conf
c. /etc/modprobe.d/somefilename
d. /usr/lib/modprobe.d/somefilename Right Ans -

Which statements about updating the kernel is not true?
a. The yum update kernel command will install a new kernel and not
update it.
b. The yum install kernel command will install a new kernel and keep the
old kernel.
c. The kernel package should be set as a yum protected package to ensure
that after an update the old kernel is still available.
d. After you have installed a new kernel version, you must run the
grub2-mkconfig command to modify the GRUB 2 boot menu so that is
shows the old kernel and the newly installed kernel.
Fr Right Ans -

What is a tainted kernel? Right Ans - A tainted kernel is a kernel that
contains closed source drivers.

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller LeCrae. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $24.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

85651 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$24.99
  • (0)
  Add to cart