2. Cybersecurity Fundamentals

Web Security — Quiz

Test your understanding of web security with 5 practice questions.

Read the lesson first

Practice Questions

Question 1

Which of the following cryptographic algorithms is commonly used to secure communication over the internet by providing encryption and authentication for web traffic?

Question 2

A web application uses a content delivery network (CDN) to serve static assets. Which security concern is most relevant when configuring the CDN?

Question 3

Consider a scenario where a web application processes user-uploaded images. Which of the following is a critical security measure to prevent arbitrary code execution through image uploads?

Question 4

Which of the following HTTP response headers is used to instruct browsers to only connect to the server using HTTPS, thereby preventing downgrade attacks and cookie hijacking?

Question 5

A web application implements a password reset functionality. Which of the following is the most secure method for handling password reset tokens?