Bird
0
0

A microservice is sending an event to notify users about a password change. The event is mistakenly labeled as an integration event. What is the main issue here?

medium📝 Analysis Q14 of 15
Microservices - Event-Driven Architecture
A microservice is sending an event to notify users about a password change. The event is mistakenly labeled as an integration event. What is the main issue here?
ANotification events should not be sent to users
BPassword change is a domain event, not a notification
CNotification events should not be labeled as integration events
DIntegration events cannot carry user-related data
Step-by-Step Solution
Solution:
  1. Step 1: Identify the event purpose

    The event is meant to notify users, which fits the notification event type.
  2. Step 2: Understand event labeling importance

    Labeling a notification event as an integration event causes confusion and wrong handling in the system.
  3. Final Answer:

    Notification events should not be labeled as integration events -> Option C
  4. Quick Check:

    Correct event labeling avoids confusion [OK]
Quick Trick: Match event label to its purpose carefully [OK]
Common Mistakes:
MISTAKES
  • Mixing notification and integration event roles
  • Assuming integration events can't have user data
  • Thinking notification events are internal only

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes