> For the complete documentation index, see [llms.txt](https://alicenab.gitbook.io/linux/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alicenab.gitbook.io/linux/redhat/custom-exam-practise.md).

# Custom exam practise:

#### **1. Basic Foundations**

**Essential Tools**

* Access a shell prompt and issue commands with correct syntax.
* Create and edit text files.
* Create, delete, copy, and move files and directories.
* Locate, read, and use system documentation (man, info, /usr/share/doc).
* Use input-output redirection (>, >>, |, 2>, etc.).
* Use `grep` and regular expressions to analyze text.

**Manage Users and Groups**

* Create, delete, and modify local user accounts.
* Change passwords and adjust password aging for local user accounts.
* Create, delete, and modify local groups and group memberships.
* Configure superuser access.

***

#### **2. Intermediate Foundations**

**File Permissions and Links**

* List, set, and change standard `ugo/rwx` permissions.
* Create hard and soft links.
* Manage default file permissions.
* Diagnose and correct file permission problems.

**Shell Scripting**

* Create simple shell scripts.
* Conditionally execute code (`if`, `test`, `[]`).
* Use looping constructs (`for`, etc.) to process input.
* Process script inputs (`$1`, `$2`, etc.).
* Process output of shell commands within a script.

***

#### **3. Managing the System**

**Operate Running Systems**

* Boot, reboot, and shut down a system normally.
* Boot systems into different targets manually.
* Interrupt the boot process to gain system access.
* Identify CPU/memory-intensive processes and kill processes.
* Adjust process scheduling.
* Manage tuning profiles.
* Locate and interpret system log files and journals.
* Preserve system journals.
* Start, stop, and check the status of network services.

**Scheduling Tasks**

* Schedule tasks using `at` and `cron`.

***

#### **4. Networking**

**Manage Basic Networking**

* Configure IPv4 and IPv6 addresses.
* Configure hostname resolution.
* Configure network services to start automatically at boot.
* Restrict network access using `firewall-cmd`.

**Remote Access and File Transfers**

* Access remote systems using SSH.
* Securely transfer files between systems.
* Configure key-based authentication for SSH.

***

#### **5. Storage Management**

**Local Storage**

* List, create, delete partitions on MBR and GPT disks.
* Create and remove physical volumes.
* Assign physical volumes to volume groups.
* Create and delete logical volumes.
* Add new partitions, logical volumes, and swap to a system non-destructively.

**File Systems**

* Create, mount, unmount, and use `vfat`, `ext4`, and `xfs` file systems.
* Configure systems to mount file systems at boot by UUID or label.
* Extend existing logical volumes.
* Mount and unmount network file systems using NFS.
* Configure `autofs`.
* Create and configure `set-GID` directories for collaboration.

***

#### **6. System Maintenance**

**Deploy, Configure, and Maintain Systems**

* Start and stop services and configure them to start automatically at boot.
* Configure systems to boot into a specific target automatically.
* Configure time service clients.
* Install and update software packages (RHN, remote repository, or local).
* Modify the system bootloader.

***

#### **7. Security**

**SELinux**

* Set enforcing and permissive modes for SELinux.
* List and identify SELinux file and process context.
* Restore default file contexts.
* Manage SELinux port labels.
* Use boolean settings to modify SELinux.
* Diagnose and address routine SELinux policy violations.

**Firewall**

* Configure firewall settings using `firewall-cmd`.

***

#### **8. Containers**

**Container Management**

* Find and retrieve container images from a remote registry.
* Inspect container images.
* Perform basic container management (run, start, stop, and list containers).
* Run a service inside a container.
* Configure a container to start automatically as a systemd service.
* Attach persistent storage to a container.
