ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 45 - NSE7_PBC-7.2 discussion

Report
Export

You are using Red Hat Ansible to change the FortiGate VM configuration.

What is the minimum number of files you must create and which file must you use to configure the target FortiGate IP address?

A.
Create two files and use the .yami file.
Answers
A.
Create two files and use the .yami file.
B.
Create two files and use the hosts file
Answers
B.
Create two files and use the hosts file
C.
Create one file and use the variable file
Answers
C.
Create one file and use the variable file
D.
Create three files and use the .yarai file.
Answers
D.
Create three files and use the .yarai file.
Suggested answer: B

Explanation:

In using Red Hat Ansible for changing the configuration of a FortiGate VM, the minimum number of files you must create and the file to configure the target FortiGate IP address are:

B) Create two files and use the hosts file.

Ansible Playbook File (YAML): The playbook file, which is typically a YAML file, contains the desired states and tasks that Ansible will execute on the target hosts.

Inventory File (Hosts): The inventory file, commonly named hosts, is where you define the target machines, including the FortiGate VM's IP address. Ansible uses this file to determine on which machines to run the playbook.

By creating these two files, you will have the necessary components to configure Ansible for the deployment. The playbook contains the automation tasks, and the hosts file lists the machines where those tasks will be executed.

asked 18/09/2024
Ahmad Mansour
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first