Skip to content

Commit d564f0c

Browse files
authored
changed files by pdets auto publish service, publishid[37109385-7da8-4ef7-bed3-d7cc4348ea03] and do [publish].
1 parent c4162c2 commit d564f0c

File tree

3 files changed

+49
-32
lines changed

3 files changed

+49
-32
lines changed

learn-pr/wwl-azure/azure-event-hubs/7-knowledge-check.yml

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,49 @@ metadata:
1313
ms.custom:
1414
- N/A
1515
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."

learn-pr/wwl-azure/azure-event-hubs/includes/6a-event-hubs-send-receive.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@ To complete the exercise you need:
1717

1818
## Get started
1919

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:
2121

2222
> [!div class="checklist"]
23-
> * A quick assessment
24-
> * A summary of what you've learned
25-
> * A badge for completing this module
23+
> * Complete the module
24+
> * Earn a badge for completing this module
2625
2726
<br/>
2827

learn-pr/wwl-azure/azure-event-hubs/includes/7-knowledge-check.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)