EX457 Exam Preparation Material | Red Hat Certified Specialist in Ansible Network Automation exam

Prepare for the EX457 with reliable study materials, practice questions, and key exam insights.

Prepare for the EX457 Red Hat Certified Specialist in Ansible Network Automation exam with CertQueen's independently developed study resources. Review important concepts, practice scenario-based questions, and use clear explanations to identify areas that require further study.

Question#1

An automation engineer is setting up a complete workflow in Automation Controller. The process requires cloning playbooks from a private Git repository via SSH and then running those playbooks on a group of network devices that require a username and password.
Which two distinct credential types must be created to support this entire workflow?

A. One "Vault" credential for the Git SSH key and one "Machine" credential for the network devices.
B. A single "Machine" credential with both the Git SSH key and the device username/password.
C. One "Source Control" credential for the Git repository and one "Machine" credential for the network devices.
D. Two separate "Machine" credentials, one for Git and one for the network devices.

Question#2

A playbook task registers the following variable, `service_data`, which contains a dictionary of network services and their states.
"service_data": {
"ntp": {
"state": "enabled",
"server": "1.1.1.1"
},
"dns": {
"state": "disabled",
"server": "8.8.8.8"
},
"snmp": {
"state": "enabled",
"community": "public"
}
}
An administrator wants to create a simple list containing only the names of the services that are "enabled".
Which Jinja2 expression will accomplish this?

A. `{{ service_data | dict2items | selectattr('value.state', 'equalto', 'enabled') | map(attribute='key') | list }}`
B. `{{ service_data | selectattr('state', 'enabled') }}`
C. `{{ service_data | to_json | search('enabled') }}`
D. `{{ service_data | items2dict | map('enabled') }}`

Question#3

A team follows the Git-flow workflow, where all feature development happens in `feature/*` branches, which are then merged into a `develop` branch for integration testing. Only after the `develop` branch passes all tests is it merged into the `main` branch for production releases.
An administrator needs to model this workflow in Automation Controller. They want to ensure that an update and deployment of the `main` branch can only be triggered after the `develop` branch's project sync has succeeded.
Which Automation Controller feature is best suited to implement this conditional, multi-step Git and deployment process?

A. Create a Workflow Template containing two Projects: one tracking the `develop` branch and another tracking the `main` branch. Set up a conditional workflow link between them.
B. Create one Project and configure it with two different Source Control Credentials, one for the `develop` branch and one for the `main` branch.
C. In a single Job Template, use the `ansible.builtin.command` module to sequentially run `git pull origin develop` and `git pull origin main`.
D. Create two separate Job Templates, one for deploying the `develop` branch and another for the `main` branch, and instruct users to run them manually in order.

Question#4

An automation engineer needs to start working with an Ansible project that is managed in a central Git repository. This is their first time working with this project on their local control node.
Which Git command is the essential first step to create a local working copy of the remote repository?

A. `git commit`
B. `git clone <repository_url>`
C. `git pull`
D. `git init`

Question#5

A playbook task needs to provide a default value for a variable if it is not defined in the inventory. The task should configure an NTP server using the `ntp_peer` variable, but if `ntp_peer` is not defined for a host, it should use the IP address `10.1.1.254`.
Which Jinja2 expression correctly implements this logic?

A. `{{ ntp_peer or 10.1.1.254 }}`
B. `{{ ntp_peer ? '10.1.1.254' }}`
C. `{{ ntp_peer | default('10.1.1.254') }}`
D. `{{ ntp_peer if ntp_peer is defined else '10.1.1.254' }}`

Exam Code: EX457
Q & A: 45 Q&As         Updated:  Oct 07,2026

 

 Access Complete EX457 Preparation Material

What This EX457 Study Resource Helps You Do

Review Key Concepts

Review the technologies, products, processes, and practical skills covered by the current EX457 exam objectives.

Practice Scenario-Based Questions

Work through independently developed questions designed to strengthen your understanding of technical scenarios and decision-making.

Identify Knowledge Gaps

Use your results and the provided explanations to find weaker areas and focus your study more effectively.

How to Use This EX457 Preparation Material

Review the Exam Scope

Start by reviewing the topics covered by the EX457 exam. Compare them with the official exam objectives to understand the required technologies, operational tasks, and practical skills, then identify the areas that deserve the most attention.

Practice Independently

Complete a focused set of practice questions for each topic. On your first attempt, avoid referring to notes, answers, or other study resources so that you can evaluate your current understanding more accurately.

Study the Explanations

Review the answers and explanations after completing each practice session. Understand why the correct option is appropriate for the given scenario and why the other options may be incorrect or less suitable.

Close Knowledge Gaps

Keep track of incorrect answers, unfamiliar concepts, and weaker knowledge areas. Review these topics using official documentation and practical experience, then answer the related questions again to reinforce your understanding and monitor your progress.

Independent EX457 Preparation Resource

CertQueen independently develops its certification study materials for educational purposes. The practice questions are not copied from, recalled from, or presented as live or official exam questions.

CertQueen is not affiliated with, endorsed by, sponsored by, or authorized by any certification provider. Certification names, exam codes, product names, and related trademarks are the property of their respective owners and are referenced only for identification and educational purposes.