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 JKSSB Mock Tests)
The Permissions API allows websites to request permissions for sensitive features like geolocation, camera, microphone, etc.

Discuss this Question (0)

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

Practice More Internet and Web Technologies Questions

Question #1
What does an 'HTTP Cookie' data structure use to identify a returning user session securely to a server database without prompting continuous password requests?
A. A unique Session ID token string stored locally in the browser and transmitted with each HTTP request
B. An unlinked structural HTML layout design code block
C. The user's physical home street address record
D. The client computer's current internal hardware operating core temperature

Correct Answer: Option A


Explanation:
When a user logs in, the server generates a unique session identifier and passes it to the browser as a cookie. The browser automatically includes this token with future requests, maintaining the authenticated session.

This question belongs to: Computer Internet and Web Technologies
Question #2
What type of software architecture pattern does the relationship between a modern web browser and a remote web server represent?
A. Client-Server
B. Peer-to-Peer
C. Master-Slave
D. Monolithic

Correct Answer: Option A


Explanation:
Web browsing relies on a Client-Server model, where the web browser acts as the client requesting resources, and the web server processes and responds to those requests.

This question belongs to: Computer Internet and Web Technologies
Question #3
What is the primary operational task of a 'Mail Transfer Agent' (MTA) component within internet email routing infrastructures?
A. To clear old tracking cookies off terminal units
B. To forward and route electronic mail messages between different server networks using SMTP rules until they reach their destination
C. To provide a user interface to display images inside messages
D. To convert plain text lines into graphic layouts natively

Correct Answer: Option B


Explanation:
The Mail Transfer Agent (MTA) is software that transfers electronic mail messages from one computer server to another using SMTP.

This question belongs to: Computer Internet and Web Technologies