RHCA Red Hat Enterprise Linux Security Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Attempts: 11 | Questions: 20 | Updated: Aug 15, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. What is the purpose of the /etc/sudoers file in RHEL?

Explanation

The `/etc/sudoers` file specifies which users or groups may run commands with elevated privileges using `sudo`, and under what conditions. This lets administrators grant controlled administrative access without sharing the root password.

Submit
Please wait...
About This Quiz
RHCA Red Hat Enterprise Linux Security Quiz - Quiz

This quiz evaluates essential Red Hat Enterprise Linux security concepts for architects and advanced administrators. It covers authentication, authorization, encryption, firewall management, SELinux policies, network security, and system hardening techniques. Designed for college-level professionals, it tests both theoretical knowledge and practical application of RHEL security best practices.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. What is the default secure protocol for remote file transfer in RHEL?

Explanation

SCP and SFTP transfer files securely over SSH, encrypting both the connection and data to protect them from interception. They are preferred over FTP, which typically sends credentials and data in plaintext. HTTP is for web communication, while Telnet provides remote terminal access and does not securely transfer files.

Submit

3. True or False: Firewalld can manage both IPv4 and IPv6 rules simultaneously.

Explanation

Firewalld supports both IPv4 and IPv6, allowing administrators to configure and manage rules for both protocols at the same time. Its zones and services can apply settings to either protocol, so separate firewall-management tools are not required merely because a network uses both IPv4 and IPv6.

Submit

4. Which tool analyzes SELinux policy violations in RHEL logs?

Explanation

`audit2why` examines SELinux denial messages from audit logs and explains why an action was blocked, often suggesting which policy rule or configuration may need attention.

Submit

5. What does chattr +i do to a file in RHEL?

Explanation

The `chattr +i` command sets the immutable attribute on a file in RHEL. This prevents the file from being modified, deleted, or renamed, even by the root user, until the attribute is removed.

Submit

6. Which service manages centralized authentication in RHEL environments?

Explanation

LDAP and FreeIPA provide centralized identity and authentication services for RHEL systems. They let administrators manage user accounts and credentials in one place, allowing users to authenticate across multiple machines. FreeIPA integrates directory services with Kerberos and policy management to support secure, consistent access across an environment.

Submit

7. True or False: Root login via SSH is enabled by default in RHEL.

Explanation

RHEL’s default OpenSSH configuration typically sets `PermitRootLogin` to `prohibit-password`, preventing root from logging in with a password over SSH. Key-based root access may still be allowed, depending on the configuration. Administrators generally connect with a regular account and use `sudo` for privileged commands.

Submit

8. What does the 'r' permission represent in RHEL file permissions?

Explanation

In RHEL file permissions, “r” stands for read. It grants permission to view a file’s contents or, for a directory, list its entries.

Submit

9. Which command generates an SSL/TLS certificate signing request in RHEL?

Explanation

In RHEL, OpenSSL’s `req` utility handles certificate requests, and the `-new` option creates a new certificate signing request (CSR). The CSR contains the public key and identity details that a certificate authority uses to issue a certificate. The other listed commands are not standard commands for generating an SSL/TLS CSR.

Submit

10. True or False: Disabling SELinux is the recommended approach for resolving policy conflicts.

Explanation

Disabling SELinux is not recommended because it removes an important security layer and can expose the system to greater risk. Instead, investigate audit logs to identify the policy conflict, then correct the file contexts or adjust the SELinux policy to permit only the required behavior.

Submit

11. Which SELinux mode allows policy violations to be logged but not enforced?

Explanation

Permissive mode allows the system to operate without enforcing SELinux policy restrictions. Policy violations are still recorded in the audit logs, helping administrators identify issues without blocking the affected actions.

Submit

12. Which encryption standard does RHEL use by default for password hashing?

Explanation

RHEL uses SHA-512 by default to hash passwords. Hashing is one-way: the system stores a salted hash rather than the original password and checks future login attempts against it. SHA-512 provides stronger resistance to cracking than older options such as MD5 and DES.

Submit

13. True or False: SELinux policies can be customized without recompilation.

Explanation

True. SELinux provides tools and policy settings, such as booleans and `semanage`, that let administrators adjust security behavior without rebuilding the entire policy. Changes can be applied by updating or loading policy components, so common customizations do not require recompiling SELinux or the kernel.

Submit

14. What does the AIDE tool monitor in RHEL systems?

Explanation

AIDE (Advanced Intrusion Detection Environment) is a host-based security tool that creates a baseline of file attributes, such as checksums, permissions, ownership, and timestamps. It periodically compares current files with that baseline to detect unauthorized modifications, additions, or deletions, helping administrators identify possible tampering or intrusion.

Submit

15. Which file contains user password hashes in RHEL?

Explanation

In RHEL, password hashes are stored in `/etc/shadow`, which is restricted to privileged users. The `/etc/passwd` file contains account information and typically a placeholder indicating that password data is stored in the shadow file.

Submit

16. What command enables a firewalld zone permanently?

Explanation

The `--permanent` option saves the zone configuration so it remains in effect after a reboot or firewalld reload. Use it with `--add-zone` to create the zone in the permanent configuration; reload firewalld afterward to apply the change at runtime.

Submit

17. Which authentication method does RHEL prefer for remote administrative access?

Explanation

RHEL favors SSH key-based authentication for remote administration because SSH encrypts the connection, while public-key authentication avoids sending passwords over the network. Keys are generally more resistant to guessing and credential theft than passwords, making this method a secure choice for managing systems remotely.

Submit

18. In RHEL, what does the umask value 0077 restrict?

Explanation

A umask removes permissions from the default permissions assigned to new files and directories. The value 0077 masks all permission bits for group and others, so newly created items are accessible only to their owner, subject to the application’s requested permissions.

Submit

19. Which tool is used to manage SELinux boolean values in RHEL?

Explanation

`setsebool` is used to enable or disable SELinux boolean settings, which adjust policy behavior without rebuilding the policy. Changes apply immediately; adding the `-P` option makes them persist across reboots. `getsebool` displays current values, while `semodule` manages policy modules.

Submit

20. What is the primary purpose of the firewalld service in RHEL?

Explanation

firewalld provides dynamic management of network firewall rules in RHEL. It lets administrators configure zones and services and apply changes without restarting the firewall or disrupting existing connections.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
What is the purpose of the /etc/sudoers file in RHEL?
What is the default secure protocol for remote file transfer in RHEL?
True or False: Firewalld can manage both IPv4 and IPv6 rules...
Which tool analyzes SELinux policy violations in RHEL logs?
What does chattr +i do to a file in RHEL?
Which service manages centralized authentication in RHEL environments?
True or False: Root login via SSH is enabled by default in RHEL.
What does the 'r' permission represent in RHEL file permissions?
Which command generates an SSL/TLS certificate signing request in...
True or False: Disabling SELinux is the recommended approach for...
Which SELinux mode allows policy violations to be logged but not...
Which encryption standard does RHEL use by default for password...
True or False: SELinux policies can be customized without...
What does the AIDE tool monitor in RHEL systems?
Which file contains user password hashes in RHEL?
What command enables a firewalld zone permanently?
Which authentication method does RHEL prefer for remote administrative...
In RHEL, what does the umask value 0077 restrict?
Which tool is used to manage SELinux boolean values in RHEL?
What is the primary purpose of the firewalld service in RHEL?
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!