Web 2.0: Technology and Security
34 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is a characteristic of Web 2.0 sites?

  • Minimal use of client-side logic
  • Extensive use of JavaScript, XMLHttpRequests, and client-side logic (correct)
  • No use of XMLHttpRequests
  • Limited use of JavaScript
  • What is the main reason why Web 2.0 security gets attention?

  • Growth in usage leading to an increase in vulnerabilities (correct)
  • Decrease in usage
  • Lack of research in the area
  • Less massive usage of Web 2.0 sites
  • What is the primary function of the XMLHttpRequest JavaScript object?

  • To change the Web site's layout
  • To generate dynamic content
  • To refresh the UI
  • To allow background communication with the server (correct)
  • What is an example of a technology that generates and presents Web pages via a Web server?

    <p>Apache (A)</p> Signup and view all the answers

    What is a characteristic of an AJAX application?

    <p>One page application with lots of client-side logic (C)</p> Signup and view all the answers

    What is the restriction imposed on the XMLHttpRequest JavaScript object?

    <p>Same Origin Policy (A)</p> Signup and view all the answers

    What is the primary function of the Business Logic tier?

    <p>To perform required calculations and manage access to corporate resources (D)</p> Signup and view all the answers

    What is the common technology used in the Data Tier?

    <p>Relational Database Management Systems (RDBMS) (A)</p> Signup and view all the answers

    What is the purpose of URL encoding?

    <p>To ensure that only allowed characters are used in URLs (C)</p> Signup and view all the answers

    What is the commonly encoded character in a URL?

    <p>Plus-sign (+) (C)</p> Signup and view all the answers

    What is the breakdown of a URL?

    <p>Protocol, host name, port, document path, and query (D)</p> Signup and view all the answers

    What is an example of a URL?

    <p><a href="http://www.example.com/products/default.aspx?articleId=4">http://www.example.com:80/products/default.aspx?articleId=4</a> (A)</p> Signup and view all the answers

    What is the primary function of the Client Tier in a Web Application?

    <p>To handle user-level input and output (C)</p> Signup and view all the answers

    What is the main difference between a Website and a Web Application?

    <p>A Website provides access to static documents, while a Web Application takes user input (B)</p> Signup and view all the answers

    What is the purpose of the Same Origin Policy?

    <p>To prevent scripts from accessing data from different origins (A)</p> Signup and view all the answers

    What is the primary function of JavaScript in the Client Tier?

    <p>To validate user input and dynamically change the interface (D)</p> Signup and view all the answers

    What is the main characteristic of HTML?

    <p>It is a markup language used to create graphical pages (B)</p> Signup and view all the answers

    What is the purpose of the middle tier in a Web Application?

    <p>To interact with backend servers and perform business logic (D)</p> Signup and view all the answers

    What is the term used to describe the interaction between a script and a website?

    <p>Scripting (B)</p> Signup and view all the answers

    What is the purpose of URL encoding in Web applications?

    <p>To ensure that data is sent in a special format to prevent errors (B)</p> Signup and view all the answers

    What does the HTTP status code 1XX represent?

    <p>Informational (C)</p> Signup and view all the answers

    What is the primary function of the Web Server in a Web Application?

    <p>To interact with backend servers and perform business logic (A)</p> Signup and view all the answers

    What is the main difference between HTTP GET and POST requests?

    <p>GET requests are used for retrieving data, while POST requests are used for sending data (B)</p> Signup and view all the answers

    What is the purpose of the HTTP protocol?

    <p>To transfer information on intranets and the World Wide Web (A)</p> Signup and view all the answers

    What is the primary purpose of the Data Tier in a Web Application?

    <p>To store and manage data (C)</p> Signup and view all the answers

    What is the HTTP status code range for successful requests?

    <p>2XX (D)</p> Signup and view all the answers

    What is the purpose of the % symbol in URL encoding?

    <p>To indicate the hexadecimal representation of a character (A)</p> Signup and view all the answers

    What is the HTTP status code range for redirection?

    <p>3XX (D)</p> Signup and view all the answers

    What is the purpose of the TRACE request method?

    <p>To test or diagnose the request chain (D)</p> Signup and view all the answers

    What is a characteristic of HTTP?

    <p>It is stateless (C)</p> Signup and view all the answers

    What is the purpose of the HEAD request method?

    <p>To retrieve header information only (D)</p> Signup and view all the answers

    What is the term for managing individual user requests in context?

    <p>Session management (A)</p> Signup and view all the answers

    What is the purpose of the OPTIONS request method?

    <p>To request information about communication options (C)</p> Signup and view all the answers

    What is the term for the three tiers of a Web application?

    <p>Client, middle, and data (B)</p> Signup and view all the answers

    More Like This

    Use Quizgecko on...
    Browser
    Browser