Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Cisco Exam 350-901 Topic 7 Question 78 Discussion

Actual exam question for Cisco's 350-901 exam
Question #: 78
Topic #: 7
[All 350-901 Questions]

An architect must optimize traffic that targets a popular API endpoint Currently, the application downloads a large file hourly, but often the file is unchanged and the download causes unnecessary load and delays Which cURL command must be used to determine the last modified date of the file and to optimize the API usage?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Ernest
1 months ago
You know, the developer who wrote this code must have been really bored. Downloading a file every hour, even when it's unchanged? That's just asking for trouble!
upvoted 0 times
Jose
2 days ago
B) curl HEAD request
upvoted 0 times
...
...
Roxane
2 months ago
Bingo! The HEAD request is the way to go. I can practically hear the servers sighing in relief from all that unnecessary traffic.
upvoted 0 times
Iola
1 months ago
D) curl -H 'Cache-Control: no-cache' request
upvoted 0 times
...
Clorinda
1 months ago
C) curl --silent request
upvoted 0 times
...
Vicente
1 months ago
B) curl HEAD request
upvoted 0 times
...
...
Hollis
2 months ago
Hah, the no-cache option is a bit overkill, don't you think? We just want to check the modified date, not bypass the cache entirely.
upvoted 0 times
Marshall
14 days ago
B) curl HEAD request
upvoted 0 times
...
Juan
20 days ago
Hah, the no-cache option is a bit overkill, don't you think? We just want to check the modified date, not bypass the cache entirely.
upvoted 0 times
...
Amber
26 days ago
D) curl -H 'Cache-Control: no-cache' request
upvoted 0 times
...
Micheal
1 months ago
C) curl --silent request
upvoted 0 times
...
Mauricio
1 months ago
B) curl HEAD request
upvoted 0 times
...
Tony
1 months ago
A) curl GET request
upvoted 0 times
...
...
Rosio
2 months ago
I was initially thinking the GET request, but the HEAD request makes much more sense. Gotta love those optimizations!
upvoted 0 times
Una
8 days ago
Using the --silent flag will help optimize the API usage by suppressing unnecessary output.
upvoted 0 times
...
Reuben
12 days ago
C) curl --silent request
upvoted 0 times
...
Daryl
16 days ago
Absolutely, the HEAD request is perfect for checking the last modified date without downloading the entire file.
upvoted 0 times
...
Nguyet
1 months ago
B) curl HEAD request
upvoted 0 times
...
...
Colene
2 months ago
The HEAD request seems like the obvious choice here. It allows you to check the last modified date without downloading the entire file. Very efficient!
upvoted 0 times
...
Gary
2 months ago
I'm not sure, but I think C) curl --silent request could also be a good option to optimize API usage.
upvoted 0 times
...
Angelyn
2 months ago
I agree with Vi, using HEAD request will only retrieve the headers without downloading the file.
upvoted 0 times
...
Vi
3 months ago
I think the answer is B) curl HEAD request.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77