Download Developing Solutions for Microsoft Azure.examcollection.AZ-204.2021-03-06.5e.161q.vcex

Download Exam

File Info

Exam Developing Solutions for Microsoft Azure
Number AZ-204
File Name Developing Solutions for Microsoft Azure.examcollection.AZ-204.2021-03-06.5e.161q.vcex
Size 22.94 Mb
Posted March 06, 2021
Downloads 77
Download Developing Solutions for Microsoft Azure.examcollection.AZ-204.2021-03-06.5e.161q.vcex

How to open VCEX & EXAM Files?

Files with VCEX & EXAM extensions can be opened by ProfExam Simulator.

Purchase

Coupon: MASTEREXAM
With discount: 20%



 
 



Demo Questions

Question 1

You need to configure Azure CDN for the Shipping web site. 
Which configuration options should you use? To answer, select the appropriate options in the answer area. 
NOTE: Each correct selection is worth one point.

Correct Answer: Exam simulator is required

Scenario: Shipping website
Use Azure Content Delivery Network (CDN) and ensure maximum performance for dynamic content while minimizing latency and costs. 
Tier: Standard
Profile: Akamai
Optimization: Dynamic site acceleration
Dynamic site acceleration (DSA) is available for Azure CDN Standard from Akamai, Azure CDN Standard from Verizon, and Azure CDN Premium from Verizon profiles. 
DSA includes various techniques that benefit the latency and performance of dynamic content. Techniques include route and network optimization, TCP optimization, and more. 
You can use this optimization to accelerate a web app that includes numerous responses that aren't cacheable. Examples are search results, checkout transactions, or real-time data. You can continue to use core Azure CDN caching capabilities for static data. 
Reference:
https://docs.microsoft.com/en-us/azure/cdn/cdn-optimization-overview




Question 2

You need to correct the VM issues.
Which tools should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Correct Answer: Exam simulator is required

Box 1: Azure Backup
The VM is critical and has not been backed up in the past. The VM must enable a quick restore from a 7-day snapshot to include in-place restore of disks in case of failure. 
In-Place restore of disks in IaaS VMs is a feature of Azure Backup. 
Performance: Accelerated Networking
Scenario: The VM shows high network latency, jitter, and high CPU utilization. 
Box 2: Accelerated networking
The VM shows high network latency, jitter, and high CPU utilization. 
Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, greatly improving its networking performance. This high-performance path bypasses the host from the datapath, reducing latency, jitter, and CPU utilization, for use with the most demanding network workloads on supported VM types. 
Reference:
https://azure.microsoft.com/en-us/blog/an-easy-way-to-bring-back-your-azure-vm-with-in-place-restore/




Question 3

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.

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 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" 
Reference:
https://docs.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-http-features




Question 4

You need to resolve a notification latency issue. 
Which two actions should you perform? Each correct answer presents part of the solution. 
NOTE: Each correct selection is worth one point.

  • A: Set Always On to true.
  • B: Ensure that the Azure Function is using an App Service plan.
  • C: Set Always On to false.
  • D: Ensure that the Azure Function is set to use a consumption plan.

Correct Answer: AB

Azure Functions can run on either a Consumption Plan or a dedicated App Service Plan. If you run in a dedicated mode, you need to turn on the Always On setting for your Function App to run properly. The Function runtime will go idle after a few minutes of inactivity, so only HTTP triggers will actually "wake up" your functions. This is similar to how WebJobs must have Always On enabled. 
Scenario: Notification latency: Users report that anomaly detection emails can sometimes arrive severalminutes after an anomaly is detected. 
Anomaly detection service: You have an anomaly detection service that analyzes log information foranomalies. It is implemented as an Azure Machine Learning model. The model is deployed as a web service. 
If an anomaly is detected, an Azure Function that emails administrators is called by using an HTTP WebHook. 
Reference:
https://github.com/Azure/Azure-Functions/wiki/Enable-Always-On-when-running-on-dedicated-App-Service-Plan 




Question 5

You need to ensure that validation testing is triggered per the requirements.
How should you complete the code segment? To answer, select the appropriate values in the answer area.
NOTE: Each correct selection is worth one point.

Correct Answer: Exam simulator is required

Box 1: RepositoryUpdated
When a new version of the ContentAnalysisService is available the previous seven days of content must be processed with the new version to verify that the new version does not significantly deviate from the old version. 
Box 2: service
Box 3: imageCollection
Reference:
https://docs.microsoft.com/en-us/azure/devops/notifications/oob-supported-event-types




Question 6

You are developing an ASP.NET Core web application. You plan to deploy the application to Azure Web App for Containers. 
The application needs to store runtime diagnostic data that must be persisted across application restarts. 
You have the following code:

   

You need to configure the application settings so that diagnostic data is stored as required. 
How should you configure the web app’s settings? To answer, select the appropriate options in the answer area. 
NOTE: Each correct selection is worth one point.

Correct Answer: Exam simulator is required

Box 1: If WEBSITES_ENABLE_APP_SERVICE_STORAGE
If WEBSITES_ENABLE_APP_SERVICE_STORAGE setting is unspecified or set to true, the /home/directory will be shared across scale instances, and files written will persist across restarts 
Box 2: /home
Reference:
https://docs.microsoft.com/en-us/azure/app-service/containers/app-service-linux-faq




