Multiple Browsers MCQs

100 MCQs  (Page 2 of 10)

Why do most browsers' User-Agent strings begin with 'Mozilla/5.0'?
Because it identifies Firefox
Because it is required by HTTP/2
Because they are all built by Mozilla
For historical compatibility, because sites once served better content to 'Mozilla' (Netscape) browsers
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