EX200 Dumps

EX200 Free Practice Test

Red-Hat EX200: EX200 Red Hat Certified System Administrator (RHCSA) Exam

QUESTION 6

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
Solution:
*
[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

Does this meet the goal?

Correct Answer: A

QUESTION 7

User mary must configure a task.
Requirement: The local time at 14:23 every day echo "Hello World.".
Solution:
crontab -u mary -e
23 14 * * * echo "Hello World."

Does this meet the goal?

Correct Answer: A

QUESTION 8

Create a swap space, set the size is 600 MB, and make it be mounted automatically after rebooting the system (permanent mount).
Solution:
EX200 dumps exhibit if=/dev/zero of=/swapfile bs=1M count=600 mkswap /swapfile
/etc/fstab:
/swapfile swap swap defaults 0 0 mount -a

Does this meet the goal?

Correct Answer: A

QUESTION 9

Who ever creates the files/directories on archive group owner should be automatically should be the same group owner of archive.
Solution:
EX200 dumps exhibit chmod g+s /archive
EX200 dumps exhibit Verify using: ls -ld /archive Permission should be like:
drwxrws--- 2 root sysuser 4096 Mar 16 18:08 /archive
If SGID bit is set on directory then who every users creates the files on directory group owner automatically the owner of parent directory.
To set the SGID bit: chmod g+s directory
To Remove the SGID bit: chmod g-s directory

Does this meet the goal?

Correct Answer: A

QUESTION 10

One Logical Volume is created named as myvol under vo volume group and is mounted. The Initial Size of that Logical Volume is 400MB. Make successfully that the size of Logical Volume 200MB without losing any data. The size of logical volume 200MB to 210MB will be acceptable.
Solution:
EX200 dumps exhibit First check the size of Logical Volume: lvdisplay /dev/vo/myvol
EX200 dumps exhibitMake sure that the filesystem is in a consistent state before reducing:
# fsck -f /dev/vo/myvol
EX200 dumps exhibit Now reduce the filesystem by 200MB.
# resize2fs /dev/vo/myvol 200M
EX200 dumps exhibit It is now possible to reduce the logical volume. #lvreduce /dev/vo/myvol -L 200M
EX200 dumps exhibit Verify the Size of Logical Volume: lvdisplay /dev/vo/myvol
EX200 dumps exhibit Verify that the size comes in online or not: df -h

Does this meet the goal?

Correct Answer: A