ExamGecko
Home / Microsoft / AZ-104 / List of questions
Ask Question

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

List of questions

Question 271

Report
Export
Collapse

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

Microsoft AZ-104 image Question 238 84763 09262024195642000000

To which subnets can you apply NSG1?

the subnets on VNet1 only
the subnets on VNet1 only
the subnets on VNet2 only
the subnets on VNet2 only
the subnets on VNet3 only
the subnets on VNet3 only
the subnets on VNet2. VNet2, and VNet3
the subnets on VNet2. VNet2, and VNet3
the subnets on VNet2 and VNet3 only
the subnets on VNet2 and VNet3 only
Suggested answer: C

Explanation:

All Azure resources are created in an Azure region and subscription. A resource can only be created in a virtual network that exists in the same region and subscription as the resource.

Reference:

https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-vnet-plan-design-arm

asked 26/09/2024
Yasser Mohamed Mohamed
45 questions

Question 272

Report
Export
Collapse

HOTSPOT

You have an Azure subscription. The subscription contains virtual machines that run Windows Server 2016 and are configured as shown in the following table.

Microsoft AZ-104 image Question 239 84764 09262024195642000000


Microsoft AZ-104 image Question 272 84764 09262024075642000
Correct answer: Microsoft AZ-104 image answer Question 272 84764 09262024075642000
asked 26/09/2024
martijn Spelt
41 questions

Question 273

Report
Export
Collapse

HOTSPOT

You have an on premises data center and an Azure subscription. The data center contains two VPN devices. The subscription contains an Azure virtual network named VNet1. VNet1 contains a gateway subnet.

You need to create a site-to-site VPN. The solution must ensure that if a single instance of an Azure

VPN gateway fails, or a single on-premises VPN device fails, the failure will not cause an interruption that is longer than two minutes.

What is the minimum number of public IP addresses, virtual network gateways, and local network gateways required in Azure? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Microsoft AZ-104 image Question 273 84765 09262024075642000
Correct answer: Microsoft AZ-104 image answer Question 273 84765 09262024075642000

Explanation:

Box 1: 4

Two public IP addresses in the on-premises data center, and two public IP addresses in the VNET.

The most reliable option is to combine the active-active gateways on both your network and Azure, as shown in the diagram below.

Microsoft AZ-104 image Question 240 explanation 84765 09262024195642000000

Box 2: 2

Every Azure VPN gateway consists of two instances in an active-standby configuration. For any planned maintenance or unplanned disruption that happens to the active instance, the standby instance would take over (failover) automatically, and resume the S2S VPN or VNet-to-VNet connections.

Box 3: 2

Dual-redundancy: active-active VPN gateways for both Azure and on-premises networks

Reference:

https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-highlyavailable

asked 26/09/2024
Joseph Bauer
39 questions

Question 274

Report
Export
Collapse

You have an Azure subscription named Subscription 1 that contains two Azure virtual networks named VNet1 and VNet2. VNet1 contains a VPN gateway named VPNGW1 that uses static routing.

There is a site-to-site VPN connection between your on-premises network and VNet1.

On a computer named Client1 that runs Windows 10, you configure a point to site VPN connection to VNet1.

You configure virtual network peering between VNet1 and VNet2. You verify that you can connect to VNet2 from the on premises network. Client1 is unable to connect to VNet2.

You need to ensure that you can connect Client1 to VNet2.

What should you do?

Select Allow gateway transit on VNet2.
Select Allow gateway transit on VNet2.
Select Allow gateway transit on VNet1.
Select Allow gateway transit on VNet1.
Download and te-install the VPN client configuration package on Client1.
Download and te-install the VPN client configuration package on Client1.
Enable BGP on VPNGW1
Enable BGP on VPNGW1
Suggested answer: C

Explanation:

Reference:

https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-point-to-site-routing

asked 26/09/2024
Katia Santa Olalla S
32 questions

Question 275

Report
Export
Collapse

You have an Azure subscription named Subscription1. Subscription1 contains the resource groups in the following table.

Microsoft AZ-104 image Question 242 84767 09262024195642000000

RG1 has a web app named WebApp1. WebApp1 is located in West Europe.

You move WebApp1 to RG2.

What is the effect of the move?

The App Service plan to WebApp1 moves to North Europe. Policy2 applies to WebApp1.
The App Service plan to WebApp1 moves to North Europe. Policy2 applies to WebApp1.
The App Service plan to WebApp1 moves to North Europe. Policy1 applies to WebApp1.
The App Service plan to WebApp1 moves to North Europe. Policy1 applies to WebApp1.
The App Service plan to WebApp1 remains to West Europe. Policy2 applies to WebApp1.
The App Service plan to WebApp1 remains to West Europe. Policy2 applies to WebApp1.
The App Service plan to WebApp1 remains to West Europe. Policy1 applies to WebApp1.
The App Service plan to WebApp1 remains to West Europe. Policy1 applies to WebApp1.
Suggested answer: C

Explanation:

You can move an app to another App Service plan, as long as the source plan and the target plan are in the same resource group and geographical region.

The region in which your app runs is the region of the App Service plan it's in. However, you cannot change an App Service plan's region.

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

asked 26/09/2024
Yener Yuksel
39 questions

Question 276

Report
Export
Collapse

You have an Azure subscription that contains a resource group named RG1. RG1 contains 100 virtual machines.

Your company has three cost centers named Manufacturing, Sales, and Finance.

You need to associate each virtual machine to a specific cost center.

What should you do?

Add an extension to the virtual machines.
Add an extension to the virtual machines.
Modify the inventory settings of the virtual machine.
Modify the inventory settings of the virtual machine.
Assign tags to the virtual machines.
Assign tags to the virtual machines.
Configure locks for the virtual machine.
Configure locks for the virtual machine.
Suggested answer: C

