Microsoft AZ-204 Übungsprüfungen
Zuletzt aktualisiert am 24.04.2025- Prüfungscode: AZ-204
- Prüfungsname: Developing Solutions for Microsoft Azure
- Zertifizierungsanbieter: Microsoft
- Zuletzt aktualisiert am: 24.04.2025
You develop an app that allows users to upload photos and videos to Azure storage. The app uses a storage REST API call to upload the media to a blob storage account named Account1. You have blob storage containers named Container1 and Container2.
Uploading of videos occurs on an irregular basis.
You need to copy specific blobs from Container1 to Container2 when a new video is uploaded.
What should you do?
- A . Copy blobs to Container2 by using the Put Blob operation of the Blob Service REST API
- B . Create an Event Grid topic that uses the Start-AzureStorageBlobCopy cmdlet
- C . Use AzCopy with the Snapshot switch to copy blobs to Container2
- D . Download the blob to a virtual machine and then upload the blob to Container2
A company uses Azure SQL Database to store data for an app. The data includes sensitive information.
You need to implement measures that allow only members of the managers group to see sensitive information.
Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
- A . Option A
- B . Option B
- C . Option C
- D . Option D
- E . Option E
You develop and deploy an ASP.NET web app to Azure App Service. You use Application Insights telemetry to monitor the app.
You must test the app to ensure that the app is available and responsive from various points around the world and at regular intervals. If the app is not responding, you must send an alert to support staff.
You need to configure a test for the web app.
Which two test types can you use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
- A . integration
- B . multi-step web
- C . URL ping
- D . unit
- E . load
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 are developing a website that will run as an Azure Web App. Users will authenticate by using their Azure Active Directory (Azure AD) credentials.
You plan to assign users one of the following permission levels for the website: admin, normal, and reader. A user’s Azure AD group membership must be used to determine the permission level.
You need to configure authorization.
Solution:
Configure and use Integrated Windows Authentication in the website.
In the website, query Microsoft Graph API to load the group to which the user is a member.
Does the solution meet the goal?
- A . Yes
- B . No
HOTSPOT
You develop and deploy the following staticwebapp.config.json file to the app_location value specified in the workflow file of an Azure Static Web app.
HOTSPOT
You develop several Azure Grid to include hundreds of event types, such as billing, inventory, and shipping updates.
Events must be sent to a single endpoint for the Azure Functions app to process. The events must be filtered by event type before processing. You must have authorization and authentication control to partition your tenants to receive the event data.
You need to configure Azure Event Grid.
Which configuration should you use? To answer, select the appropriate values in the answer area. NOTE: Each correct selection is worth one point.
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 on the review screen.
You have an Azure App Service web app named WebApp1 and an Azure Functions app named Function 1. WebApp1 is associated with an Application Insights instance named appinsights1.
You configure a web test and a corresponding alert for WebApp1 in appinsights1. Each alert triggers a delivery of email to your mailbox.
You need to ensure that each alert also triggers execution of Function1.
Solution: Configure an Azure Monitor Insights workbook.
Does the solution meet the goal?
- A . Yes
- B . No
DRAG DROP
You develop software solutions for a mobile delivery service. You are developing a mobile app that users can use to order from a restaurant in their area.
The app uses the following workflow:
✑ A driver selects the restaurants from which they will deliver orders.
✑ Orders are sent to all available drivers in an area.
✑ Only orders for the selected restaurants will appear for the driver.
✑ The first driver to accept an order removes it from the list of available orders.
You need to implement an Azure Service Bus solution.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
DRAG DROP
You are developing several microservices named service A. serviceB, and serviceC. You deploy the microservices to a new Azure Container Apps environment.
You have the following requirements.
• The microservices must persist data to storage.
• serviceA must persist data only visible to the current container and the storage must be restricted to the amount of disk space available in the container
• servtceB must persist data for the lifetime of the replica and allow multiple containers in the replica to mount the same storage location.
• serviceC must persist data beyond the lifetime of the replica while allowing multiple containers to access the storage and enable per object permissions.
You need to configure storage for each microservice.
You are building a loyalty program for a major snack producer. When customers buy a snack at any of 100 participating retailers the event is recorded in Azure Event Hub. Each retailer is given a unique identifier that is used as the primary identifier for the loyalty program.
Retailers must be able to be added or removed at any time. Retailers must only be able to record sales for themselves.
You need to ensure that retailers can record sales.
What should you do?
- A . Use publisher policies for retailers.
- B . Define a namespace for each retailer
- C . Create a partition for each retailer.