0
0
Microservicessystem_design~10 mins

First microservice architecture diagram 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 name the main component that handles user requests in a microservice architecture.

Microservices
The entry point for client requests is the [1].
Drag options to blanks, or click blank then click option'
ALoad Balancer
BAPI Gateway
CCache
DDatabase
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing the API Gateway with the database or cache.
2fill in blank
medium

Complete the code to identify the component responsible for storing data in a microservice architecture.

Microservices
Each microservice typically has its own [1] to store data independently.
Drag options to blanks, or click blank then click option'
ALoad Balancer
BMessage Broker
CAPI Gateway
DDatabase
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up databases with message brokers or API gateways.
3fill in blank
hard

Fix the error in naming the component that balances traffic among microservice instances.

Microservices
To distribute incoming requests evenly, a [1] is used.
Drag options to blanks, or click blank then click option'
ACache
BDatabase
CLoad Balancer
DAPI Gateway
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing load balancer with API gateway or cache.
4fill in blank
hard

Fill both blanks to complete the description of communication between microservices.

Microservices
Microservices communicate asynchronously using a [1] and exchange messages in formats like [2].
Drag options to blanks, or click blank then click option'
AMessage Broker
BREST API
CJSON
DDatabase
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing synchronous REST API with asynchronous message broker.
5fill in blank
hard

Fill all three blanks to complete the architecture components and their roles.

Microservices
The [1] routes requests, the [2] stores service data, and the [3] ensures high availability by distributing traffic.
Drag options to blanks, or click blank then click option'
AAPI Gateway
BDatabase
CLoad Balancer
DCache
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up the roles of cache and load balancer.