CiscoCisco
350-501 · Question #312
350-501 Question #312: Real Exam Question with Answer & Explanation
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.
Automation and Assurance
Question
Refer to the exhibit. What is the purpose of this JSON script?
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.
Explanation
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.
Common mistakes.
- B. 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'.
- C. Deleting a user's authentication record would involve a DELETE operation on the user object, not a modification of the password field.
- D. 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
Topics
#JSON#API#Password Management#Automation Scripting
Community Discussion
No community discussion yet for this question.