QUESTION 1
You need to correct the RequestUserApproval Function app error.
What should you do?
A. Update line RA13 to use the async keyword and return an HttpRequest object value.
B. Configure the Function app to use an App Service hosting plan. Enable the Always On setting of the
hosting plan.
C. Update the function to be stateful by using Durable Functions to process the request payload.
D. Update the functionTimeout property of the host.json project file to 15 minutes.
QUESTION 1
You need to correct the RequestUserApproval Function app error.
What should you do?
A. Update line RA13 to use the async keyword and return an HttpRequest object value.
B. Configure the Function app to use an App Service hosting plan. Enable the Always On setting of the
hosting plan.
C. Update the function to be stateful by using Durable Functions to process the request payload.
D. Update the functionTimeout property of the host.json project file to 15 minutes.
Answer: C
Explanation
Async operation tracking
The HTTP response mentioned previously is designed to help implement long-running HTTP async APIs with
Durable Functions. This pattern is sometimes referred to as the polling consumer pattern.
Both the client and server implementations of this pattern are built into the Durable Functions HTTP APIs.
Function app
You perform local testing for the RequestUserApproval function. The following error message displays:
'Timeout value of 00:10:00 exceeded by function: RequestUserApproval'
The same error message displays when you test the function in an Azure development environment when you
run the following Kusto query:
FunctionAppLogs
| where FunctionName = = "RequestUserApproval"
References:
https://docs.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-http-features
Question #:2
You need to investigate the Azure Function app error message in the development environment.
What should you do?
A. Connect Live Metrics Stream from Application Insights to the Azure Function app and filter the metrics.
B. Create a new Azure Log Analytics workspace and instrument the Azure Function app with Application
Insights.
C. Update the Azure Function app with extension methods from Microsoft.Extensions.Logging to log
events by using the log instance.
D. Add a new diagnostic setting to the Azure Function app to send logs to Log Analytics.
Answer: A
Explanation
Azure Functions offers built-in integration with Azure Application Insights to monitor functions.
The following areas of Application Insights can be helpful when evaluating the behavior, performance, and
errors in your functions:
Live Metrics: View metrics data as it's created in near real-time.
Failures
Performance
Metrics
Reference:
https://docs.microsoft.com/en-us/azure/azure-functions/functions-monitoring
Question #:3
You need to store the user agreements.
Where should you store the agreement after it is completed?
A. Azure Storage queue
B. Azure Event Hub
C. Azure Service Bus topic
D. Azure Event Grid topic
Answer: B
Explanation
Azure Event Hub is used for telemetry and distributed data streaming.
This service provides a single solution that enables rapid data retrieval for real-time processing as well as
repeated replay of stored raw data. It can capture the streaming data into a file for processing and analysis.
It has the following characteristics:
low latency
capable of receiving and processing millions of events per second
at least once delivery
Reference:
https://docs.microsoft.com/en-us/azure/event-grid/compare-messaging-services
Question #:4
You need to monitor ContentUploadService accourding to the requirements.
Which command should you use?
A. az monitor metrics alert create –n alert –g … - -scopes … - -condition "avg
Percentage CPU > 8"
B. az monitor metrics alert create –n alert –g … - -scopes … - -condition "avg
Percentage CPU > 800"
C. az monitor metrics alert create –n alert –g … - -scopes … - -condition "CPU
Usage > 800"
D. az monitor metrics alert create –n alert –g … - -scopes … - -condition "CPU
Usage > 8"
Answer: B
Explanation
Scenario: An alert must be raised if the ContentUploadService uses more than 80 percent of available
CPU-cores
Reference:
https://docs.microsoft.com/sv-se/cli/azure/monitor/metrics/alert
Question #:5
You need to support the requirements for the Shipping Logic App.
What should you use?
A. Azure Active Directory Application Proxy
B. Point-to-Site (P2S) VPN connection
C. Site-to-Site (S2S) VPN connection
D. On-premises Data Gateway
Answer: D
Explanation
Before you can connect to on-premises data sources from Azure Logic Apps, download and install the
on-premises data gateway on a local computer. The gateway works as a bridge that provides quick data
transfer and encryption between data sources on premises (not in the cloud) and your logic apps.
The gateway supports BizTalk Server 2016.
Note: Microsoft have now fully incorporated the Azure BizTalk Services capabilities into Logic Apps and
Azure App Service Hybrid Connections.
Logic Apps Enterprise Integration pack bring some of the enterprise B2B capabilities like AS2 and X12, EDI
standards support
Scenario: The Shipping Logic app must meet the following requirements:
Support the ocean transport and inland transport workflows by using a Logic App.
Support industry-standard protocol X12 message format for various messages including vessel content
details and arrival notices.
Secure resources to the corporate VNet and use dedicated storage resources with a fixed costing model.
Maintain on-premises connectivity to support legacy applications and final BizTalk migrations.
Reference:
https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-gateway-install
No comments:
Post a Comment