exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 3 question 5 discussion

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

You configure an Azure Application Insights availability test.
You need to notify the customer services department at your company by email when availability is degraded.
You create an Azure logic app that will handle the email and follow up actions.
Which type of trigger should you use to invoke the logic app?

  • A. an HTTPWebhook trigger
  • B. an HTTP trigger
  • C. a Request trigger
  • D. an ApiConnection trigger
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
rdemontis
Highly Voted 3 years, 2 months ago
Selected Answer: C
Correct answer is C. Probably the following article has generated a misunderstanding: https://docs.microsoft.com/en-us/azure/app-service/tutorial-send-email?tabs=dotnet It uses the Action "When an HTTP request is received" and defines it as HTTP Request trigger. But this is a Request Trigger and not an HTTP Trigger. Please look at the document below where it is explained the difference very well. https://docs.microsoft.com/en-us/azure/connectors/connectors-native-reqres You have to consider that http trigger is used only for outbound requests from the logic app. You can't use it for Inbound http requests. For those you have to use Request Trigger.
upvoted 55 times
pdk88
2 years, 8 months ago
It's exactly as you say: inbound HTTP requests TO the logic app, trigger it to do things outbound HTTP triggers FROM the logic app can trigger other endpoints or services https://docs.microsoft.com/en-us/azure/connectors/connectors-native-reqres?tabs=consumption https://docs.microsoft.com/en-us/azure/connectors/connectors-native-http C is the right answer
upvoted 4 times
...
giuliohome
2 years, 8 months ago
Yeah, you're right but Microsoft terminology is very misleading and non-standard. But yes, answer is C, thank you for your explanation, notice that the link for the outbound "http trigger" is here: https://docs.microsoft.com/en-us/azure/connectors/connectors-native-http#http-trigger
upvoted 2 times
...
RealRaymond
1 year, 11 months ago
Yes, C is correct. More info here: https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-examples-and-scenarios
upvoted 2 times
...
...
Hooters
Highly Voted 4 years, 6 months ago
Should be B.- HTTP trigger https://docs.microsoft.com/en-us/azure/app-service/tutorial-send-email?tabs=dotnet
upvoted 53 times
az_cli
4 years, 2 months ago
agree with you : https://dailydotnettips.com/sending-your-azure-application-insights-alerts-to-team-sites-using-azure-logic-app/
upvoted 6 times
...
...
marmila
Most Recent 9 months, 2 weeks ago
Selected Answer: C
answer is C: https://learn.microsoft.com/en-us/azure/logic-apps/business-continuity-disaster-recovery-guidance?wt.mc_id=knwlserapi_inproduct_azportal#trigger-type-guidance
upvoted 1 times
...
marmila
9 months, 2 weeks ago
Answer is C: https://learn.microsoft.com/en-us/azure/logic-apps/business-continuity-disaster-recovery-guidance?wt.mc_id=knwlserapi_inproduct_azportal#trigger-type-guidance
upvoted 1 times
...
4bd3116
1 year ago
Selected Answer: B
https://learn.microsoft.com/en-us/azure/app-service/tutorial-send-email?tabs=python
upvoted 1 times
...
ozbonny
1 year, 2 months ago
Selected Answer: C
Correct answer C
upvoted 1 times
...
vsvaid
1 year, 4 months ago
Selected Answer: C
It is Request Trigger
upvoted 1 times
...
ObiWan500
1 year, 6 months ago
Selected Answer: B
The Logic App will be triggered by an Action Group as an HTTP request.
upvoted 2 times
...
yana_b
1 year, 6 months ago
Selected Answer: C
https://learn.microsoft.com/en-us/azure/app-service/tutorial-send-email?tabs=dotnet
upvoted 1 times
...
hristozkov69
1 year, 7 months ago
The question is "which TYPE of trigger". The HTTP request trigger in the logic app configuration is a Request Type trigger, so C is the correct answer.
upvoted 1 times
...
yuu_oppai
1 year, 7 months ago
Selected Answer: B
Should be B.- HTTP trigger https://docs.microsoft.com/en-us/azure/app-service/tutorial-send-email?tabs=dotnet
upvoted 2 times
...
Oreao
1 year, 7 months ago
A. an HTTPWebhook trigger You can configure Azure Application Insights to send an HTTP webhook when availability is degraded, and this trigger will invoke the logic app when the webhook is received. Inside the logic app, you can set up actions to send email notifications and perform any follow-up actions required. Option B, an HTTP trigger, is used when you want to initiate a logic app manually or through an HTTP request but doesn't directly connect to Azure Application Insights for event-based triggers.
upvoted 3 times
...
peekingpicker
1 year, 7 months ago
"Under the Start with a common trigger section, select the trigger named When an HTTP request is received ." HTTP Request is B, isn't it ? or just Request as in C ? but just "Request" could also mean API Request, isn't it ?
upvoted 1 times
...
ghabool
1 year, 7 months ago
I choose A This is because an HTTPWebhook trigger can subscribe to an external service and wait for a callback from that service before continuing the logic app’s workflow. In this case, the external service is the Application Insights availability test, which can send an alert to a webhook URL when availability is degraded. The logic app can use the HTTPWebhook trigger to provide the webhook URL and receive the alert payload from the availability test. Then, the logic app can use other actions to handle the email and follow up actions. An HTTP trigger, on the other hand, is used to start a logic app when it receives an HTTP request from any source. A Request trigger is used to start a logic app when it receives a request from another logic app or a Power Automate flow. An ApiConnection trigger is used to start a logic app when it connects to an API, such as Office 365 or Dropbox. These triggers are not suitable for invoking the logic app based on the availability test alert.
upvoted 1 times
...
d78b459
1 year, 9 months ago
Selected Answer: C
Correct answer is C. HTTPWebhook trigger This trigger makes your logic app callable by creating an endpoint that can register a subscription by calling the specified endpoint URL. When you create this trigger in your workflow, an outgoing request makes the call to register the subscription. HTTP trigger This trigger sends a request to the specified HTTP or HTTPS endpoint based on the specified recurrence schedule. The trigger then checks the response to determine whether the workflow runs. Request trigger This trigger makes your logic app callable by creating an endpoint that can accept incoming requests. https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-actions-triggers
upvoted 4 times
...
renzoku
1 year, 10 months ago
Selected Answer: C
C. a Request trigger 1. Azure Application Insights availability test -> HTTP request(Request trigger, when availability is degraded) 2. Logic app, send an email notification -> customer In Logic app you define the endpoint URL that will receive the HTTP request (from the availability test)
upvoted 2 times
...
Rouix
1 year, 10 months ago
Looks like this should be C. According to the documentation: The Request trigger creates a manually callable endpoint that can handle only inbound requests over HTTPS. When the calling service sends a request to this endpoint, the Request trigger fires and runs the logic app workflow. https://learn.microsoft.com/en-us/azure/connectors/connectors-native-reqres?tabs=consumption
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