Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to define a domain event type.
Microservices
event_type = "[1]" # Represents an event within the same service boundary
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing integration event which is for communication between services.
✗ Incorrect
A domain event represents something that happened inside a single service or bounded context.
2fill in blank
mediumComplete the code to define an integration event type.
Microservices
event_type = "[1]" # Used to communicate between different microservices
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing with notification events which are for user alerts.
✗ Incorrect
Integration events are used to notify other services about something that happened.
3fill in blank
hardFix the error in the event type assignment for a notification event.
Microservices
event_type = "[1]" # Event type used to inform users or systems about something
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using domain or integration event types incorrectly here.
✗ Incorrect
Notification events are meant to alert users or external systems about an event.
4fill in blank
hardFill both blanks to complete the event type descriptions.
Microservices
domain_event = "[1]" # Event inside a service integration_event = "[2]" # Event between services
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up domain and integration event types.
✗ Incorrect
Domain events happen inside a service; integration events happen between services.
5fill in blank
hardFill all three blanks to complete the event type assignments.
Microservices
domain_event = "[1]" integration_event = "[2]" notification_event = "[3]"
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Swapping integration and notification event types.
✗ Incorrect
Each event type corresponds to its role: domain (internal), integration (between services), notification (alerts).