nerdexam
CiscoCisco

350-901 · Question #11

350-901 Question #11: Real Exam Question with Answer & Explanation

The correct answer is B: The ETag has a Weak validator directive, which is an optional directive.. An ETag prefixed with W/ indicates a weak validator, and the W/ prefix itself is optional per RFC 7232.

Understanding and Using APIs

Question

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

Options

  • AThe ETag has a Strong validator directive.
  • BThe ETag has a Weak validator directive, which is an optional directive.
  • CThe ETag has a Weak validator directive, which is a mandatory directive.
  • DThe ETag has a Strong validator directive, which it is incorrectly formatted.

Explanation

An ETag prefixed with W/ indicates a weak validator, and the W/ prefix itself is optional per RFC 7232.

Common mistakes.

  • A. The absence of W/ indicates strong validation; the W/ prefix explicitly marks this as weak.
  • C. The W/ prefix is optional, not mandatory - a server can choose whether to send weak or strong ETags.
  • D. The ETag is correctly formatted as a weak validator with the W/ prefix followed by a quoted string.

Concept tested. HTTP ETag weak vs strong validator directives

Reference. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag

Topics

#HTTP Headers#ETag#Weak Validator#Web Caching

Community Discussion

No community discussion yet for this question.

Full 350-901 PracticeBrowse All 350-901 Questions