Free practice · No sign-up required

Red Hat Certified Architect (RHCA) free practice test

15 questions with answer explanations. Choose an answer below to begin.

Question 1 of 15

Which service is primarily used to manage and schedule containerized applications on Red Hat Enterprise Linux?

Show hint

Understand container orchestration fundamentals and Red Hat's container strategy.

0/15 answered · Bookmark questions to review later. Focus the practice area to use keys 1–9 and Enter.

Learn by doing

Put your answers into practice

Use official documentation and hands-on labs to work through topics you missed.

Explore all study resources →

All questions and explanations

Prefer to read at your own pace? Work through each question below, then open its answer to check your reasoning. You can link directly to a question or print this reference.

  1. Which service is primarily used to manage and schedule containerized applications on Red Hat Enterprise Linux?

    1. Kubernetes

    2. Docker Swarm

    3. Apache Mesos

    4. Nomad

    Show answer and explanation

    Correct answer

    • Kubernetes

    Kubernetes is the industry-standard orchestration platform for managing containerized workloads and services. Red Hat provides integrated support and tooling for Kubernetes through its product portfolio.

  2. What is the default directory for storing persistent application data in a standard Red Hat container image?

    1. /var/lib

    2. /opt

    3. /data

    4. /usr/local

    Show answer and explanation

    Correct answer

    • /var/lib

    /var/lib is commonly used by applications and services to store variable state and persistent data. This convention helps maintain separation between runtime, configuration, and data.

  3. Which command is used to view the current status and recent events of system services managed by systemd?

    1. systemctl status

    2. service status

    3. chkconfig --list

    4. initctl list

    Show answer and explanation

    Correct answer

    • systemctl status

    The systemctl status command provides detailed information about a specific service, including its current state and recent log entries. This is the modern way to interact with systemd-managed services.

  4. What is the purpose of a Logical Volume Manager (LVM) snapshot in system administration?

    1. To create a point-in-time copy of a logical volume for backup or testing

    2. To increase the size of a physical disk

    3. To format a logical volume with a new filesystem

    4. To mirror data across multiple disks

    Show answer and explanation

    Correct answer

    • To create a point-in-time copy of a logical volume for backup or testing

    LVM snapshots allow you to capture the state of a logical volume at a specific moment without interrupting ongoing operations. They are commonly used for backups or to provide a consistent view for testing.

  5. Which protocol is typically used for secure remote login and command execution on Red Hat systems?

    1. SSH

    2. Telnet

    3. FTP

    4. HTTP

    Show answer and explanation

    Correct answer

    • SSH

    SSH (Secure Shell) encrypts traffic between the client and server, providing a secure channel for remote administration. Telnet and FTP transmit data in plaintext and are not recommended.

  6. What does the acronym RPM stand for in the context of Red Hat package management?

    1. Red Hat Package Manager

    2. Remote Package Manager

    3. RPM Package Manager

    4. Red Hat Product Manager

    Show answer and explanation

    Correct answer

    • RPM Package Manager

    RPM stands for RPM Package Manager and is the core package management system used by Red Hat-based distributions. It handles software installation, updates, and verification.

  7. Which file is commonly used to define environment variables for system-wide services on Red Hat Enterprise Linux?

    1. /etc/environment

    2. /etc/profile

    3. /etc/bashrc

    4. /etc/sysconfig

    Show answer and explanation

    Correct answer

    • /etc/environment

    /etc/environment is used to set system-wide environment variables that apply to all users and services. It is read by PAM modules during login and service initialization.

  8. What is the primary function of the chronyd service in time synchronization?

    1. To continuously adjust the system clock to match a reference time source

    2. To set the system clock once at boot from an external source

    3. To provide a local time reference without network access

    4. To log time-related events for auditing

    Show answer and explanation

    Correct answer

    • To continuously adjust the system clock to match a reference time source

    chronyd is a daemon that actively monitors and adjusts the system clock to stay synchronized with NTP servers. It is well-suited for systems that are intermittently connected or virtualized.

  9. Which directory is the standard location for storing web server content served by Apache or similar HTTP services?

    1. /var/www/html

    2. /usr/share/web

    3. /opt/http

    4. /srv/www

    Show answer and explanation

    Correct answer

    • /var/www/html

    /var/www/html is the default document root for many web servers on Red Hat systems. This location follows filesystem hierarchy standards for web content.

  10. Question 10

    Link to question

    What is the main configuration file for the OpenSSH server on Red Hat Enterprise Linux?

    1. /etc/ssh/sshd_config

    2. /etc/ssh/ssh_config

    3. /etc/openssh/server.conf

    4. /etc/ssh/config

    Show answer and explanation

    Correct answer

    • /etc/ssh/sshd_config

    The sshd_config file defines server-side settings for the SSH daemon, including listening ports, authentication methods, and access controls. The ssh_config file is for client-side settings.

  11. Question 11

    Link to question

    Which command is used to display the contents of a compressed tar archive without extracting it?

    1. tar -tvf

    2. tar -xvf

    3. tar -cvf

    4. tar -dzvf

    Show answer and explanation

    Correct answer

    • tar -tvf

    The -t option lists the contents of an archive, -v enables verbose output, and -f specifies the archive file. This allows inspection of archived files without modifying the filesystem.

  12. Question 12

    Link to question

    What is the role of a firewall daemon such as firewalld in a Red Hat system?

    1. To dynamically manage network zone rules and allow or block traffic

    2. To provide a graphical interface for system monitoring

    3. To manage user authentication and permissions

    4. To schedule system backups and snapshots

    Show answer and explanation

    Correct answer

    • To dynamically manage network zone rules and allow or block traffic

    firewalld manages firewall rules using zones and services, allowing for dynamic updates without breaking existing connections. It provides a flexible interface for network security policy enforcement.

  13. Question 13

    Link to question

    Which utility is commonly used to monitor real-time system performance and resource usage on Red Hat Linux?

    1. top

    2. ls

    3. cp

    4. find

    Show answer and explanation

    Correct answer

    • top

    top provides a dynamic, real-time view of system processes, CPU usage, memory consumption, and other performance metrics. It is a standard tool for system monitoring and troubleshooting.

  14. Question 14

    Link to question

    What does SELinux stand for in the context of Red Hat Enterprise Linux security?

    1. Security-Enhanced Linux

    2. System Enforcement and Logging for Linux

    3. Secure Linux Environment

    4. Standardized Enterprise Linux Access

    Show answer and explanation

    Correct answer

    • Security-Enhanced Linux

    SELinux is a security architecture for Linux systems that provides mandatory access controls. It helps restrict how applications and users can interact with system resources.

  15. Question 15

    Link to question

    Which log file is typically used to record authentication and account-related events on Red Hat systems?

    1. /var/log/secure

    2. /var/log/messages

    3. /var/log/auth.log

    4. /var/log/syslog

    Show answer and explanation

    Correct answer

    • /var/log/secure

    /var/log/secure is the standard location for authentication-related logs, including SSH logins, sudo usage, and account changes. Other logs serve different purposes or are common on Debian-based systems.

