Oracle Linux Professional Security Administration 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: 15 | Questions: 20 | Updated: Aug 15, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. Which permission number represents read and execute only?

Explanation

In Unix permissions, read is represented by 4 and execute by 1. Adding them gives 5, so permission number 5 allows reading and executing, but not writing.

Submit
Please wait...
About This Quiz
Oracle Linux Professional Security Administration Quiz - Quiz

This quiz evaluates your knowledge of security administration on Oracle Linux systems. It covers user and group management, file permissions, SELinux policies, firewall configuration, authentication mechanisms, and system hardening techniques. Essential for professionals preparing for Oracle Linux certification and securing enterprise Linux environments.

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 purpose of the audit daemon (auditd) in Oracle Linux?

Explanation

The audit daemon (auditd) records security-related events on an Oracle Linux system, such as login attempts, changes to files, and use of privileged commands. These logs help administrators monitor activity, investigate incidents, and support security compliance.

Submit

3. How do you list all open ports in Oracle Linux?

Explanation

Use `netstat -tuln` or `ss -tuln` to display listening TCP and UDP sockets with numeric addresses and port numbers. These commands show services listening for connections, which helps identify open ports. `firewall-cmd --list-ports` and `iptables -L` show firewall rules, not necessarily which ports are actively listening.

Submit

4. Which authentication method uses public-key cryptography?

Explanation

SSH key-based authentication uses a public–private key pair. The server stores the user’s public key, while the user proves their identity by using the matching private key, without sending a password.

Submit

5. What does the chroot command do in Oracle Linux?

Explanation

The `chroot` command changes the apparent root directory (`/`) for a process and its child processes. As a result, they see the selected directory as the top of the filesystem and cannot access paths outside it through normal filesystem navigation. It is commonly used to create a restricted environment for troubleshooting or software tasks.

Submit

6. Which file defines system-wide security limits?

Explanation

On Linux systems, `/etc/security/limits.conf` defines configurable resource limits for users and groups, such as maximum processes, open files, and memory usage. These limits are typically applied during login sessions by the PAM `pam_limits` module. The other listed paths are not the standard system-wide configuration file for these limits.

Submit

7. What is the default SSH port in Oracle Linux?

Explanation

Oracle Linux uses the standard SSH service configuration, which listens on TCP port 22 by default. This port is used for secure remote login and command execution. Administrators can change the SSH port in the server configuration, but 22 is the default unless it has been modified.

Submit

8. What does the sticky bit prevent in Oracle Linux?

Explanation

On a shared directory, the sticky bit allows only the file’s owner, the directory’s owner, or the root user to delete or rename a file. This protects users’ files from being removed by others who can write to the same directory, as commonly needed in `/tmp`.

Submit

9. Which command sets the setuid bit on an executable file in Oracle Linux?

Explanation

The `u+s` option sets the setuid permission bit for the file’s owner. When the executable is run, it runs with the privileges of the file’s owner rather than those of the user who launched it. The `g+s` option instead sets the setgid bit.

Submit

10. How do you create a new user group in Oracle Linux?

Explanation

Use `groupadd groupname` to create a new group in Oracle Linux, replacing `groupname` with the desired name. The command adds the group to the system’s group database. You may need root privileges or `sudo` to run it. The other options either use a different command or omit required information.

Submit

11. How do you check SELinux status in Oracle Linux?

Explanation

Run `getenforce` in a terminal to check SELinux’s current operating mode. It displays one of three results: `Enforcing`, `Permissive`, or `Disabled`. This provides a quick status check; use `sestatus` when you need more detailed SELinux configuration information.

Submit

12. Which SELinux mode logs violations without enforcing policies?

Explanation

Permissive mode allows actions that violate SELinux policies while recording the violations in logs. This helps administrators identify potential policy issues without blocking system activity.

Submit

13. What does the umask value control in Oracle Linux?

Explanation

The umask sets which permission bits are removed when new files and directories are created. It works alongside the permissions requested by the creating program, helping determine the default access rights for users, groups, and others. It does not control login timeouts, memory usage, or network packet sizes.

Submit

14. Which file contains user account information in Oracle Linux?

Explanation

`/etc/passwd` contains basic information about local user accounts, including usernames, user and group IDs, home directories, and default shells. Password hashes are generally stored separately in `/etc/shadow`, while `/etc/group` lists groups and `/etc/sudoers` configures sudo privileges.

Submit

15. Which command disables a user account without deleting it?

Explanation

`usermod -L username` locks the account’s password, preventing password-based login while preserving the account and its files. Unlike `userdel`, it does not remove the account. The `-L` option is provided by `usermod` to lock the specified user.

Submit

16. What is the primary purpose of SELinux in Oracle Linux?

Explanation

SELinux (Security-Enhanced Linux) strengthens Oracle Linux security by enforcing mandatory access control policies. These policies determine which users and processes can access specific files, services, and resources, even when standard permissions would otherwise allow access. This helps contain compromised applications and reduce the potential impact of unauthorized activity.

Submit

17. What is the purpose of the /etc/shadow file?

Explanation

The `/etc/shadow` file stores users’ password hashes and related password-aging information. Access is restricted to privileged accounts, helping protect credentials from being read by ordinary users. It is separate from `/etc/passwd`, which contains public account details such as usernames and user IDs.

Submit

18. Which firewall management tool is standard in Oracle Linux 8+?

Explanation

Oracle Linux 8 and later use firewalld as the standard firewall management tool. It provides dynamic rule management through zones and predefined services, allowing firewall settings to be changed without restarting the firewall service. It may use nftables as its underlying packet-filtering framework.

Submit

19. How do you enable password aging in Oracle Linux?

Explanation

Use the `chage` command to configure a user’s password-aging settings, such as the minimum and maximum password lifetime, warning period, and account inactivity period. These settings help enforce periodic password changes and are stored with the account’s password information.

Submit

20. How do you add a user to the sudoers list in Oracle Linux?

Explanation

Use `visudo` to edit the sudoers configuration safely. It checks the file for syntax errors before saving and helps prevent simultaneous edits, reducing the risk of making sudo access unusable. Add the user’s account or a suitable group to the file with the required privileges.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Which permission number represents read and execute only?
What is the purpose of the audit daemon (auditd) in Oracle Linux?
How do you list all open ports in Oracle Linux?
Which authentication method uses public-key cryptography?
What does the chroot command do in Oracle Linux?
Which file defines system-wide security limits?
What is the default SSH port in Oracle Linux?
What does the sticky bit prevent in Oracle Linux?
Which command sets the setuid bit on an executable file in Oracle...
How do you create a new user group in Oracle Linux?
How do you check SELinux status in Oracle Linux?
Which SELinux mode logs violations without enforcing policies?
What does the umask value control in Oracle Linux?
Which file contains user account information in Oracle Linux?
Which command disables a user account without deleting it?
What is the primary purpose of SELinux in Oracle Linux?
What is the purpose of the /etc/shadow file?
Which firewall management tool is standard in Oracle Linux 8+?
How do you enable password aging in Oracle Linux?
How do you add a user to the sudoers list in Oracle Linux?
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!