On an AOS-CX switch , REST API authentication uses the HTTP POST method against the login resource. Aruba specifies that a REST API session is initiated by sending the username and password through a POST request. After successful authentication, the switch returns session information that is used for subsequent API requests. Aruba Networking
For changing the administrator password, Aruba documents the use of PUT against the user resource, for example PUT /rest/v10.xx/system/users/admin, with the new password included in the request data. Therefore, D correctly associates POST with login and PUT with changing the management password . Aruba Networking
Option A is incorrect because AOS-CX does not provide comprehensive semantic validation for REST writes. Aruba explicitly warns that configuration errors written directly to the database can destabilize the switch. Aruba Networking
Option B is also incorrect. Read-only mode blocks writes to most resources, but exceptions exist. POST is still permitted for functions such as login , and certain PUT/POST operations remain available. Aruba Networking Option C simply reverses the correct HTTP methods.
Study Guide Topics: AOS-CX REST API, REST Authentication, HTTP POST/PUT Methods, API Access Modes, Read-Write versus Read-Only Access.