Intermediate Grammar #specification #rfc #modal-verbs #technical-writing

Specification Language: MUST, SHOULD, MAY in IT

5 intermediate exercises — use RFC 2119 keywords correctly in API specifications, security requirements, coding standards, and system design documents.

RFC 2119 keyword reference
  • MUST / REQUIRED / SHALL — absolute requirement; non-compliance = non-conformant implementation
  • MUST NOT / SHALL NOT — absolute prohibition; this behaviour is forbidden
  • SHOULD / RECOMMENDED — strong recommendation; valid exceptions exist but must be weighed carefully
  • SHOULD NOT / NOT RECOMMENDED — strong discouragement; valid reasons to permit it may exist
  • MAY / OPTIONAL — truly optional; implementations may include or omit with no conformance impact
Enforcement test: If ignoring this causes a 4xx/5xx error → MUST. If it's best practice → SHOULD. If there's no enforcement → MAY.
0 / 5 completed
1 / 5
An API specification states: "All requests to the /payments endpoint _____ include an Authorization header. Requests without a valid token will be rejected with a 401 Unauthorized response." Which RFC 2119 keyword correctly signals an absolute requirement?