Question 390
During a technical peer-review of network behavior in the area of restconf operations and errors, engineers report: A RESTCONF PUT targets a resource the authenticated user may read but cannot modify. Select the action most specific to this finding.
Explanation
Correct Answer
Correct authorization or choose an allowed operation. Read permissions do not imply write permissions to YANG-modeled resources.
Incorrect Answers
This alternative, Use RESTCONF HTTPS GET on the supported data resource, fits: An API client needs to read a YANG-modeled IOS XE resource using HTTP. RESTCONF maps modeled resources to HTTPS methods and media types.
Supply valid authenticated credentials over the secure connection belongs to a different case: A RESTCONF write receives 401 because credentials are absent. HTTP 401 indicates missing or unacceptable authentication.
Correct the resource URI and YANG resource path is designed for this other requirement: An HTTPS API path returns 404 although RESTCONF service is running. An HTTP 404 can mean the requested RESTCONF resource does not exist at that path.