Question
What is a 'RESTful API' and what are its key architectural constraints?
Solution
REST (Representational State Transfer) uses standard HTTP methods: GET (retrieve), POST (create), PUT (update/replace), PATCH (partial update), DELETE (remove). Resources identified by URIs (e.g., /api/accounts/12345). Stateless means each request contains all necessary context (no server-side session state). Returns JSON or XML. Status codes indicate outcomes (200 OK, 201 Created, 404 Not Found, 401 Unauthorized). Banking APIs (Account Aggregator, UPI, Open Banking) extensively use REST. APIs must be secured with OAuth 2.0 + HTTPS.
- Which Software Development Life Cycle (SDLC) model is best suited for projects with unclear requirements that are expected to evolve over time?
- Which of the following cloud storage types is most suitable for storing large amounts of unstructured data such as images, videos, and log files?
- In cloud computing, what is the function of an API Gateway?
- A cloud app experiences sudden spikes for a short period (10β15 seconds). Traditional CPU-based auto-scaling is too slow. Which method is MOST effective?
- What does DMA stand for?
- What is a 'RESTful API' and what are its key architectural constraints?
- Ideally the hit ratio of secondary memory is considered as :
- Which of the following best describes 'microservices architecture'?
- A DFD is used to represent:
- Which is not a software development life cycle phase?