Back to Red Hat Certified Engineer EX294 questions

Scenario-based practice

Refer to the Exhibit Practice Questions

Practise Red Hat Certified Engineer EX294 practice questions — original exam-style scenarios covering every exam domain, with detailed explanations, wrong-answer analysis, and common exam traps.

15
scenario questions
EX294
exam code
Red Hat
vendor

Scenario guide

How to approach refer to the exhibit practice questions

Practise exhibit-style questions that ask you to read a topology, table, command output or diagram before choosing the best answer.

Quick answer

Exhibit-style questions test whether you can read a topology, command output, diagram or table before choosing the best answer.

How to extract the relevant detail from an exhibit.

How topology, command output or routing information affects the answer.

How to avoid answering from memory before reading the evidence.

How to map the exhibit back to the exam objective.

Related practice questions

Related EX294 topic practice pages

Scenario questions usually connect to one or more exam topics. Use these links to review the underlying concepts behind the scenario.

Practice set

Practice scenarios

Question 1easymultiple choice
Read the full Ansible explanation →

Refer to the exhibit. A playbook fails with the given error. What is the most likely cause?

Exhibit

The following error is displayed when running a playbook:
fatal: [server1]: FAILED! => {"msg": "Attempting to decrypt but no vault secrets found"}
Question 2hardmultiple choice
Read the full Ansible explanation →

Refer to the exhibit. A developer builds an execution environment using this execution-environment.yml. After building, the container starts but ansible-navigator cannot connect to the container because the required SSH packages are missing. Which file most likely needs to be updated?

Exhibit

version: 3
build_arg_defaults:
  EE_BASE_IMAGE: registry.redhat.io/ansible-automation-platform-24/ee-minimal-rhel8:latest
dependencies:
  galaxy: requirements.yml
  python: requirements.txt
  system: bindep.txt
Question 3easymultiple choice
Full question →

An administrator wants to use automation mesh to distribute workloads across multiple execution nodes. After configuring mesh topology, some jobs fail with: `Error: No healthy mesh node found for execution`. What is the most likely cause?

Question 4mediummultiple choice
Read the full Ansible explanation →

Refer to the exhibit. The playbook fails with an error. What is the most likely cause?

Exhibit

- hosts: all
  tasks:
    - name: Import tasks
      import_tasks: "{{ item }}.yml"
      loop:
        - setup
        - configure
Question 5hardmultiple choice
Full question →

Refer to the exhibit. The administrator observes the output and is concerned because the 'Check on async job' task shows 'finished: 0'. What does this indicate?

Exhibit

TASK [Start long running process] *************************
changed: [host1]
ASYNC POLL on host1: jid=j1234567890 started, poll=0
TASK [Check on async job] *********************************
ok: [host1] => {
    "ansible_job_id": "j1234567890",
    "finished": 0,
    "started": 1
}
Question 6easymultiple choice
Read the full Ansible explanation →

Refer to the exhibit. A playbook already includes the 'common' role in its roles list. The current role depends on 'common' with 'allow_duplicates: false'. How many times will the 'common' role run?

Exhibit

dependencies:
  - role: common
    allow_duplicates: false
Question 7easymultiple choice
Read the full Ansible explanation →

Refer to the exhibit. An Ansible playbook task fails with 'Missing sudo password'. The playbook runs against a server where the remote user 'admin' has sudo privileges but requires a password. Which configuration change would resolve this issue?

Exhibit

---
- hosts: dbservers
  tasks:
    - name: Create postgres user
      user:
        name: postgres
        state: present
      become: yes
      become_user: postgres
      become_method: sudo

Error: 

fatal: [server1]: FAILED! => {"msg": "Missing sudo password"}
Question 8hardmultiple choice
Read the full Ansible explanation →

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?

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?
Question 9hardmultiple choice
Read the full Ansible explanation →

Refer to the exhibit. The playbook uses the 'yum' module to install 'httpd' on a RHEL 8 system. Which of the following is the most likely cause of the failure?

Exhibit

Refer to the exhibit.

```
TASK [Gathering Facts] *********************************************************
ok: [server1.example.com]

TASK [role1 : Install package] *************************************************
fatal: [server1.example.com]: FAILED! => {"changed": false, "msg": "No package matching 'httpd' found available, tried all mirrors", "rc": 126, "results": []}
```

