exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 24 question 1 discussion

Actual exam question from Microsoft's AZ-204
Question #: 1
Topic #: 24
[All AZ-204 Questions]

HOTSPOT -
You need to configure the integration for Azure Service Bus and Azure Event Grid.
How should you complete the CLI statement? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: eventgrid -
To create event subscription use: az eventgrid event-subscription create

Box 2: event-subscription -

Box 3: servicebusqueue -
Scenario: Azure Service Bus and Azure Event Grid
Azure Event Grid must use Azure Service Bus for queue-based load leveling.
Events in Azure Event Grid must be routed directly to Service Bus queues for use in buffering.
Events from Azure Service Bus and other Azure services must continue to be routed to Azure Event Grid for processing.
Reference:
https://docs.microsoft.com/en-us/cli/azure/eventgrid/event-subscription?view=azure-cli-latest#az_eventgrid_event_subscription_create

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
malay1232489
Highly Voted 3 years, 8 months ago
correcto... https://docs.microsoft.com/en-us/azure/event-grid/handler-service-bus
upvoted 43 times
MrZoom
3 years, 8 months ago
Agreed. Note that the casus also denotes the opposite integration: "Events from Azure Service Bus and other Azure services must continue to be routed to Azure Event Grid for processing". But none of the given options seem to do just this, so the given answer is correct.
upvoted 7 times
coffecold
2 years, 1 month ago
Exact, this is only one piece of the integration. That for grid to service bus.
upvoted 1 times
...
...
surprise0011
1 year, 7 months ago
received 2023-04-17 went with given answer, score 926
upvoted 4 times
...
...
lugospod
Highly Voted 2 years, 10 months ago
Got this one 01/2022. Went with most voted (to avoid writing answers again)
upvoted 9 times
...
james2033
Most Recent 8 months, 3 weeks ago
az eventgrid event-subscription create --name <my-event-subscription> --source-resource-id /subscriptions/{SubID}/resourceGroups/{RG}/providers/Microsoft.EventGrid/topics/topic1 --endpoint-type servicebusqueue --endpoint /subscriptions/{SubID}/resourceGroups/TestRG/providers/Microsoft.ServiceBus/namespaces/ns1/queues/queue1 1) eventgrid 2) event-subscription 3) servicebusqueue https://learn.microsoft.com/en-us/azure/event-grid/handler-service-bus#use-azure-cli
upvoted 2 times
...
Vmwarevirtual
1 year, 6 months ago
Appeared in exam I took on 27 May 2023 1 eventgrid 2 event-subscription 3 servicebusqueue Following is the example from Azcli command of az eventgrid Create a new event subscription for an Azure subscription, using default filters, and an Azure ServiceBusQueue as a destination. az eventgrid event-subscription create --name es2 \ --source-resource-id /subscriptions/{SubID} \ --endpoint-type servicebusqueue \ --endpoint /subscriptions/{SubID}/resourceGroups/TestRG/providers/Microsoft.ServiceBus/n amespaces/ns1/queues/queue1
upvoted 2 times
...
OPT_001122
2 years ago
correct
upvoted 1 times
...
BishopeL
3 years, 3 months ago
Absolutely correct
upvoted 3 times
...
rustycables
3 years, 3 months ago
Given is valid... but DYOR. https://docs.microsoft.com/en-us/cli/azure/eventgrid/event-subscription?view=azure-cli-latest#az_eventgrid_event_subscription_create
upvoted 2 times
...
MrXBasit
3 years, 4 months ago
Correcto
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...