Question

What is the primary security purpose of the CORS (Cross-Origin Resource Sharing) mechanism enforced by web browsers?

A It encrypts all data transmitted between a browser and any server it communicates with
B It controls whether a web page from one origin is permitted to request resources from a different origin
C It compresses API response payloads to reduce overall bandwidth consumption during transfers
D It automatically caches API responses locally to reduce the number of repeated network requests
E It authenticates users by validating their submitted username and password credentials
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)