EX294 Practice Question: Create content collections and execution environments
Which TWO statements about Ansible content collections are correct?
⚠ Common exam trap
Red Hat often tests the requirement for a `galaxy.yml` file in the collection root, as candidates may mistakenly think it is optional or confuse it with other configuration files like `meta/main.yml`.
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
✓
Collections can be distributed via Automation Hub or Galaxy.
Ansible content collections can be distributed via either Red Hat Automation Hub (for certified collections) or Ansible Galaxy (for community collections). This dual distribution model allows organizations to use curated, supported content from Automation Hub while also leveraging community-contributed collections from Galaxy.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Collections can be installed only from Galaxy.
Why it's wrong here
They can be installed from Automation Hub, Galaxy, or even a local tarball.
- ✗
The collection name must be a single word without namespace.
Why it's wrong here
Collection names follow namespace.collection format.
- ✓
Collections can be distributed via Automation Hub or Galaxy.
Why this is correct
Both are valid distribution platforms for collections.
- ✗
A collection can contain only roles and playbooks.
Why it's wrong here
Collections can contain modules, plugins, roles, playbooks, etc.
- ✓
A collection must have a galaxy.yml file in its root directory.
Why this is correct
galaxy.yml is required for metadata.
Go deeper
Related to this question
About these practice questions
One of 520 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 →
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.