Question 7

You are developing a web app that is protected by Azure Web Application Firewall (WAF). All traffic to the web app is routed through an Azure Application Gateway instance that is used by multiple web apps. The web app address is contoso.azurewebsites.net. 
All traffic must be secured with SSL. The Azure Application Gateway instance is used by multiple web apps. 
You need to configure the Azure Application Gateway for the web app. 
Which two actions should you perform? Each correct answer presents part of the solution. 
NOTE: Each correct selection is worth one point.

  • A: In the Azure Application Gateway’s HTTP setting, enable the Use for App service setting.
  • B: Convert the web app to run in an Azure App service environment (ASE).
  • C: Add an authentication certificate for contoso.azurewebsites.net to the Azure Application Gateway.
  • D: In the Azure Application Gateway’s HTTP setting, set the value of the Override backend path option to contoso22.azurewebsites.net.

Correct Answer: AD

D: The ability to specify a host override is defined in the HTTP settings and can be applied to any back-end pool during rule creation. 
The ability to derive the host name from the IP or FQDN of the back-end pool members. HTTP settings also provide an option to dynamically pick the host name from a back-end pool member's FQDN if configured with the option to derive host name from an individual back-end pool member. 
A (not C): SSL termination and end to end SSL with multi-tenant services.
In case of end to end SSL, trusted Azure services such as Azure App service web apps do not require whitelisting the backends in the application gateway. Therefore, there is no need to add any authentication certificates. 

   

Reference:
https://docs.microsoft.com/en-us/azure/application-gateway/application-gateway-web-app-overview




Question 8

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. 
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. 
You develop a software as a service (SaaS) offering to manage photographs. Users upload photos to a web service which then stores the photos in Azure Storage Blob storage. The storage account type is General-purpose V2. 
When photos are uploaded, they must be processed to produce and save a mobile-friendly version of the image. The process to produce a mobile-friendly version of the image must start in less than one minute. 
You need to design the process that starts the photo processing. 
Solution: Trigger the photo processing from Blob storage events.
Does the solution meet the goal?

  • A: Yes
  • B: No

Correct Answer: B

You need to catch the triggered event, so move the photo processing to an Azure Function triggered from the blob upload 
Note: Azure Storage events allow applications to react to events. Common Blob storage event scenarios include image or video processing, search indexing, or any file-oriented workflow. 
Events are pushed using Azure Event Grid to subscribers such as Azure Functions, Azure Logic Apps, or even to your own http listener. 
Note: Only storage accounts of kind StorageV2 (general purpose v2) and BlobStorage support event integration. Storage (general purpose v1) does not support integration with Event Grid. 
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-event-overview




Question 9

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.  
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.  
You develop and deploy an Azure App Service API app to a Windows-hosted deployment slot named Development. You create additional deployment slots named Testing and Production. You enable auto swap on the Production deployment slot.  
You need to ensure that scripts run and resources are available before a swap operation occurs.  
Solution: Update the web.config file to include the applicationInitialization configuration element. Specify custom initialization actions to run the scripts.  
Does the solution meet the goal?

  • A: No
  • B: Yes

Correct Answer: A

Specify custom warm-up. 
Some apps might require custom warm-up actions before the swap. The applicationInitialization configuration element in web.config lets you specify custom initialization actions. The swap operation waits for this custom warm-up to finish before swapping with the target slot. Here's a sample web.config fragment. 
<system.webServer> 
    <applicationInitialization> 
        <add initializationPage="/" hostName="[app hostname]" /> 
        <add initializationPage="/Home/About" hostName="[app hostname]" /> 
    </applicationInitialization> 
</system.webServer> 
Reference:
https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots#troubleshoot-swaps




Question 10

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.  
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.  
You develop and deploy an Azure App Service API app to a Windows-hosted deployment slot named Development. You create additional deployment slots named Testing and Production. You enable auto swap on the Production deployment slot.  
You need to ensure that scripts run and resources are available before a swap operation occurs.  
Solution: Enable auto swap for the Testing slot. Deploy the app to the Testing slot.
Does the solution meet the goal?

  • A: No
  • B: Yes

Correct Answer: B

Instead update the web.config file to include the applicationInitialization configuration element. Specify custom initialization actions to run the scripts. 
Note: Some apps might require custom warm-up actions before the swap. The applicationInitialization configuration element in web.config lets you specify custom initialization actions. The swap operation waits for this custom warm-up to finish before swapping with the target slot. Here's a sample web.config fragment. 
<system.webServer> 
    <applicationInitialization> 
        <add initializationPage="/" hostName="[app hostname]" /> 
        <add initializationPage="/Home/About" hostName="[app hostname]" /> 
    </applicationInitialization> 
</system.webServer> 
Reference:
https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots#troubleshoot-swaps










CONNECT US

Facebook

Twitter

PROFEXAM WITH A 20% DISCOUNT

You can buy ProfExam with a 20% discount!



HOW TO OPEN VCEX AND EXAM FILES

Use ProfExam Simulator to open VCEX and EXAM files