Win IT Exam with Last Dumps 2025


Microsoft AZ-204 Exam

Page 9/36
Viewing Questions 81 90 out of 355 Questions
25.00%

Question 81
HOTSPOT
-
You are developing an online game that allows players to vote for their favorite photo that illustrates a word. The game is built by using Azure Functions and uses durable entities to track the vote count.
The voting window is 30 seconds. You must minimize latency.
You need to implement the Azure Function for voting.
How should you complete the code? To answer, select the appropriate options in the answer area.
AZ-204_81Q.png related to the Microsoft AZ-204 Exam
Image AZ-204_81R.png related to the Microsoft AZ-204 Exam

Question 82
HOTSPOT
-
You have an App Service plan named asp1 based on the Free pricing tier.
You plan to use asp1 to implement an Azure Function app with a queue trigger. Your solution must minimize cost.
You need to identify the configuration options that will meet the requirements.
Which value should you configure? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
AZ-204_82Q.png related to the Microsoft AZ-204 Exam
Image AZ-204_82R.png related to the Microsoft AZ-204 Exam

Question 83
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.
AZ-204_83Q.png related to the Microsoft AZ-204 Exam
Image AZ-204_83R.png related to the Microsoft AZ-204 Exam

Question 84
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?
A. Enable single revision mode.
B. Use a separate environment for each container.
C. Use a private container registry image and single image for all containers.
D. Use a single environment for all containers.
E. Enable multiple revision mode.

Question 85
HOTSPOT
-
You are developing several microservices to run on Azure Container Apps. External HTTP ingress traffic has been enabled for the microservices.
A deployed microservice must be updated to allow users to test new features. You have the following requirements:
• Enable and maintain a single URL for the updated microservice to provide to test users.
• Update the microservice that corresponds to the current microservice version.
You need to configure Azure Container Apps.
Which features should you configure? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
AZ-204_85Q.png related to the Microsoft AZ-204 Exam
Image AZ-204_85R.png related to the Microsoft AZ-204 Exam


Question 86
HOTSPOT
-
You plan to develop an Azure Functions app with an HTTP trigger.
The app must support the following requirements:
• Event-driven scaling
• Ability to use custom Linux images for function execution
You need to identify the app’s hosting plan and the maximum amount of time that the app function can take to respond to incoming requests.
Which configuration setting values should you use? To answer, select the appropriate values in the answer area.
NOTE: Each correct selection is worth one point.
AZ-204_86Q.png related to the Microsoft AZ-204 Exam
Image AZ-204_86R.png related to the Microsoft AZ-204 Exam

Question 87
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.
• The solution must minimize cost.
You need to deploy the application to Azure.
AZ-204_87Q.png related to the Microsoft AZ-204 Exam
Image AZ-204_87R.png related to the Microsoft AZ-204 Exam

Question 88
HOTSPOT
-
You plan to develop an Azure Functions app with an Azure Blob Storage trigger. The app will be used infrequently, with a limited duration of individual executions.
The app must meet the following requirements:
• Event-driven scaling
• Support for deployment slots
• Minimize costs
You need to identify the hosting plan and the maximum duration when executing the app.
Which configuration setting values should you use? To answer, select the appropriate values in the answer area.
NOTE: Each correct selection is worth one point.
AZ-204_88Q.png related to the Microsoft AZ-204 Exam
Image AZ-204_88R.png related to the Microsoft AZ-204 Exam

Question 89
HOTSPOT -
You are developing a solution that uses the Azure Storage Client library for .NET. You have the following code: (Line numbers are included for reference only.)
AZ-204_89Q_1.jpg related to the Microsoft AZ-204 Exam
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
AZ-204_89Q_2.png related to the Microsoft AZ-204 Exam
Image AZ-204_89R.png related to the Microsoft AZ-204 Exam
Box 1: Yes -
AcquireLeaseAsync does not specify leaseTime.
leaseTime is a TimeSpan representing the span of time for which to acquire the lease, which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be 15 to 60 seconds.
Box 2: No -
The GetBlockBlobReference method just gets a reference to a block blob in this container.
Box 3: Yes -
The BreakLeaseAsync method initiates an asynchronous operation that breaks the current lease on this container.
Reference:
https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.storage.blob.cloudblobcontainer.acquireleaseasync
https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.storage.blob.cloudblobcontainer.getblockblobreference
https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.storage.blob.cloudblobcontainer.breakleaseasync

Question 90
You are building a website that uses Azure Blob storage for data storage. You configure Azure Blob storage lifecycle to move all blobs to the archive tier after 30 days.
Customers have requested a service-level agreement (SLA) for viewing data older than 30 days.
You need to document the minimum SLA for data recovery.
Which SLA should you use?
A. at least two days
B. between one and 15 hours
C. at least one day
D. between zero and 60 minutes
The archive access tier has the lowest storage cost. But it has higher data retrieval costs compared to the hot and cool tiers. Data in the archive tier can take several hours to retrieve depending on the priority of the rehydration. For small objects, a high priority rehydrate may retrieve the object from archive in under 1 hour.
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiers?tabs=azure-portal