ExamGecko
Home Home / Microsoft / AZ-104

Microsoft AZ-104 Practice Test - Questions Answers, Page 40

Question list
Search
Search

List of questions

Search

Related questions











HOTSPOT

You have the App Service plans shown in the following table.

You plan to create the Azure web apps shown in the following table.

You need to identify which App Service plans can be used for the web apps.

What should you identify? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 391
Correct answer: Question 391

Explanation:

Box 1: ASP1 ASP3

Asp1, ASP3: ASP.NET Core apps can be hosted both on Windows or Linux.

Not ASP2: The region in which your app runs is the region of the App Service plan it's in.

Box 2: ASP1

ASP.NET apps can be hosted on Windows only.

Reference:

https://docs.microsoft.com/en-us/azure/app-service/quickstart-dotnetcore?pivots=platform-linux

https://docs.microsoft.com/en-us/azure/app-service/app-service-plan-manage#

HOTSPOT

You have an Azure Kubernetes Service (AKS) cluster named AKS1 and a computer named Computer1 that runs Windows 10. Computer1 that has the Azure CLI installed.

You need to install the kubectl client on Computer1.

Which command should you run? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 392
Correct answer: Question 392

Explanation:

To install kubectl locally, use the az aks install-cli command:

az aks install-cli

Reference:

https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough

DRAG DROP

You onboard 10 Azure virtual machines to Azure Automation State Configuration.

You need to use Azure Automation State Configuration to manage the ongoing consistency of the virtual machine configurations.

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.

NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.


Question 393
Correct answer: Question 393

Explanation:

Step 1: Upload a configuration to Azure Automation State Configuration.

Import the configuration into the Automation account.

Step 2: Compile a configuration into a node configuration.

A DSC configuration defining that state must be compiled into one or more node configurations (MOF document), and placed on the Automation DSC Pull Server.

Step 3: Assign the node configuration

Step 4: Check the compliance status of the node

Each time Azure Automation State Configuration performs a consistency check on a managed node, the node sends a status report back to the pull server. You can view these reports on the page for that node.

On the blade for an individual report, you can see the following status information for the corresponding consistency check:

The report status ó whether the node is "Compliant", the configuration "Failed", or the node is "Not

Compliant"

Reference:

https://docs.microsoft.com/en-us/azure/automation/automation-dsc-getting-started

You have an Azure Resource Manager hat is used to deploy an Azure virtual machine.

Template1 contains the following text:

The variables section in Template1 contains the following text:

"location": "westeurope"

The resources section in Template1 contains the following text:

You need to deploy the virtual machine to the West US location by using Template1.

What should you do?

A.
Modify the location in the resource section to westus
A.
Modify the location in the resource section to westus
Answers
B.
Select West US during the deployment
B.
Select West US during the deployment
Answers
C.
Modify the location in the variables section to westus
C.
Modify the location in the variables section to westus
Answers
Suggested answer: A

You plan to move a distributed on-premises app named App1 to an Azure subscription.

After the planned move, App1 will be hosted on several Azure virtual machines.

You need to ensure that App1 always runs on at least eight virtual machines during planned Azure maintenance.

What should you create?

A.
one virtual machine scale set that has 10 virtual machines instances
A.
one virtual machine scale set that has 10 virtual machines instances
Answers
B.
one Availability Set that has three fault domains and one update domain
B.
one Availability Set that has three fault domains and one update domain
Answers
C.
one Availability Set that has 10 update domains and one fault domain
C.
one Availability Set that has 10 update domains and one fault domain
Answers
D.
one virtual machine scale set that has 12 virtual machines instances
D.
one virtual machine scale set that has 12 virtual machines instances
Answers
Suggested answer: C

Explanation:

An update domain is a logical group of underlying hardware that can undergo maintenance or be rebooted at the same time. As you create VMs within an availability set, the Azure platform automatically distributes your VMs across these update domains. This approach ensures that at least one instance of your application always remains running as the Azure platform undergoes periodic maintenance.

Reference:

http://www.thatlazyadmin.com/azure-fault-update-domains/

HOTSPOT

You have an Azure subscription that contains the file shares shown in the following table.

You have the on-premises file shares shown in the following table.

You create an Azure file sync group named Sync1 and perform the following actions:

Add share1 as the cloud endpoint for Sync1.

Add data1 as a server endpoint for Sync1.

Register Server1 and Server2 to Sync1.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.


Question 396
Correct answer: Question 396

Explanation:

Box 1: No

A sync group must contain one cloud endpoint, which represents an Azure file share and one or more server endpoints.

Box 2: Yes

Data2 is located on Server2 which is registered to Sync1.

Box 3: No

Data3 is located on Server3 which is not registered to Sync1.

Reference:

https://docs.microsoft.com/en-us/azure/storage/files/storage-sync-files-deploymentguide?tabs=azure-portal%2Cproactive-portal#create-a-sync-group-and-a-cloud-endpoint

HOTSPOT

You have an Azure subscription that contains the hierarchy shown in the following exhibit.

You create an Azure Policy definition named Policy1.

To which Azure resources can you assign Policy and which Azure resources can you specify as exclusions from Policy1? To answer, select the appropriate options in the answer

NOTE Each correct selection is worth one point.


Question 397
Correct answer: Question 397

You have an Azure subscription that contains the virtual machines shown in the following table.

javascript:void(0)

You deploy a load balancer that has the following configurations:

• Name: LB1

• Type internal

• SKU: Standard

• Virtual network VNET1

You need to ensure that you can add VM1 and VM2 to the backend pool of LB1.

Solution: You create a Basic SKU public IP address, associate the address to the network interface of

VM1, and then start VM1.

Does this meet the goal?

A.
Yes
A.
Yes
Answers
B.
No
B.
No
Answers
Suggested answer: B

Explanation:

A Backend Pool configured by IP address has the following limitations:

Standard load balancer only

Reference:

https://docs.microsoft.com/en-us/azure/load-balancer/backend-pool-management

You can only attach virtual machines in the same region and that have a standard SKU public IP configuration or no public IP configuration. All IP configurations must be on the same virtual network.

You have an Azure subscription that contains the virtual machines shown in the following table.

javascript:void(0)

You deploy a load balancer that has the following configurations:

• NameLB1

• Type: internal

• SKU: Standard

• Virtual network: VNET1

You need to ensure that you can add VM1 and VM2 to the backend pool of LB1.

Solution: You disassociate the public IP address from the network interface of VM2.

Does this meet the goal?

A.
Yes
A.
Yes
Answers
B.
No
B.
No
Answers
Suggested answer: A

Explanation:

You can only attach virtual machines in the same region and that have a standard SKU public IP configuration or no public IP configuration. All IP configurations must be on the same virtual network.

You have an Azure subscription.

You plan to deploy an Azure Kubernetes Services (AKS) cluster to support an app named APP1. Onpremises clients connect to App1 by using the IP address of the pod.

For the AKS cluster, you need to choose a network type that will support App1.

What should you choose?

A.
Azure Private Link
A.
Azure Private Link
Answers
B.
Hybrid Connection endpoints
B.
Hybrid Connection endpoints
Answers
C.
Kubenet
C.
Kubenet
Answers
D.
Azure Container Networking Interface (CNI)
D.
Azure Container Networking Interface (CNI)
Answers
Suggested answer: D

Explanation:

With Azure CNI, every pod gets an IP address from the subnet and can be accessed directly. These IP addresses must be unique across your network space.

https://docs.microsoft.com/en-us/azure/aks/concepts-network#azure-virtual-networks

Total 644 questions
Go to page: of 65