0% found this document useful (0 votes)
157 views

RHCSA Questions Sample

rhcsa
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
157 views

RHCSA Questions Sample

rhcsa
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 8
Question: Configure TCP/IP and "hostname" as following: IP ADDRESS NETMASK. GATEWAY = 172.25.X.254 DNS 172.25.254.254 Hostname = serverX.example.com Question-2: Configure your servera VM repository installed the packages distribution is available via YUM: Base os url = http://content.example.com/rhel9.0/x86_64/dvd/BaseOS: App stream url= http://content.example.com/rhel9.0/x86_64/dvd/AppStream Question-3: SELINUX PORT In your system, httpd service has some files in /var/www/html (do not change or alter files) solve the problem, httpd service of your system having some issues, service is not running on port 82. uestion: Create the following users, groups, and group membership: Agrolip named sysadm. Auser "harry" who belongs to sysadm as a secondary group. ‘Auser "natasha" who belongs to sysadm as a secondary group. ‘Auser "sarah" who does not have access to an interactive shell & who is not a member of sysadm group. "harry", "natasha", and "sarah" should all have the password of password. "sysadm” group has access to add user in the server ary" user has access to set password for users without asking sudo password ues! create a collaborative directory /shared/sysadm with the following characteristics: Group ownership of /shared/sysadm is sysadm. ‘The directory should be readable, writable, and accessible to member of sysadm, but not to any other user. (Itis understood that root has access to all files and directories on the system.) Files created in /shared/sysadm automatically have group ownership set to the sysadm. group. uestion-6: Set The Cron Job for the user "Natasha" that should runs daily every 1 minutes local time and executes "Ex200 Testing” with logger. n-7: uest Configure autofs to automount the home directories of netuserX user. Note the following: - _netuserX home directory is exported via NFS, which is available on classroom.example.com - (172.25.254,254) and your NFS-exports directory is /netdir for netuser, - netuserX's home directory is classroom.example.com:/home/gueésts/netuserx, = netuserX's home directory should be automounted autofs service. - home directories must be writable by their users. - password for netuser is ablerate. Question-8: Create a tar archive of "/etc/" Directory with .bzip2 extension. Tar archive named "myetcbackup.tar" should be place in "/root/" Directory. Question: Copy the file /etc/fstab to /var/tmp. Configure the permissions of /var/tmp/fstab so that: the file /var/tmp/fstap is owned by the root user the file /var/tmp/fstab belong to the group root the file /var/tmp/fstab should not be execubable by anyone the user "natasha" is able to read and write /var/tmp/fstab the user "harry" can neither write nor read /var/tmp/fstab all other users (current or future) have the ability to read /var/tmp/fstab Question-10: Configure your system to synchronize the time from form "classroom.example.com". Question-11: Find all files and directories which is created by a user "natasha" in to this system and copy it into a "/root/natashafiles" directory. Question-12: Find all strings "ich" from "/usr/share/dict/words" file and copy that strings in a /root/lines file. Question-13: Create a user "unilao" with UID "2334" with password as “ablerate". Set "root" password to “ablerate" Question-14: Configure Your serverb VM repository installed the packages distribution is available via YU baseos u = http://conent.example.com/rhel9.0/x86_64/dvd/BaseoS appstream url= http://content.example.com/rhel9.0/x86_64/dvd/AppStream Question-15: Create an LVM name wshare from wgroup volume group. Note the following: PE size should be SMB LVM size should be 50 extents Format with "ext4" file system and mount it under /mnt/wshare. And it should auto mount after next reboot Exam can have filesystem - vfat, xfs Question-16: Create a swap partition of 400M MB and make it available permanent. n-17: Resize your vo logical volume, it should be approx 300MB( note -> only size accepted from ue: 270mb to 230mb). Question-18: Configure recommended tuned profile uestion-19: Build an application rhesa that print the message when logged in as ablerate user “Welcome to user ablerate " Question-20: Download containerfile from http://classroom.example,com/Containerfile Do not make any modification. Bull image with this container file. Questioi Configure a container to start automatically Create B container named mycontainer using the image which build previously. Configure the service to automatically mount the directory /opt/file to container directory /opt/incoming. And user directory /opt/processed to container directory /opt/outgoing Configure it to run as a systemd service that should run from the existing user xanadu only The service should be named mycontainer and should automatically start a system reboot without any manual intervention.

You might also like