Free EX374 sample questions

Real questions from the Red Hat Certified Specialist In Developing Automation With Ansible Automation Pl practice bank, with the correct answer and an explanation for each one. No junk, no filler.

Try them in the simulator Same questions, with study, timed and flashcard modes.

Showing 6 of 12 free sample questions.

Question 1Choose one

You are building a custom Execution Environment (EE) using `ansible-builder` version 3. You have a requirement to install a specific binary package, `libxml2-dev`, at the operating system level, and a Python library, `lxml`, via pip. Which file should you create to define the OS-level dependencies, and how is it referenced in the `execution-environment.yml`?

Question 2Choose one

A developer is writing a playbook that needs to push a configuration file to a remote server. However, the content of this file is generated by querying a local database on the control node. Which combination of task configuration is required to ensure the database query runs locally, but the file creation happens on the remote target?

Question 3Choose one

You are managing a dynamic inventory sourced from AWS with the `amazon.aws.aws_ec2` plugin. You need to group instances by the value of their custom tag `Environment`, so that an instance tagged `Environment: prod` is placed in a group named `env_prod`. Which configuration in your `aws_ec2.yml` plugin file achieves this?

Question 4Choose one

You are reviewing a playbook that uses the `ansible.builtin.git` module. You notice the `update` parameter is set to `no`. What is the specific effect of this configuration when the playbook runs multiple times?

Question 5Choose one

A system administrator needs to process a list of dictionaries containing network interface data. Data structure: ```json [ {"name": "eth0", "active": true, "speed": 1000}, {"name": "eth1", "active": false, "speed": 1000}, {"name": "eth2", "active": true, "speed": 100} ] ``` The goal is to extract ONLY the names of interfaces that are `active` and have a `speed` greater than 500. Which Jinja2 filter chain produces the correct list `['eth0']`?

Question 6Choose one

You have created a new Ansible Content Collection named `company.monitoring`. You need to build the collection artifact to upload it to your private Automation Hub. Which command should you execute in the root directory of the collection?

6 more free samples are waiting

Create a free account to unlock the whole EX374 sample bank, or get full access to all 120 practice questions in the simulator.

Create account