Courseiva
hardMultiple ChoiceObjective-mapped

200-901 Practice Question: Refer to the exhibit

Exhibit

Refer to the exhibit.

```json
{
  "errorMessage": "Invalid auth token",
  "statusCode": 401,
  "details": "Token has expired"
}
```

Refer to the exhibit. A developer receives this response from Cisco DNA Center API. What is the most likely cause and solution?

⚠ Common exam trap

Cisco often tests the distinction between HTTP 401 (authentication failure) and 403 (authorization failure) — candidates confuse these two status codes, especially when the question involves API tokens.

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

The token is expired; generate a new one using /dna/system/api/v1/auth/token.

The HTTP 401 Unauthorized response indicates that the request lacks valid authentication credentials. In Cisco DNA Center API, tokens are short-lived (default 1 hour) and must be refreshed via POST /dna/system/api/v1/auth/token. The error is not about the endpoint, body syntax, or RBAC permissions — it specifically means the token used is expired or invalid.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The token is expired; generate a new one using /dna/system/api/v1/auth/token.

    Why this is correct

    Correct diagnosis and solution.

  • The API path is incorrect; verify the endpoint URL.

    Why it's wrong here

    Error does not mention path.

  • The request body is malformed; check JSON syntax.

    Why it's wrong here

    Error does not mention body.

  • The user does not have permission; request admin to grant access.

    Why it's wrong here

    Error specifies expired token, not permission.

Quick reference

Access Control Model Comparison

ModelAcronymWho Controls Access?Best For
Discretionary Access ControlDACResource ownerSmall teams, file shares
Mandatory Access ControlMACSystem / security labelsClassified govt / military
Role-Based Access ControlRBACAdministrator (via roles)Enterprise environments
Attribute-Based Access ControlABACPolicy engine (user + resource attributes)Fine-grained, dynamic policies
Rule-Based Access ControlRuBACSystem rules / ACLsFirewall rules, network ACLs

About these practice questions

Courseiva writes every 200-901 question from scratch — 989 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 200-901 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-901 exam.