SAUTO Network Programmability Foundation Practice Question
You are writing a Python script to retrieve interface statistics from a Cisco Firepower Management Center (FMC) using the REST API. When making the GET request, which header must be included to ensure the server understands the client prefers JSON format?
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
✓
Accept: application/json
The Accept header is standard in REST APIs to indicate the desired media type for the response.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Content-Type: application/json
Why it's wrong here
This describes the request body format, not the response format.
- ✓
Accept: application/json
Why this is correct
This informs the server that the client expects a JSON response.
- ✗
X-Auth-Token: JSON
Why it's wrong here
This is not a standard header for content negotiation.
- ✗
Authorization: Bearer
Why it's wrong here
This is used for authentication, not content negotiation.
About these practice questions
This SAUTO question is part of Courseiva's 281-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 →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Cisco exam blueprint
This SAUTO 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 SAUTO exam.