Question 58 of 1,389
CCNA AI and Network Operations Practice Question
Which two statements accurately describe API authentication tokens? (Choose two.)
⚠ Common exam trap
A frequent exam trap is selecting that tokens are permanent or require Telnet to function. Many candidates mistakenly believe tokens never expire, but in reality, tokens are often time-limited to improve security. Another trap is associating tokens with Telnet, which is unrelated to API authentication. Additionally, some may incorrectly think tokens convert data formats like JSON to XML, which is false since tokens only handle authentication. Misunderstanding these points can lead to choosing incorrect options that seem plausible but do not align with Cisco’s API security practices.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Tokens are often sent in an HTTP header such as Authorization
APIs often use tokens so clients can authenticate without sending usernames and passwords in every call. Tokens are commonly time-limited and are usually placed where the API expects them, such as an HTTP header.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Tokens are often sent in an HTTP header such as Authorization
Why this is correct
REST APIs commonly transmit tokens in an Authorization header following the Bearer scheme, such as Authorization: Bearer <token>. This keeps the credential out of the URL, query string, and request body, where it might be logged by proxies or web servers, and aligns with HTTP's standard challenge-response authentication framework.
- ✗
Tokens are always permanent and never expire
Why it's wrong here
Token lifetimes are typically bounded to limit the damage of token theft; access tokens often expire within minutes or hours, and refresh tokens may also be rotated or revoked. A permanent, non-expiring token would remain valid indefinitely after a breach, so production systems enforce time-based expiration, issuer constraints, and revocation mechanisms rather than “always permanent” behavior.
When this WOULD be correct
In a scenario where the exam question specifically states that the API being discussed uses permanent tokens for authentication, such as in a legacy system or a specific implementation that does not require expiration for security, this option would be correct.
- ✓
Tokens can be used instead of resending credentials on every request
Why this is correct
Tokens are opaque or structured bearer credentials (e.g., JWT) that let a client authenticate by proving possession of the token rather than repeatedly transmitting username/password. Because the server can verify the token's signature or lookup its session, credentials are not exposed on every API call, reducing replay and credential-leak risk.
- ✗
Tokens require Telnet to be enabled on the device
Why it's wrong here
Token authentication operates entirely at the HTTP/HTTPS application layer and has no dependency on Telnet, which is an unencrypted legacy protocol for remote terminal access. Devices do not need Telnet enabled for REST APIs to issue or validate tokens; any such requirement would conflict with modern secure API design that assumes TCP/HTTP connectivity.
When this WOULD be correct
If the exam question specified a scenario involving legacy systems where Telnet is used for device management, and the context required enabling Telnet for token authentication, then this option could be correct.
- ✗
A token changes JSON into XML automatically
Why it's wrong here
Authentication and data format are orthogonal concerns: tokens prove identity, while JSON-to-XML conversion is a representation/transformation issue handled by content negotiation, middleware, or parser utilities. A token's payload carries claims or a session identifier, not an instruction to change the response's media type, so the API returns the format requested via Accept headers regardless of authentication.
When this WOULD be correct
If the exam question asked about a system that automatically converts data formats upon receiving an API token, or if it specified a feature of a specific API that performs such conversions, then this option could be correct.
Option-by-option analysis
Why each answer is right or wrong
Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The 200-301 exam frequently reuses these exact scenarios with slightly different constraints.
✓Tokens are often sent in an HTTP header such as AuthorizationCorrect answer▾
Why this is correct
REST APIs commonly transmit tokens in an Authorization header following the Bearer scheme, such as Authorization: Bearer <token>. This keeps the credential out of the URL, query string, and request body, where it might be logged by proxies or web servers, and aligns with HTTP's standard challenge-response authentication framework.
✗Tokens are always permanent and never expireWrong answer — click to see why▾
Why this is wrong here
Tokens are not always permanent; many implementations use short-lived access tokens with refresh tokens to enhance security. Permanent tokens would increase the risk of compromise and are rarely used in modern API security.
★ When this WOULD be the correct answer
In a scenario where the exam question specifically states that the API being discussed uses permanent tokens for authentication, such as in a legacy system or a specific implementation that does not require expiration for security, this option would be correct.
Why candidates choose this
Students might think tokens are like static passwords that never change, confusing them with long-lived API keys or legacy authentication methods.
✗Tokens require Telnet to be enabled on the deviceWrong answer — click to see why▾
Why this is wrong here
Tokens are independent of Telnet; they are used in modern REST APIs over HTTP/HTTPS. Telnet is an unencrypted protocol that is not used for API authentication and is generally deprecated due to security concerns.
★ When this WOULD be the correct answer
If the exam question specified a scenario involving legacy systems where Telnet is used for device management, and the context required enabling Telnet for token authentication, then this option could be correct.
Why candidates choose this
A student might associate 'token' with older network protocols like TACACS+ or RADIUS that sometimes use Telnet for device access, but API tokens are a different concept.
✗A token changes JSON into XML automaticallyWrong answer — click to see why▾
Why this is wrong here
Tokens are authentication credentials, not data transformers. JSON and XML are data interchange formats; a token does not convert between them. API responses may be in JSON or XML, but the token itself is unrelated to format conversion.
★ When this WOULD be the correct answer
If the exam question asked about a system that automatically converts data formats upon receiving an API token, or if it specified a feature of a specific API that performs such conversions, then this option could be correct.
Why candidates choose this
The word 'token' might be confused with 'translation' or 'transformation' in the context of data formats, leading to the incorrect assumption that tokens perform format conversion.
Analysis generated from the official 200-301blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: May 17, 2026
This 200-301 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 200-301 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.