[&] Why is it necessary to encode special characters in URLs? - To avoid ambiguity and errors due to the special meanings of certain characters -- Correct - To enhance the aesthetic of URLs - To increase loading speeds of websites - To ensure URLs are interpreted identically across different devices [&] What is URL encoding primarily used for? - To ensure web pages load faster - To create user-friendly web addresses - To encode characters into a format suitable for URLs -- Correct - To encrypt data for secure transmission [&] Why might URL encoding affect the perceived attack surface of a web application? - It changes the way scripts are interpreted by servers - It limits the size and scope of requests sent by clients - It reduces the readability of URLs - It ensures data is sent in a standardized form, which may expose vulnerabilities -- Correct [&] How do browsers typically handle URL encoding? - They automatically encode only characters not found on standard keyboards. - They do not perform URL encoding and rely entirely on servers. - They require users to manually encode all characters. - They automatically encode unsafe characters to ensure correct data transmission. -- Correct [&] What is a common misconception about URL encoding? - It ensures data integrity during transmission - It automates data entry processes - It helps prevent SQL injection - It is a form of data sanitization -- Correct [&] Which of the following best describes the difference between URL encoding and HTML encoding? - URL encoding is for secure data transmission, HTML encoding is for secure data storage. - URL encoding is for encoding URLs, HTML encoding is for rendering special characters in HTML. -- Correct - URL encoding is used in modern browsers only, HTML encoding is universal. - URL encoding is for web servers, HTML encoding is for web browsers.