0
0
Azurecloud~20 mins

Event Grid for event routing in Azure - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Event Grid Routing Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
service_behavior
intermediate
2:00remaining
Event Grid subscription filtering behavior

You have an Azure Event Grid topic with multiple event subscriptions. One subscription uses a filter to only receive events where the eventType is Contoso.Items.Created. What happens when an event with eventType Contoso.Items.Updated is published?

AThe subscription does not receive the event because the event type does not match the filter.
BThe event is rejected by Event Grid and not delivered to any subscription.
CThe subscription receives the event but with a warning.
DThe subscription receives the event because it matches the topic.
Attempts:
2 left
💡 Hint

Think about how filters work in Event Grid subscriptions.

Architecture
intermediate
2:00remaining
Choosing Event Grid for event routing

You want to build a system where multiple services react to events from various sources in near real-time. Which feature of Azure Event Grid makes it suitable for this scenario?

AEvent Grid only supports events from Azure Blob Storage.
BEvent Grid provides push-based event delivery with low latency and supports multiple subscribers.
CEvent Grid requires polling to receive events.
DEvent Grid supports direct database queries for event storage.
Attempts:
2 left
💡 Hint

Consider how Event Grid delivers events to subscribers.

security
advanced
2:00remaining
Securing Event Grid event subscriptions

You want to ensure that only authorized services can subscribe to your Event Grid topic. Which method provides the best security for event subscription authentication?

AUse Azure Active Directory (AAD) authentication with managed identities for the subscription endpoint.
BUse a shared access key in the subscription endpoint URL.
CUse IP filtering on the Event Grid topic to allow all IPs.
DNo authentication is needed because Event Grid is secure by default.
Attempts:
2 left
💡 Hint

Think about modern Azure security best practices.

Configuration
advanced
2:00remaining
Event Grid dead-letter destination configuration

You want to configure an Event Grid subscription to send undeliverable events to a dead-letter destination. Which of the following is a valid dead-letter destination for Event Grid?

AAzure SQL Database table
BAzure Virtual Machine disk
CAzure Blob Storage container
DAzure Cosmos DB container
Attempts:
2 left
💡 Hint

Dead-letter destinations must be storage services that can hold event data.

Best Practice
expert
2:00remaining
Optimizing Event Grid event routing for high scale

You have an Event Grid topic receiving thousands of events per second. To optimize event routing and reduce latency, which approach is best?

ACreate a single subscription with no filters to receive all events and process filtering in the subscriber.
BUse polling on the Event Grid topic to batch events before processing.
CDisable retry policies to avoid duplicate events.
DCreate multiple subscriptions with filters to route only relevant events to each subscriber.
Attempts:
2 left
💡 Hint

Think about how filtering affects event delivery and processing load.