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

RHCE Exam Practice Questions and Answers | All Correct

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

RHCE Exam Practice Questions and Answers | All Correct What services need to run at boot for NFS? - Answer️️ -rpcbind, nfs, and nfslock How do you list the file systems you intend to share with clients using NFS? - Answer️️ -vi /etc/exports /var/ftp/pub 192.168.0.0/24(ro,sync) /exports/read 192.168.0.0/24(ro,sync) /exports/write 192.168.0.0/24(rw,sync) 127.0.0.1(rw,sync) What commands should be run after modifying /etc/exports? - Answer️️ -exportfs -r after making any changes exportfs -v to display all exports How do you mount an NFS share from the command line? - Answer️️ - mount -t nfs :/nfs_share /mnt Which option tells NFS to allow the root user on client systems to have root priveleges on the share as well? - Answer️️ -no_root_squash /exports/root-192.168.0.1 192.168.0.1(rw,no_root_squash) How do you mount an NFS share using fstab? - Answer️️ - nfsserver:/exports /mount-point nfs defaults 0 0 ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM 2 How do you add new Apache users? - Answer️️ -htpasswd -c /etc/httpd/userlist engineer1 htpasswd /etc/httpd/userlist engineer2 How do you add basic user authentication to a directory in Apache? - Answer️️ -AuthType Basic AuthName "Password Protected Test" AuthUserFile /etc/httpd/userlist Require user engineer1 How do you add basic group authentication to a directory in Apache? - Answer️️ -AuthGroupFile /etc/httpd/grouplist Require group engineers vi /etc/httpd/grouplist engineers: engineer2 engineer3 How do you restrict access to a website to a specific domain? - Answer️️ - <Directory "/var/www/html/private"> AllowOverride None Options None Order allow,deny Allow from </Directory> ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM 3 How do you provide network shares suitable for group collaboration? - Answer️️ -yum groupinstall -y "NFS file server" mkdir /shared groupadd -g 60000 sharedgroup chgrp sharedgroup /shared chmod 2770 /shared How do you configure a system as an iSCSI initiator that persistently mounts an iSCSI target? - Answer️️ -yum install -y iscsi-initiator-utils iscsiadm -m discoverydb -t st -p 54.173.62.172 -D iscsiadm -m node -T :san -p

Show more Read less
Institution
RHCE
Course
RHCE









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

Written for

Institution
RHCE
Course
RHCE

Document information

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

Subjects

Content preview

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


RHCE Exam Practice Questions and
Answers | All Correct

What services need to run at boot for NFS? - Answer✔️✔️-rpcbind, nfs, and
nfslock

How do you list the file systems you intend to share with clients using
NFS? - Answer✔️✔️-vi /etc/exports

/var/ftp/pub 192.168.0.0/24(ro,sync)

/exports/read 192.168.0.0/24(ro,sync)

/exports/write 192.168.0.0/24(rw,sync) 127.0.0.1(rw,sync)

What commands should be run after modifying /etc/exports? -
Answer✔️✔️-exportfs -r after making any changes

exportfs -v to display all exports

How do you mount an NFS share from the command line? - Answer✔️✔️-
mount -t nfs server.example.com:/nfs_share /mnt

Which option tells NFS to allow the root user on client systems to have root
priveleges on the share as well? - Answer✔️✔️-no_root_squash

/exports/root-192.168.0.1 192.168.0.1(rw,no_root_squash)

How do you mount an NFS share using fstab? - Answer✔️✔️-
nfsserver:/exports /mount-point nfs defaults 0 0




1

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

How do you add new Apache users? - Answer✔️✔️-htpasswd -c
/etc/httpd/userlist engineer1

htpasswd /etc/httpd/userlist engineer2

How do you add basic user authentication to a directory in Apache? -
Answer✔️✔️-AuthType Basic

AuthName "Password Protected Test"

AuthUserFile /etc/httpd/userlist

Require user engineer1

How do you add basic group authentication to a directory in Apache? -
Answer✔️✔️-AuthGroupFile /etc/httpd/grouplist

Require group engineers

vi /etc/httpd/grouplist

engineers: engineer2 engineer3

How do you restrict access to a website to a specific domain? - Answer✔️✔️-
<Directory "/var/www/html/private">

AllowOverride None

Options None

Order allow,deny

Allow from test.example.com

</Directory>


2

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
130
Member since
1 year
Number of followers
5
Documents
8567
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

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