350-501 · Question #312
Refer to the exhibit. What is the purpose of this JSON script?
The correct answer is A. It changes the existing password.. The JSON script, implicitly a NETCONF or RESTCONF payload, targets a user's credentials, specifically modifying the password field for an existing user. This action effectively changes the user's current password to a new one.
Question
Refer to the exhibit. What is the purpose of this JSON script?
Exhibit
Options
- AIt changes the existing password.
- BIt updates a user authentication record.
- CIt deletes a user's authentication record.
- DIt confirms a user's login credentials.
How the community answered
(37 responses)- A86% (32)
- B5% (2)
- C8% (3)
Why each option
The JSON script, implicitly a NETCONF or RESTCONF payload, targets a user's credentials, specifically modifying the `password` field for an existing user. This action effectively changes the user's current password to a new one.
The JSON script would contain a request to modify a user's authentication data, specifically targeting the `password` field for an existing user. This operation, typically a PATCH or PUT in a RESTCONF context, effectively changes the existing password associated with that user.
While a password change is an an update to a user authentication record, option B is too broad; changing an existing password is a more specific and accurate description than generally 'updating a user authentication record'.
Deleting a user's authentication record would involve a DELETE operation on the user object, not a modification of the password field.
Confirming login credentials is an authentication process, typically a POST to a login endpoint or an SSH/NETCONF session initiation, not a data modification script.
Concept tested: RESTCONF/NETCONF JSON payload for password management
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/netconf/configuration/xe-3s/nc-xe-3s-book/nc-restconf.html
Topics
Community Discussion
No community discussion yet for this question.
