An ETag header is included in the HTTP response for an API resource. What are two benefits of using the value of the ETag for future interactions involving the same API resource? (Choose two.)
A.
caching and optimization of response payloads
B.
creating conditional requests
C.
categorizing and comparing this API resource with others
D.
checking the integrity of the resource
E.
requesting the list of operations authorized for this resource
A B
Explanation:
• The ETag HTTP response header is an identifier for a specific version of a resource. It lets caches be more efficient and save bandwidth, as a web server does not need to resend a full response if the content has not changed. Additionally, etags help prevent simultaneous updates of a resource from overwriting each other ("mid-air collisions").
• The ETag or entity tag is part of HTTP, the protocol for the World Wide Web. It is one of several mechanisms that HTTP provides for Web cache validation, which allows a client to make conditional requests.
A and B are correct.
HTTP provides us with the ability to do this with conditional caching. A client can make a request to the server and find out of the server has a new version of the resource available.
https://thoughtbot.com/blog/introduction-to-conditional-http-caching-with-rails#:~:text=ETags%2C%20short%20for%20entity%20tags,of%20the%20HTTP%20response%20headers.
This section is not available anymore. Please use the main Exam Page.350-901 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
blezzzo
Highly Voted 2 years, 9 months agoFR99
Highly Voted 2 years, 9 months agodesignated
Most Recent 9 months, 2 weeks agobboycoi
1 year ago