ExamGecko
Home Home / Microsoft / AZ-104

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

Question list
Search
Search

List of questions

Search

Related questions











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

You configure Azure Site Recovery to replicate VM1 between the East US and Wt US regions.

You perform a test failove of VM1 and specify VNET2 as the target v>riual network.

When the test version of VM1 is created, to which subnet will the virtual machine be connected?

A.
Testsubnet1
A.
Testsubnet1
Answers
B.
RecoverySubnetB
B.
RecoverySubnetB
Answers
C.
DemoSubnrt1
C.
DemoSubnrt1
Answers
D.
RecovetySubnelA
D.
RecovetySubnelA
Answers
Suggested answer: A

Explanation:

https://learn.microsoft.com/en-us/azure/site-recovery/azure-to-azure-network-mapping

The subnet of the target VM is selected based on the name of the subnet of the source VM.

- If a subnet with the same name as the source VM subnet is available in the target network, that subnet is set for the target VM.

- If a subnet with the same name doesn't exist in the target network, the first subnet in the alphabetical order is set as the target subnet.


You have two Azure subscriptions named Sub1 and Sub2.

Sub1 contains a virtual machine named VM1 and a storage account named storage1.

VM1 is associated to the resources shown in the following table.

You need to move VM1 to Sub2.

Which resources should you move to Sub2?

A.
VM1, Disk1. and Netlnt1 only
A.
VM1, Disk1. and Netlnt1 only
Answers
B.
VM1. Disk1. and VNet1 only
B.
VM1. Disk1. and VNet1 only
Answers
C.
VM1. Disk1. and storage1 only
C.
VM1. Disk1. and storage1 only
Answers
D.
VM1. Disk1. Netlnt1, and VNet1
D.
VM1. Disk1. Netlnt1, and VNet1
Answers
Suggested answer: D

Explanation:

When you move a virtual machine to a different subscription, you need to move all the resources that are associated with the virtual machine, such as the disks, the network interface, and the virtual network. You cannot move a virtual machine without moving its dependent resources. You also need to ensure that the target subscription supports the same region, resource type, and API version as the source subscription. Then,

Reference: [Move a Windows VM to another Azure subscription or resource group]

HOTSPOT

You have an Azure subscription that contains a storage account named storage1.

You need to configure a shared access signature (SAS) to ensure that users can only download blobs securely by name.

Which two settings should you configure? To answer, select the appropriate settings in the answer area.

NOTE: Each correct answer is worth one point.


Question 533
Correct answer: Question 533

You have an Azure subscription that contains a virtual machine named VM1.

You plan to deploy an Azure Monitor alert rule that will trigger an alert when CPU usage on VM1 exceeds 80 percent.

You need to ensure that the alert rule sends an email message to two users named User1 and User2.

What should you create for Azure Monitor?

A.
an action group
A.
an action group
Answers
B.
a mail-enabled security group
B.
a mail-enabled security group
Answers
C.
a distribution group
C.
a distribution group
Answers
D.
a Microsoft 365 group
D.
a Microsoft 365 group
Answers
Suggested answer: A

Explanation:

An action group is a collection of notification preferences that can be used by Azure Monitor to send alerts to users or groups when an alert rule is triggered. An action group can include email recipients, SMS recipients, voice call recipients, webhook URLs, Azure functions, Logic Apps, and more. To send an email message to two users named User1 and User2 when CPU usage on VM1 exceeds 80 percent, you need to create an action group that contains their email addresses and associate it with the alert rule.

Reference:

Create and manage action groups in the Azure portal

Create, view, and manage Metric alerts using Azure Monitor

You have an Azure subscription.

You plan to migrate 50 virtual machines from VMware vSphere to the subscription.

You create a Recovery Services vault.

What should you do next?

A.
Configure an extended network.
A.
Configure an extended network.
Answers
B.
Create a recovery plan.
B.
Create a recovery plan.
Answers
C.
Deploy an Open Virtualization Application (OVA) template to vSphere.
C.
Deploy an Open Virtualization Application (OVA) template to vSphere.
Answers
D.
Configure a virtual network.
D.
Configure a virtual network.
Answers
Suggested answer: C

