Download Developing Solutions for Microsoft Azure.dump4pass.AZ-204.2021-02-12.10e.155q.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-12.10e.155q.vcex
Size 12.73 Mb
Posted February 12, 2021
Downloads 80
Download Developing Solutions for Microsoft Azure.dump4pass.AZ-204.2021-02-12.10e.155q.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 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 2

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 3

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 4

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 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 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 8

You are building a traffic monitoring system that monitors traffic along six highways. The system produces time series analysis-based reports for each highway. Data from traffic sensors are stored in Azure Event Hub. 
Traffic data is consumed by four departments. Each department has an Azure Web App that displays the time series-based reports and contains a WebJob that processes the incoming data from Event Hub. All Web Apps run on App Service Plans with three instances. 
Data throughput must be maximized. Latency must be minimized. 
You need to implement the Azure Event Hub. 
Which settings 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: 6
The number of partitions is specified at creation and must be between 2 and 32.  
There are 6 highways. 
Box 2: Highway
Reference:
https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-features




Question 9

You are developing a microservices solution. You plan to deploy the solution to a multinode Azure Kubernetes Service (AKS) cluster. 
You need to deploy a solution that includes the following features:
reverse proxy capabilities 
configurable traffic routing 
TLS termination with a custom certificate 
Which components should you use? To answer, drag the appropriate components to the correct requirements. 
Each component 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: Helm
To create the ingress controller, use Helm to install nginx-ingress. 
Box 2: kubectl
To find the cluster IP address of a Kubernetes pod, use the kubectl get pod command on your local machine, with the option -o wide . 
Box 3: Ingress Controller
An ingress controller is a piece of software that provides reverse proxy, configurable traffic routing, and TLS termination for Kubernetes services. Kubernetes ingress resources are used to configure the ingress rules and routes for individual Kubernetes services. 
Incorrect Answers:
Virtual Kubelet: Virtual Kubelet is an open-source Kubernetes kubelet implementation that masquerades as a kubelet. This allows Kubernetes nodes to be backed by Virtual Kubelet providers such as serverless cloud container platforms. 
CoreDNS: CoreDNS is a flexible, extensible DNS server that can serve as the Kubernetes cluster DNS. Like Kubernetes, the CoreDNS project is hosted by the CNCF. 
Reference:
https://docs.microsoft.com/bs-cyrl-ba/azure/aks/ingress-basic
https://www.digitalocean.com/community/tutorials/how-to-inspect-kubernetes-networking




Question 10

You are developing an Azure App Service hosted ASP.NET Core web app to deliver video-on-demand streaming media. You enable an Azure Content Delivery Network (CDN) Standard for the web endpoint. 
Customer videos are downloaded from the web app by using the following example URL: http://www.contoso.com/content.mp4?quality=1 
All media content must expire from the cache after one hour. Customer videos with varying quality must be delivered to the closest regional point of presence (POP) node. 
You need to configure Azure CDN caching rules. 
Which 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

Box 1: Override
Override: Ignore origin-provided cache duration; use the provided cache duration instead. This will not override cache-control: no-cache.
Set if missing: Honor origin-provided cache-directive headers, if they exist; otherwise, use the provided cache duration. 
Incorrect:
Bypass cache: Do not cache and ignore origin-provided cache-directive headers.
Box 2: 1 hour
All media content must expire from the cache after one hour. 
Box 3: Cache every unique URL
Cache every unique URL: In this mode, each request with a unique URL, including the query string, is treated as a unique asset with its own cache. For example, the response from the origin server for a request for example.ashx?q=test1 is cached at the POP node and returned for subsequent caches with the same query string. A request for example.ashx?q=test2 is cached as a separate asset with its own time-to-live setting. 
Incorrect Answers:
Bypass caching for query strings: In this mode, requests with query strings are not cached at the CDN POP node. The POP node retrieves the asset directly from the origin server and passes it to the requestor with each request. 
Ignore query strings: Default mode. In this mode, the CDN point-of-presence (POP) node passes the query strings from the requestor to the origin server on the first request and caches the asset. All subsequent requests for the asset that are served from the POP ignore the query strings until the cached asset expires. 
Reference:
https://docs.microsoft.com/en-us/azure/cdn/cdn-query-string










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