Which of the following is a mechanism for websites to request permission to access user's location, camera, etc.? MCQ with Answer and Explanation

Which of the following is a mechanism for websites to request permission to access user's location, camera, etc.?
A. URL parameters
B. Web API (Permissions API)
C. HTTP headers
D. Cookies
Answer: Option B
Solution (By JKExamLibrary)
The Permissions API allows websites to request permissions for sensitive features like geolocation, camera, microphone, etc.

This question belongs to: Computer Internet and Web Technologies

Discuss this Question (0)

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

Practice More Internet and Web Technologies Questions

Question #1 Report Error
Which of the following is a protocol used for managing network devices?
A. FTP
B. SMTP
C. HTTP
D. SNMP

Correct Answer: Option D


Explanation:
SNMP (Simple Network Management Protocol) is used for monitoring and managing network devices.

This question belongs to: Computer Internet and Web Technologies
Question #2 Report Error
What does a '429 Too Many Requests' HTTP status code return imply about a client browser's interaction with a web application?
A. The requested URL destination has changed its location permanently.
B. The user has submitted too many requests in a given amount of time, triggering rate-limiting protections on the server.
C. The input security certificate has an expired authorization date.
D. The web server hardware has completely broken down internally.

Correct Answer: Option B


Explanation:
An HTTP 429 status code indicates that the client has exceeded the server's rate limits, protecting the web application from automated scraping or brute-force attacks.

This question belongs to: Computer Internet and Web Technologies
Question #3 Report Error
What is the function of the 'Default Gateway' setting in a computer's local network configuration panel?
A. To convert graphical web pages into text files
B. To clear out temporary cookie tracker entries automatically
C. To serve as a high-speed email storage facility
D. To act as the routing address that local data packets use to exit the local area network and access external networks like the internet

Correct Answer: Option D


Explanation:
The default gateway is the node or router on a computer network that serves as an access point to another network when an IP address does not match any local routes.

This question belongs to: Computer Internet and Web Technologies