Refer to the exhibit. An application uses an API to periodically sync a large data set. Based on the HTTP message sequence provided, which statements are true about the caching behavior seen in the scenario? (Choose two.)
A.
The full dataset was transmitted to the client twice.
B.
The dataset changed sometime between message #4 and #5.
C.
A partial dataset was transmitted to the client in message #4.
D.
The dataset did not change during the scenario.
A and D here are correct.
Explanation:
The HTTP 304 Not Modified client redirection response code indicates that there is no need to retransmit the requested resources. It is an implicit redirection to a cached resource. This happens when the request method is safe, like a GET or a HEAD request, or when the request is conditional and uses a If-None-Match or a If-Modified-Since header.
The equivalent 200 OK response would have included the headers Cache-Control, Content-Location, Date, ETag, Expires, and Vary.
Each time the resource is updated on the server, the ETag header will be changed to reflect the content of the new version of the resource.
The Etag value does not change all through the transaction between client and server confirming A and D as the answers here.
A and D are correct.
C - The data hasn't changed during the process since the validators are the same (If-None-Match and If-Modified-Since). Also, A is correct since #1 has received the HTTP/1.1 200 OK and #5 too with the same Last-Modified and ETag values.
No. No partial data was sent in that case. 304 means not modified and only returns that the data wasn't changed. So no data from the data set is transmitted.
E is incorrect. messages 3 and 5 are NOT equivalent at all. Message 5 is requesting a new copy if message changed after 11 GMT. Message 3 requests a new copy if message chaged after 12 GMT. Correct answer is A and D.
D & E
304 response will not send the resources because resource is not changed.
The HTTP 304 Not Modified client redirection response code indicates that there is no need to retransmit the requested resources. It is an implicit redirection to a cached resource. This happens when the request method is safe, like a GET or a HEAD request, or when the request is conditional and uses a If-None-Match or a If-Modified-Since header.
upvoted 2 times
...
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 agoJCGO
Highly Voted 2 years, 10 months agoJCGO
2 years, 10 months agodesignated
Most Recent 9 months, 2 weeks ago__al__
1 year, 1 month agoQuiShong
11 months, 4 weeks agoBloody_sausage
2 years, 7 months agoFR99
2 years, 9 months agowunderup
3 years ago