EX294 · topic practice

Create content collections and execution environments practice questions

Practise Red Hat Certified Engineer EX294 Create content collections and execution environments practice questions — original exam-style scenarios with answer choices, explanations, and analysis of common mistakes.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Reviewed byJohnson Ajibi· MSc IT Security
20 questionsDomain: Create content collections and execution environments

What the exam tests

What to know about Create content collections and execution environments

Create content collections and execution environments questions test whether you can apply the concept in context, not just recognise a definition.

How the topic appears in realistic exam-style scenarios.

Which detail in the question changes the correct answer.

How to eliminate plausible but wrong options.

How to connect the question back to the wider exam objective.

Watch out for

Common Create content collections and execution environments exam traps

  • Answering from memory before reading the full scenario.
  • Missing a constraint such as cost, availability, security, scope or command context.
  • Choosing a broad answer when the question asks for the most specific fix.
  • Ignoring why the wrong options are tempting.

Practice set

Create content collections and execution environments questions

20 questions · select your answer, then reveal the explanation

Question 1hardmultiple choice
Read the full Ansible explanation →

An automation team is designing a content collection to distribute internal Ansible modules across the organization. The collection should be installed from a private Galaxy server. To minimize namespace conflicts and ensure discoverability, which naming convention should be used for the collection?

Question 2mediummultiple choice
Read the full Ansible explanation →

When building an execution environment with ansible-builder, a developer notices that the build process fails with an error about missing dependencies. The developer wants to ensure all required Python packages are installed in the execution environment. Which file should be used to specify additional Python packages?

Question 3easymultiple choice
Read the full Ansible explanation →

A system administrator wants to publish a custom Ansible collection to a private Automation Hub. What is the correct command to build the collection before publishing?

Question 4mediummultiple choice
Read the full Ansible explanation →

An organization uses custom Ansible plugins stored in a collection. A junior admin reports that after updating the collection to version 2.0.0, a playbook that uses a custom filter plugin fails with 'undefined filter'. What is the most likely cause?

Question 5hardmultiple choice
Read the full Ansible explanation →

A DevOps engineer is creating an execution environment for a team that needs both Ansible and the 'requests' Python library. The engineer creates an execution environment definition file (EE.yml) with the following content: --- version: 3 images: base_image: name: registry.redhat.io/ansible-automation-platform-22/ee-minimal-rhel8:latest options: package_manager_path: /usr/bin/microdnf dependencies: python: requirements.txt system: bindep.txt

What is missing from this definition to ensure the 'requests' library is installed?

Question 6hardmulti select
Read the full Ansible explanation →

Which TWO statements about Ansible content collections are correct?

Question 7mediummulti select
Read the full Ansible explanation →

Which THREE files are commonly used when building an execution environment with ansible-builder?

Question 8easymultiple choice
Read the full Ansible explanation →

A user wants to run a playbook that uses a module from 'myorg.mycollection'. The playbook is located in /home/user/projects. Which of the following is true about the collection discovery?

Exhibit

Refer to the exhibit.

$ ansible-galaxy collection list

# /home/user/.ansible/collections/ansible_collections
Collection                       Version
-------------------------------- -------
community.general                5.0.0
myorg.mycollection               1.2.3

# /usr/share/ansible/collections/ansible_collections
Collection                       Version
-------------------------------- -------
redhat.insights                  1.0.0

What is the most likely cause of the build failure?

Exhibit

Refer to the exhibit.

$ cat execution-environment.yml
---
version: 3
images:
  base_image:
    name: registry.redhat.io/ansible-automation-platform-22/ee-minimal-rhel8:latest
options:
  package_manager_path: /usr/bin/microdnf
dependencies:
  galaxy: requirements.yml
  python: requirements.txt
  system: bindep.txt

$ cat requirements.txt
ansible
requests

$ cat bindep.txt
python3-devel [platform:rpm]
gcc [platform:rpm]

$ ansible-builder build -f execution-environment.yml

Build fails with: 'Error: No matching package to install: python3-devel'.
Question 10hardmultiple choice
Read the full Ansible explanation →

