EX294 Sample Questions

EX294 Sample Questions & Answers

Most of the questions target Ansible's core components tied with writing plays and playbooks, plus RHCSA foundation skills, automating standard tasks, running playbooks with ansible-navigator, Git integration through VS Code, and configuring managed nodes.

Launch the full EX294 simulator →

Free EX294 Sample Questions with Answers

Real questions from the Red Hat Certified Engineer (RHCE) exam practice test — answers and explanations included. Showing 6 of 12 free samples.

  1. Question 1Intermediate

    RHCSA Foundation Skills · Manage security

    True or False: When using the ansible.posix.firewalld module to open a port, specifying permanent: yes creates a persistent rule but does not immediately apply it to the running configuration unless immediate: yes is also specified.

    Show answer & explanation

    Correct answer: A

    This is true. The permanent: yes option modifies the on-disk configuration. To affect the runtime state without a reload, immediate: yes must be used.

  2. Question 2Beginner

    RHCSA Foundation Skills · Manage users and groups

    You need to create a user 'deployer' with a specific User ID (UID) of 2005 and ensure they are added to the 'wheel' group for administrative access. Which task definition achieves this?

    Show answer & explanation

    Correct answer: A

    This task uses the correct uid parameter and adds the user to the 'wheel' group. append: yes is best practice to avoid removing the user from other groups.

  3. Question 3Beginner

    Visual Studio Code and Git Integration · Create playbooks and push them to a GIT repository

    You are using Visual Studio Code to develop Ansible playbooks. You have made changes to site.yml and need to commit these changes to your local Git repository. Using the VS Code interface or terminal, what is the correct sequence of Git operations?

    Show answer & explanation

    Correct answer: B

    In Git, you must first stage the modified files (git add), then commit them to the local history (git commit), and finally push them to the remote repository (git push). VS Code follows this same logical flow in its Source Control panel.

  4. Question 4Intermediate

    Visual Studio Code and Git Integration · Configure ansible-navigator

    You are configuring the Ansible VS Code extension to run playbooks within a containerized environment. Which configuration file in your project root tells the extension and ansible-navigator which Execution Environment image to use?

    Show answer & explanation

    Correct answer: B

    ansible-navigator.yml is the configuration file where you define the execution-environment settings, including the image name and pull-policy. VS Code's Ansible extension can utilize these settings.

  5. Question 5Advanced

    Visual Studio Code and Git Integration · Clone a GIT repository

    Scenario: You are working on a shared project in VS Code. You attempt to push your committed changes to the remote repository, but the push fails with a message indicating that the remote contains work that you do not have locally. What is the correct workflow to resolve this in VS Code?

    Show answer & explanation

    Correct answer: C

    This is the standard Git reconciliation workflow. You must integrate remote changes (Pull) before you can append your new commits (Push). VS Code provides a 'Sync Changes' button that handles this sequence.

  6. Question 6BeginnerSelect 2

    Visual Studio Code and Git Integration · Run playbooks using an Ansible development container

    Which of the following are benefits of using the official Red Hat Ansible extension in Visual Studio Code? (Select TWO)

    Show answer & explanation

    Correct answers: A, C

    Syntax highlighting and real-time validation (linting) are core features.

    The extension integrates with ansible-navigator to run playbooks from the command palette or context menu.

Ready for the real thing?

The full EX294 simulator has every exam-style question, timed mode, and instant scoring.

Go to the EX294 simulator →