Which of the following is a method of web authentication that uses a combination of username and password? MCQ with Answer and Explanation

Which of the following is a method of web authentication that uses a combination of username and password?
A. Both Basic and Digest
B. Bearer token
C. Digest authentication
D. Basic authentication
Answer: Option A
Solution (By JKSSB Mock Tests)
Both Basic and Digest authentication are HTTP authentication schemes that rely on username/password, though they differ in security.

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 method to improve the security of a website by preventing attacks like XSS?
A. Input validation
B. Output encoding
C. Content Security Policy (CSP)
D. All of the above

Correct Answer: Option D


Explanation:
Output encoding, input validation, and CSP are all effective defenses against XSS attacks.

This question belongs to: Computer Internet and Web Technologies
Question #2
Which of the following structural parts forms the final element of a standard domain name hierarchy path, such as '.com' or '.org'?
A. Sub-domain label
B. Root Directory Zone
C. Top-Level Domain (TLD)
D. Protocol Extension Indicator

Correct Answer: Option C


Explanation:
The rightmost segment of a domain name separated by a dot (e.g., .com, .net, .org) is known as the Top-Level Domain (TLD).

This question belongs to: Computer Internet and Web Technologies
Question #3
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. LocalStorage
B. Session Cookies
C. DNS Registry Logs
D. RAM Buffers

Correct Answer: Option A


Explanation:
The Web Storage API provides 'localStorage', allowing web applications to save data locally inside the user's browser with no built-in expiration timeline.

This question belongs to: Computer Internet and Web Technologies