Web Architecture, Protocols & Rendering: past questions

11 questions · 23 marks · 8 papers. Try each one before checking.

Solve them and check answers →Read the notes first

24 Mar 2024

Question 4 MCQ · 2 marks

Consider the below statements about Cookies: Statement 1: Cookies enable the web app to recognize the users Statement 2: Cookies can include information about location, login data, and language etc., Which of the below is the correct option?

  1. Statement 1 is correct and Statement 2 is incorrect
  2. Statement 1 is incorrect and Statement 2 is correct
  3. Both Statement 1 and Statement 2 are correct
  4. Both Statement 1 and Statement 2 are incorrect

04 Aug 2024

Question 2 MCQ · 2 marks

Read the statements given below carefully and select the correct option. Statement 1: The GET method is the same as the HEAD method. It is used to transfer the header section only. Statement 2: The GET method retrieves information from the given server using a given URI.GET request can retrieve the data.

  1. Both statements 1 and 2 are correct
  2. Both statements 1 and 2 are incorrect
  3. Statement 1 is correct but statement 2 is incorrect
  4. Statement 1 is incorrect but statement 2 is correct

01 Dec 2024

Question 16 MCQ · 2 marks

Identify the correct order of tasks that take place when a client makes a request on the URL: https://example.com/home.html.

  1. The web browser sends an HTTPS request to the server, requesting a copy of home.html.
  1. The web browser assembles the response and displays it.
  1. The server responds either with the requested resource or an error code.
  1. The web browser connects to the DNS server to get the server IP address, for example.com.
  1. 1-4-3-2
  2. 4-1-3-2
  3. 1-3-4-2
  4. 4-3-1-2

Question 18 MCQ · 2 marks

The term "stateless" in the context of a server means that

  1. it is not physically located on any particular machine
  2. it does not have any information about the state of the client
  3. it is ephemeral
  4. All of these

Question 17 MCQ · 2 marks

Consider the following statements and select the correct option. Statement 1: Redundancy is used to improve performance and decrease server load. Statement 2: Replication ensures data is not lost if a copy gets destroyed.

  1. Statement 1 is true & statement 2 is false
  2. Statement 2 is true & statement 1 is false
  3. Both statements 1 and 2 are true
  4. Both statements 1 and 2 are false

16 Mar 2025

Question 4 MCQ · 2 marks

Match the following:

1 GET, POST, PUT, DELETE a a set of standards for addressing and routing data on the Internet
2 Client-Server Model b MVC
3 Software Architecture Pattern c HTTP request method
4 Internet Protocol d Explicit differentiation between clients and servers
  1. 1-c, 2-d, 3-b, 4-a
  2. 1-c, 2-b, 3-d, 4-a
  3. 1-c, 2-d, 3-a, 4-b
  4. 1-a, 2-d, 3-b, 4-c

03 Aug 2025

Question 3 MCQ · 2 marks

Which of the following statements BEST describes a key advantage of Jinja2 server-side rendering over JavaScript/JSON-based client-side rendering?

  1. It guarantees that dynamic updates on user interactions never requireadditional data fetches.
  2. It provides faster initial page load and improved Search Engine Optimizationwithout requiring client-side template logic.
  3. It allows the client to handle all template rendering, reducing load on theserver.
  4. None of these

Question 2 MCQ · 2 marks

You manage a datacenter where each server has a 10 Gigabit per second network connection and the facility's backbone link is also 10 Gbps. Your application is handling 10,000 requests per second, each with a 50 KB response, which translates to about 4 Gbps of required throughput. So, if each request involves minimal CPU processing, and the existing server has sufficient resources to handle the load. Which of the following scaling strategies is most appropriate to meet this demand?

  1. Scale up on a single server
  2. Scale out to multiple servers in the datacenter
  3. Both will produce similar results
  4. None of these

14 Aug 2026

Question 5 MCQ · 3 marks

Which of the following statements is correct? Statement 1: In Server-Side Rendering (SSR), the client's browser receives a nearly empty HTML skeleton and relies heavily on client-side JavaScript execution to fetch data and construct the Document Object Model (DOM). Statement 2: Client-Side Rendering (CSR) reduces the immediate processing load on the web server by offloading UI layout rendering tasks to the user's browser engine.

  1. Both are incorrect
  2. Both are correct
  3. Only Statement 1 is correct
  4. Only Statement 2 is correct

July 2022

Question 11 MCQ · 2 marks

Consider a situation, where a developer wants to create his own customized application and wants to deploy it for the end users. For that, he wants a development environment that consists of some programming language execution environment, an operating system, a web server and a database, such that he can build, compile and run his programs without worrying about the servers, storage, and networking. Which of the following service models he would prefer in order to do so?

  1. SaaS
  2. PaaS
  3. IaaS
  4. None of these

Aug 2023

Question 4 MCQ · 2 marks

Map the terms in column A with their correct interpretations in column B.

Column A Column B
a Scale up 1 financial transactions
b ACID 2 adding more physical servers
c Scale out 3 increasing RAM
d BASE 4 social media
  1. $a \rightarrow 3, b \rightarrow 1, c \rightarrow 2, d \rightarrow 4$
  2. $a \rightarrow 4, b \rightarrow 2, c \rightarrow 1, d \rightarrow 3$
  3. $a \rightarrow 4, b \rightarrow 3, c \rightarrow 1, d \rightarrow 2$
  4. $a \rightarrow 3, b \rightarrow 2, c \rightarrow 1, d \rightarrow 4$

Check your answers →

Weeks covering this topic

Other MAD 1 topics