• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 10 pages
Exam (elaborations)

7D VAN Exam Cheatsheet 2025/26 | Verified, Graded, and Pass Guaranteed

Document preview thumbnail
Preview 4 out of 10 pages

Be fully prepared for 7D VAN with the latest quiz sets and guaranteed A+ verified answers for the 2025/26 academic year.

Content preview

7D VAN
EXAM GUIDE 2025
|MOST COMMON QUESTIONS WITH CORRECTLY
VERIFIED ANSWERS|ALREADY A+
GRADED|GUARANTEED PASS
What is the key step in the GRUB bootloader to reset the root password? - Press 'E' to
edit, then append 'init=/bin/bash' to the end of the line that reads "Linux" then ctrl+X to restart

How do you remount the file system as read-writable in the root shell? - Use the
command 'mount -o remount,rw /'

What command is used to change the root password after remounting the file system as read-
writable? - Use the command 'passwd' to change the root password

What should be done after changing the root password to ensure SELinux relabeling? -
Use the command 'touch /.autorelabel' and reboot

How can you reboot the system after resetting the root password if the 'reboot' command is not
found? - Use 'exec /usr/lib/systemd/systemd' to restart the system or use the virtual
machine control to reset the virtual machine.

What should you do if SELinux autorelabeling gets stuck in a loop? - Remove the file
'/.autorelabel' and troubleshoot further.

What is the first step in creating an ISO file for the RHCSA exam repository configuration? -
Log in to both servers using SSH as a non-root user with sudo privileges.

What command is used to set the hostname for server1 and server2 in the RHCSA repository
configuration? - 'hostnamectl set-hostname server1.example.com' for server1 and
'hostnamectl set-hostname server2.example.com' for server2.

What command is used to create an ISO file from the installation DVD in the RHCSA repository
configuration? - 'dd if=/dev/sr0 of=/rhel9.iso bs=1M'

,What is the purpose of using 'bs=1M' in the 'dd' command for creating an ISO file? - It
tells the 'dd' utility to work with blocks of one megabyte each, making the process more
efficient and faster.

How do you mount the ISO file persistently in the RHCSA repository configuration? - Add
an entry in '/etc/fstab' for mounting the ISO file on '/repo' with the file system type 'iso9660'

What is the command to test the modifications in '/etc/fstab' for the RHCSA repository
configuration? - mount -a

How do you create a repository configuration file for the BaseOS repository in the RHCSA exam?
- Create a file in '/etc/yum.repos.d/' named 'base.repo' with the following content:

[base]

name=BaseOS

baseurl=file:///repo/BaseOS

gpgcheck=0

What is the command to verify the newly created repositories in the RHCSA exam? - dnf
repolist

How do you create a repository configuration file for the AppStream repository in the RHCSA
exam? - Create a file in /etc/yum.repos.d/ named appstream.repo with the following
content:

[appstream]

name=AppStream

baseurl=file:///repo/AppStream

gpgcheck=0

What is the final step to ensure the repositories are working correctly in the RHCSA exam? -
Install a package, such as vim, using the command 'dnf install -y vim' to verify that the
repositories are correctly configured.

What command can be used to list the block devices on server1? - 'lsblk'

How do you start partitioning the disk using fdisk on server1? - Use the command 'fdisk
/dev/sda'

,What steps should be followed in fdisk to create a 1 GiB primary partition? - 1. Press 'p'
to view the current partitions.

2. Press 'n' to create a new partition.

3. Choose 'p' for primary.

4. Select partition number 3.

5. Press Enter to accept the default first sector.

6. Type '+1G' for the last sector.

Why should you consider creating an extended partition in the RHCSA exam? - Because
MBR can only have four primary partitions, creating an extended partition allows for additional
logical partitions if more than four partitions are needed.

How do you change the partition type to swap in 'fdisk'? - 1. Press 't' to change the
partition type.

2. Enter the partition number (e.g., 5).

3. Type 'swap' to set the partition type.

What command is used to format the new partition with the vfat filesystem? - 'mkfs.vfat
/dev/sda3'

How do you format the swap partition? - Use the command 'mkswap /dev/sda5'

What entries should be added to '/etc/fstab' to mount the partitions persistently? -
/dev/sda3 /winfile vfat defaults 0 0

/dev/sda5 none swap defaults 0 0

What command should you use to test the /etc/fstab modifications? - 'mount -a' and
'swapon -a'

How do you verify that the mount points are correctly configured? - Use the command
'findmnt --verify'

What is the final step to ensure the partition settings are correctly applied? - Reboot the
system to verify the changes persist after a reboot.

How do you create the directory for mounting the vfat partition? - Use the command
'mkdir /winfile'

, What is the initial step to create a logical volume named 'myfiles' using 8 MiB extents and 75
extents? - Calculate the total size needed (8 MiB * 75 = 600 MiB) and create a partition
with enough space to accommodate this.

What is the command to create a new logical partition using fdisk? - 'fdisk /dev/sda'
followed by creating a new partition.

How do you change the partition type to LVM in 'fdisk'? - Use the command 't', followed
by the partition number and type 'LVM'

What package needs to be installed to use LVM commands like vgcreate on a minimal install
system? - 'dnf install -y lvm2'

How do you create a volume group named 'vglab' using 8 MiB extents? - 'vgcreate -s 8M
vglab /dev/sda6'

What command is used to create a logical volume named 'myfiles' with 75 extents? -
'lvcreate -n myfiles -l 75 vglab'

How do you format the logical volume 'myfiles' with the ext4 file system? - 'mkfs.ext4
/dev/vglab/myfiles'

How do you mount the 'myfiles' logical volume persistently? - Add the following entry to
'/etc/fstab':

/dev/vglab/myfiles /myfiles ext4 defaults 0 0

Then use 'mount -a' to apply the changes.

What is the command to extend the size of the '/' logical volume by 5 GiB? - 'lvextend -r -
L +5G /dev/vglab/myfiles'

How do you verify the size of the logical volume after extending it? - Use the command
'df -h' to check the available space.

What is the command to create a secondary group named 'sales'? - 'groupadd sales'

How do you create a user named lisa with UID 1234 and add her to the secondary group sales? -
'useradd -u 1234 -G sales lisa'

How do you set the password for the user 'lisa' to "password"? - 1. 'passwd lisa'

2. Enter the password "password" when prompted.

Document information

Uploaded on
April 10, 2025
Number of pages
10
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$5.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
12
Followers
1
Items
2578
Last sold
1 month ago




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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions