What is the purpose of the 'CORS' (Cross-Origin Resource Sharing) mechanism? MCQ with Answer and Explanation

What is the purpose of the 'CORS' (Cross-Origin Resource Sharing) mechanism?
A. To encrypt cross-origin traffic
B. To authenticate cross-origin users
C. To allow a web page to request resources from a different domain
D. To block cross-origin requests
Answer: Option C
Solution (By JKExamLibrary)
CORS is a mechanism that uses additional HTTP headers to tell browsers to give a web application running at one origin access to resources from a different origin.

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
What mechanism does an internet email communication layout use to notify a sender that a designated recipient mailbox address is completely invalid or non-existent?
A. Encrypting the sender's system password variables
B. Returning an automated 'Hard Bounce' or 'Undelivered Mail' notification error message from the mail server
C. Running automatic DNS reverse lookup queries inside terminal devices
D. Altering the local browser cache layout automatically

Correct Answer: Option B


Explanation:
A hard bounce is a permanent delivery failure message indicating that an email address is invalid, typo-ridden, or has been permanently deactivated by the hosting provider.

This question belongs to: Computer Internet and Web Technologies
Question #2 Report Error
Which protocol adds a layer of security to HTTP by using encryption?
A. Telnet
B. SNMP
C. HTTPS
D. FTP

Correct Answer: Option C


Explanation:
HTTPS (HTTP Secure) is an extension of HTTP that uses SSL/TLS protocols to encrypt communication, providing secure data transmission.

This question belongs to: Computer Internet and Web Technologies
Question #3 Report Error
Which internet protocol enables network users to join live interactive conversation text forums globally in real-time, operating under a traditional client-server architecture pattern?
A. POP3
B. SMTP
C. IRC (Internet Relay Chat)
D. HTTP-Proxy

Correct Answer: Option C


Explanation:
IRC (Internet Relay Chat) is an old application layer protocol created specifically to handle structured text messaging networks in real-time.

This question belongs to: Computer Internet and Web Technologies