Microsoft AZ-204 Practice Test - Questions Answers, Page 39

List of questions
Question 381

HOTSPOT
You have an Azure Application Insights resource named All. AM monitors an Azure App Service web app named Appl.
You plan to regularly analyze the usage of specific pages of Appl by a subset of users. The subset will consist of users who access specific Appl pages five or more times in a given month. You must be able to filter sessions and events based on that subset when viewing All in the Azure portal.
You need to configure AI1 to facilitate your analysis.
What should you configure for All? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection Is worth one point.
Question 382

DRAG DROP
You are designing a solution that will use two Azure Functions apps: App1 and App2. App1 is Windows-based and will be deployed as code. App2 is Linux-based and will be deployed as a container image. Estimates show that the duration of the request processing for both apps will range from 1 to 10 minutes.
You plan to implement Appl and App2 by using the hosting plan to satisfy the following requirements:
* Request processing can complete within the estimated time range.
* The autoscaling behavior is event-driven.
* The upper scaling limit is maximized.
Question 383

Vou are developing a microservice to run on Azure Container Apps for a company. External HTTP ingress traffic has been enabled. The company requires that updates to the microservice must not cause downtime. You need to deploy an update to the microservice. What should you do?
Question 384

You are building an application to track cell towers that are available to phones in near real time. A phone will send information to the application by using the Azure Web PubSub service. The data will be processed by using an Azure Functions app. Traffic will be transmitted by using a content delivery network (CDN).
The Azure function must be protected against misconfigured or unauthorized invocations.
You need to ensure that the CDN allows for the Azure function protection.
Which HTTP header should be on the allowed list?
Question 385

HOTSPOT
You develop a Python application for image rendering. The application uses GPU resources to optimize rendering processes. You have the following requirements:
* The application must be deployed to a Linux container.
* The container must be stopped when the image rendering is complete.
Question 386

DRAG DROP
You are developing several microservices to run on Azure Container Apps.
The microservices must allow HTTPS access by using a custom domain.
You need to configure the custom domain in Azure Container Apps.
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.
Question 387

DRAG DROP
You have two Azure Container Registry (ACR) instances: ACR01 and ACR02.
You plan to implement a containerized application named APP1 that will use a base image named BASEL The image for APP1 will be stored in ACR01. The image BASE1 will be stored in ACR02.
You need to automate the planned implementation by using a sequence of five Azure command-line interface (Azure CLI) commands. Your solution must ensure that the APP1 image stored in ACR01 will be automatically updated when the BA5E1 image is updated.
In which order should you perform the actions? To answer, move all container build automation options from the list of container build automations to the answer area and arrange them in the correct order.
NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.
Question 388

You are developing several microservices to run on Azure Container Apps. External HTTP ingress traffic has been enabled for the microservices.
The microservices must be deployed to the same virtual network and write logs to the same Log Analytics workspace.
You need to deploy the microservices.
What should you do?
Question 389

You have an Azure subscription that contains an Application Insights resource named All and an Azure App Service web app named Appl. You create a Standard availability test in AM. You set its URL to point to App1.
You need to ensure that any failed tests generate email notifications to the owners of the subscription. What should you do?
Question 390

You create an Azure Cosmos DB for NoSQL database.
You plan to use the Azure Cosmos DB .NET SDK v3 API for NoSQL to upload the following files:
You receive the following error message when uploading the files: '413 Entity too large'. You need to determine which files you can upload to the Azure Cosmos DB for NoSQL database. Which files can you upload?
Question