Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Cisco 200-901 Exam - Topic 4 Question 96 Discussion

Posted by Asha on Mar 21, 2025 at 06:21 AM

An engineer is creating an API to automatically obtain specific zones from Cisco Meraki MV cameras. The data that is provided when the API runs must represent the current analytic zones that are configured on the cameras. The API must start automatically at 6 p.m. every day and save the data on a server for further processing. Which part of the HTTP request must be configured to meet these requirements?

Suggested Answer: B

When creating an API to interact with Cisco Meraki MV cameras, the request header must specify the correct content type to ensure the server understands the format of the request data. Setting the Content-Type header to 'application/json' indicates that the request body is formatted as JSON. This is essential for APIs that expect JSON data for requests and responses.

Additionally, the API must be scheduled to run automatically at 6 p.m. every day. This can be achieved using a cron job or a scheduling tool like cron in Unix-based systems or Task Scheduler in Windows.


Cisco DevNet Associate Certification Guide

Cisco Meraki API Documentation

Get Premium 200-901 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
39 comments · newest first
BE
Bette 10 months ago
Isn't the 302 status code for redirects? Not relevant here.
AR
Arthur 10 months ago
Totally agree, B makes the most sense here!
ME
Meaghan 11 months ago
Wait, why would we use XML? That seems outdated.
TY
Tyisha 11 months ago
Surprised that this API needs to run daily at 6 p.m.!
LE
Lemuel 11 months ago
I think it should be option B for the JSON format.
DA
Dalene 11 months ago
I’m leaning towards option B, but I’m a bit confused because I thought XML was also a common format for APIs.
SO
Soledad 11 months ago
I practiced a similar question about API requests, and I feel like the Content-Type header is crucial for ensuring the server understands the data format.
JA
Jani 12 months ago
I think the request body is where we define the data format, but I can't recall if it needs to be XML or JSON for the Meraki API.
MA
Marya 12 months ago
I remember we discussed the importance of the Content-Type header in our API classes, but I'm not sure if it should be JSON or XML for this specific case.
SH
Shawna 1 year ago
I'm pretty confident that the answer is B. The question mentions the data must represent the current analytic zones, so the request header with Content-Type set to 'application/json' seems like the right way to handle that.
RI
Rima 1 year ago
Okay, I've got this. The question says the API must start automatically at 6 p.m. every day, so I'm guessing the request header is the part that needs to be configured to meet that requirement.
MO
Moon 1 year ago
Hmm, I'm a bit confused. The question mentions saving the data on a server, but doesn't specify how the API should be configured to do that. I'll need to think this through carefully.
LA
Lashunda 1 year ago
This looks like a straightforward API configuration question. I think the key is to identify which part of the HTTP request needs to be set up to meet the requirements.
KR
Kris 2 years ago
Ah, the classic 'use XML when JSON is clearly the better option' scenario. Easy choice, team B!
SE
Selma 1 year ago
↳ replying to Kris
User 4: JSON it is then, let's go with option B.
KA
Kanisha 1 year ago
↳ replying to Kris
User 3: Agreed, JSON is more lightweight and easier to work with.
KI
King 1 year ago
↳ replying to Kris
User 2: Definitely, JSON is the way to go for this API.
GA
Gayla 1 year ago
↳ replying to Kris
User 1: Team B all the way!
AN
An 2 years ago
Haha, 'Content-Encoding set to application/xml'? What is this, the 90s? B is the way to go, no doubt.
AM
Amber 1 year ago
↳ replying to An
User2: Yeah, setting the Content-Type to application/json makes more sense for this API.
LE
Lettie 1 year ago
↳ replying to An
User1: I agree, B is definitely the right choice.
LE
Lezlie 2 years ago
I believe the correct answer is B) request header with Content-Type set to 'application/json' because it specifies the format of the data being sent in the request.
TO
Torie 2 years ago
I'm with the others on this one. B is the clear choice here. Who would even think of using a redirect status code for this?
BE
Bernardine 2 years ago
I'm not sure, but I think D) request body with Content-Type set to 'application/xml' could also be a valid option.
EL
Elden 2 years ago
I agree with Ona, setting the Content-Type to 'application/json' makes sense for the API to work properly.
ON
Ona 2 years ago
I think the answer is B) request header with Content-Type set to 'application/json'.
GE
Gerald 2 years ago
Wait, why would we need to set the Content-Encoding header to XML? That doesn't make sense. Definitely option B.
MA
Marg 1 year ago
↳ replying to Gerald
Exactly, the Content-Type header is what determines how the data will be formatted in the request.
LE
Leontine 1 year ago
↳ replying to Gerald
Setting the Content-Encoding to XML would be unnecessary in this case.
LO
Lonna 1 year ago
↳ replying to Gerald
Yeah, that's correct. It's important to specify the format of the data being sent in the request.
DO
Donte 1 year ago
↳ replying to Gerald
I agree, setting the Content-Type header to application/json makes more sense for this API.
ME
Meghan 2 years ago
↳ replying to Gerald
Setting the Content-Encoding header to XML would not be suitable for this scenario. Option B is the way to go.
LE
Leonardo 2 years ago
↳ replying to Gerald
Yeah, that's correct. It's important to specify the correct data format in the request header.
DO
Dong 2 years ago
↳ replying to Gerald
I agree, setting the Content-Type header to application/json makes more sense for this API.
DI
Diane 2 years ago
Hmm, 302 is a redirect status code, so that doesn't seem right for this use case. I'd say B is the way to go.
JE
Jerry 2 years ago
The API needs to get the current analytic zones, so the response should be in JSON format, not XML. I'd go with option B.
AV
Avery 1 year ago
↳ replying to Jerry
JSON is definitely the way to go for this API. It's more lightweight and easier to work with than XML.
CA
Carolann 2 years ago
↳ replying to Jerry
Setting the Content-Type to 'application/json' in the request header will ensure the data is returned in the correct format.
YO
Yolando 2 years ago
↳ replying to Jerry
I agree, option B is the correct choice. JSON format is more suitable for this type of data.
0/2000 characters

Save Cancel