leads4pass AZ-204 dumps are verified and audited by a Microsoft professional team, and they really meet the requirements of the AZ-204 certification exam, covering more than 95% of the exam questions in the exam room!
And, offer the most popular study methods: AZ-204 dumps PDF, and AZ-204 dumps VCE, both study formats contain the latest certification exam questions and answers!
Therefore, the best exam solution is to use AZ-204 dumps with PDF and VCE formats: https://www.leads4pass.com/az-204.html (446 Q&A), to help you practice easily and achieve exam success.
What’s more! Part of the leads4pass AZ-204 dumps exam questions online for free download: https://drive.google.com/file/d/1COZR1hJUqmJpxBlR56jll2WQtlm9-YdH/
You can also practice some of the leads4pass AZ-204 dumps exam questions online
Type | Number of exam questions | Exam name | Exam code | Latest updated |
Free | 15 | Developing Solutions for Microsoft Azure | AZ-204 | AZ-204 dumps |
Question 1:
You need to access data from the user claim object in the e-commerce web app. What should you do first?
A. Write custom code to make a Microsoft Graph API call from the e-commerce web app.
B. Assign the Contributor RBAC role to the e-commerce web app by using the Resource Manager create role assignment API.
C. Update the e-commerce web app to read the HTTP request header values.
D. Using the Azure CLI, enable Cross-origin resource sharing (CORS) from the e-commerce checkout API to the e-commerce web app.
Correct Answer: C
Methods to Get User Identity and Claims in a .NET Azure Functions App include: ClaimsPrincipal from the Request Context
The ClaimsPrincipal object is also available as part of the request context and can be extracted from the HttpRequest.HttpContext.
User Claims from the Request Headers.
App Service passes user claims to the app by using special request headers.
If your user is signed in properly the claims should be in the header of all requests which should allow you to retrieve the claims using claims principal, I shouldn’t need to write extra code to hit an API for all that information
Reference:
Question 2:
You need to troubleshoot the order workflow.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Review the API connections.
B. Review the activity log.
C. Review the run history.
D. Review the trigger history.
Correct Answer: CD
Scenario: The order workflow fails to run upon initial deployment to Azure.
Check runs history: Each time that the trigger fires for an item or event, the Logic Apps engine creates and runs a separate workflow instance for each item or event. If a run fails, follow these steps to review what happened during that run, including the status for each step in the workflow plus the inputs and outputs for each step.
Check the workflow\’s run status by checking the run history. To view more information about a failed run, including all the steps in that run in its status, select the failed run.
Example:
Check the trigger\’s status by checking the trigger history
To view more information about the trigger attempt, select that trigger event, for example:
Reference: https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-diagnosing-failures
Question 3:
You need to secure the Shipping Logic App. What should you use?
A. Azure App Service Environment (ASE)
B. Integration Service Environment (ISE)
C. VNet service endpoint
D. Azure AD B2B integration
Correct Answer: B
Scenario: The Shipping Logic App requires secure resources for the corporate VNet and use dedicated storage resources with a fixed costing model.
You can access Azure Virtual Network resources from Azure Logic Apps by using integration service environments (ISEs).
Sometimes, your logic apps and integration accounts need access to secured resources, such as virtual machines (VMs) and other systems or services, that are inside an Azure virtual network. To set up this access, you can create an integrated service environment (ISE) where you can run your logic apps and create your integration accounts.
Question 4:
You need to migrate on-premises shipping data to Azure. What should you use?
A. Azure Migrate
B. Azure Cosmos DB Data Migration tool (dt.exe)
C. AzCopy
D. Azure Database Migration service
Correct Answer: D
Migrate from on-premises or cloud implementations of MongoDB to Azure Cosmos DB with minimal downtime by using Azure Database Migration Service. Perform resilient migrations of MongoDB data at scale and with high reliability.
Scenario: Data migration from on-premises to Azure must minimize costs and downtime.
The application uses MongoDB JSON document storage database for all container and transport information.
References:
Question 5:
You need to support the requirements for the Shipping Logic App. What should you use?
A. Azure Active Directory Application Proxy
B. Site-to-Site (S2S) VPN connection
C. On-premises Data Gateway
D. Point-to-Site (P2S) VPN connection
Correct Answer: C
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 has now fully incorporated the Azure BizTalk Services capabilities into Logic Apps and Azure App Service Hybrid Connections.
Logic Apps Enterprise Integration pack brings some of the enterprise B2B capabilities like AS2 and X12, EDI standards support
Scenario: The Shipping Logic app must meet the following requirements:
1.
Support the ocean transport and inland transport workflows by using a Logic App.
2.
Support industry-standard protocol X12 message format for various messages including vessel content details and arrival notices.
3.
Secure resources to the corporate VNet and use dedicated storage resources with a fixed costing model.
4.
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
Question 6:
You need to configure the ContentUploadService deployment.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Add the following markup to line CS23: types: Private
B. Add the following markup to line CS24: osType: Windows
C. Add the following markup to line CS24: osType: Linux
D. Add the following markup to line CS23: types: Public
Correct Answer: A
Scenario: All Internal services must only be accessible from Internal Virtual Networks (VNets)
There are three Network Location types – Private, Public, and Domain
Reference:
https://devblogs.microsoft.com/powershell/setting-network-location-to-private/
Question 7:
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
Correct Answer: B
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 a repeated replay of stored raw data. It can capture the streaming data into a file for processing and analysis.
It has the following characteristics:
1.
low latency
2.
capable of receiving and processing millions of events per second
3.
at least once delivery
Reference: https://docs.microsoft.com/en-us/azure/event-grid/compare-messaging-services
Question 8:
You need to investigate the HTTP server log output to resolve the issue with the ContentUploadService. Which command should you use first?
A. az webapp log
B. az ams live-output
C. az monitor activity-log
D. az container attach
Correct Answer: C
Scenario: Users of the ContentUploadService report that they occasionally see HTTP 502 responses on specific pages.
“502 bad gateway” and “503 services unavailable” are common errors in your app hosted in Azure App Service.
Microsoft Azure publicizes each time there is a service interruption or performance degradation.
The az monitor activity-log command manages activity logs.
Note: Troubleshooting can be divided into three distinct tasks, in sequential order:
1.
Observe and monitor application behavior
2.
Collect data
3.
Mitigate the issue
Reference: https://docs.microsoft.com/en-us/cli/azure/monitor/activity-log
Question 9:
You need to monitor ContentUploadService according 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”
Correct Answer: B
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 10:
You need to deploy the CheckUserContent Azure Function. The solution must meet the security and cost requirements.
Which hosting model should you use?
A. Premium plan
B. App Service plan
C. Consumption plan
Correct Answer: B
Scenario:
You must minimize costs for all Azure services.
All Internal services must only be accessible from internal Virtual Networks (VNets).
Best for long-running scenarios where Durable Functions can’t be used. Consider an App Service plan in the following situations:
1.
You have existing, underutilized VMs that are already running other App Service instances.
2.
You want to provide a custom image on which to run your functions.
3.
Predictive scaling and costs are required.
Note: When you create a function app in Azure, you must choose a hosting plan for your app. There are three basic hosting plans available for Azure Functions: Consumption plan, Premium plan, and Dedicated (App Service) plan.
Incorrect Answers:
A: A Premium plan would be more costly.
C: Need the VNET functionality.
Reference: https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale
Question 11:
You need to authenticate the user to the corporate website as indicated by the architectural diagram.
Which two values should you use? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. ID token signature
B. ID token claims
C. HTTP response code
D. Azure AD endpoint URI
E. Azure AD tenant ID
Correct Answer: BE
Claims in access tokens
JWTs (JSON Web Tokens) are split into three pieces:
1.
Header – Provides information about how to validate the token including information about the type of token and how it was signed.
2.
Payload – Contains all of the important data about the user or app that is attempting to call your service.
3.
Signature – Is the raw material used to validate the token.
Your client can get an access token from either the v1.0 endpoint or the v2.0 endpoint using a variety of protocols.
Scenario: User authentication (see step 5 below)
The following steps detail the user authentication process:
1.
The user selects Sign in in the website.
2.
The browser redirects the user to the Azure Active Directory (Azure AD) sign in page.
3.
The user signs in.
4.
Azure AD redirects the user\’s session back to the web application. The URL includes an access token.
5.
The web application calls an API and includes the access token in the authentication header. The application ID is sent as the audience (‘aud’) claim in the access token.
6.
The back-end API validates the access token.
Reference: https://docs.microsoft.com/en-us/azure/api-management/api-management-accessrestriction-policies
Question 12:
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.
Correct Answer: A
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 13:
You need to ensure that all messages from Azure Event Grid are processed.
What should you use?
A. Azure Event Grid topic
B. Azure Service Bus topic
C. Azure Service Bus queue
D. Azure Storage queue
E. Azure Logic App custom connector
Correct Answer: B
As a solution architect/developer, you should consider using Service Bus queues when:
Your solution needs to receive messages without having to poll the queue. With Service Bus, you can achieve it by using a long-polling receive operation using the TCP-based protocols that Service Bus supports.
Reference:
Question 14:
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 the setting of the hosting plan.
C. Update the function to be stateful by using Durable Functions to process the request payload.
D. Update the function timeout property of the host.json project file to 15 minutes.
Correct Answer: C
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 of HTTP APIs.
Function app
You perform local testing for the RequestUserApproval function. The following error message was displayed:
\’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-httpfeatures
Question 15:
You need to ensure that the solution can meet the scaling requirements for Policy Service. Which Azure Application Insights data model should you use?
A. an Application Insights dependency
B. an Application Insights event
C. an Application Insights trace
D. an Application Insights metric
Correct Answer: D
Application Insights provides three additional data types for custom telemetry:
Trace – used either directly, or through an adapter to implement diagnostics logging using an instrumentation framework that is familiar to you, such as Log4Net or System.Diagnostics.
Event – typically used to capture user interaction with your service, and to analyze usage patterns.
Metric – used to report periodic scalar measurements.
Scenario:
Policy service must use Application Insights to automatically scale with the number of policy actions that it is performing.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/data-model
leads4pass AZ-204 dumps share two study materials for free: you can download them online and practice exams online!
Now! Download the AZ-204 best practice solution! Use leads4pass AZ-204 dumps with PDF and VCE: https://www.leads4pass.com/az-204.html Contains 446 latest exam questions and answers to help you pass the exam 100%.