Azure Event Hub Flashcards

1
Q

What is Azure Event Hubs?

A
  1. Azure Event Hub is a real-time data ingestion and streaming service
  2. Designed to stream large volumes of events (Millions)
  3. From any source
  4. Real-time
  5. Telemetry, Log collection, Data-driven applications.
  6. Compatible with Kafka
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Azure Event Hub’s architecture?

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

I require Kafka-compatible SaaS services; what options do I have in Azure?

A

Azure Event Hub is Kafka-compatible, while Karks is not. It is 100% compatible and can be used instead of Kafka with no code changes.

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

When should you use Event Hubs?

A

Azure Event Hubs is the go-to streaming ingestion platform for all applications, big data, etc.

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

I wnat to ingest streaming data from thousands of IoT devices; what should I use?

A

Azure Event Hubs

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

I wnat to ingest streaming data from thousands of IoT devices and analyze the streaming data. What should I use thet will enable real-time insights?

A

Azure Event Hubs for streaming and Azure Streaming Analytics for analyzing the data.

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

I am using Azure Event Hubs; when should I use Azure Streaming Analytics?

A

Realtime streaming processing

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

I am using Azure Event Hubs; when should I use Azure Data Explorer?

A

Data Analytics

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

I am using Azure Event Hubs; when should I use Azure Databricks?

A

Batch analysis

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

What protocol inputs are supported?

A
  1. AMQP
  2. Kafka
    GTTPS API
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a producer in Azure Event Hubs?

A

Is the entity(device, app, etc) thet is producing the data and sending it to Azure Event Hubs.

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

Explain the schema registry as used in Azure Event Hubs.

A

The schema registry ensures compatibility across producers; it is a sort of database of the schemas for the messages arriving at Azure Event Hubs. The messages arriving will be rechecked for compatibility with the schema registry.

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

Name two schemes used for Azure Event Hubs?

A

JSOIN
AVRO

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

What is an Azure Event Hubs Producer?

A

These applications can ingest data to an event hub by using Event Hubs SDKs or any Kafka producer client.

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

What is an Azure Event Hubs Partition?

A

hey’re used to scale an event hub. They’re like lanes in a freeway. If you need more streaming throughput, you can add more partitions.

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

What is an Azure Event Hubs Namespace?

A

The management container for one or more event hubs or Kafka topics. The management tasks, such as allocating streaming capacity, configuring network security, and enabling geo-disaster recovery, are handled at the namespace level.

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

What is an Azure Event Hubs Consumer?

A

hese applications can consume data by seeking through the event log and maintaining consumer offset. Consumers can be Kafka consumer clients or Event Hubs SDK clients.

18
Q

What is an Azure Event Hubs Consumer Group?

A

This logical group of consumer instances reads data from an event hub or Kafka topic. It enables multiple consumers to read the same streaming data in an event hub independently at their own pace and with their offsets.

19
Q

What is Azure Event Hubs, and what purpose does it serve in cloud architecture?

A

Azure Event Hub service is a real-time streaming platform for ingesting large numbers (millions) of events from almost any application, service, or IoT device.

20
Q

What are the different pricing tiers available for Azure Event Hubs?

A
  1. Basic is for low throughput.
  2. Standard adds features like Event Hubs Capture.
  3. Dedicated is for enterprises requiring high throughput.
21
Q

What is the difference between an event producer and an event consumer in Azure Event Hubs?

A

Event producers send data to an Event Hub, while event consumers read the event data from the Event Hub partitions.

22
Q

What are throughput units (TU) in Azure Event Hubs?

A

Throughput units define Event Hubs’ capacity. Each unit allows up to 1 MB of ingress or 2 MB of egress per second, helping to scale the event ingestion rate.

23
Q

What is partitioning in Azure Event Hubs, and why is it important?

A

Partitioning allows for parallelism in processing events. Each partition in an Event Hub acts as a sequential commit log, helping ensure that related events are processed in order.

24
Q

How long can events be retained in Azure Event Hubs, and how is this configured?

A

Events can be retained for 1–7 days (in the Standard tier), and this is configurable through the Event Hub’s properties.

25
Q

What is the Event Hubs Capture feature, and how does it work?

A

Event Hubs Capture allows you to automatically store streaming data in Azure Blob Storage or Data Lake Storage in batch formats like Avro for further analysis.

26
Q

What is the difference between an event producer and an event consumer in Azure Event Hubs?

A

Event producers send data to an Event Hub, while event consumers read the event data from the Event Hub partitions.

27
Q

How does Azure Event Hubs ensure message ordering?

A

Azure Event Hubs ensures message ordering within each partition by maintaining the order in which events are added to the partition.

28
Q

When should you use Azure Event Hubs instead of Azure Service Bus?

A

Use Event Hubs for big data, real-time event streaming scenarios with high-throughput requirements. Service Bus is for enterprise messaging, especially in ordered, transactional, and stateful workflows.

29
Q

What is an Event Hubs namespace?

A

An Event Hubs namespace is a container for multiple Event Hub entities, which simplifies the organization and management of event pipelines.

30
Q

How can Azure Event Hubs scale to meet higher ingestion requirements?

A

Azure Event Hubs scales through additional throughput units (TUs) and partitioning. For larger enterprises, the Dedicated tier supports higher scaling.

31
Q

What are consumer groups in Azure Event Hubs, and how do they work?

A

Consumer groups in Azure Event Hubs allow multiple applications to read data from an Event Hub independently. Each group has its own pointer to event stream positions.

32
Q

What is checkpointing in Azure Event Hubs, and why is it important?

A

Checkpointing tracks how far a consumer has read events from a partition. It helps in resuming processing from the last read event in case of a failure.

33
Q

What is Geo-disaster Recovery in Azure Event Hubs, and how is it used?

A

Geo-disaster Recovery allows replicating Event Hubs namespaces across Azure regions, enabling failover during regional outages.

34
Q

What is the auto-inflate feature in Azure Event Hubs, and how does it help with scaling?

A

Auto-inflate allows Event Hubs to automatically increase the number of throughput units when the event load grows beyond configured capacity, preventing performance bottlenecks.

35
Q

What protocols does Azure Event Hubs support for event ingestion?

A

Azure Event Hubs supports AMQP, HTTPS, and Kafka protocols, enabling integration with various systems and platforms.

36
Q

What is the maximum message size supported in Azure Event Hubs?

A

The maximum message size in Azure Event Hubs is 1 MB.

37
Q

What is the typical latency in Azure Event Hubs, and what factors affect it?

A

Event Hubs latency is typically low (less than 200 ms for ingress), but factors like partitioning, throughput units, and network latency can affect performance.

38
Q

How is security managed in Azure Event Hubs?

A

Security in Event Hubs is managed using Azure Active Directory, shared access policies, and data encryption at rest.

39
Q

How can you monitor Azure Event Hubs’ health and performance?

A

You can monitor Event Hubs using Azure Monitor, which provides metrics such as incoming requests, throughput units, and error rates.

40
Q
A