Privacy, Cookies & Storage MCQs

10 MCQs  — Multiple Browsers MCQs

Practice Privacy, Cookies & Storage MCQs with correct answers and explanations. These questions are from the Multiple Browsers MCQs section.

What does Incognito or Private Browsing mode protect against?
It blocks all malware
It hides your activity from your ISP and employer
It stops browsing history, cookies, and form data from being saved on the local device after the session
It makes you anonymous to websites
What does the HttpOnly cookie attribute do?
It encrypts the cookie
It prevents JavaScript (document.cookie) from reading the cookie, which reduces the impact of XSS
It makes the cookie expire on browser close
It sends the cookie only over HTTP and never HTTPS
What is the difference between localStorage and sessionStorage?
localStorage expires after 24 hours
sessionStorage is shared by all tabs
localStorage persists across sessions; sessionStorage is cleared when the tab is closed and is separate for each tab
They are identical
What happens when you clear a browser's cookies for a site?
You are typically logged out, because session identifiers are stored in cookies
The site's server data is deleted
Nothing changes
Your saved passwords are deleted
What does Google Safe Browsing do in Chrome, Firefox, and Safari?
It provides a VPN
It warns users before they visit known phishing or malware sites
It encrypts all traffic
It blocks all ads
What is browser fingerprinting?
Logging in with a fingerprint scanner
Encrypting cookies
Identifying a user by combining many browser and device characteristics, without needing cookies
Signing extensions
What does DNS over HTTPS (DoH) in browsers do?
It encrypts DNS lookups inside HTTPS, so on-path observers cannot read them easily
It blocks cookies
It makes websites load without DNS
It replaces HTTPS