nerdexam
Cisco

300-435 · Question #87

Refer to the exhibit. Which interface is included in the payload resulting from the script?

The correct answer is C. ethernet 1/1. The script includes a specific filter or target in its RESTCONF request, resulting in a payload that exclusively contains data for the 'Ethernet1/1' interface.

Network Automation Foundation

Question

Refer to the exhibit. Which interface is included in the payload resulting from the script?

Options

  • Aethernet 1
  • Bethernet 100
  • Cethernet 1/1
  • Dethernet 0

How the community answered

(29 responses)
  • A
    7% (2)
  • C
    90% (26)
  • D
    3% (1)

Why each option

The script includes a specific filter or target in its RESTCONF request, resulting in a payload that exclusively contains data for the 'Ethernet1/1' interface.

Aethernet 1

The script does not specify or filter for an interface named "ethernet 1", so it would not be the sole interface in the payload.

Bethernet 100

The script does not specify or filter for an interface named "ethernet 100", thus it would not be included in the specific filtered payload.

Cethernet 1/1Correct

The script's RESTCONF GET request is constructed with a URI or a payload that specifically targets the interface named "Ethernet1/1", ensuring that only the data for this particular interface is included in the resulting API response.

Dethernet 0

The script does not specify or filter for an interface named "ethernet 0", which is not a typical interface naming convention for physical interfaces on Cisco IOS XE devices in this format.

Concept tested: RESTCONF URI filtering for specific resources

Source: https://datatracker.ietf.org/doc/html/rfc8040

Topics

#API Payload#Interface Naming#Script Output#Data Representation

Community Discussion

No community discussion yet for this question.

Full 300-435 Practice