- Home
- RedHat Certification
- EX374 Exam
- RedHat.EX374.dumpsfiles 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 30, 2026 |
|
Rating
100%
|
|
Page: 1 / 60
Total 300 questions
Total 300 questions
Create a CHANGELOG.md file to track changes in your collection versions.
Correct Answer:
echo "# Changelog
## 1.0.0
- Initial release" > my_namespace/my_collection/CHANGELOG.md
Explanation:
Maintaining a changelog provides transparency and version history for users of the collection.
## 1.0.0
- Initial release" > my_namespace/my_collection/CHANGELOG.md
Explanation:
Maintaining a changelog provides transparency and version history for users of the collection.
Remove unused EEs from the control node to free up space.
Correct Answer:
podman image prune
Explanation:
Pruning unused images removes old or redundant EEs, optimizing storage and resource usage.
Explanation:
Pruning unused images removes old or redundant EEs, optimizing storage and resource usage.
Configure a private registry in Automation Controller to fetch EEs.
Correct Answer:
1. Navigate to Settings > Registries in the Automation Controller.
2. Add a new registry:
o Name: Private Registry
o URL: registry.example.com
o Authentication: Provide credentials.
3. Save the configuration and test connectivity.
Explanation:
Adding a private registry allows Automation Controller to securely fetch and use custom EEs.
2. Add a new registry:
o Name: Private Registry
o URL: registry.example.com
o Authentication: Provide credentials.
3. Save the configuration and test connectivity.
Explanation:
Adding a private registry allows Automation Controller to securely fetch and use custom EEs.
Sync dynamic inventory with Automation Controller.
Correct Answer:
1. Go to Inventories in Automation Controller.
2. Add a new inventory and set the source as Custom Script.
3. Upload the dynamic inventory script.
Explanation:
Syncing dynamic inventories with Automation Controller ensures up-to-date host management for jobs.
2. Add a new inventory and set the source as Custom Script.
3. Upload the dynamic inventory script.
Explanation:
Syncing dynamic inventories with Automation Controller ensures up-to-date host management for jobs.
Create a playbook to count the number of elements in a list.
Correct Answer:
- name: Count elements hosts: localhost
vars:
items: [1, 2, 3, 4] tasks:
- name: Display count debug:
var: "{{ items | length }}"
Explanation:
The length filter counts the number of elements in a list, dictionary, or string.
vars:
items: [1, 2, 3, 4] tasks:
- name: Display count debug:
var: "{{ items | length }}"
Explanation:
The length filter counts the number of elements in a list, dictionary, or string.