0
0
HLDsystem_design~10 mins

API gateway concept in HLD - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to define the main role of an API gateway.

HLD
An API gateway acts as a [1] between clients and backend services.
Drag options to blanks, or click blank then click option'
Aproxy
Bdatabase
Cfrontend
Dcache
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing API gateway with a database or cache.
Thinking API gateway is a frontend component.
2fill in blank
medium

Complete the code to describe a key feature of API gateways.

HLD
API gateways often provide [1] to control access and protect backend services.
Drag options to blanks, or click blank then click option'
Aauthentication
Bload balancing
Cdata storage
Dlogging
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing authentication with load balancing or logging.
Thinking API gateway stores data.
3fill in blank
hard

Fix the error in the description of API gateway functionality.

HLD
API gateway [1] requests directly to databases without any processing.
Drag options to blanks, or click blank then click option'
Aignores
Bsends
Croutes
Dblocks
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing options that imply no processing or blocking requests.
Misunderstanding the routing role of API gateway.
4fill in blank
hard

Fill both blanks to complete the API gateway request flow.

HLD
Client sends a request to the API gateway, which [1] the request and then [2] it to the correct backend service.
Drag options to blanks, or click blank then click option'
Avalidates
Bignores
Cforwards
Dblocks
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing options that imply ignoring or blocking requests.
Confusing validation with ignoring.
5fill in blank
hard

Fill all three blanks to describe API gateway features in request handling.

HLD
The API gateway [1] incoming requests, [2] them for security, and [3] responses back to clients.
Drag options to blanks, or click blank then click option'
Areceives
Bvalidates
Csends
Dignores
Attempts:
3 left
💡 Hint
Common Mistakes
Selecting 'ignores' for any blank.
Mixing up the order of receiving, validating, and sending.