0
0
Microservicessystem_design~10 mins

Why API gateways unify service access in Microservices - Test Your Understanding

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

Complete the code to show the main role of an API gateway in microservices.

Microservices
An API gateway acts as a single [1] point for all client requests to microservices.
Drag options to blanks, or click blank then click option'
Aentry
Bcache
Cdatabase
Dworker
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing API gateway with a database or cache.
2fill in blank
medium

Complete the code to describe a benefit of using an API gateway.

Microservices
API gateways help by [1] requests to the correct microservice behind the scenes.
Drag options to blanks, or click blank then click option'
Acaching
Bencrypting
Crouting
Dlogging
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing caching or logging instead of routing.
3fill in blank
hard

Fix the error in the statement about API gateways.

Microservices
API gateways directly [1] the database of each microservice.
Drag options to blanks, or click blank then click option'
Aignore
Bupdate
Caccess
Dmanage
Attempts:
3 left
💡 Hint
Common Mistakes
Thinking API gateways manage or update databases directly.
4fill in blank
hard

Fill both blanks to complete the API gateway's functions.

Microservices
API gateways provide [1] control and [2] aggregation for microservices.
Drag options to blanks, or click blank then click option'
Asecurity
Bdata
Crequest
Dresponse
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up data with request or response.
5fill in blank
hard

Fill all three blanks to describe API gateway benefits.

Microservices
API gateways [1] client requests, [2] microservice complexity, and [3] cross-cutting concerns like authentication.
Drag options to blanks, or click blank then click option'
Asimplify
Bhide
Chandle
Dignore
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing ignore instead of handle for cross-cutting concerns.