ExamGecko
Question list
Search
Search

Question 445 - 200-901 discussion

Report
Export

Refer to the exhibit.

A network engineer makes a RESTCONF API call to Cisco IOS XE to retrieve information. Which HTTP method and URL does the engineer use to make the ..call?

A)

B)

C)

D)

A.

Option A

Answers
A.

Option A

B.

Option B

Answers
B.

Option B

C.

Option C

Answers
C.

Option C

D.

Option D

Answers
D.

Option D

Suggested answer: C

Explanation:

The provided JSON configuration includes information about a GigabitEthernet interface with the name '2'. To retrieve information about this specific interface using a RESTCONF API call, the correct HTTP method and URL must be used.

HTTP Method: The GET method is used to retrieve information from the server.

Correct URL: The URL must specify the path to the particular interface. The correct URL structure includes the native and interface resources, followed by the interface type (GigabitEthernet) and its specific name ('2').

The correct RESTCONF API call to retrieve the information would be:

GET https://devnetlab.local/restconf/api/running/native/interface/GigabitEthernet/2/

This URL correctly targets the specific GigabitEthernet interface named '2' in the running configuration.

Cisco RESTCONF API Documentation: RESTCONF API Guide

asked 07/10/2024
Carlos Roberto
52 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first