Free EX407: Red Hat Certified Specialist in Ansible Automation Exam Questions and Answers
Red Hat Certified Specialist in Ansible Automation exam is part of the Red Hat Certification Program. Red Hat exams are entirely hands-on: there are no multiple-choice questions at all. You are given live systems and real tasks, and you are graded on whether the systems end up working — for the Ansible exam the playbooks you write are re-run against freshly installed machines. Exam codes run EX plus three digits, and the matching training course carries the same digits behind RH.
Candidates comparing EX407 exam dumps, ExamTopics and other EX407 practice tests use this page for the answers and explanations behind each question. Download the free EX407 PDF, then sit the timed EX407 exam simulation before booking with RedHat.
Last updated: October 3, 2026
- Provider
- RedHat
- Questions in our bank
- 1000+
- Free to read
- First 10, with answers
- Official page
- Official Exam website
- Our test mode duration & pass mark
- 130 mins · 70%
- Verified answers
- Reviewed weekly
Recommended: Switch to Test Mode to start a practice test that simulates the real exam experience.
Question #3
=================================================================================== control.realmX.example.com _ workstation.lab.example.com node1.realmX.example.com _ servera.lab.example.com node2.realmX.example.com _ serverb.lab.example.com node3.realmX.example.com _ serverc.lab.example.com node4.realmX.example.com _ serverd.lab.example.com node5.realmX.example.com - username:root, password:redhat - username:admin, password:redhat note1. don't change "root" or "admin" password. note2. no need to create ssh-keygen for access, its pre-defined note3. SELinux is in enforcing mode and firewalld is disabled/stop on whole managed hosts. =================================================================================== Create a playbook called hwreport.yml that produces an output file called /root/hwreport.txt on all managed nodes with the following information: ------------------------------------------------------------------------------------------------------ --> Inventory host name --> Total memory in MB --> BIOS version --> Size of disk device vda --> Size of disk device vdb Each line of the output file contains a single key-value pair. * Your playbook should: --> Download the file hwreport.empty from the URL http://classroom.example.com/hwreport.empty and save it as /root/hwreport.txt --> Modify with the correct values. note: If a hardware item does not exist, the associated value should be set to NONE ---------------------------------------------------------------------------------------------- while practising you to create these file hear. But in exam have to download as per questation. hwreport.txt file consists. my_sys=hostname my_BIOS=biosversion my_MEMORY=memory my_vda=vdasize my_vdb=vdbsize
Type your answer, then reveal.
Correct answer: A
Explanation
Solution as: # pwd /home/admin/ansible # vim hwreport.yml - name: hosts: all ignore_errors: yes tasks: - name: download file get_url: url: http://classroom.example.com/content/ex407/hwreport.empty dest: /root/hwreport.txt - name: vdasize replace: regexp: "vdasize" replace: "{{ ansible_facts.devices.vda.size }}" dest: /root/hwreport.txt register: op1 - debug: var: op1 - name: none replace: regexp: "vdasize" replace: NONE dest: /root/hwreport.txt when: op1.failed == true - name: vdbsize replace: regexp: "vdbsize" replace: "{{ ansible_facts.devices.vdb.size }}" dest: /root/hwreport.txt register: op2 - debug: var: op2 - name: none replace: regexp: "vdbsize" replace: NONE dest: /root/hwreport.txt when: op2.failed == true - name: sysinfo replace: regexp: "{{item.src}}" replace: "{{item.dest}}" dest: /root/hwreport.txt loop: - src: "hostname" dest: "{{ ansible_facts.fqdn }}" - src: "biosversion" dest: "{{ ansible_facts.bios_version }}" - src: "memory" dest: "{{ ansible_facts.memtotal_mb }}" wq! # ansible-playbook hwreport.yml -–syntax-check # ansible-playbook hwreport.yml
Continue with EX407: Red Hat Certified Specialist in Ansible Automation exam
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in EX407: Red Hat Certified Specialist in Ansible Automation exam, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Discussion
Explain your reasoning, not just the letterBrowse the free questions by topic
More EX407 questions
- Question 1=================================================================================== control.realmX.example.com _…
- Question 2Using the Simulation Program, perform the following tasks: * 1. Use an ansible ad-hoc command, check the connectivity…
- Question 4Using the Simulation Program, perform the following tasks: Static Inventories Task: * 1. Add a new group to your…
- Question 5=================================================================================== control.realmX.example.com _…
- Question 6=================================================================================== control.realmX.example.com _…
All EX407: Red Hat Certified Specialist in Ansible Automation practice questions →
Other RedHat certifications
- EX200: Red Hat Certified System Administrator (RHCSA) (opens in a new tab)
- EX300: Red Hat Certified Engineer (RHCE) (opens in a new tab)
- Red Hat Certified Specialist in OpenShift Data Foundation (opens in a new tab)
- Red Hat Certified Specialist in Messaging Administration (opens in a new tab)
- Red Hat Certified Specialist in Ceph Cloud Storage (opens in a new tab)
- Red Hat Certified Specialist in MultiCluster Management (opens in a new tab)
Reviews
Write a review★★★★★
Exam Practice is worth every penny. The mock exams are realistic, and the feedback helped me focus on key areas.
Amit SharmaVerified buyer
★★★★★
I highly recommend Exam Practice. The feedback after each test helped me improve significantly, and I passed my exams easily.
Oscar NyströmVerified buyer
★★★★★
This platform is a lifesaver. The practice questions and explanations are so detailed. It’s the best study tool I’ve ever used.
Hannah SmithVerified buyer
FAQ
Learn More: https://www.redhat.com/en/services/certifications
- Q1: What is the EX407: Red Hat Certified Specialist in Ansible Automation exam exam?
- A: EX407: Red Hat Certified Specialist in Ansible Automation exam is a RedHat certification exam. Judging by the questions in our bank, it concentrates on ansible, redhat, playbook, password and sandy.
- Q2: What topics does the EX407: Red Hat Certified Specialist in Ansible Automation exam exam cover?
- A: Questions in our EX407: Red Hat Certified Specialist in Ansible Automation exam bank cluster around ansible, redhat, playbook, password, sandy, hosts, control.realmx.example.com and workstation.lab.example.com. Working through the full set is the quickest way to find which of these you are weakest on.
- Q3: How should I prepare for EX407: Red Hat Certified Specialist in Ansible Automation exam?
- A: Work through the EX407: Red Hat Certified Specialist in Ansible Automation exam practice questions here, checking your answer on each one, then sit the practice test to rehearse the exam under timed conditions before the real thing.
- Q4: Are these real EX407: Red Hat Certified Specialist in Ansible Automation exam exam questions?
- A: They are drawn from officially released past questions and from community members who have sat EX407: Red Hat Certified Specialist in Ansible Automation exam. Answers are verified and updated weekly.
- Q5: Where do I register for the EX407: Red Hat Certified Specialist in Ansible Automation exam exam?
- A: Register through RedHat directly at https://www.redhat.com/en/services/certifications. Exampractice is not affiliated with RedHat and does not administer the exam.
- Q6: Is there a free EX407: Red Hat Certified Specialist in Ansible Automation exam sample?
- A: Yes. Every EX407: Red Hat Certified Specialist in Ansible Automation exam page shows a free sample of real questions. Upgrading opens the full bank and the practice test.
- Q7: What are Red Hat Certification Exams?
- A: Red Hat Certification Exams validate your expertise in using and managing Red Hat's open-source software and Linux-based solutions. These certifications demonstrate your proficiency in deploying, configuring, and optimizing Red Hat technologies to support enterprise IT infrastructure.
- Q8: Why should I pursue Red Hat Certification?
- A: Red Hat Certification enhances your professional credibility, showcasing your skills and knowledge in Linux and open-source solutions. This can lead to better job opportunities, higher salaries, and career advancement in IT, system administration, and DevOps roles.
- Q9: What are the benefits of Red Hat Certification?
- A: Benefits include recognition as a certified Red Hat professional, improved job performance, access to exclusive resources, continuing education opportunities, and staying current with the latest Red Hat technologies and best practices.
- Q10: Who should take Red Hat Certification Exams?
- A: System administrators, developers, IT professionals, and anyone involved in managing and implementing Red Hat solutions should consider these certifications to validate their expertise and advance their careers.
- Q11: What types of Red Hat Certification Exams are available?
- A: Red Hat offers various certification paths, including:
- Q12: How do I prepare for Red Hat Certification Exams?
- A: Preparation can include official Red Hat training courses, study guides, practice exams, online tutorials, and hands-on experience with Red Hat products and solutions.
- Q13: Where can I take Red Hat Certification Exams?
- A: Red Hat Certification Exams can be taken at authorized Red Hat testing centers worldwide or online with remote proctoring, providing flexibility to fit your schedule and location.
- Q14: How do Red Hat Certifications impact my career?
- A: Red Hat Certifications significantly boost your career by demonstrating your expertise to employers, making you a more competitive candidate for advanced roles and promotions in IT, system administration, and DevOps.
- Q15: Are there any prerequisites for Red Hat Certification Exams?
- A: Some exams may have prerequisites, such as foundational knowledge or prior experience with Red Hat products. Check the specific requirements for each certification path on the Red Hat certification website.
- Q16: How often do I need to recertify for Red Hat Certifications?
- A: Red Hat Certifications typically require recertification every three years to ensure that certified professionals stay updated with the latest technologies and industry practices.