You are an automation engineer at a large enterprise. The company uses Ansible Automation Platform 2.x and has a private Automation Hub server. The security team mandates that all execution environments must be built from a hardened base image that has been approved by the security team. The base image is stored in a private container registry at registry.internal.company.com/hardened-ee:latest. You need to create an execution environment that includes a custom collection 'company.tools' which is hosted on the private Automation Hub. Additionally, the execution environment must include the Python library 'cryptography' version 3.4.8. You have created the following files:

execution-environment.yml: --- version: 3 images: base_image: name: registry.internal.company.com/hardened-ee:latest options: package_manager_path: /usr/bin/microdnf dependencies: galaxy: requirements.yml python: requirements.txt

requirements.yml: --- collections: - name: company.tools source: https://automationhub.company.com/api/galaxy/content/private/

requirements.txt:

cryptography==3.4.8

When you run 'ansible-builder build -f execution-environment.yml', the build fails with an error: 'Error: Failed to resolve dependency cryptography==3.4.8'. Based on this scenario, what is the most likely cause of the failure?

Question 11easymultiple choice
Read the full Ansible explanation →

An admin wants to build an execution environment using ansible-builder. Which file is required to define the base image and additional Python dependencies?

Question 12hardmultiple choice
Read the full Ansible explanation →

A team develops an Ansible collection and wants to distribute it internally. They have a private Automation Hub. Which approach best ensures that collection dependencies from external sources are also available?

Question 13mediummulti select
Read the full Ansible explanation →

Which TWO statements are true about Ansible content collections?

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 15mediummultiple choice
Read the full Ansible explanation →

Your organization uses Ansible Automation Platform 2.2 with private Automation Hub. You have developed a custom collection named 'my_company.network' that depends on 'cisco.ios' and 'vyos.vyos'. The collection is published in your private hub. You are building an execution environment using ansible-builder. The execution-environment.yml specifies 'EE_BASE_IMAGE: registry.redhat.io/ansible-automation-platform-22/ee-supported-rhel8:latest'. The dependencies section points to a requirements.yml file that includes your collection. When you run 'ansible-builder build', the build succeeds, but when running a playbook that uses modules from 'cisco.ios', you get an error 'module not found'. What is the most likely reason and the correct action to resolve it?

Question 16mediummulti select
Read the full Ansible explanation →

Which TWO statements about Ansible Execution Environments (EE) are true?

Question 17hardmultiple 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 18easymultiple choice
Read the full Ansible explanation →

You are a Red Hat Certified Engineer tasked with creating a content collection for your organization. The collection will contain roles and modules used by multiple teams. The requirements are: (1) The collection must follow the Ansible community structure. (2) It must include a module that manages network devices. (3) The collection must be versioned and published to Automation Hub. (4) You must provide a minimal working example for other developers. After initial development, you run 'ansible-galaxy collection build' and it fails with 'ERROR! Unknown file type in collection: .gitkeep'. The collection directory contains:

- galaxy.yml - plugins/modules/network_config.py - roles/network/ - tests/ - .gitkeep (in tests/)

What single action should you take to resolve the build error?

Drag and drop the steps to configure SELinux to allow Apache to read a custom web directory in the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

Match each firewall zone to its default behavior.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Default zone, untrusted network

Private network, slightly trusted

Demilitarized zone, limited access

All traffic accepted

All incoming packets dropped

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Create content collections and execution environments sessions

Start a Create content collections and execution environments only practice session

Every question in these sessions is drawn from the Create content collections and execution environments domain — nothing else.

Related practice questions

Related EX294 topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the EX294 exam test about Create content collections and execution environments?
Create content collections and execution environments questions test whether you can apply the concept in context, not just recognise a definition.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Create content collections and execution environments questions in a focused session?
Yes — the session launcher on this page draws every question from the Create content collections and execution environments domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other EX294 topics?
Use the topic links above to move to related areas, or go back to the EX294 question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the EX294 exam covers. They are not copied from any real exam or dump site.