Free AZ-204 Exam Braindumps (page: 2)

Page 1 of 116

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






Post your Comments and Discuss Microsoft AZ-204 exam with other Community members:

AZ-204 Discussions & Posts