Explanation:

You apply tags to your Azure resources, resource groups, and subscriptions to logically organize them into a taxonomy. Each tag consists of a name and a value pair. For example, you can apply the name "Environment" and the value "Production" to all the resources in production

Reference:

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

https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-using-tags

asked 26/09/2024
mohamed elfateh
34 questions

Question 277

Report
Export
Collapse

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You have an Azure subscription named Subscription1. Subscription1 contains a resource group named RG1. RG1 contains resources that were deployed by using templates.

You need to view the date and time when the resources were created in RG1.

Solution: From the Subscriptions blade, you select the subscription, and then click Resource providers.

Does this meet the goal?

Yes
Yes
No
No
Suggested answer: B

Explanation:

Through activity logs, you can determine:

ß what operations were taken on the resources in your subscription

ß who started the operation

ß when the operation occurred

ß the status of the operation

ß the values of other properties that might help you research the operation

1. On the Azure portal menu, select Monitor, or search for and select Monitor from any page

Microsoft AZ-104 image Question 244 explanation 84769 09262024195642000000

2. Select Activity Log.

Microsoft AZ-104 image Question 244 explanation 84769 09262024195642000000

3. You see a summary of recent operations. A default set of filters is applied to the operations. Notice the information on the summary includes who started the action and when it happened.

Microsoft AZ-104 image Question 244 explanation 84769 09262024195642000000

Reference:

https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/view-activity-logs

asked 26/09/2024
Peter Kiraly
34 questions

Question 278

Report
Export
Collapse

HOTSPOT

You have an Azure subscription named Subscription1 that has a subscription ID of c276fc76-9cd4-44c9-99a7-4fd71546436e.

You need to create a custom RBAC role named CR1 that meets the following requirements:

Can be assigned only to the resource groups in Subscription1

Prevents the management of the access permissions for the resource groups

Allows the viewing, creating, modifying, and deleting of resource within the resource groups

What should you specify in the assignable scopes and the permission elements of the definition of CR1? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Microsoft AZ-104 image Question 278 84770 09262024075642000
Correct answer: Microsoft AZ-104 image answer Question 278 84770 09262024075642000

Explanation:

Microsoft AZ-104 image Question 245 explanation 84770 09262024195642000000

Box 1: "/subscription/c276fc76-9cd4-44c9-99a7-4fd71546436e"

In the assignableScopes you need to mention the subscription ID where you want to implement the RBAC

Box 2: "Microsoft.Authorization/*"

Microsoft.Authorization/* is used to Manage authorization

Reference:

https://docs.microsoft.com/en-us/azure/role-based-access-control/resource-provideroperations#microsoftauthorization

https://docs.microsoft.com/en-us/azure/role-based-access-control/built-in-roles

Reference:

https://docs.microsoft.com/en-us/azure/role-based-access-control/custom-roles

https://docs.microsoft.com/en-us/azure/role-based-access-control/resource-provideroperations#microsoftresources

asked 26/09/2024
Ibrahim SACCA
30 questions

Question 279

Report
Export
Collapse

HOTSPOT

You have an Azure subscription named Subscription1.

You plan to deploy an Ubuntu Server virtual machine named VM1 to Subscription1.

You need to perform a custom deployment of the virtual machine. A specific trusted root certification authority (CA) must be added during the deployment.

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

NOTE: Each correct selection is worth one point.


Microsoft AZ-104 image Question 279 84771 09262024075642000
Correct answer: Microsoft AZ-104 image answer Question 279 84771 09262024075642000

Explanation:

Box 1: Cloud-init.txt

Cloud-init.txt is used to customize a Linux VM on first boot up. It can be used to install packages and write files, or to configure users and security. No additional steps or agents are required to apply your configuration.

Box 2: The az vm create command

Once Cloud-init.txt has been created, you can deploy the VM with az vm create cmdlet, sing the --customdata parameter to provide the full path to the cloud-init.txt file.

Reference:

https://docs.microsoft.com/en-us/azure/virtual-machines/linux/tutorial-automate-vm-deployment

asked 26/09/2024
asdf asdf
38 questions

Question 280

Report
Export
Collapse

DRAG DROP

You have an Azure subscription that is used by four departments in your company. The subscription contains 10 resource groups. Each department uses resources in several resource groups.

You need to send a report to the finance department. The report must detail the costs for each department. 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.


Microsoft AZ-104 image Question 280 84772 09262024075642000
Correct answer: Microsoft AZ-104 image answer Question 280 84772 09262024075642000

Explanation:

Box 1: Assign a tag to each resource.

You apply tags to your Azure resources giving metadata to logically organize them into a taxonomy.

After you apply tags, you can retrieve all the resources in your subscription with that tag name and value. Each resource or resource group can have a maximum of 15 tag name/value pairs. Tags applied to the resource group are not inherited by the resources in that resource group.

Box 2: From the Cost analysis blade, filter the view by tag

After you get your services running, regularly check how much they're costing you. You can see the current spend and burn rate in Azure portal.

Visit the Subscriptions blade in Azure portal and select a subscription.

You should see the cost breakdown and burn rate in the popup blade.

Click Cost analysis in the list to the left to see the cost breakdown by resource. Wait 24 hours after you add a service for the data to populate.

You can filter by different properties like tags, resource group, and timespan. Click Apply to confirm the filters and Download if you want to export the view to a Comma-Separated Values (.csv) file.

Box 3: Download the usage report

Reference:

https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-using-tags

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

asked 26/09/2024
Ayo dickson
50 questions
Total 659 questions
Go to page: of 66
Search

Related questions