Download Developing Solutions for Microsoft Azure.AZ-204.VCEplus.2021-10-07.94q.vcex

Vendor: Microsoft
Exam Code: AZ-204
Exam Name: Developing Solutions for Microsoft Azure
Date: Oct 07, 2021
File Size: 22 MB
Downloads: 11

How to open VCEX files?

Files with VCEX extension can be opened by ProfExam Simulator.

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: To work with this question, an Exam Simulator is required.
Explanation:
Scenario: Shipping websiteUse Azure Content Delivery Network (CDN) and ensure maximum performance for dynamic content while minimizing latency and costs. Tier: StandardProfile: AkamaiOptimization: Dynamic site accelerationDynamic 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
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: To work with this question, an Exam Simulator is required.
Explanation:
Box 1: Azure BackupThe 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 NetworkingScenario: The VM shows high network latency, jitter, and high CPU utilization. Box 2: Accelerated networkingThe 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/
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?
  1. Update line RA13 to use the async keyword and return an HttpRequest object value.
  2. Configure the Function app to use an App Service hosting plan. Enable the Always On setting of the hosting plan.
  3. Update the function to be stateful by using Durable Functions to process the request payload.
  4. Update the functionTimeout property of the host.json project file to 15 minutes.
Correct 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"  Reference: https://docs.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-http-features 
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.
  1. In the Azure Application Gateway’s HTTP setting, enable the Use for App service setting.
  2. Convert the web app to run in an Azure App service environment (ASE).
  3. Add an authentication certificate for contoso.azurewebsites.net to the Azure Application Gateway.
  4. In the Azure Application Gateway’s HTTP setting, set the value of the Override backend path option to contoso22.azurewebsites.net.
Correct answer: AD
Explanation:
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
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?
  1. Yes 
  2. No
Correct answer: B
Explanation:
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
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?
  1. No
  2. Yes
Correct answer: A
Explanation:
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   
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?
  1. No
  2. Yes
Correct answer: B
Explanation:
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
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?
  1. Yes
  2. No
Correct answer: B
Explanation:
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
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?
  1. Deploy the website to a virtual machine. Configure the virtual machine to automatically scale when the CPU load is high.
  2. 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.
  3. Deploy the website to a virtual machine. Configure a Scale Set to increase the virtual machine instance count when the CPU load is high.
  4. 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
Explanation:
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.
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?
  1. Yes
  2. No
Correct answer: B
Explanation:
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
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
HOW TO OPEN VCE FILES

Use VCE Exam Simulator to open VCE files
Avanaset

HOW TO OPEN VCEX AND EXAM FILES

Use ProfExam Simulator to open VCEX and EXAM files
ProfExam Screen

ProfExam
ProfExam at a 20% markdown

You have the opportunity to purchase ProfExam at a 20% reduced price

Get Now!