312-39 practice question 26 of 35
Which encoding replaces unusual ASCII characters with "%" followed by the character’s two-digit ASCII code expressed in hexadecimal?
Full set: 100 questionsThe encoding that replaces characters with a percent sign (%) followed by the character's two-digit hexadecimal ASCII value is known as URL encoding, or more formally, percent-encoding. This method is defined in the standard for Uniform Resource Identifiers (URIs). It is essential for ensuring that data transmitted as part of a URL is correctly interpreted, as certain characters have special meanings (e.g., ?, &, /) or are not allowed within a URL. By encoding them, they can be safely transmitted and decoded by the receiving server.
A: Unicode is a character encoding standard that defines a vast set of characters, but it is not the %hh encoding scheme itself. B: UTF (e.g., UTF-8) is a specific method for representing Unicode characters as a sequence of bytes. The %hh format is used to make these bytes URL-safe. C: Base64 encoding is a method to represent binary data in an ASCII string format using a 64-character alphabet; it does not use the % prefix.
1. Berners-Lee, T., Fielding, R., & Masinter, L. (2005). RFC 3986: Uniform Resource Identifier (URI): Generic Syntax. Internet Engineering Task Force (IETF). Section 2.1, "Percent-Encoding," provides the formal definition of this mechanism.
2. Stanford University. (n.d.). CS142 Web Applications, Lecture 2: HTTP & The Web. Slide 13, "URL Encoding," describes the use of % followed by the hex ASCII value for special characters.
Keep practicing
Take the free 312-39 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 312-39 practice questions
- Question 1What type of event is recorded when an application driver loads successfully in Windows?
- Question 2Wesley is an incident handler in a company named Maddison Tech. One day, he was learning …
- Question 3Which of the following attack can be eradicated by disabling of "allow_url_fopen and allo…
- Question 4Which of the following technique protects from flooding attacks originated from the valid…
- Question 5John, SOC analyst wants to monitor the attempt of process creation activities from any of…
- Question 6Mike is an incident handler for PNP Infosystems Inc. One day, there was a ticket raised r…