Read all flashcards

Recall the answer before opening each card.

Which service is used to manage and schedule containerized applications on RHEL?

Kubernetes is the standard orchestration platform for managing containerized workloads and services on Red Hat Enterprise Linux.

What is the default directory for persistent application data in a standard Red Hat container image?

/var/lib is commonly used to store variable state and persistent data for applications in Red Hat container images.

Which command displays current status and recent events of a systemd-managed service?

systemctl status provides detailed information including state and recent log entries for systemd services.

What is the purpose of an LVM snapshot?

An LVM snapshot creates a point-in-time copy of a logical volume for backup or testing without interrupting operations.

Which protocol provides secure remote login and command execution on Red Hat systems?

SSH (Secure Shell) encrypts traffic for secure remote administration; Telnet and FTP are insecure.

What does RPM stand for in Red Hat package management?

RPM stands for RPM Package Manager, the core package management system for Red Hat-based distributions.

Which file defines system-wide environment variables for services on RHEL?

/etc/environment is used to set system-wide environment variables applied to all users and services via PAM.

What is the primary function of the chronyd service?

chronyd continuously adjusts the system clock to match a reference time source, suitable for intermittently connected or virtualized systems.

Which directory is the standard location for web server content served by Apache?

/var/www/html is the default document root for Apache and similar HTTP services on Red Hat systems.

What is the main configuration file for the OpenSSH server on RHEL?

/etc/ssh/sshd_config contains server-side settings for the SSH daemon, including ports and authentication methods.

Which tar command displays the contents of a compressed archive without extracting?

tar -tvf archive.tar.gz lists the archive contents; -t lists, -v verbose, -f specifies the file.

