What mechanism does a browser use to maintain persistent client-side data store pools across tabs using basic key-value pairs without expiration deadlines via JavaScript? MCQ with Answer and Explanation

What mechanism does a browser use to maintain persistent client-side data store pools across tabs using basic key-value pairs without expiration deadlines via JavaScript?
A. DNS Registry Logs
B. LocalStorage
C. RAM Buffers
D. Session Cookies
Answer: Option B
Solution (By JKSSB Mock Tests)
The Web Storage API provides 'localStorage', allowing web applications to save data locally inside the user's browser with no built-in expiration timeline.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Internet and Web Technologies Questions

Question #1
Which of the following is a common method to prevent clickjacking?
A. SameSite cookie attribute
B. Both A and B
C. Content-Security-Policy with frame-ancestors
D. X-Frame-Options header

Correct Answer: Option B


Explanation:
Both X-Frame-Options and CSP's frame-ancestors directive can be used to control iframe embedding, preventing clickjacking.

This question belongs to: Computer Internet and Web Technologies
Question #2
What is a web browser's 'bookmark' used for?
A. To block websites
B. To save a URL for quick access later
C. To store passwords
D. To manage browsing history

Correct Answer: Option B


Explanation:
A bookmark (or favorite) is a stored link to a web page that allows users to quickly revisit it without typing the URL again.

This question belongs to: Computer Internet and Web Technologies
Question #3
Which of the following is a type of web cookie that is deleted when the browser is closed?
A. Session cookie
B. Secure cookie
C. Third-party cookie
D. Persistent cookie

Correct Answer: Option A


Explanation:
Session cookies (non-persistent) exist only until the browser is closed, while persistent cookies have an expiration date.

This question belongs to: Computer Internet and Web Technologies