200-901 exam dumps

200-901 practice question 164 of 204

Cisco DevNet Associate. Associate level, Cisco. Free question with the correct answer and a full explanation.

200-901 Question 164

Select 3

You are using RESTCONF to query the configuration of an interface on a network device. The device responds with the following JSON payload:

{ "ietf-interfaces:interface": { "name": "GigabitEthernet1", "enabled": true, "description": "Uplink interface", "ietf-ip:ipv4": { "address": [ { "ip": "192.168.1.1", "netmask": "255.255.255.0" } ] } } }

Based on this response, which two statements are true about the queried interface?

  1. A

    The interface is currently enabled.

  2. B

    The interface has no IPv4 address assigned.

  3. C

    The interface name is GigabitEthernet1.

  4. D

    The interface has an IPv6 address configured.

  5. E

    The netmask for the IPv4 address is 255.255.255.0.

Show answer and explanation

Correct answers: A, C, E

Explanation

The JSON response provides details about the queried interface, such as its name, status, description, and configured IPv4 address and netmask. By interpreting the fields in the RESTCONF response, it is possible to determine that the interface is enabled, named GigabitEthernet1, and has an IPv4 netmask of 255.255.255.0. However, there is no information about an IPv6 address in the response.

  • A. Correct.

    Correct: The JSON response shows "enabled": true, indicating the interface is enabled.

  • B. Incorrect.

    Incorrect: The response shows an IPv4 address ("ip": "192.168.1.1"), so the interface does have an IPv4 address assigned.

  • C. Correct.

    Correct: The "name": "GigabitEthernet1" key in the JSON payload confirms the interface name is GigabitEthernet1.

  • D. Incorrect.

    Incorrect: The payload does not include an IPv6 address configuration (ietf-ip:ipv6 is missing).

  • E. Correct.

    Correct: The JSON payload includes "netmask": "255.255.255.0", indicating this is the netmask for the IPv4 address.

Timed practice exam

Take a 200-901 practice test under exam conditions

75 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam