EX294 Deploy Ansible Automation Platform Practice Question
Exhibit
Refer to the exhibit.
[root@controller ~]# cat /etc/ansible-automation-platform/setup.sh
#!/bin/bash
# AAP 2.4 installer
# ...
ADMIN_PASSWORD='redhat'
PGHOST='192.168.1.100'
PGPORT='5432'
PGDATABASE='awx'
PGUSER='awx_admin'
PGPASSWORD='secure_pass'
# ...
[root@controller ~]# ./setup.sh -i inventory.yml
...
TASK [Installer : wait for controller to be ready] ****************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Timeout waiting for controller to become ready. Check logs."}
[root@controller ~]# cat /var/log/ansible-automation-platform/controller/startup.log
...
ERROR: could not connect to server: Connection refused
Is the server running on host "192.168.1.100" and accepting TCP/IP connections on port 5432?A systems administrator is deploying Ansible Automation Platform 2.4 using the provided setup script. The installation fails with the error shown in the exhibit. Based on the exhibit, what is the most likely cause of the failure?
⚠ Common exam trap
It's easy for candidates to assume a database password mismatch (Option B) is the issue, but the error message clearly indicates a connection failure rather than an authentication failure, which is a common confusion in database connectivity troubleshooting.
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
✓
The PostgreSQL service is not running on the database server.
The error exhibit indicates that the installer cannot connect to the PostgreSQL database. The most common cause of this failure is that the PostgreSQL service is not running on the database server, preventing the Ansible Automation Platform setup script from establishing a connection. Without the database service active, the installer cannot proceed with the deployment.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The installer requires a local PostgreSQL database; using a remote database is not supported.
Why it's wrong here
AAP 2.4 supports both local and remote databases.
- ✗
The database password specified in setup.sh does not match the actual PostgreSQL password.
Why it's wrong here
A password mismatch would cause an authentication error, not connection refused.
- ✗
SELinux is blocking the ansible-navigator process from reaching the database.
Why it's wrong here
SELinux would produce an AVC denial, not a connection refused error.
- ✓
The PostgreSQL service is not running on the database server.
Why this is correct
The error 'Connection refused' indicates the PostgreSQL server is not listening on the specified host/port.
Go deeper
Related to this question
About these practice questions
Courseiva writes every EX294 question from scratch — 520 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.