exam questions

Exam 350-901 All Questions

View all questions & answers for the 350-901 exam

Exam 350-901 topic 1 question 171 discussion

Actual exam question from Cisco's 350-901
Question #: 171
Topic #: 1
[All 350-901 Questions]

The response from a server includes the header ETag: W/`7eb8b94419e371767916ef13e0d6e63d`. Which statement is true?

  • A. The ETag has a Strong validator directive.
  • B. The ETag has a Weak validator directive, which is an optional directive.
  • C. The ETag has a Weak validator directive, which is a mandatory directive.
  • D. The ETag has a Strong validator directive, which it is incorrectly formatted.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
FR99
Highly Voted 3 years, 8 months ago
Answer ‘B’ is correct https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag
upvoted 13 times
...
mikha4
Most Recent 10 months, 3 weeks ago
Selected Answer: B
B for me
upvoted 1 times
...
Teringzooi
1 year, 7 months ago
Selected Answer: B
Correct answer: B 'W/' (case-sensitive) indicates that a weak validator is used. Weak etags are easy to generate, but are far less useful for comparisons. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag
upvoted 2 times
...
designated
1 year, 8 months ago
Selected Answer: B
B is correct. 'W/' (case-sensitive) indicates that a weak validator is used which is optional. Weak etags are easy to generate, but are far less useful for comparisons. Strong validators are ideal for comparisons but can be very difficult to generate efficiently. Weak ETag values of two representations of the same resources might be semantically equivalent, but not byte-for-byte identical. This means weak etags prevent caching when byte range requests are used, but strong etags mean range requests can still be cached. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag
upvoted 2 times
...
architect_
2 years, 11 months ago
Agree with B. Some more reading: https://bigbinary.com/blog/rails-5-switches-from-strong-etags-to-weak-tags
upvoted 2 times
...
blezzzo
3 years, 8 months ago
I agree with FR99: B is the right choice here. 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 Syntax: ETag: W/"<etag_value>" Directives:  W/ ( Optional) 'W/' (case-sensitive) indicates that a weak validator is used. Weak etags are easy to generate, but are far less useful for comparisons.  "<etag_value>" Entity tag uniquely representing the requested resource. They are a string of ASCII characters placed between double quotes, like "675af34563dc-tr34"
upvoted 4 times
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago