Download Developing Solutions for Microsoft Azure.dump4pass.AZ-204.2021-02-20.11e.181q.vcex

Download Exam

File Info

Exam Developing Solutions for Microsoft Azure
Number AZ-204
File Name Developing Solutions for Microsoft Azure.dump4pass.AZ-204.2021-02-20.11e.181q.vcex
Size 14.94 Mb
Posted February 20, 2021
Downloads 74
Download Developing Solutions for Microsoft Azure.dump4pass.AZ-204.2021-02-20.11e.181q.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

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: Move photo processing to an Azure Function triggered from the blob upload.
Does the solution meet the goal?

  • A: Yes
  • B: No

Correct Answer: A

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 2

You are developing an application that uses Azure Blob storage. 
The application must read the transaction logs of all the changes that occur to the blobs and the blob metadata in the storage account for auditing purposes. The changes must be in the order in which they occurred, include only create, update, delete, and copy operations and be retained for compliance reasons. 
You need to process the transaction logs asynchronously. 
What should you do?

  • A: Process all Azure Blob storage events by using Azure Event Grid with a subscriber Azure Function app.
  • B: Enable the change feed on the storage account and process all changes for available events. 
  • C: Process all Azure Storage Analytics logs for successful blob events.
  • D: Use the Azure Monitor HTTP Data Collector API and scan the request body for successful blob events.

Correct Answer: B

Change feed support in Azure Blob Storage 
The purpose of the change feed is to provide transaction logs of all the changes that occur to the blobs and the blob metadata in your storage account. The change feed provides ordered, guaranteed, durable, immutable, read-only log of these changes. Client applications can read these logs at any time, either in streaming or in batch mode. The change feed enables you to build efficient and scalable solutions that process change events that occur in your Blob Storage account at a low cost. 
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-change-feed




Question 3

You are developing an application to use Azure Blob storage. You have configured Azure Blob storage to include change feeds. 
A copy of your storage account must be created in another region. Data must be copied from the current storage account to the new storage account directly between the storage servers. 
You need to create a copy of the storage account in another region and copy the data. 
In which order should you perform the actions? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order. 

Correct Answer: Exam simulator is required

To move a storage account, create a copy of your storage account in another region. Then, move your data to that account by using AzCopy, or another tool of your choice. 
The steps are: 
Export a template. 
Modify the template by adding the target region and storage account name. 
Deploy the template to create the new storage account. 
Configure the new storage account. 
Move data to the new storage account. 
Delete the resources in the source region. 
Note: You must enable the change feed on your storage account to begin capturing and recording changes.
You can enable and disable changes by using Azure Resource Manager templates on Portal or Powershell. 
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-account-move
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-change-feed




Question 4

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 5

You are implementing a software as a service (SaaS) ASP.NET Core web service that will run as an Azure Web App. The web service will use an on-premises SQL Server database for storage. The web service also includes a WebJob that processes data updates. Four customers will use the web service. 
Each instance of the WebJob processes data for a single customer and must run as a singleton instance. 
Each deployment must be tested by using deployment slots prior to serving production data. 
Azure costs must be minimized. 
Azure resources must be located in an isolated network. 
You need to configure the App Service plan for the Web App. 
How should you configure the App Service plan? To answer, select the appropriate settings in the answer area. 
NOTE: Each correct selection is worth one point.

Correct Answer: Exam simulator is required

Number of VM instances: 4
You are not charged extra for deployment slots. 
Pricing tier: Isolated
The App Service Environment (ASE) is a powerful feature offering of the Azure App Service that gives network isolation and improved scale capabilities. It is essentially a deployment of the Azure App Service into a subnet of a customer’s Azure Virtual Network (VNet). 
Reference:
https://azure.microsoft.com/sv-se/blog/announcing-app-service-isolated-more-power-scale-and-ease-of-use/




Question 6

You are a developer for a software as a service (SaaS) company that uses an Azure Function to process orders. The Azure Function currently runs on an Azure Function app that is triggered by an Azure Storage queue. 
You are preparing to migrate the Azure Function to Kubernetes using Kubernetes-based Event Driven Autoscaling (KEDA). 
You need to configure Kubernetes Custom Resource Definitions (CRD) for the Azure Function. 
Which CRDs should you configure? To answer, drag the appropriate CRD types to the correct locations. Each CRD type may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. 
NOTE: Each correct selection is worth one point.

Correct Answer: Exam simulator is required

Box 1: Deployment
To deploy Azure Functions to Kubernetes use the func kubernetes deploy command has several attributes that directly control how our app scales, once it is deployed to Kubernetes. 
Box 2: ScaledObject
With --polling-interval, we can control the interval used by KEDA to check Azure Service Bus Queue for messages. 
Example of ScaledObject with polling interval 
apiVersion: keda.k8s.io/v1alpha1
kind: ScaledObject
metadata:
    name: transformer-fn
    namespace: tt
    labels:
        deploymentName: transformer-fn
spec:
    scaleTargetRef:
        deploymentName: transformer-fn
    pollingInterval: 5
    minReplicaCount: 0
    maxReplicaCount: 100
Box 3: Secret
Store connection strings in Kubernetes Secrets. 
Example: to create the Secret in our demo Namespace:
# create the k8s demo namespace 
kubectl create namespace tt 
# grab connection string from Azure Service Bus 
KEDA_SCALER_CONNECTION_STRING=$(az servicebus queue authorization-rule keys list \ 
  -g $RG_NAME \ 
  --namespace-name $SBN_NAME \ 
  --queue-name inbound \ 
  -n keda-scaler \ 
  --query "primaryConnectionString" \ 
  -o tsv) 
# create the kubernetes secret 
kubectl create secret generic tt-keda-auth \ 
  --from-literal KedaScaler=$KEDA_SCALER_CONNECTION_STRING \ 
  --namespace tt 
Reference:
https://www.thinktecture.com/en/kubernetes/serverless-workloads-with-keda/




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 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 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 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 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 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 file-oriented 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 10

You are developing a ticket reservation system for an airline. 
The storage solution for the application must meet the following requirements:
Ensure at least 99.99% availability and provide low latency. 
Accept reservations event when localized network outages or other unforeseen failures occur. 
Process reservations in the exact sequence as reservations are submitted to minimize overbooking or selling the same seat to multiple travelers. 
Allow simultaneous and out-of-order reservations with a maximum five-second tolerance window. 
You provision a resource group named airlineResourceGroup in the Azure South-Central US region. 
You need to provision a SQL API Cosmos DB account to support the app. 
How should you complete the Azure CLI commands? 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: BoundedStaleness
Bounded staleness: The reads are guaranteed to honor the consistent-prefix guarantee. The reads might lag behind writes by at most "K" versions (that is, "updates") of an item or by "T" time interval. In other words, when you choose bounded staleness, the "staleness" can be configured in two ways:
The number of versions (K) of the item 
The time interval (T) by which the reads might lag behind the writes 
Incorrect Answers:
Strong  
Strong consistency offers a linearizability guarantee. Linearizability refers to serving requests concurrently. 
The reads are guaranteed to return the most recent committed version of an item. A client never sees an uncommitted or partial write. Users are always guaranteed to read the latest committed write. 
Box 2: --enable-automatic-failover true\
For multi-region Cosmos accounts that are configured with a single-write region, enable automatic-failover by using Azure CLI or Azure portal. After you enable automatic failover, whenever there is a regional disaster, Cosmos DB will automatically failover your account.
Question: Accept reservations event when localized network outages or other unforeseen failures occur.
Box 3: --locations'southcentralus=0 eastus=1 westus=2
Need multi-region.
Reference:
https://docs.microsoft.com/en-us/azure/cosmos-db/consistency-levels
https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/cosmos-db/manage-with-cli.md










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