An admin attempts to build an execution environment using the exhibited files. The build fails with an error about incompatible Python dependency. What is the most likely cause?

Exhibit

Refer to the exhibit.

$ cat execution-environment.yml
---
version: 1
build_arg_defaults:
  EE_BASE_IMAGE: 'registry.redhat.io/ansible-automation-platform-21/ee-minimal-rhel8:latest'
dependencies:
  galaxy: requirements.yml
  python: requirements.txt

$ cat requirements.yml
---
collections:
  - name: redhat.insights
  - name: community.general

$ cat requirements.txt
ansible==2.9.27
Question 11easymultiple choice
Read the full Ansible explanation →

A team runs the playbook shown in the exhibit. They notice that during the update, some requests are still being sent to servers that have been disabled. What is the most likely cause?

Exhibit

Refer to the exhibit.

```
- name: Rolling update with load balancer
  hosts: webservers
  serial: 2
  tasks:
    - name: Disable server in haproxy
      community.general.haproxy:
        state: disabled
        host: "{{ inventory_hostname }}"
        socket: /var/run/haproxy.sock
      delegate_to: lb01

    - name: Update web server
      yum:
        name: httpd
        state: latest

    - name: Enable server in haproxy
      community.general.haproxy:
        state: enabled
        host: "{{ inventory_hostname }}"
        socket: /var/run/haproxy.sock
      delegate_to: lb01
```
Question 12hardmultiple choice
Read the full Ansible explanation →

Refer to the exhibit. When running the playbook with the limit set to 'webservers', why does the playbook fail on web2?

Network Topology
# ansible-inventory -i inventory.inilist"all": {"hosts": ["web1", "web2"],"vars": {"ansible_user": "admin"},"webservers": {"hosts": ["web1"],"http_port": 80PLAY [Configure webservers] ***************************************************TASK [Gathering Facts] *********************************************************
Question 13easymultiple choice
Read the full Ansible explanation →

Refer to the exhibit. After running the playbook, the 'content' field contains an HTML page. The team wants to extract the text inside the <h1> tags using Ansible filters. Which of the following tasks correctly extracts the content of the <h1> element?

Exhibit

Refer to the exhibit.

```
- name: Check Apache status
  hosts: webservers
  tasks:
    - name: Get URL content
      uri:
        url: http://localhost/server-status
        return_content: yes
      register: result

    - name: Debug output
      debug:
        var: result
```

Output:
```
ok: [web01] => {
    "result": {
        "changed": false,
        "content": "<html><body><h1>Apache Status</h1>...</body></html>",
        "status": 200,
        "url": "http://localhost/server-status"
    }
}
```
Question 14hardmultiple choice
Read the full Ansible explanation →

A user runs the commands shown in the exhibit. The execution environment (EE) builds successfully but the playbook run fails with the error. What is the most likely cause?

Network Topology
ANSIBLE_GALAXY_CLI_COLLECTION_OPTS: "pre"$ ansible-navigator run playbook.ymleei my-ee:latestpp neverce path/to/collectionsRefer to the exhibit.$ ansible-builder build -f execution-environment.ymlversion: 1build_arg_defaults:ansible_config: ansible.cfg...$ cat ansible.cfg[defaults]collections_path = ./collections$ ls collections/ansible_collections/community.general/
Question 15hardmultiple choice
Read the full Ansible explanation →

A DevOps engineer is troubleshooting an Ansible Automation Platform deployment where ansible-navigator fails to run a playbook, showing the error 'Error: Unable to pull execution environment image'. The ansible-navigator configuration file is shown in the exhibit. Which change should the engineer make to resolve the issue?

Exhibit

Refer to the exhibit.

[root@controller ~]# cat /etc/ansible-automation-platform/ansible-navigator.yml
---
ansible-navigator:
  execution-environment:
    image: registry.internal.example.com/ee-supported:latest
    pull:
      policy: missing
  playbook-artifact:
    enable: false
  logging:
    level: debug
  mode: stdout
  set-environment:
    ANSIBLE_INVENTORY: /opt/inventory/hosts
    ANSIBLE_ROLES_PATH: /opt/roles

These EX294 practice questions are part of Courseiva's free Red Hat certification practice question bank. Courseiva provides original exam-style EX294 questions with detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics.