0
0
Azurecloud~20 mins

Event Grid vs Service Bus decision in Azure - Practice Questions

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Azure Messaging Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
When to choose Event Grid over Service Bus?
You want to build a system that reacts instantly to changes in storage blobs and routes these events to multiple independent services. Which service is best suited for this scenario?
AUse Service Bus because it supports complex message workflows and sessions.
BUse Event Grid because it is designed for event routing and supports multiple subscribers.
CUse Event Grid because it stores messages for long periods for batch processing.
DUse Service Bus because it guarantees ordered message delivery.
Attempts:
2 left
💡 Hint
Think about which service is optimized for event distribution to many listeners.
Architecture
intermediate
2:00remaining
Designing a decoupled system with guaranteed message processing
You need to build a system where messages must be processed exactly once and in order, even if the consumer is temporarily offline. Which Azure service should you use?
AEvent Grid, because it supports event replay and dead-lettering.
BEvent Grid with multiple event subscriptions for redundancy.
CService Bus without sessions because it is simpler to configure.
DService Bus with sessions enabled to guarantee ordered, exactly-once processing.
Attempts:
2 left
💡 Hint
Consider which service supports message ordering and exactly-once delivery.
service_behavior
advanced
2:00remaining
Event Grid event delivery behavior under high load
What happens when Event Grid receives more events than it can deliver to subscribers within the retry period?
AEvent Grid retries delivery for up to 24 hours and then sends undeliverable events to a dead-letter destination if configured.
BEvent Grid drops the events silently without notification.
CEvent Grid queues the events indefinitely until subscribers are available.
DEvent Grid automatically scales subscribers to handle the load.
Attempts:
2 left
💡 Hint
Think about how Event Grid handles retries and failures.
security
advanced
2:00remaining
Securing message access in Service Bus vs Event Grid
You want to restrict who can send messages to your messaging system and who can receive them. Which statement is true about access control in Service Bus and Event Grid?
AService Bus supports role-based access control (RBAC) for send and receive permissions; Event Grid only supports RBAC for event publishing.
BEvent Grid supports fine-grained access control for both publishing and subscribing; Service Bus does not support RBAC.
CBoth Service Bus and Event Grid only support shared access keys without RBAC.
DService Bus does not support authentication; Event Grid uses OAuth tokens for all access.
Attempts:
2 left
💡 Hint
Consider which service supports RBAC for both sending and receiving messages.
Best Practice
expert
3:00remaining
Choosing between Event Grid and Service Bus for a large-scale microservices system
You are designing a large microservices system that requires event-driven communication with low latency, high throughput, and the ability to handle millions of events per day. The system also needs to support complex workflows with message sessions and dead-lettering. Which approach is best?
AUse Service Bus exclusively because it supports message sessions and dead-lettering but may have higher latency.
BUse Event Grid exclusively because it handles millions of events with low latency and supports complex workflows.
CUse Event Grid for event routing and Service Bus for complex workflows requiring sessions and guaranteed delivery.
DUse neither; build a custom messaging system to meet all requirements.
Attempts:
2 left
💡 Hint
Think about combining services to leverage their strengths.