What is the role of firewalld on a Red Hat system?

firewalld dynamically manages network zone rules to allow or block traffic, enabling flexible security policy enforcement.

Which utility provides real-time monitoring of system performance and resource usage?

top provides a dynamic view of processes, CPU, memory, and other metrics for system monitoring and troubleshooting.

What does SELinux stand for in RHEL security?

SELinux stands for Security-Enhanced Linux, a mandatory access control architecture for restricting resource interactions.

Which log file records authentication-related events on Red Hat systems?

/var/log/secure logs authentication events like SSH logins, sudo usage, and account changes for security auditing.

How do you list the contents of a tar.bz2 archive without extracting?

Use tar -tvf archive.tar.bz2; add -j for bzip2 compression. The -t option lists files without extraction.

What command is used to change SELinux to permissive mode temporarily?

setenforce 0 sets SELinux to permissive mode (logs but does not block). Use setenforce 1 to return to enforcing.

Which firewall command adds a service permanently and reloads the rules?

firewall-cmd --add-service= --permanent && firewall-cmd --reload adds and applies a service rule.

What is the default port for SSH?

The default port for SSH is 22, as defined in /etc/ssh/sshd_config. Changing it can reduce automated attacks.

Which tool is used to view real-time system processes in a top-like interface but with more features?

htop is an enhanced process viewer with a more user-friendly interface, though top is the standard on RHEL.

Active recall deck

Practice Red Hat Certified Architect (RHCA) with real flashcards

Read the prompt, commit to an answer, then flip the card. Move through the deck at your own pace and repeat any topic that does not come back quickly.

20 free cards

Card 1 of 20

1 reviewed this session

Connect the concepts

Your Red Hat Certified Architect (RHCA) study mind map

Open a branch to connect a topic with its practice questions and explanations. Use the map to choose your next review topic.

Red Hat Certified Architect (RHCA)15 questions in this practice set
Understand container orchestration fundamentals and Red Hat's container strategy.(1)
Learn standard Linux filesystem hierarchy and container data persistence practices.(1)
Demonstrate proficiency in managing system services using systemd.(1)
Understand LVM concepts and practical use cases for data management.(1)
Apply secure communication protocols for system administration tasks.(1)
Identify key package management terminology and tools used in Red Hat environments.(1)
Understand how system-wide environment configuration is managed in Red Hat Linux.(1)
Explain time synchronization mechanisms and the role of chronyd.(1)
Identify common web server directory structures and their purposes.(1)
Recognize key configuration files for core network services.(1)
Demonstrate practical use of tar for archive inspection and management.(1)
Understand network security management and firewall configuration tools.(1)
More practice connections(3)
Exam-focused analysis

What this RHCA practice set measures

This is an analysis of the practice bank, not a claim about the vendor's live exam blueprint. Use it to identify the knowledge, judgment, and recall patterns exercised here, then verify your coverage against the current official exam guide.

Container Orchestration and Management

This section covers containerized application scheduling and data persistence on RHEL. Kubernetes is the primary orchestration platform, and Red Hat provides integrated tooling. Understanding the default directories for persistent data, like /var/lib, is crucial for designing container storage. These concepts are foundational for deploying and managing container workloads in a Red Hat ecosystem.

  • Kubernetes is the industry-standard container orchestration tool for managing workloads and services.
  • Red Hat offers integrated Kubernetes support through products like OpenShift.
  • /var/lib is the default directory for persistent application data in standard Red Hat container images.
  • Container data persistence ensures state survives container restarts and updates.

System Administration and Service Management

This section focuses on core administrative tasks such as service control with systemd, logical volume management with LVM, secure remote access via SSH, package management with RPM, and system-wide environment variable configuration. These skills are essential for maintaining system health, performing backups, and ensuring secure remote administration. The practice set tests knowledge of key commands and configuration files like /etc/environment and /etc/ssh/sshd_config.

  • systemctl status displays service state and recent events for systemd-managed services.
  • LVM snapshots create point-in-time copies for backup or testing without downtime.
  • SSH provides encrypted remote login and command execution; Telnet and FTP are insecure.
  • RPM (RPM Package Manager) is the core package management system for Red Hat distributions.
  • /etc/environment defines system-wide environment variables read by PAM during login.

Network Services and Security

