You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: learn-pr/wwl-azure/azure-event-hubs/7-knowledge-check.yml
+46-2Lines changed: 46 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -13,5 +13,49 @@ metadata:
13
13
ms.custom:
14
14
- N/A
15
15
durationInMinutes: 3
16
-
content: |
17
-
[!include[](includes/7-knowledge-check.md)]
16
+
quiz:
17
+
questions:
18
+
- content: "Which of the following Event Hubs concepts represents an ordered sequence of events that is held in an Event Hubs?"
19
+
choices:
20
+
- content: "Consumer group"
21
+
isCorrect: false
22
+
explanation: "Incorrect. A consumer group is a view of an entire Event hub."
23
+
- content: "Partition"
24
+
isCorrect: true
25
+
explanation: "Correct. A partition is an ordered sequence of events that is held in an Event Hub."
26
+
- content: "Event Hubs producer"
27
+
isCorrect: false
28
+
explanation: "Incorrect. An Event Hub producer is a type of client."
29
+
- content: "Which of the following options represents when an event processor marks or commits the position of the last successfully processed event within a partition?"
30
+
choices:
31
+
- content: "Checkpointing"
32
+
isCorrect: true
33
+
explanation: "Correct. Checkpointing is a process when an event processor marks, or commits, the position of the last successfully processed event within a partition."
34
+
- content: "Scale"
35
+
isCorrect: false
36
+
explanation: "Incorrect. Scale covers the number of consumers and taking ownership of reading partitions."
37
+
- content: "Load balance"
38
+
isCorrect: false
39
+
explanation: "Incorrect. Load balance increases or reduces the consumers dynamically."
40
+
- content: "What is a key advantage of using Microsoft Entra ID with Azure Event Hubs?"
41
+
choices:
42
+
- content: "It allows storing credentials directly in the application code for easier access."
43
+
isCorrect: false
44
+
explanation: "Incorrect. Storing credentials in code is not recommended due to security risks."
45
+
- content: "It eliminates the need for OAuth 2.0 tokens for authentication."
46
+
isCorrect: false
47
+
explanation: "Incorrect. OAuth 2.0 tokens are still required for authentication with Microsoft Entra ID."
48
+
- content: "It removes the need to store credentials in the application code by using OAuth 2.0 tokens."
49
+
isCorrect: true
50
+
explanation: "Correct. Microsoft Entra ID enables secure authentication without storing credentials in the code."
51
+
- content: "What is the purpose of the EventHubProducerClient in the Azure Event Hubs client library?"
52
+
choices:
53
+
- content: "To process events from an event hub using a consumer group."
54
+
isCorrect: false
55
+
explanation: "Incorrect. Processing events is the role of the EventHubConsumerClient or EventProcessorClient."
56
+
- content: "To publish events to an event hub, either to specific partitions or using automatic routing."
57
+
isCorrect: true
58
+
explanation: "Correct. The EventHubProducerClient is responsible for publishing events to an Event Hub."
59
+
- content: "To manage and monitor the partitions within an event hub."
60
+
isCorrect: false
61
+
explanation: "Incorrect. The EventHubProducerClient is not used for managing or monitoring partitions."
Copy file name to clipboardExpand all lines: learn-pr/wwl-azure/azure-event-hubs/includes/6a-event-hubs-send-receive.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,12 +17,11 @@ To complete the exercise you need:
17
17
18
18
## Get started
19
19
20
-
Select the **Launch Exercise** button, it opens the exercise instructions in a new browser window. When you're finished with the exercise, return here for:
20
+
Select the **Launch Exercise** button to open the exercise instructions in a new browser window. When you're finished with the exercise, return here to:
0 commit comments