0
0
Microservicessystem_design~10 mins

API Gateway pattern in Microservices - 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 API Gateway's main responsibility.

Microservices
The API Gateway acts as a single [1] point for all client requests.
Drag options to blanks, or click blank then click option'
Aservice
Bdatabase
Centry
Dcache
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing the gateway with a database or cache.
Thinking the gateway is a backend service itself.
2fill in blank
medium

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

Microservices
The API Gateway [1] requests to appropriate microservices based on the URL path.
Drag options to blanks, or click blank then click option'
Aroutes
Bignores
Cstores
Dblocks
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'blocks' or 'ignores' which prevent requests from reaching services.
Confusing routing with storing data.
3fill in blank
hard

Fix the error in the description of API Gateway's role in security.

Microservices
The API Gateway [1] authentication and authorization before forwarding requests.
Drag options to blanks, or click blank then click option'
Aignores
Bhandles
Cbypasses
Ddelays
Attempts:
3 left
💡 Hint
Common Mistakes
Selecting options that imply skipping security.
Misunderstanding the gateway's role in access control.
4fill in blank
hard

Fill both blanks to complete the API Gateway's function in response handling.

Microservices
The API Gateway [1] responses from microservices and [2] them to clients.
Drag options to blanks, or click blank then click option'
Aaggregates
Bignores
Cforwards
Dmodifies
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'ignores' which means no response is sent.
Confusing forwarding with ignoring or modifying incorrectly.
5fill in blank
hard

Fill all three blanks to complete the API Gateway's role in scalability and client support.

Microservices
API Gateway supports [1] by offloading [2] from microservices and provides [3] for different client types.
Drag options to blanks, or click blank then click option'
Ascalability
Bsecurity
Crequest routing
Dprotocol translation
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up security with scalability.
Not recognizing protocol translation as a client support feature.