Courseiva

EX294 Practice Question: Create content collections and execution environments

Exhibit

Error: Unable to find a matching container image for execution environment 'ee-30'. 
Check that the execution environment is defined in the local container registry.

Refer to the exhibit. A user runs ansible-runner with --container-image localhost/ee-30:latest and receives the error shown. What is the most likely cause?

⚠ Common exam trap

Red Hat often tests the distinction between local image availability and network access, leading candidates to incorrectly assume that ansible-runner automatically pulls missing images when it does not by default.

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 container image has not been pulled or built locally.

The error indicates that the container image `localhost/ee-30:latest` is not available locally. The `--container-image` flag tells ansible-runner to use a specific execution environment image, but if that image has not been pulled from a registry or built locally, the container runtime (e.g., Podman or Docker) cannot find it. Option D is correct because the image must exist in the local container storage before ansible-runner can launch it.

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 container image tag is incorrect.

    Why it's wrong here

    The tag matches the image the user built and pushed, so a mistyped tag is unlikely to be the cause; the error typically reports a missing or unreadable image, not a tag mismatch. Tag errors occur when the referenced tag was never built or pushed to the local registry.

  • ✗

    The ansible-runner process does not have network access.

    Why it's wrong here

    The error stems from the container image not being present locally and the runner failing to pull it, not from network access. Network access matters when the image must be fetched from a remote registry, but here the localhost/ prefix denotes a locally built image that must already exist in the local container storage.

  • ✗

    The execution environment is not listed in the project's execution-environment.yml.

    Why it's wrong here

    ansible-runner's --container-image flag supplies the image directly on the command line, so the project's execution-environment.yml is not consulted for this invocation. That file matters when using ansible-navigator or defining project defaults, not when the image is passed explicitly.

  • ✓

    The container image has not been pulled or built locally.

    Why this is correct

    ansible-runner does not pull images automatically. With --container-image localhost/ee-30:latest, the image must already exist in the local container storage; if it was never pulled or built, the runtime cannot resolve the reference and fails immediately.

About these practice questions

This EX294 question is part of Courseiva's 392-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.