RHCSA-Final-EXAM

RHCSA-Final-EXAM

4th Grade

30 Qs

quiz-placeholder

Similar activities

Make Quiz have fun

Make Quiz have fun

4th Grade

27 Qs

Power Rangers Quiz

Power Rangers Quiz

KG - University

30 Qs

Microsoft word

Microsoft word

1st - 6th Grade

25 Qs

Quiz PK Grader G3

Quiz PK Grader G3

1st - 4th Grade

30 Qs

HSCI Exam 1 study guide

HSCI Exam 1 study guide

1st - 5th Grade

25 Qs

Play with Python Lib

Play with Python Lib

KG - Professional Development

25 Qs

Google Forms

Google Forms

4th - 5th Grade

31 Qs

RHCSA-Final-EXAM

RHCSA-Final-EXAM

Assessment

Quiz

Other

4th Grade

Hard

Created by

Sahil sasane

Used 5+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the primary difference between firewall management in RHEL 6 and RHEL 7?

RHEL 6 uses firewalld, while RHEL 7 uses iptables

RHEL 6 uses iptables, which is static, while RHEL 7 uses firewalld, which is dynamic and flexible

RHEL 7 requires a firewall service restart to apply changes, while RHEL 6 does not

There is no difference; both use the same tools for firewall management

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which command would you use to allow incoming HTTP traffic through the firewalld service on a RHEL 7 system?

sudo firewall-cmd --zone=home --add-service=ssh --permanent

sudo firewall-cmd --zone=public --add-service=http --permanent

sudo firewall-cmd --zone=internal --add-port=80/tcp --permanent

sudo firewall-cmd --reload

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the purpose of the Sticky Bit when applied to a directory?

It allows only the owner to execute files in the directory

It allows only the file owner to delete or rename files within the directory

It sets the directory to be immutable

It allows all users to have read and write access to the directory.

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Where would you typically find system-wide configuration files and shell scripts used for system boot and initialization?

/var

/etc

/tmp

/srv

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which directory contains essential binary executables required for system booting and basic functionality?

/lib

/usr

/bin

/opt

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

How do you extract the first 10 characters of each line in a file using the cut command?

cut -f 1-10 file.txt

cut -c 1-10 file.txt

cut -d 1-10 file.txt

cut -n 1-10 file.txt

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which awk command prints the second and fourth columns of a file where columns are separated by spaces?

awk '{print $1, $3}' file.txt

awk '{print $2, $4}' file.txt

awk '{print $1, $2, $4}' file.txt

awk '{print $4, $2}' file.txt

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?