exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 5 question 5 discussion

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

DRAG DROP -
A company has multiple warehouses. Each warehouse contains IoT temperature devices which deliver temperature data to an Azure Service Bus queue.
You need to send email alerts to facility supervisors immediately if the temperature at a warehouse goes above or below specified threshold temperatures.
Which five actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Step 1: Create a blank Logic app.
Create and configure a Logic App.
Step 2: Add a logical app trigger that fires when one or more messages arrive in the queue.
Configure the logic app trigger.
Under Triggers, select When one or more messages arrive in a queue (auto-complete).
Step 3: Add an action that reads IoT temperature data from the Service Bus queue
Step 4: Add a condition that compares the temperature against the upper and lower thresholds.
Step 5: Add an action that sends an email to specified personnel if the temperature is outside of those thresholds
Reference:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-monitoring-notifications-with-azure-logic-apps

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
agueda
Highly Voted 4 years, 1 month ago
The 2nd step sholud be "logic app trigger". You need a trigger to fire the logic app Ref: https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-monitoring-notifications-with-azure-logic-apps
upvoted 88 times
...
debanjan10
Highly Voted 3 years, 6 months ago
Order: 1. Create blank logic app 2. Add logic app trigger when one or more messages arrive in the queue 3. Action to read IoT Temp data 4. Compare upper and lower temp 5. Send emails
upvoted 66 times
Knightie
2 years, 8 months ago
trigger instead of action, trigger is something kick starts asking someone to do the job..
upvoted 1 times
...
...
Vichu_1607
Most Recent 5 months, 1 week ago
g. Create a blank logic app a. Add a logic app trigger that fires when one or more messages arrive in the queue h. Add an action that reads IoT temperature data from the Service Bus queue f. Add a condition that compares the temperature against the upper and lower thresholds c. Add an action that sends an email to specified personnel if the temperature is outside of those thresholds
upvoted 1 times
...
naivecoder786
2 years, 1 month ago
Logic Apps are out of Scope from AZ-204 now !
upvoted 14 times
...
warchoon
2 years, 1 month ago
I think the trigger should bee after the action it uses. So 1 after 6. Agree with the rest
upvoted 1 times
warchoon
2 years, 1 month ago
Sorry action should be created after trigger https://learn.microsoft.com/en-us/azure/logic-apps/quickstart-create-first-logic-app-workflow So the explanation is correct
upvoted 2 times
...
...
OPT_001122
2 years, 4 months ago
this is a freaking question. i try to remember it like a sentence Black Logic Arrives in the Q Acts Compares Sends Order: 1. Blank Logic 2. Arrive in the Queue 3. Action 4. Compare 5. Send
upvoted 5 times
...
Lucky_me
2 years, 10 months ago
The explanation is correct, the picture is incorrect.
upvoted 2 times
OPT_001122
2 years, 4 months ago
Blank Logic Arrives in the Q Acts to Read Compares Sends
upvoted 1 times
...
...
liuliangzhou
2 years, 11 months ago
Order: create app -> trigger -> action -> condition -> do 1. Create blank logic app 2. Add logic app trigger when one or more messages arrive in the queue 3. Action to read IoT Temp data 4. Compare upper and lower temp 5. Send emails
upvoted 5 times
...
ivan0590
3 years ago
Admin, please correct the given answer. The second step is wrong, is a "logic app trigger", not an action. Even the explanation says is a trigger!
upvoted 1 times
...
kondapaturi
3 years, 10 months ago
First , we need to create a blank logic app. Then we need to add a trigger to the logic app which will fire when one or more messages arrives in the queue. Then we need an action to read the IoT temperature data. Then we need to have a condition that compares the temperature against the upper and lower thresholds. And finally, we have to have an action that sends an email to the specified personnel.
upvoted 14 times
...
insanewriters
3 years, 10 months ago
Logic apps are supposed to be out of scope as of March 2021. Can anybody confirm they have gotten this question recently?
upvoted 16 times
...
glam
3 years, 11 months ago
Only Step 2 should be - Logic app triggers When one or more messages arrive in a queue . Rest correct.
upvoted 5 times
...
Gajendran
4 years ago
Steps and Answers are wrong. Steps given below the Answers are correct. Setp 2 should be - Logic app triggers When one or more messages arrive in a queue . Refer - https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-monitoring-notifications-with-azure-logic-apps
upvoted 2 times
...
Deputy_Cartman
4 years ago
What is with this website and posting incorrect answers to questions and leaving them here?
upvoted 4 times
catsforthewin
4 years ago
What is the correct answer for this question?
upvoted 2 times
jvyas
4 years ago
Only step 2 needs to be replaced by " Add a trigger that fires when item arrives in queue" the rest of the steps are correct and in the same order as the provided answer.
upvoted 4 times
...
...
...
hobob
4 years, 1 month ago
Answer is incorrect for step 2. It should be to add a Service Bus Trigger when items arrive in a queue (ref: https://docs.microsoft.com/en-us/azure/connectors/connectors-create-api-servicebus#add-service-bus-trigger)
upvoted 10 times
pmsiva
4 years, 1 month ago
You are correct. Logic app must start with a Trigger.
upvoted 3 times
pmsiva
4 years, 1 month ago
Add the RSS trigger Every logic app must start with a trigger, which fires when a specific event happens, or when a specific condition is met. Each time the trigger finds new items, it fires and the Logic Apps engine creates a logic app instance that starts and runs your workflow. If the trigger doesn't find new items, the trigger doesn't fire and doesn't create an instance or run the workflow at this check.
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago