2021 Microsoft AZ-204 Sample Exam Questions & Answers

2021 Microsoft AZ-204 Sample Exam Questions & Answers

Microsoft Certification AZ 204 Azure Developer Associate Exam is a current role-based Azure certification. It is an Associate Level certification exam available for developers or software engineers who are developing solutions for cloud platform Microsoft Azure. The exam is officially called EXAM AZ-204: Developing Solutions for Microsoft Azure.

Are you prepared to take the AZ-204 Developing Solutions for Microsoft Azure exam? Before taking the AZ-204 exam, you may test your knowledge with a free AZ-204 practice test. The AZ-204 practice exam fully describes what you will face on the real AZ-204 exam, allowing you to pass the AZ-204 exam quickly.

Page 1 of 7

1. You are developing a medical records document management website. The website is used to store scanned copies of patient intake forms. If the stored intake forms are downloaded from storage by a third party, the content of the forms must not be compromised.

You need to store the intake forms according to the requirements.

Solution: Store the intake forms as Azure Key Vault secrets.

Does the solution meet the goal?

2. Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution. Determine whether the solution meets the stated goals.

You are developing and deploying several ASP.Net web applications to Azure App Service. You plan to save session state information and HTML output.

You must use a storage mechanism with the following requirements:

• Share session state across all ASP.NET web applications

• Support controlled, concurrent access to the same session state data for multiple readers and a single writer

• Save full HTTP responses for concurrent requests

You need to store the information.

Proposed Solution: Add the web applications to Docker containers. Deploy the containers.

Deploy the containers to Azure Kubernetes Service (AKS).

Does the solution meet the goal?

3. DRAG DROP

You are developing a new page for a website that uses Azure Cosmos DB for data storage.

The feature uses documents that have the following format:





You must display data for the new page in a specific order. You create the following query for the page:





You need to configure a Cosmos DB policy to the support the query.

How should you configure the policy? To answer, drag the appropriate JSON segments to the correct locations. Each JSON segment 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.



4. You need to resolve the capacity issue.

What should you do?

5. You develop a solution that uses an Azure SQL Database to store user information for a mobile app.

The app stores sensitive information about users.

You need to hide sensitive information from developers that query the data for the mobile app.

Which three items must you identify when configuring dynamic data masking? Each correct answer presents a

part of the solution. NOTE: Each correct selection is worth one point.

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 an HTTP triggered Azure Function app to process Azure Storage blob data.

The app is triggered using an output binding on the blob.

The app continues to time out after four minutes. The app must process the blob data.

You need to ensure the app does not time out and processes the blob data.

Solution: Use the Durable Function async pattern to process the blob data.

Does the solution meet the goal?

7. HOTSPOT

You are preparing to deploy a Python website to an Azure Web App using a container. The solution will use multiple containers in the same container group.

The Dockerfile that builds the container is as follows:





You build a container by using the following command. The Azure Container Registry instance named images is a private registry.





The user name and password for the registry is admin.

The Web App must always run the same version of the website regardless of future builds.

You need to create an Azure Web App to run the website.

How should you complete the commands? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.



8. DRAG DROP

You need to add code at line PC32 in Processing.cs to implement the GetCredentials method in the Processing class.

How should you complete the code? To answer, drag the appropriate code segments to the correct locations. Each code segment 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.



9. DRAG DROP

You are preparing to deploy an Azure virtual machine (VM) based application.

The VMs that run the application have the following requirements:

• When a VM is provisioned the firewall must be automatically configured before it can access Azure resources.

• Supporting services must be installed by using an Azure PowerShell script that is stored in Azure Storage

You need to ensure that the requirements are met.

Which features should you use? To answer, drag the appropriate features to the correct requirements.



10. You need to ensure that the solution can meet the scaling requirements for Policy Service.

Which Azure Application Insights data model should you use?


 

Share this post

Leave a Reply

Your email address will not be published.