ExamGecko
Home Home / Microsoft / AZ-104

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

Question list
Search
Search

List of questions

Search

Related questions











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

To which subnets can you apply NSG1?

A.
the subnets on VNet1 only
A.
the subnets on VNet1 only
Answers
B.
the subnets on VNet2 only
B.
the subnets on VNet2 only
Answers
C.
the subnets on VNet3 only
C.
the subnets on VNet3 only
Answers
D.
the subnets on VNet2. VNet2, and VNet3
D.
the subnets on VNet2. VNet2, and VNet3
Answers
E.
the subnets on VNet2 and VNet3 only
E.
the subnets on VNet2 and VNet3 only
Answers
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

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.


Question 272
Correct answer: Question 272

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.


Question 273
Correct answer: Question 273

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.

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

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?

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

Explanation:

Reference:

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

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

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?

A.
The App Service plan to WebApp1 moves to North Europe. Policy2 applies to WebApp1.
A.
The App Service plan to WebApp1 moves to North Europe. Policy2 applies to WebApp1.
Answers
B.
The App Service plan to WebApp1 moves to North Europe. Policy1 applies to WebApp1.
B.
The App Service plan to WebApp1 moves to North Europe. Policy1 applies to WebApp1.
Answers
C.
The App Service plan to WebApp1 remains to West Europe. Policy2 applies to WebApp1.
C.
The App Service plan to WebApp1 remains to West Europe. Policy2 applies to WebApp1.
Answers
D.
The App Service plan to WebApp1 remains to West Europe. Policy1 applies to WebApp1.
D.
The App Service plan to WebApp1 remains to West Europe. Policy1 applies to WebApp1.
Answers
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

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?

A.
Add an extension to the virtual machines.
A.
Add an extension to the virtual machines.
Answers
B.
Modify the inventory settings of the virtual machine.
B.
Modify the inventory settings of the virtual machine.
Answers
C.
Assign tags to the virtual machines.
C.
Assign tags to the virtual machines.
Answers
D.
Configure locks for the virtual machine.
D.
Configure locks for the virtual machine.
Answers
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

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?

A.
Yes
A.
Yes
Answers
B.
No
B.
No
Answers
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

2. Select Activity Log.

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.

Reference:

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

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.


Question 278
Correct answer: Question 278

Explanation:

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

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.


Question 279
Correct answer: Question 279

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

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.


Question 280
Correct answer: Question 280

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

Total 644 questions
Go to page: of 65