Which of the following is a method of authentication that uses a token for API access? MCQ with Answer and Explanation

Which of the following is a method of authentication that uses a token for API access?
A. Digest Auth
B. Basic Auth
C. OAuth
D. NTLM
Answer: Option C
Solution (By JKSSB Mock Tests)
OAuth (Open Authorization) is an open standard for token-based authentication, commonly used for APIs to allow third-party services access without exposing passwords.

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 technology used for server-side scripting?
A. CSS
B. JavaScript (client-side)
C. PHP
D. HTML

Correct Answer: Option C


Explanation:
PHP is a widely-used server-side scripting language for web development, while JavaScript is typically client-side, and CSS/HTML are for presentation and structure.

This question belongs to: Computer Internet and Web Technologies
Question #2
What standard protocol is used for securely transmitting files over an encrypted SSH connection on the internet?
A. HTTP
B. FTP
C. SMTP
D. SFTP

Correct Answer: Option D


Explanation:
SFTP (SSH File Transfer Protocol) utilizes Secure Shell (SSH) security to provide safe and encrypted file transfer channels over networks.

This question belongs to: Computer Internet and Web Technologies
Question #3
Which of the following is an example of a web protocol for pushing notifications from server to client?
A. WebSocket
B. Web Push API
C. All of the above
D. Server-Sent Events

Correct Answer: Option C


Explanation:
Web Push API, SSE, and WebSocket all enable server-to-client notifications, though they differ in implementation and use cases.

This question belongs to: Computer Internet and Web Technologies