EX200 Red Hat Certified System Administrator - RHCSA (8.2) Dumps
If you are looking for free EX200 dumps than here we have some sample question answers available. You can prepare from our RedHat EX200 exam questions notes and prepare exam with this practice test. Check below our updated EX200 exam dumps.
DumpsGroup are top class study material providers and our inclusive range of EX200 Real exam questions would be your key to success in RedHat RHCSA Certification Exam in just first attempt. We have an excellent material covering almost all the topics of RedHat EX200 exam. You can get this material in RedHat EX200 PDF and EX200 practice test engine formats designed similar to the Real Exam Questions. Free EX200 questions answers and free RedHat EX200 study material is available here to get an idea about the quality and accuracy of our study material.
Sample Question 4
Part 2 (on Node2 Server) Task 8 [Tuning System Performance] Set your server to use the recommended tuned profile
Answer: See the Explanation below:
Explanation: [root@node2 ~]# tuned-adm list [root@node2 ~]# tuned-adm active Current active profile: virtual-guest [root@node2 ~]# tuned-adm recommend virtual-guest [root@node2 ~]# tuned-adm profile virtual-guest [root@node2 ~]# tuned-adm active Current active profile: virtual-guest [root@node2 ~]# reboot [root@node2 ~]# tuned-adm active Current active profile: virtual-guest
Sample Question 5
Part 2 (on Node2 Server) Task 2 [Installing and Updating Software Packages] Configure your system to use this location as a default repository: http://utility.domain15.example.com/BaseOS http://utility.domain15.example.com/AppStream Also configure your GPG key to use this location http://utility.domain15.example.com/RPM-GPG-KEY-redhat-release
Part 1 (on Node1 Server) Task 15 [Running Containers] Create a container named logserver with the image rhel8/rsyslog found from the registry registry.domain15.example.com:5000 The container should run as the root less user shangrila. use redhat as password [sudo user] Configure the container with systemd services as the shangrila user using the service name, “container-logserver” so that it can be persistent across reboot. Use admin as the username and admin123 as the credentials for the image registry.
There is a server having 172.24.254.254 and 172.25.254.254. Your System lies on172.24.0.0/16. Make successfully ping to 172.25.254.254 by Assigning following IP:172.24.0.x where x is your station number.
Answer: see explanation below.
Explanation: Use netconfig command Enter the IP Address as given station number by your examiner: example: 172.24.0.1 Enter Subnet Mask Enter Default Gateway and primary name server press on ok ifdown eth0 ifup eth0 verify using ifconfig In the lab server is playing the role of router, IP forwarding is enabled. Just set the Correct IP and gateway, you can ping to 172.25.254.254.
Sample Question 9
Part 2 (on Node2 Server) Task 5 [Managing Logical Volumes] Add an additional swap partition of 656 MiB to your system. The swap partition should automatically mount when your system boots Do not remove or otherwise alter any existing swap partition on your system
Answer: See the Explanation below:
Explanation: * [root@node2 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT vdc 252:32 0 5G 0 disk vdc1 252:33 0 4.1G 0 part datavg-datalv 253:3 0 3.9G 0 lvm /data vdd 252:48 0 5G 0 disk vde 252:64 0 10G 0 disk [root@node2 ~]# swapon -s Filename Type Size Used Priority /dev/dm-1 partition 2097148 1548 -2 [root@node2 ~]# free -m total used free shared buff/cache available Mem: 1816 1078 104 13 633 573 Swap: 2047 1 2046 [root@node2 ~]# parted /dev/vdc print Number Start End Size Type File system Flags 1 1049kB 4404MB 4403MB primary lvm * [root@node2 ~]# parted /dev/vdc mkpart primary linux-swap 4404MiB 5060MiB [root@node2 ~]# mkswap /dev/vdc2 Setting up swapspace version 1, size = 656 MiB (687861760 bytes) no label, UUID=9faf818f-f070-4416-82b2-21a41988a9a7 [root@node2 ~]# swapon -s Filename Type Size Used Priority /dev/dm-1 partition 2097148 1804 -2 [root@node2 ~]# swapon /dev/vdc2 * [root@node2 ~]# swapon -s Filename Type Size Used Priority /dev/dm-1 partition 2097148 1804 -2 /dev/vdc2 partition 671740 0 -3 [root@node2 ~]# blkid /dev/vdc2: UUID="9faf818f-f070-4416-82b2-21a41988a9a7" TYPE="swap" PARTUUID="0f22a35f-02" [root@node2 ~]# vim /etc/fstab UUID=9faf818f-f070-4416-82b2-21a41988a9a7 swap swap defaults 0 0 [root@node2 ~]# reboot [root@node2 ~]# swapon -s Filename Type Size Used Priority /dev/dm-1 partition 2097148 1804 -2 /dev/vdc2 partition 671740 0 -3
Sample Question 10
Part 1 (on Node1 Server) Task 2 [Installing and Updating Software Packages] Configure your system to use this location as a default repository: http://utility.domain15.example.com/BaseOS http://utility.domain15.example.com/AppStream Also configure your GPG key to use this location http://utility.domain15.example.com/RPM-GPG-KEY-redhat-release
Some users home directory is shared from your system. Using showmount -e localhost command, the shared directory is not shown. Make access the shared users home directory.
Answer: see explanation below.
Explanation: Verify the File whether Shared or not ? : cat /etc/exports Start the nfs service: service nfs start Start the portmap service: service portmap start Make automatically start the nfs service on next reboot: chkconfig nfs on Make automatically start the portmap service on next reboot: chkconfig portmap on Verify either sharing or not: showmount -e localhost Check that default firewall is running on system? If running flush the iptables using iptables -F and stop the iptables service.
Sample Question 12
Part 1 (on Node1 Server) Task 4 [Controlling Access to Files] Create collaborative directory /mnt/shares with the following characteristics: Group ownership of /mnt/shares should be sharegrp. The directory should be readable, writable and accessible to member of sharegrp but not to any other user. (It is understood that root has access to all files and directories on the system) Files created in /mnt/shares automatically have group ownership set to the sharegrp group.
Answer: See the Explanation below:
Explanation: * [root@node1 ~]# mkdir -p /mnt/shares [root@node1 ~]# ls -lrt /mnt/ [root@node1 ~]# chgrp sharegrp /mnt/shares/ [root@node1 ~]# chmod 2770 /mnt/shares/ [root@node1 ~]# ls -lrt /mnt/ ### For Checking ### [root@node1 ~]# su - harry [harry@node1 ~]$ cd /mnt/shares/ [harry@node1 shares]$ touch harry [harry@node1 shares]$ logout [root@node1 ~]# su - natasha [natasha@node1 ~]$ cd /mnt/shares/ [natasha@node1 shares]$ touch natasha [natasha@node1 shares]$ ls -lrt -rw-rw-r--. 1 harry sharegrp 0 Mar 21 06:03 harry -rw-rw-r--. 1 natasha sharegrp 0 Mar 21 06:03 natasha
Sample Question 13
Please open the ip_forward, and take effect permanently.
Answer: see explanation below.
Explanation:
vim /etc/sysctl.conf net.ipv4.ip_forward = 1
sysctl –w (takes effect immediately)
If no “sysctl.conf” option, use these commands:
sysctl –a |grep net.ipv4
sysctl –P net.ipv4.ip_forward = 1
sysctl -w
Sample Question 14
Part 1 (on Node1 Server) Task 8 [Managing Local Users and Groups] Create a user fred with a user ID 3945. Give the password as iamredhatman
Answer: See the Explanation below:
Explanation: *
[root@node1 ~]# useradd -u 3945 fred
[root@node1 ~]# echo "iamredhatman" | passwd --stdin fred
Changing password for user fred.
passwd: all authentication tokens updated successfully
Sample Question 15
Part 1 (on Node1 Server)Task 7 [Accessing Linux File Systems]Find all the files owned by user natasha and redirect the output to /home/alex/files.Find all files that are larger than 5MiB in the /etc directory and copy them to /find/largefiles.
Answer: See the Explanation below:
Explanation:
[root@node1 ~]# find / -name natasha -type f > /home/natasha/files
Part 1 (on Node1 Server) Task 14 [Managing SELinux Security] You will configure a web server running on your system serving content using a nonstandard port (82)
Part 1 (on Node1 Server) Task 9 [Managing Files from the Command Line] Search the string nologin in the /etc/passwd file and save the output in /root/strings
Part 1 (on Node1 Server) Task 5 [Controlling Access to Files with ACLs] Copy the file /etc/fstab to /var/tmp. Configure the following permissions on /var/tmp/fstab. The file /var/tmp/fstab is owned by root user The file /var/tmp/fstab is belongs to the root group The file /var/tmp/fstab should be executable by anyone The user harry is able to read and write on /var/tmp/fstab The user natasha can neither read or write on /var/tmp/fstab All other users (Current or future) have the ability to read /var/tmp/fstab
Add 3 users: harry, natasha, tom. The requirements: The Additional group of the two users: harry, Natasha is the admin group. The user: tom's login shell should be non-interactive.
Answer: see explanation below.
Explanation: # useradd -G admin harry # useradd -G admin natasha # useradd -s /sbin/nologin tom # id harry;id Natasha (Show additional group) # cat /etc/passwd (Show the login shell)
OR # system-config-users
Sample Question 20
Part 1 (on Node1 Server) Task 12 [Accessing Network-Attached Storage] Configure autofs to automount the home directories of user remoteuserX. Note the following: utility.domain15.example.com(172.25.15.9), NFS-exports /netdir to your system, where user is remoteuserX where X is your domain number remoteuserX home directory is utility.domain15.example.com:/netdir/remoteuserX remoteuserX home directory should be auto mounted locally at /netdir as /netdir/remoteuserX Home directories must be writable by their users while you are able to login as any of the remoteuserX only home directory that is accessible from your system
Part 1 (on Node1 Server) Task 3 [Managing Local Users and Groups] Create the following users, groups and group memberships: A group named sharegrp A user harry who belongs to sharegrp as a secondary group A user natasha who also belongs to sharegrp as a secondary group A user copper who does not have access to an interactive shell on the system and who is not a member of sharegrp. harry, natasha and copper should have the password redhat
Answer: See the Explanation below:
Explanation: * [root@node1 ~]# groupadd sharegrp [root@node1 ~]# useradd harry [root@node1 ~]# useradd natasha [root@node1 ~]# usermod -aG sharegrp harry [root@node1 ~]# usermod -aG sharegrp natasha [root@node1 ~]# useradd -s /sbin/nologin copper [root@node1 ~]# echo "redhat" | passwd --stdin harry [root@node1 ~]# echo "redhat" | passwd --stdin natasha [root@node1 ~]# echo "redhat" | passwd --stdin copper ### For Checking ### [root@node1 ~]# su - copper This account is currently not available. [root@node1 ~]# su - natasha [root@node1 ~]# id [root@node1 ~]# su - harry [root@node1 ~]# id
Sample Question 22
Part 1 (on Node1 Server) Task 1 [Managing Networking] Please create new network connection with existing interface (enp1s0) using provided values: IPv4: 172.25.X.10/255.255.255.0 (where X is your domain number: Domain15) Gateway: 172.25.X.2 DNS server: 172.25.X.2 Add the following secondary IP addresses statically to your current running connection. Do this in a way that does not compromise your existing settings: IPv4: 10.0.0.5/24 and set the hostname node1.domain15.example.com
Answer: See the Explanation below:
Explanation: * [root@node1 ~]# nmcli connection show [root@node1 ~]# nmcli connection add con-name static ifname enp1s0 type ethernet ipv4.addresses 172.25.15.10/24 ipv4.gateway 172.25.15.2 ipv4.dns 172.25.15.2 [root@node1 ~]# nmcli connection modify static ipv4.method manual connection.autoconnect yes [root@node1 ~]# nmcli connection modify static +ipv4.addresses 10.0.0.5/24 [root@node1 ~]# nmcli connection up static [root@node1 ~]# nmcli connection show [root@node1 ~]# hostnamectl set-hostname node1.domain15.example.com [root@node1 ~]# hostnamectl status [root@node1 ~]# nmcli connection down static * [root@node1 ~]# nmcli connection up static [root@node1 ~]# ip addr show [root@node1 ~]# reboot ### For checking ### [root@node1 ~]# ip addr show [root@node1 ~]# netstat -nr [root@node1 ~]# cat /etc/resolv.conf
Sample Question 23
Create a Shared Directory.Create a shared directory /home/admins, make it has the following characteristics:/home/admins belongs to group adminuserThis directory can be read and written by members of group adminuser Any files created in/home/ admin, group automatically set as adminuser.
Answer: see explanation below.
Explanation:
mkdir /home/admins
chgrp -R adminuser /home/admins
chmodg+w /home/admins
chmodg+s /home/admins
Exam Code: EX200Exam Name: Red Hat Certified System Administrator - RHCSA (8.2)Last Update: May 13, 2024Questions: 136