EX294 Practice Question: Create content collections and execution environments
This EX294 practice question tests your understanding of create content collections and execution environments. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
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
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?
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Ansible will automatically find the collection in the default search path.
Option D is correct because Ansible automatically searches for collections in the default search path, which includes the collections directory adjacent to the playbook. Since the playbook is located in /home/user/projects, Ansible will look in /home/user/projects/collections/ansible_collections/myorg/mycollection, among other default paths, without requiring any environment variable or manual configuration.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
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 user must set the ANSIBLE_COLLECTIONS_PATH environment variable.
Why it's wrong here
The default path includes the user's home directory, so no change needed.
✗
The collection is not installed, so the playbook will fail.
Why it's wrong here
The collection is installed under /home/user/.ansible/collections.
✗
Ansible will look only in /usr/share/ansible/collections.
Why it's wrong here
Ansible searches multiple default paths.
✓
Ansible will automatically find the collection in the default search path.
Why this is correct
Ansible searches ~/.ansible/collections by default.
Related concept
Read the scenario before looking for a memorised answer.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often assume a collection must be installed system-wide or require an environment variable, but Ansible's default search path automatically includes the playbook-adjacent collections directory, making local collection discovery seamless.
Detailed technical explanation
How to think about this question
Ansible's collection discovery follows a defined order: first the collections directory relative to the playbook (e.g., ./collections/ansible_collections/), then the user-level path (~/.ansible/collections/), and finally the system-level path (/usr/share/ansible/collections/). This allows playbooks to bundle collections locally without system-wide installation, which is especially useful in CI/CD pipelines or when using execution environments where the playbook directory is mounted.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A small business has 20 workstations on the 192.168.1.0/24 network and one public IP from its ISP. The router uses PAT (NAT overload) so all 20 devices share one public address using different source ports. NAT questions test whether you understand the four address terms and which direction each translation applies.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Create content collections and execution environments — This question tests Create content collections and execution environments — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Ansible will automatically find the collection in the default search path. — Option D is correct because Ansible automatically searches for collections in the default search path, which includes the collections directory adjacent to the playbook. Since the playbook is located in /home/user/projects, Ansible will look in /home/user/projects/collections/ansible_collections/myorg/mycollection, among other default paths, without requiring any environment variable or manual configuration.
What should I do if I get this EX294 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.