Explanation:

To migrate virtual machines from VMware vSphere to Azure, you need to use Azure Migrate, which is a service that helps you assess and migrate your on-premises workloads to Azure. Azure Migrate uses an appliance that you deploy as an Open Virtualization Application (OVA) template to vSphere. The appliance discovers the virtual machines and sends metadata and performance data to Azure Migrate. You can then use Azure Migrate to assess the readiness, cost, and sizing of the virtual machines for migration. You can also use Azure Migrate to replicate and migrate the virtual machines to Azure.

Reference:

About Azure Migrate

Prepare VMware servers for assessment and migration to Azure with Azure Migrate Server Migration

You have an Azure subscription that contains 20 virtual machines, a network security group (NSG) named NSG1, and two virtual networks named VNET1 and VNET2 that are peered.

You plan to deploy an Azure Bastion Basic SKU host named Bastion1 to VNET1.

You need to configure NSG1 to allow inbound access from the internet to Bastion1.

Which port should you configure for the inbound security rule?

A.
22
A.
22
Answers
B.
443
B.
443
Answers
C.
3389
C.
3389
Answers
D.
8080
D.
8080
Answers
Suggested answer: B

Explanation:

Azure Bastion is a service that provides secure and seamless RDP/SSH connectivity to virtual machines directly over TLS from the Azure portal or via native client. Azure Bastion uses an HTML5 based web client that is automatically streamed to your local device. Your RDP/SSH session is over TLS on port 443. This enables the traffic to traverse firewalls more securely. To allow inbound access from the internet to Bastion1, you need to configure NSG1 to allow port 443 for the inbound security rule.

Reference:

What is Azure Bastion?

About Azure Bastion configuration settings

HOTSPOT

You have two Azure subscriptions named Sub1 and Sub2. Sub1 is in a management group named MG1. Sub2 is in a management group named MG2.

You have the resource groups shown in the following table.

You have the virtual machines shown in the following table.

You assign roles to users as shown in the following table.

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 537
Correct answer: Question 537

You have an Azure subscription that contains a storage account. The account stores website data.

You need to ensure that inbound user traffic uses the Microsoft point-of-presence (POP) closest to the user's location.

What should you configure?

A.
load balancing
A.
load balancing
Answers
B.
private endpoints
B.
private endpoints
Answers
C.
Azure Firewall rules
C.
Azure Firewall rules
Answers
D.
Routing preference
D.
Routing preference
Answers
Suggested answer: D

Explanation:

Routing preference is a feature that allows you to configure how network traffic is routed to your storage account from clients over the internet. By default, traffic from the internet is routed to the public endpoint of your storage account over the Microsoft global network, which is optimized for low-latency path selection and high reliability. Both inbound and outbound traffic are routed through the point of presence (POP) that is closest to the client. This ensures that traffic to and from your storage account traverses over the Microsoft global network for the bulk of its path, maximizing network performance. You can also change the routing preference to use internet routing, which minimizes the traversal of your traffic over the Microsoft global network, handing it off to the transit ISP at the earliest opportunity. This lowers networking costs, but may compromise network performance. Therefore, to ensure that inbound user traffic uses the Microsoft POP closest to the user's location, you should configure routing preference to use the Microsoft global network as the default routing option for your storage account.

Network routing preference for Azure Storage

Configure network routing preference for Azure Storage

HOTSPOT

You have an Azure Storage account named storage1 that contains a blob container. The blob container has a default access tier of Hot. Storage1 contains a container named container!

You create lifecycle management rules in storage1 as shown in the following table.

You perform the actions shown in the following table.

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 539
Correct answer: Question 539

HOTSPOT

You have an Azure subscription that contains the public load balancers shown in the following table.

You plan to create six virtual machines and to load balance requests to the virtual machines. Each load balancer will load balance three virtual machines.

You need to create the virtual machines for the planned solution.

How should you create the virtual machines? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 540
Correct answer: Question 540
Total 644 questions
Go to page: of 65