350-401 · Question #999
What is provided to the client to identify the authenticated session in subsequent API calls after authenticating to the Cisco DNA Center API?
The correct answer is A. authentication token. After successful authentication to the Cisco DNA Center API, an authentication token is provided to the client for use in subsequent API requests.
Question
What is provided to the client to identify the authenticated session in subsequent API calls after authenticating to the Cisco DNA Center API?
Options
- Aauthentication token
- Bclient X.509 certificate
- Csession cookie
- Dusername and password
How the community answered
(36 responses)- A86% (31)
- B8% (3)
- C3% (1)
- D3% (1)
Why each option
After successful authentication to the Cisco DNA Center API, an authentication token is provided to the client for use in subsequent API requests.
Upon successful authentication, the Cisco DNA Center API provides an authentication token (typically a JWT or similar string) that the client must include in the header of all subsequent API calls to maintain the authenticated session and access protected resources. This token acts as a proof of identity without re-sending credentials.
While X.509 certificates can be used for client authentication in some APIs, Cisco DNA Center typically uses token-based authentication for session management after initial login.
Session cookies are more common in web browser-based interactions for session management, but API clients typically use explicit tokens in headers.
Sending the username and password with every API call is highly insecure and inefficient, and not how session management is handled after initial authentication.
Concept tested: Cisco DNA Center API authentication tokens
Source: https://developer.cisco.com/docs/dna-center/#!authentication
Topics
Community Discussion
No community discussion yet for this question.