Exam Code: EX200
Exam Questions: 366
Red Hat Certified System Administrator - RHCSA (8.2)
Updated: 21 Feb, 2026
Viewing Page : 1 - 37
Practicing : 1 - 5 of 366 Questions
Question 1

On ServerB, use /dev/sdb to do the following:

1. Create a 4GiB volume group named “vgmyvg”.

2. Create a 1GiB logical volume named “lvmylv” inside the “vgmyvg” volume group.

3. The “lvmylv” logical volume should be formatted with the ext4 filesystem and mounted persistently on the /lvmylv directory.

4. Extend the ext4 filesystem on “lvmylv” by 500M.

Options :
Answer: A

Question 2

On ServerB, write a shell script “sum.sh” in the root directory that takes an unspecified number of command-line arguments of ints and finds their sum. To add a number to the sum it must be greater than 0.

Options :
Answer: A

Question 3

On ServerA, create a Bash script named /script.sh that outputs the second argument followed by the first argument when executed with two arguments (e.g., "test2 test1" for ./script.sh test1 test2).

Options :
Answer: A

Question 4

Create a directory named "/collaboration" on ServerB, and configure it so that any files or subdirectories created within that directory are owned by the group "managers".

Options :
Answer: A

Question 5

After issuing:

function myfunction { echo $1 $2 ; }

in Bash, which output does:

myfunction A B C

Produce?

Options :
Answer: C

Viewing Page : 1 - 37
Practicing : 1 - 5 of 366 Questions

© Copyrights FreePDFQuestions 2026. All Rights Reserved

We use cookies to ensure that we give you the best experience on our website (FreePDFQuestions). If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the FreePDFQuestions.