Putting It All Together: The Quiz (Task 4) Write-Up - TryHackMe Pre-Security

Durre ShaffaDurre Shaffa
2 min read

Introduction

After exploring the fundamentals of how websites function, covering HTTP, HTML, JavaScript, client-server architecture, and basic web vulnerabilities, TryHackMe’s Pre-Security: Task 4 – The Quiz offers a great way to apply that knowledge in an interactive format.

This task challenges learners to correctly sequence the steps of a website request using everything they’ve learned in the previous modules. It’s not just a test, it’s a great recap before moving on to more technical labs.


Task Overview

When you click the "View Site" button, you'll see a drag-and-drop interface with several tiles. Each tile represents a step in the journey of a web request—from the user opening a browser to the server returning the final content.

Your goal:
Arrange the tiles in the correct order of how a web request works.

The system gives you visual feedback:

  • Green = Correct position

  • Red = Incorrect position

Important: Do not refresh the page while solving the quiz, or all progress will reset.


The Correct Order (Conceptually)

While the exact wording of tiles may vary slightly, here’s the logical sequence you should follow:

  1. User types a URL into the browser

  2. Browser performs a DNS lookup to get the IP address

  3. Browser establishes a connection with the web server

  4. Browser sends an HTTP request to the server

  5. Web server processes the request and prepares a response

  6. Web server sends back an HTTP response with HTML/CSS/JS

  7. Browser renders the page using HTML, CSS, and JavaScript

Once the correct order is placed, the flag is revealed.


Flag

After successfully placing all the tiles in order, you’ll receive the flag:

CopyEditTHM{YOU_GOT_THE_ORDER}

Key Takeaways

This task is a brilliant recap of:

  • How DNS works

  • The browser-server communication process

  • What HTTP requests and responses include

  • How client-side rendering happens

It reinforces the layered interaction between frontend, backend, and network protocols—a foundational understanding needed for ethical hacking or web security.

Final Thoughts

If you've made it to this task, you’ve already gained a solid foundation in web technology. This quiz brings everything together in a hands-on, visual way. Keep practicing, and the full picture of how the web works will become second nature.

"Security begins with understanding how things are built—this task proves you’re on the right path."

0
Subscribe to my newsletter

Read articles from Durre Shaffa directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Durre Shaffa
Durre Shaffa