RHCSA v9 real practical exam questions Solved Live & non edited
1Q. ip 192.162.165.180
netmask 255.255.255.0
gateway 192.162.165.1
dns 8.8.8.8
hostname servera.lab.example.com
2Q. configure the repolist which are available on the repo server at:
http://repo.eight.example.com/BaseOS
http://repo.eight.example.com/AppStream
3Q. configure the selinux
your webcontent is configure on port no. 82 at the /var/www/html directory. (don't alter or remove any file from this directory ) make the content accessible.
4Q. create following users, group ,group membership
1. a group name admin
2. a user harry who belong to admin as a secondary group
3. a user natasa who belong to admin as a secondary group
4. a user sarah who dont have interactive shell and dont member of admin group
5. harry,natasa,sarah have password of password
5Q. create a collaborative directory /common/admin with following characteristics :
1. group ownership of /common/admin is admin
2. the directory is readable , writeable accessible to the member of admin , but not any other user
3. file create in /common/admin has automatically group ownership of admin.
6Q. Configure autofs
1. to automatically mount the below NFS shares on system1.eight.example.com machine at /automount directory :
192.168.55.151:/public & 192.168.55.151:/private
2. the public nfs share should have read only access for all users.
3. the private nfs share should have read write access for all users.
4. both share automatically unmount if not in use for 30sec.
7Q. a.)set a cron job for harry at 12:30 at noon print 'hello' using echo command
b.)deny the user natasa to create a cron job in the system.
8.Q. configure ACL permission
copy ther file /etc/fstab to /var/tmp . configure the permission of /var/tmp/fstab so that:
a. the file /var/tmp/fstab is owned by root user
b. the file /var/tmp/fstab is not executed by any one
c. the file /var/tmp/fstab belong to root group
d. the user harry is able to read and write /var/tmp/fstab]]
e. the user natasha neither able to read and write /var/tmp/fstab
f. all the other user (current/future) able to read /var/tmp/fstab
9Q. configure NTP
configure your system so that it is an NTP client of system2.eight.example.com (192.168.55.151)
10Q. Locate and copy files :
Find all the file that is greater than 4mb in /etc directory and copy them to /find/largefiles directory.