This section addresses web server configuration, firewall management, and SELinux security. The default web server document root is /var/www/html. firewalld dynamically manages network zones and rules. SELinux (Security-Enhanced Linux) enforces mandatory access controls. These components are critical for securing and operating network services on RHEL.

  • /var/www/html is the standard document root for Apache and similar HTTP services.
  • The main OpenSSH server configuration file is /etc/ssh/sshd_config.
  • firewalld uses zones and services to dynamically manage firewall rules.
  • SELinux provides mandatory access control to restrict process and user interactions with system resources.
  • Secure system configurations rely on proper firewall and SELinux policies.

Monitoring and Troubleshooting

This section covers system monitoring, archive inspection, and logging. The top command provides real-time views of processes and resource usage. The tar -tvf command lists archive contents without extraction. /var/log/secure records authentication events. These tools are essential for diagnosing issues, auditing security, and managing data archives.

  • top shows dynamic CPU, memory, and process usage for performance monitoring.
  • tar -tvf inspects compressed tar archive contents without extracting.
  • /var/log/secure logs authentication-related events like SSH logins and sudo usage.
  • Effective troubleshooting relies on real-time metrics and detailed log analysis.

Study workflow

Turn one RHCA attempt into a study plan

  1. 1

    Check Service Status with systemctl

    Use 'systemctl status <service>' to view current state, recent log entries, and PID. This is the primary method for diagnosing systemd services. Replace <service> with the service name (e.g., sshd). Add '--no-pager' to avoid pagination.

  2. 2

    Create an LVM Snapshot

    Use 'lvcreate -L <size> -s -n <snapshot_name> <lv_path>' to create a snapshot logical volume. For example, 'lvcreate -L 1G -s -n root_snap /dev/vg/root'. Snapshots are space-efficient and allow consistent backups or testing.

  3. 3

    Configure a Firewalld Rule

    Use 'firewall-cmd --add-service=<service> --permanent' to add a rule, then 'firewall-cmd --reload' to apply. For custom ports, use '--add-port=<port>/<protocol>'. Verify with 'firewall-cmd --list-all'. The --permanent flag ensures persistence across reboots.

  4. 4

    Inspect SELinux Context and Boolean

    Use 'ls -Z' to view file context, 'getenforce' to check enforcing/permissive status, and 'semanage boolean -l' to list booleans. Temporarily set a boolean with 'setsebool -P <name> on' (persistent). Use 'audit2allow' to generate custom policies from denials.

  5. 5

    Inspect a Compressed Tar Archive

    Use 'tar -tvf archive.tar.gz' to list contents. For .tar.bz2 files, add '-j' option. The -t option lists without extracting. Combine with grep to find specific files: 'tar -tvf archive.tar.gz | grep pattern'.

FAQ

Questions about this RHCA practice page

Clear boundaries on what the bank covers, how to use it, and where official vendor information still matters.

How is Kubernetes integrated into Red Hat Enterprise Linux for container orchestration?+

RHEL includes container tools like Podman and buildah, but full orchestration is provided by Red Hat OpenShift, which is a Kubernetes platform. Red Hat also offers an 'Advanced Cluster Management' add-on. For standalone Kubernetes, you can install the 'kubeadm' package from Red Hat repositories.

What is the difference between chronyd and ntpd for time synchronization?+

chronyd is designed for modern systems, handling intermittent network connections and virtual machines better than ntpd. It synchronizes faster and offers simpler configuration. On RHEL 7 and later, chronyd is the default NTP daemon. Use 'chronyc sources' to check synchronization status.

What are the common SELinux modes and how do I change them?+

SELinux has three modes: enforcing (default, enforces policies), permissive (logs but does not block), and disabled (off). Use 'setenforce 0' (permissive) or 'setenforce 1' (enforcing) temporarily. To persist, edit /etc/selinux/config and reboot. Changing to disabled requires a reboot.

Which log file should I check for authentication failures on RHEL?+

/var/log/secure is the main log for authentication events, including SSH failures, sudo usage, and user account changes. For system messages and hardware issues, check /var/log/messages. For auditd logs, use /var/log/audit/audit.log.

What is a practical use case for LVM snapshots in system administration?+

LVM snapshots provide a consistent point-in-time copy of a volume, ideal for backups of databases or file servers without downtime. You can mount the snapshot and back up its contents, then remove it. Snapshots are also used for testing updates by rolling back if needed.

Keep studying

Build the next review session

Browse another free bank or use the study strategy guide to turn your misses into spaced review.