FreeQAs
 Request Exam  Contact
  • Home
  • View All Exams
  • New QA's
  • Upload
PRACTICE EXAMS:
  • Oracle
  • Fortinet
  • Juniper
  • Microsoft
  • Cisco
  • Citrix
  • CompTIA
  • VMware
  • ISC
  • SAP
  • EMC
  • PMI
  • HP
  • Salesforce
  • Other
  • Oracle
    Oracle
  • Fortinet
    Fortinet
  • Juniper
    Juniper
  • Microsoft
    Microsoft
  • Cisco
    Cisco
  • Citrix
    Citrix
  • CompTIA
    CompTIA
  • VMware
    VMware
  • ISC
    ISC
  • SAP
    SAP
  • EMC
    EMC
  • PMI
    PMI
  • HP
    HP
  • Salesforce
    Salesforce
  1. Home
  2. RedHat Certification
  3. EX374 Exam
  4. RedHat.EX374.premium Dumps

Free RedHat EX374 Exam Dumps Questions & Answers

Exam Code/Number:EX374Join the discussion
Exam Name:Red Hat Certified Specialist in Developing Automation with Ansible Automation Platform
Certification:RedHat
Question Number:300
Publish Date:Nov 12, 2026
Rating
100%
Page: 1 / 60
Total 300 questions
Captcha image

Question 1

Create a playbook to retrieve the last element of a list using a filter.

Correct Answer:
- name: Get last element hosts: localhost
vars:
items: [1, 2, 3, 4, 5] tasks:
- name: Display last element debug:
var: "{{ items | last }}"
Explanation:
The last filter extracts the last item from a list, simplifying operations on sequential data structures.

Question 2

Create a simple playbook to verify the webserver role within your collection.

Correct Answer:
# test_playbook.yml
- name: Test webserver role hosts: localhost
roles:
- my_namespace.my_collection.roles.webserver
Explanation:
Playbooks referencing collection roles validate their functionality, ensuring roles are correctly structured and accessible.

Question 3

View the status of your local repository to determine untracked files and staged changes.

Correct Answer:
git status
Explanation:
git status shows the current state of the working directory and staging area, helping track changes.

Question 4

Run a command on the control node but store the result in the context of a managed host.

Correct Answer:
- name: Store control node result hosts: web1
tasks:
- name: Get disk usage on control node
command: df -h
delegate_to: localhost
register: disk_usage
- name: Show disk usage debug:
var: disk_usage
Explanation:
This task demonstrates delegating commands to the control node while retaining results within the managed host's context.

Question 5

Assign multiple credentials to a job template.

Correct Answer:
1. Open the job template.
2. Under Credentials, add:
o Machine credentials for host access.
o Source control credentials for pulling playbooks.
3. Save the template and run.
Explanation:
Assigning multiple credentials allows playbooks to access multiple resources, such as repositories and managed hosts.

Add Comments

Your email address will not be published. Required fields are marked *

insert code
Type the characters from the picture.
Rating:
[×]

Download PDF File

Enter your email address to download RedHat.EX374.premium Dumps

Email:

FreeQAs

Our website provides the Largest and the most Latest vendors Certification Exam materials around the world.

Using dumps we provide to Pass the Exam, we has the Valid Dumps with passing guranteed just which you need.

  • DMCA
  • About
  • Contact Us
  • Privacy Policy
  • Terms & Conditions
©2026 FreeQAs

www.freeqas.com materials do not contain actual questions and answers from Cisco's certification exams.