Microsoft AZ-204 Exam (page: 1)
Microsoft Developing Solutions for Azure
Updated on: 24-Feb-2026

Viewing Page 1 of 59

You have two Hyper-V hosts named Host1 and Host2. Host1 has an Azure virtual machine named VM1 that was deployed by using a custom Azure Resource
Manager template.
You need to move VM1 to Host2.
What should you do?

  1. From the Update management blade, click Enable.
  2. From the Overview blade, move VM1 to a different subscription.
  3. From the Redeploy blade, click Redeploy.
  4. From the Profile blade, modify the usage location.

Answer(s): C

Explanation:

When you redeploy a VM, it moves the VM to a new node within the Azure infrastructure and then powers it back on, retaining all your configuration options and associated resources.


Reference:

https://docs.microsoft.com/en-us/azure/virtual-machines/windows/redeploy-to-new-node



DRAG DROP (Drag and Drop is not supported)
You have downloaded an Azure Resource Manager template to deploy numerous virtual machines. The template is based on a current virtual machine, but must be adapted to reference an administrative password.
You need to make sure that the password is not stored in plain text.
You are preparing to create the necessary components to achieve your goal.
Which of the following should you create to achieve your goal? Answer by dragging the correct option from the list to the answer area.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Your company has an Azure Kubernetes Service (AKS) cluster that you manage from an Azure AD-joined device. The cluster is located in a resource group.
Developers have created an application named MyApp. MyApp was packaged into a container image.
You need to deploy the YAML manifest file for the application.
Solution: You install the Azure CLI on the device and run the kubectl apply `"f myapp.yaml command.
Does this meet the goal?

  1. Yes
  2. No

Answer(s): A

Explanation:

kubectl apply -f myapp.yaml applies a configuration change to a resource from a file or stdin.


Reference:

https://kubernetes.io/docs/reference/kubectl/overview/
https://docs.microsoft.com/en-us/cli/azure/aks



Your company has an Azure Kubernetes Service (AKS) cluster that you manage from an Azure AD-joined device. The cluster is located in a resource group.
Developers have created an application named MyApp. MyApp was packaged into a container image.
You need to deploy the YAML manifest file for the application.
Solution: You install the docker client on the device and run the docker run -it microsoft/azure-cli:0.10.17 command.
Does this meet the goal?

  1. Yes
  2. No

Answer(s): B



Your company has a web app named WebApp1.
You use the WebJobs SDK to design a triggered App Service background task that automatically invokes a function in the code every time new data is received in a queue.
You are preparing to configure the service processes a queue data item.
Which of the following is the service you should use?

  1. Logic Apps
  2. WebJobs
  3. Flow
  4. Functions

Answer(s): B

Explanation:


Reference:

https://docs.microsoft.com/en-us/azure/azure-functions/functions-compare-logic-apps-ms-flow-webjobs



Your company has an Azure subscription.
You need to deploy a number of Azure virtual machines to the subscription by using Azure Resource Manager (ARM) templates. The virtual machines will be included in a single availability set.
You need to ensure that the ARM template allows for as many virtual machines as possible to remain accessible in the event of fabric failure or maintenance.
Which of the following is the value that you should configure for the platformFaultDomainCount property?

  1. 10
  2. 30
  3. Min Value
  4. Max Value

Answer(s): D

Explanation:

The number of fault domains for managed availability sets varies by region - either two or three per region.


Reference:

https://docs.microsoft.com/en-us/azure/virtual-machines/windows/manage-availability



Your company has an Azure subscription.
You need to deploy a number of Azure virtual machines to the subscription by using Azure Resource Manager (ARM) templates. The virtual machines will be included in a single availability set.
You need to ensure that the ARM template allows for as many virtual machines as possible to remain accessible in the event of fabric failure or maintenance.
Which of the following is the value that you should configure for the platformUpdateDomainCount property?

  1. 10
  2. 20
  3. 30
  4. 40

Answer(s): B

Explanation:

Each virtual machine in your availability set is assigned an update domain and a fault domain by the underlying Azure platform. For a given availability set, five non-user-configurable update domains are assigned by default (Resource Manager deployments can then be increased to provide up to 20 update domains) to indicate groups of virtual machines and underlying physical hardware that can be rebooted at the same time.


Reference:

https://docs.microsoft.com/en-us/azure/virtual-machines/windows/manage-availability



DRAG DROP (Drag and Drop is not supported)
You are creating an Azure Cosmos DB account that makes use of the SQL API. Data will be added to the account every day by a web application.
You need to ensure that an email notification is sent when information is received from IoT devices, and that compute cost is reduced.
You decide to deploy a function app.
Which of the following should you configure the function app to use? Answer by dragging the correct options from the list to the answer area.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Viewing Page 1 of 59



Share your comments for Microsoft AZ-204 exam with other users:

s_123 8/12/2023 4:28:00 PM

do we need c# coding to be az204 certified
Anonymous


sachin 6/27/2023 1:22:00 PM

can you share the pdf
Anonymous


johnson 10/24/2023 5:47:00 AM

i studied for the microsoft azure az-204 exam through it has 100% real questions available for practice along with various mock tests. i scored 900/1000.
GERMANY


bot 7/26/2023 6:45:00 PM

more comments here
UNITED STATES


User123 10/8/2023 9:59:00 AM

good question
UNITED STATES


VINNY 6/2/2023 11:59:00 AM

very good use full
Anonymous


Jose 8/30/2023 6:14:00 AM

nice questions
PORTUGAL


keylly 11/28/2023 10:10:00 AM

im study azure
Anonymous


Raj 5/25/2023 8:43:00 AM

nice questions
UNITED STATES