Question 89 of 100 from exam 350-901-DEVCOR: Developing Applications Using Cisco Core Platforms and APIs

Question 89 of 100 from exam 350-901-DEVCOR: Developing Applications Using Cisco Core Platforms and APIs

Question

= name: Configure Interfaces

with_items: “{{interfaces}}”
netconf_config:

<<: *host_info

xml: |

<config>
<interfaces xmlns="urn: ietf:params:xml:ns:yang: ietf£-interefaces’>
<interface>

<name>{ {item.interface_type}}{{item.interface_id}}</name>
<description>{ {item.description} }</description>
<type xmlns:ianaift="urn: ietf:params: xml :ns:yang: iana~if-type”>ianaift :ethernetCsmacd</type>

<enabled>true</enabled>
<ipv4 xmlns=""urn: ietf:params:xml :ns:yang:ietf-ip”>
<address>
<ip>{{item.ip address} }</ip>
<netmask>{ {item.subnet_mask}}</netmask>
</address>
</ipv4>
</interface>
</interfaces>
</config>

Refer to the exhibit.

As part of the Ansible playbook workflow, several new interfaces are being configured using the netconf_config module.

The task references the interface variables that are unique per device.

In which directory is the YAML file with these variables found?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A.