Which cURL command must be used to determine the last modified date of the file and to optimize the API usage?

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?
A . curl GET request
B . curl HEAD request
C . curl –silent request
D . curl -H ‘Cache-Control: no-cache’ request

Answer: B

Latest 350-901 Dumps Valid Version with 169 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
1 Comment
Inline Feedbacks
View all comments
Tsu
Tsu
1 year ago

B is correct