Courseiva

EX294 Deploy Ansible Automation Platform Practice Question

A Red Hat Certified Engineer is deploying Ansible Automation Platform 2.4 on a RHEL 9 server. They extract the installer tarball and edit the inventory file. They set `registry_username` and `registry_password` in the inventory, then run `./setup.sh`. The installation fails early with an error that the subscription-manager repositories are not enabled. Which action most directly resolves this failure?

⚠ Common exam trap

The trap here is assuming that providing registry credentials alone is sufficient for a disconnected or unregistered installation, when the installer also requires RHSM repositories to be enabled.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Ensure the RHEL system is registered with Red Hat Subscription Manager and the `ansible-automation-platform-2.4-for-rhel-9-x86_64-rpms` repository is enabled.

The AAP setup script depends on RHEL subscription repositories to install required packages. The system must be registered with RHSM and the appropriate AAP repository enabled. Without this, dependency resolution fails before configuration begins. Enabling the correct version-specific repository is the documented prerequisite and directly resolves the reported error.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Set `ansible_connection=local` in the installer inventory so the setup script uses the local RPM database.

    Why it's wrong here

    `ansible_connection=local` only changes how Ansible connects to the host; it does not enable RHSM repositories or make missing packages available. The installer already runs locally on the control node. This setting would not resolve the repository error because the underlying package sources remain disabled.

  • ✗

    Run the setup script with the `--skip-tags validation` flag to bypass the repository check.

    Why it's wrong here

    The `--skip-tags validation` flag is not a documented installer option for bypassing repository validation in the AAP setup script. The installer relies on RHEL subscription repositories to install dependencies such as PostgreSQL and Redis. Skipping validation does not enable the required repositories, so the installation would still fail when packages cannot be found.

  • ✗

    Disable the firewall and SELinux on the server before rerunning the installer.

    Why it's wrong here

    Firewall and SELinux do not affect whether subscription-manager repositories are enabled. While these services can cause other installation issues, they are unrelated to the repository error described. Disabling them would not provide the required RPM repositories and could introduce unnecessary security risks.

  • ✓

    Ensure the RHEL system is registered with Red Hat Subscription Manager and the `ansible-automation-platform-2.4-for-rhel-9-x86_64-rpms` repository is enabled.

    Why this is correct

    The AAP installer requires the system to be registered with RHSM and the correct AAP repository enabled so that required RPMs (e.g., ansible-core, receptor) can be installed. Without this repository, the setup script cannot resolve dependencies. Enabling the version-specific repository for RHEL 9 is the documented prerequisite before running the installer.

Visual reference

Client Recursive Resolver Root DNS (13 root servers) TLD DNS (.com, .org, …) Authoritative example.com query IP addr answer

About these practice questions

One of 392 original EX294 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Red Hat exam blueprint

This EX294 practice question is part of Courseiva's free Red Hat certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the EX294 exam.