Which of the following is the correct sequence for entry and exit flow in a typical web service?
easy🧠 Conceptual Q3 of 15
LLD - Design — Parking Lot System
Which of the following is the correct sequence for entry and exit flow in a typical web service?
AClient request -> API Gateway -> Processing Service -> Response to Client
BProcessing Service -> API Gateway -> Client request -> Response to Client
CResponse to Client -> Processing Service -> API Gateway -> Client request
DAPI Gateway -> Response to Client -> Client request -> Processing Service
Step-by-Step Solution
Solution:
Step 1: Understand typical flow order
Requests come from client, pass through API Gateway (entry), then processing, then response (exit) back to client.
Step 2: Verify option sequences
Only Client request -> API Gateway -> Processing Service -> Response to Client follows the correct order: Client request -> API Gateway -> Processing -> Response.
Final Answer:
Client request -> API Gateway -> Processing Service -> Response to Client -> Option A
Quick Check:
Correct flow sequence = Client request -> API Gateway -> Processing Service -> Response to Client [OK]