Download Developing Solutions for Microsoft Azure.VCEPlus.AZ-204.2021-10-07.4e.94q.vcex

Download Exam

File Info

Exam Developing Solutions for Microsoft Azure
Number AZ-204
File Name Developing Solutions for Microsoft Azure.VCEPlus.AZ-204.2021-10-07.4e.94q.vcex
Size 22.3 Mb
Posted October 07, 2021
Downloads 125
Download Developing Solutions for Microsoft Azure.VCEPlus.AZ-204.2021-10-07.4e.94q.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 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 5

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 6

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 7

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




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: Convert the Azure Storage account to a BlockBlobStorage storage account. 
Does the solution meet the goal?

  • A: Yes
  • B: No

Correct Answer: B

Not necessary to convert the account, instead move photo processing to an Azure Function triggered from the blob upload..  
Azure Storage events allow applications to react to events. Common Blob storage event scenarios include image or video processing, search indexing, or any fileoriented workflow.  
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

You develop a website. You plan to host the website in Azure. You expect the website to experience high traffic volumes after it is published.  
You must ensure that the website remains available and responsive while minimizing cost.  
You need to deploy the website.  
What should you do?

  • A: Deploy the website to a virtual machine. Configure the virtual machine to automatically scale when the CPU load is high.
  • B: Deploy the website to an App Service that uses the Shared service tier. Configure the App Service plan to automatically scale when the CPU load is high.
  • C: Deploy the website to a virtual machine. Configure a Scale Set to increase the virtual machine instance count when the CPU load is high.
  • D: Deploy the website to an App Service that uses the Standard service tier. Configure the App Service plan to automatically scale when the CPU load is high.

Correct Answer: D

Windows Azure Web Sites (WAWS) offers 3 modes:  Standard, Free, and Shared. 
Standard mode carries an enterprise-grade SLA (Service Level Agreement) of 99.9% monthly, even for sites with just one instance.  
Standard mode runs on dedicated instances, making it different from the other ways to buy Windows Azure Web Sites.  
Incorrect Answers: 
B: Shared and Free modes do not offer the scaling flexibility of Standard, and they have some important limits. 
Shared mode, just as the name states, also uses shared Compute resources, and also has a CPU limit. So, while neither Free nor Shared is likely to be the best choice for your production environment due to these limits.




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 an HTTP triggered Azure Function app to process Azure Storage blob data. The app is triggered using an output binding on the blob.  
The app continues to time out after four minutes. The app must process the blob data.  
You need to ensure the app does not time out and processes the blob data.  
Solution: Use the Durable Function async pattern to process the blob data. 
Does the solution meet the goal?

  • A: Yes
  • B: No

Correct Answer: B

Instead pass the HTTP trigger payload into an Azure Service Bus queue to be processed by a queue trigger function and return an immediate HTTP success response.  
Note: Large, long-running functions can cause unexpected timeout issues. General best practices include:  
Whenever possible, refactor large functions into smaller function sets that work together and return responses fast. For example, a webhook or HTTP trigger function might require an acknowledgment response within a certain time limit; it's common for webhooks to require an immediate response. You can pass the HTTP trigger payload into a queue to be processed by a queue trigger function. This approach lets you defer the actual work and return an immediate response.  
Reference: 
https://docs.microsoft.com/en-us/azure/azure-functions/functions-best-practices










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