100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

RHCSA Study Questions with 100% Correct Answers

Rating
-
Sold
-
Pages
52
Grade
A+
Uploaded on
28-08-2024
Written in
2024/2025

RHCSA Study Questions with 100% Correct Answers List the order of the layers involved in the LVM architecture - Answer️️ - 1. Physical Volume(PV) 2. Volume Group(VG) 3. Logical Volume(LV) What do you need to do before you create a physical volume? - Answer️️ -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? - Answer️️ -pvs What command shows details about the physical volume? - Answer️️ - pvdisplay What command gives a hierarchical overview of which disks and partitions are in the LVM volume groups and logical volumes? - Answer️️ -lsblk How do you create a volume of the first partition of the the sdb disk? You want to call the volume vgdata. - Answer️️ -vgcreate vgdata /dev/sdb1 Give the two commands that will allow you to see the volume group - Answer️️ -vgs - Shows a summary of available volume groups vgdisplay - Shows a detailed list of volume groups and their properties ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM 2 Show the command you would use to create a logical volume of half the physical volume vgdata. Name the logical volume lvvol01 - Answer️️ - 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. - Answer️️ - 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 - Answer️️ -lvcreate -n lvvol01 -L 500M vgdata Show the commands you would use to show the logical volumes - Answer️️ -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? - Answer️️ - /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? - Answer️️ - /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? - Answer️️ -4 /dev/vgdata/lvvol01 ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM 3 What file systems can only be increased and what file systems can be increased and reduced? - Answer️️ -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? - Answer️️ -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 - Answer️️ -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 - Answer️️ -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 - Answer️️ -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 - Answer️️ -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 - Answer️️ -vgredeuce vgdata /dev/sdb2 ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM 4 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 - Answer️️ -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 - Answer️️ -A [root@client ~]# uname -r 7.x86_64 What is the name of the process that helps the kernel i

Show more Read less
Institution
RHCSA
Course
RHCSA

Content preview

©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM

RHCSA Study Questions with 100% Correct Answers

List the order of the layers involved in the LVM architecture - Answer✔️✔️-
1. Physical Volume(PV)

2. Volume Group(VG)

3. Logical Volume(LV)

What do you need to do before you create a physical volume? -
Answer✔️✔️-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? -
Answer✔️✔️-pvs

What command shows details about the physical volume? - Answer✔️✔️-
pvdisplay

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

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

Give the two commands that will allow you to see the volume group -
Answer✔️✔️-vgs - Shows a summary of available volume groups

vgdisplay - Shows a detailed list of volume groups and their properties



1

,©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM

Show the command you would use to create a logical volume of half the
physical volume vgdata. Name the logical volume lvvol01 - Answer✔️✔️-
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. - Answer✔️✔️-
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
- Answer✔️✔️-lvcreate -n lvvol01 -L 500M vgdata

Show the commands you would use to show the logical volumes -
Answer✔️✔️-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? - Answer✔️✔️-
/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? - Answer✔️✔️-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? - Answer✔️✔️-mkfs.ext4
/dev/vgdata/lvvol01



2

,©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM

What file systems can only be increased and what file systems can be
increased and reduced? - Answer✔️✔️-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? -
Answer✔️✔️-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 - Answer✔️✔️-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 - Answer✔️✔️-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 - Answer✔️✔️-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 - Answer✔️✔️-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 - Answer✔️✔️-vgredeuce vgdata
/dev/sdb2



3

, ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM

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 - Answer✔️✔️-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 - Answer✔️✔️-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



4

Written for

Institution
RHCSA
Course
RHCSA

Document information

Uploaded on
August 28, 2024
Number of pages
52
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
SophiaBennett Howard Community College
View profile
Follow You need to be logged in order to follow users or courses
Sold
140
Member since
1 year
Number of followers
5
Documents
9098
Last sold
2 weeks ago
EXAM GAME-CHANGER

Exam Questions and Answers Section : Study Like a Pro, Study Smart, Study with Sophia.

3.7

26 reviews

5
10
4
5
3
7
2
1
1
3

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions