Courseiva
easyMultiple Choice

350-401 Practice Question: Uses the Cisco DNA Center API to trigger a…

A network engineer uses the Cisco DNA Center API to trigger a provisioning workflow for a new device. The API call returns the following JSON response:

{
  "response": {
    "taskId": "task-12345",
    "url": "/api/v1/task/task-12345"
  },
  "version": "1.0"
}

The engineer then polls the task status using the URL. Which HTTP method should be used to retrieve the task status?

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

✓

GET

To retrieve the status of a task, a GET request should be sent to the provided URL. The task ID is used to query the task API endpoint.

Answer analysis

Option-by-option breakdown

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

  • ✓

    GET

    Why this is correct

    Retrieving task status is a read-only operation against the returned URL, so GET is the correct HTTP method. POST, PUT, or DELETE would attempt to modify or create resources, which is inappropriate for simply polling the task's current state.

  • ✗

    POST

    Why it's wrong here

    POST submits data to create or modify a resource, so polling with it would not return the task's current state. Retrieving task status is a read operation, which HTTP defines as GET against the returned task URL. POST is correct when the API call creates or updates a resource.

  • ✗

    PUT

    Why it's wrong here

    PUT replaces the resource at the task URL, so it would overwrite the task record rather than read its current status. It is tempting because PUT does target an existing URL, but that URL is for updating or creating resources, not polling a task's state.

  • ✗

    DELETE

    Why it's wrong here

    DELETE removes the resource at the task URL, so it would cancel or erase the task instead of reading its status. It is tempting because DELETE also acts on a specific resource URL, but that method is for removing resources, not retrieving task progress.

About these practice questions

This 350-401 question is part of Courseiva's 1,923-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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 350-401 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 350-401 exam.