RHCSA Exam Practice- Questions and
Answers 100% Solved
Extend swap space to 3GiB Correct Ans-1. # lsblk - check the swap space (assume our system
has 2GB of swap space)
2. # fdisk /dev/diskname
3. n
4. p
5. Enter
6. Enter
7. +1G (last sector)
8. t
9. Enter
10. 82 - Linux swap
11. p
12. w
13. # partprobe /dev/diskname
14. # lsblk /dev/newpartname
15. # mkswap /dev/newpartname
16. copy the UUID output
17. # vim /etc/fstab
18. UUID=... swap swap defaults 0 0
, 19. # swapon /dev/newpartname
20. # free -m - to verify
21. # reboot
22. # free -m - to verify
enable persistent packet forwarding Correct Ans-1. vim /etc/sysctl.conf
net.ipv4.ip_forward=1
2. sysctl -p
boot into multiuser target by default and boot messages are persistent Correct Ans-1.
systemctl get-default
2. systemctl set-default multi-user
3. cd /etc/default
4. vim grub
5. remove the "rhgb quiet" from the GRUB_CMDLINE_LINUX var
configure a basic webserver that displays "Welcome to the webserver" once connected to it.
ensure the firewalls allows the http/https services Correct Ans-1. dnf -y install httpd
2. dnf -y install firewalld
3. systemctl status firewalld
4. systemctl start firewalld
5. systemctl enable firewalld
The benefits of buying summaries with Stuvia:
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
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
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 TheeGrades. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $13.99. You're not tied to anything after your purchase.