Azure Event Grid Flashcards

1
Q

What is Azure Event Grid and what does it do?

A

Azure Event Grid is a fully managed event routing service that simplifies event-based communication and supports a publish-subscribe model.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are some common use cases for Azure Event Grid?

A

Azure Event Grid is commonly used for event-driven applications, serverless architecture, real-time notifications, and integrating services like Azure Functions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How does Event Grid handle message delivery?

A

Event Grid guarantees at least once delivery and offers dead-lettering to ensure no messages are lost.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are Event Grid topics?

A

Topics are channels that event sources can use to send their events.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are Event Grid subscriptions?

A

Subscriptions define which events a subscriber wants to receive from an event source.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do custom topics work in Event Grid?

A

Custom topics are user-defined topics that can be used to publish custom events.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the difference between system topics and custom topics?

A

System topics are built-in for Azure services, whereas custom topics are user-defined.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the pricing considerations for Event Grid?

A

Azure Event Grid charges based on the number of operations, such as publishing events and delivering messages.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is an event handler in Event Grid?

A

An event handler processes the events delivered by Event Grid.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Can Event Grid integrate with third-party services?

A

Yes, Event Grid can be used to route events to third-party services via webhooks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the maximum number of event subscriptions per topic?

A

Each topic supports up to 500 event subscriptions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How does Event Grid ensure security during event transmission?

A

Event Grid uses HTTPS for secure event delivery and supports managed identities for secure access to resources.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a dead-letter queue in Event Grid?

A

The dead-letter queue stores undeliverable messages for future inspection and troubleshooting.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How does Event Grid handle retries for failed deliveries?

A

Event Grid automatically retries failed event deliveries based on a built-in retry policy.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the supported event formats in Event Grid?

A

Event Grid supports multiple formats including JSON, CloudEvents v1.0, and Event Grid schema.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Can Event Grid handle high throughput?

A

Yes, Event Grid is designed to handle millions of events per second.

17
Q

How do event filtering rules work in Event Grid?

A

Event subscriptions can include filters to specify which events should be sent to subscribers based on event type or content.

18
Q

What are the retry policies available in Event Grid?

A

Event Grid supports exponential backoff and retry policies for failed deliveries.

19
Q

How does Azure Event Grid differ from Azure Event Hubs?

A

Event Grid is for event-based communication, while Event Hubs is designed for high-throughput streaming data ingestion.

20
Q

What is the maximum event size supported by Event Grid?

A

Event Grid supports a maximum event size of 1 MB.

21
Q

How can you monitor Event Grid activities?

A

Event Grid activities can be monitored through Azure Monitor and diagnostic logs.

22
Q

What are the benefits of using Event Grid over polling for event notifications?

A

Event Grid eliminates the need for continuous polling and delivers events in near real-time.

23
Q

What is the role of managed identities in Event Grid?

A

Managed identities allow secure access to resources like Azure Functions without needing explicit credentials.

24
Q

How does Event Grid support event-driven architecture?

A

Event Grid provides a way to build loosely coupled systems that react to events across services and resources.

25
What types of events are supported by Azure Event Grid?
Event Grid supports various types of events, including resource events, custom events, and third-party webhooks.
26
What is the benefit of using Event Grid for serverless applications?
Event Grid enables serverless applications to react to changes in resources or systems without the need for manual triggers.
27
What is the latency of event delivery in Event Grid?
Event Grid delivers events with a latency of less than 60 seconds in most cases.
28
Can Event Grid handle cross-region event delivery?
Yes, Event Grid can deliver events across different Azure regions.
29
How does Event Grid support disaster recovery?
Event Grid supports disaster recovery through cross-region replication and redundant infrastructure.
30
How do you create a custom event schema in Event Grid?
Custom event schemas can be created and published using custom topics in Event Grid.
31
What is the role of webhooks in Azure Event Grid?
Webhooks act as event handlers that receive events from Event Grid and trigger actions in third-party services or custom applications.
32
When should I choose Event Grid over Event Hub?
1. Azure Event Hub is designed for large-scale data ingestion. It can handle millions of messages per second and supports message persistence. It is ideal for high-throughput scenarios like telemetry and streaming. 2. Azure Event Grid, while also supporting event-driven architecture, is optimized for lightweight event notifications. It focuses on event distribution rather than handling a massive influx of messages over time. It does not focus on message persistence like Event Hub does.