Search Header Logo

AZ204 quiz 2

Authored by Faith Muwishi

Specialty

Professional Development

Used 20+ times

AZ204 quiz 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

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 ResourceManager template.You need to move VM1 to Host2.What should you do?

From the Update management blade, click Enable.

From the Overview blade, move VM1 to a different subscription.

From the Redeploy blade, click Redeploy.

From the Profile blade, modify the usage location.

Answer 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.

2.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

Media Image

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.(DRAG AND DROP WONT WORK CHOOSE ANSWER BELOW)

1 and 4

2 and 3

3 and 5

1 and 6

3.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

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?

Yes

No

Answer explanation

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

4.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

our 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?

Yes

No

Answer explanation

To apply the Kubernetes manifest file to the AKS cluster, you would typically use the kubectl apply command. This command applies the desired state described in the manifest file to the cluster, which will result in the creation and deployment of the specified resources, including the containerized application.

5.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

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?

Logic Apps

WebJobs

Flow

Functions

Answer explanation

The WebJobs SDK is designed specifically for running background tasks in Azure App Service,

6.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

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?

10

30

Min Value

Max Value

Answer explanation

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

7.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

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?

10

20

30

40

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?