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

RHCSA II questions and answers with solutions

Rating
-
Sold
-
Pages
6
Grade
A+
Uploaded on
31-05-2025
Written in
2024/2025

RHCSA II questions and answers with solutions

Institution
FITSP
Course
FITSP









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
FITSP
Course
FITSP

Document information

Uploaded on
May 31, 2025
Number of pages
6
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

RHCSA II questions and answers with
solutions
Remount the / file system read/write - ANSWER mount -o remount, rw /



On serverb switch to a multiuser target. Set the dault target to multi-user - ANSWER sudo
systemctl isolate multi-user.target

sudo systemctl set-default multi-user.target



Schedule a recurring job as a student user that executes the /home/student/backup-home.sh
script on an hourly basis between 7pm and 9pm on all days except Saturday and Sunday -
ANSWER crontab -e

0 19-21 * * Mon-Fri /home/student/backup-home.sh



Create a 2GiB partition on /dev/vdb - ANSWER 1. parted /dev/vdb mklabel msdos

2. parted /dev/vdb mkpart primary 1GiB 3GiB

3. parted /dev/vdb set 1 lvm on



Create a logical volume called vol_home using 2GiB partition you created on /dev/vdb. Name
the group extra_storage - ANSWER 1. pvc create /dev/vdb1

2. vgcreate extra-storage /dev/vdb1

3. lvcreate -L 1GiB -n vol_home extra_storage



Format vol_home with the XFS file-system type, and mount it on /home-directories - ANSWER
1. mkdir /home-directories

2. mkfs -t -xfs /dev/extra_storage/vol_home

3. lsblk -o UUID /dev/extra_storage/vol_home

, 4. echo "UUID=988C... /home-directories xfs defaults 0 0" >> /etc/fstab

5. mount -a



Ensure that the network file system called /share is persistently mounted on /local-share across
reboot. The NFS server.lab.example.com exports the /share nfs. The NFS export path is
servera.lab.example.com:/share - ANSWER 1. mkdir /local-share

2. echo "servera.lab.example.com:/share /local-share nfs rw,sync 0 0" /etc/fstab

3. mount /local-share



Create a new MiB partition on the /dev/vdc disk to be used as swap space. The swap space
must be automatically activated at boot time - ANSWER 1. parted /dev/vdc mklabel msdos

2. parted /dev/vdc mkpart primary linux-swap 1MiB 513MiB

3. mkswap /dev/vdc1

4. lsblk -o UUID /dev/vdc1

5. echo "UUID=cc18... swap defaults 0 0" >> etc/fstab

6. swapon -a



Create the production1, production2, production3, and production4 users. Ensure they use the
new group called production as their supplementary group - ANSWER 1. groupadd production

2. for i in l 1 2 3 4; do useradd -G production production$i; done



Configure your system so that it uses a new directory called /run/volatile to store temporary
files. Files in this directory should use time based cleanup if they are not accessed for more than
30 seconds. The octal permissions for the directory must be 0700. Make sure you use the
/etc/tmpfiles.d/volatile.conf file to configure the time based cleanup for the files in /run/volatile
- ANSWER 1. vim /etc/tmpfiles.d/volatile.conf

2. insert d /run/volatile 0700 root root 30s

3. systems-tmpfiles --create /etc/tmpfiles.d/volatile.conf
R222,76
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached


Document also available in package deal

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.
Performance Chamberlain College Of Nursing
Follow You need to be logged in order to follow users or courses
Sold
319
Member since
1 year
Number of followers
36
Documents
15290
Last sold
1 day ago

Get everything you need to ace your classes in one place. We offer instant downloads of test banks, easy-to-read study guides, step-by-step homework help, and sample research papers to save you hours of work. Whether you're prepping for a big final or stuck on a tough assignment, our resources give you the exact shortcuts and practice you need to boost your grades fast. Stop stressing and get the competitive edge you need to succeed right now

Read more Read less
4,4

217 reviews

5
128
4
60
3
19
2
4
1
6

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 exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT 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