ExamGecko
Home Home / Microsoft / AZ-500

Microsoft AZ-500 Practice Test - Questions Answers, Page 12

Question list
Search
Search

List of questions

Search

Related questions











SIMULATION

You need to prevent administrators from performing accidental changes to the Homepage app service plan.

To complete this task, sign in to the Azure portal.

A.
A.
Answers
Suggested answer: A

Explanation:

Answer: A

Explanation:

You need to configure a ‘lock’ for the app service plan. A read-only lock ensures that no one can make changes to the app service plan without first deleting the lock.

1. In the Azure portal, type App Service Plans in the search box, select App Service Plans from the search results then select Homepage. Alternatively, browse to App Service Plans in the left navigation pane.

2. In the properties of the app service plan, click on Locks.

3. Click the Add button to add a new lock.

4. Enter a name in the Lock name field. It doesn’t matter what name you provide for the exam.

5. For the Lock type, select Read-only.

6. Click OK to save the changes.

SIMULATION

You need to ensure that a user named Danny11597200 can sign in to any SQL database on a Microsoft SQL server named web11597200 by using SQL Server Management Studio (SSMS) and Azure Active Directory (Azure AD) credentials.

To complete this task, sign in to the Azure portal.

A.
A.
Answers
Suggested answer: A

Explanation:

Answer: A

Explanation:

You need to provision an Azure AD Admin for the SQL Server.

1. In the Azure portal, type SQL Server in the search box, select SQL Server from the search results then select the server named web11597200. Alternatively, browse to SQL Server in the left navigation pane.

2. In the SQL Server properties page, click on Active Directory Admin.

3. Click the Set Admin button.

4. In the Add Admin window, search for and select Danny11597200.

5. Click the Select button to add Danny11597200.

6. Click the Save button to save the changes.

Reference:

https://docs.microsoft.com/en-us/azure/azure-sql/database/authentication-aad-configure?tabs=azure-powershell

SIMULATION

You need to configure a Microsoft SQL server named Web11597200 only to accept connections from the Subnet0 subnet on the VNET01 virtual network.

To complete this task, sign in to the Azure portal.

A.
A.
Answers
Suggested answer: A

Explanation:

Answer: A

Explanation:

You need to allow access to Azure services and configure a virtual network rule for the SQL Server.

1. In the Azure portal, type SQL Server in the search box, select SQL Server from the search results then select the server named web11597200. Alternatively, browse to SQL Server in the left navigation pane.

2. In the properties of the SQL Server, click Firewalls and virtual networks.

3. In the Virtual networks section, click on Add existing. This will open the Create/Update virtual network rule window.

4. Give the rule a name such as Allow_VNET01-Subnet0 (it doesn’t matter what name you enter for the exam).

5. In the Virtual network box, select VNET01.

6. In the Subnet name box, select Subnet0.

7. Click the OK button to save the rule.

8. Back in the Firewall / Virtual Networks window, set the Allow access to Azure services option to On.

You have Azure Resource Manager templates that you use to deploy Azure virtual machines.

You need to disable unused Windows features automatically as instances of the virtual machines are provisioned.

What should you use?

A.
device configuration policies in Microsoft Intune
A.
device configuration policies in Microsoft Intune
Answers
B.
an Azure Desired State Configuration (DSC) virtual machine extension
B.
an Azure Desired State Configuration (DSC) virtual machine extension
Answers
C.
security policies in Azure Security Center
C.
security policies in Azure Security Center
Answers
D.
Azure Logic Apps
D.
Azure Logic Apps
Answers
Suggested answer: B

Explanation:

The primary use case for the Azure Desired State Configuration (DSC) extension is to bootstrap a VM to the Azure Automation State Configuration (DSC) service. The service provides benefits that include ongoing management of the VM configuration and integration with other operational tools, such as Azure Monitoring. Using the extension to register VM's to the service provides a flexible solution that even works across Azure subscriptions.

Reference:

https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-overview

HOTSPOT

You have an Azure subscription that contains an Azure Active Directory (Azure AD) tenant named contoso.com. The tenant contains the users shown in the following table.

You create a resource group named RG1.

Which users can modify the permissions for RG1 and which users can create virtual networks in RG1? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 115
Correct answer: Question 115

Explanation:

Box 1: Only an owner can change permissions on resources.

Box 2: A Contributor can create/modify/delete anything in the subscription but cannot change permissions.

SIMULATION

You need to configure network connectivity between a virtual network named VNET1 and a virtual network named VNET2. The solution must ensure that virtual machines connected to VNET1 can communicate with virtual machines connected to VNET2.

To complete this task, sign in to the Azure portal and modify the Azure resources.

A.
A.
Answers
Suggested answer: A

Explanation:

Answer: A

Explanation:

You need to configure VNet Peering between the two networks. The questions states, “The solution must ensure that virtual machines connected to VNET1 can communicate with virtual machines connected to VNET2”. It doesn’t say the VMs on VNET2 should be able to communicate with VMs on VNET1. Therefore, we need to configure the peering to allow just the one-way communication.

1. In the Azure portal, type Virtual Networks in the search box, select Virtual Networks from the search results then select VNET1. Alternatively, browse to Virtual Networks in the left navigation pane.

2. In the properties of VNET1, click on Peerings.

3. In the Peerings blade, click Add to add a new peering.

4. In the Name of the peering from VNET1 to remote virtual network box, enter a name such as VNET1-VNET2 (this is the name that the peering will be displayed as in VNET1)

5. In the Virtual Network box, select VNET2.

6. In the Name of the peering from remote virtual network to VNET1 box, enter a name such as VNET2-VNET1 (this is the name that the peering will be displayed as in VNET2). There is an option Allow virtual network access from VNET to remote virtual network. This should be left as Enabled.

7. For the option Allow virtual network access from remote network to VNET1, click the slider button to Disabled.

8. Click the OK button to save the changes.

Reference:

https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-manage-peering

SIMULATION

You need to deploy an Azure firewall to a virtual network named VNET3.

To complete this task, sign in to the Azure portal and modify the Azure resources.

This task might take several minutes to complete. You can perform other tasks while the task completes.

A.
A.
Answers
Suggested answer: A

Explanation:

Answer: A

Explanation:

To add an Azure firewall to a VNET, the VNET must first be configured with a subnet named AzureFirewallSubnet (if it doesn’t already exist).

Configure VNET3.

1. In the Azure portal, type Virtual Networks in the search box, select Virtual Networks from the search results then select VNET3. Alternatively, browse to Virtual Networks in the left navigation pane.

2. In the Overview section, note the Location (region) and Resource Group of the virtual network. We’ll need these when we add the firewall.

3. Click on Subnets.

4. Click on + Subnet to add a new subnet.

5. Enter AzureFirewallSubnet in the Name box. The subnet must be named AzureFirewallSubnet.

6. Enter an appropriate IP range for the subnet in the Address range box.

7. Click the OK button to create the subnet.

Add the Azure Firewall.

1. In the settings of VNET3 click on Firewall.

2. Click the Click here to add a new firewall link.

3. The Resource group will default to the VNET3 resource group. Leave this default.

4. Enter a name for the firewall in the Name box.

5. In the Region box, select the same region as VNET3.

6. In the Public IP address box, select an available public IP address if one exists, or click Add new to add a new public IP address.

7. Click the Review + create button.

8. Review the settings and click the Create button to create the firewall.

Reference:

https://docs.microsoft.com/en-us/azure/firewall/tutorial-firewall-deploy-portal

SIMULATION

You need to configure a virtual network named VNET2 to meet the following requirements:

Administrators must be prevented from deleting VNET2 accidentally.

Administrators must be able to add subnets to VNET2 regularly.

To complete this task, sign in to the Azure portal and modify the Azure resources.

A.
A.
Answers
Suggested answer: A

Explanation:

Answer: A

Explanation:

Locking prevents other users in your organization from accidentally deleting or modifying critical resources, such as Azure subscription, resource group, or resource.

Note: In Azure, the term resource refers to an entity managed by Azure. For example, virtual machines, virtual networks, and storage accounts are all referred to as Azure resources.

1. In the Azure portal, type Virtual Networks in the search box, select Virtual Networks from the search results then select VNET2. Alternatively, browse to Virtual Networks in the left navigation pane.

2. In the Settings blade for virtual network VNET2, select Locks.

3. To add a lock, select Add.

4. For Lock type select Delete lock, and click OK

Reference:

https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-lock-resources

You have an Azure virtual machine named VM1.

From Azure Security Center, you get the following high-severity recommendation: “Install endpoint protection solutions on virtual machine”.

You need to resolve the issue causing the high-severity recommendation.

What should you do?

A.
Add the Microsoft Antimalware extension to VM1.
A.
Add the Microsoft Antimalware extension to VM1.
Answers
B.
Install Microsoft System Center Security Management Pack for Endpoint Protection on VM1.
B.
Install Microsoft System Center Security Management Pack for Endpoint Protection on VM1.
Answers
C.
Add the Network Watcher Agent for Windows extension to VM1.
C.
Add the Network Watcher Agent for Windows extension to VM1.
Answers
D.
Onboard VM1 to Microsoft Defender Advanced Threat Protection (Microsoft Defender ATP).
D.
Onboard VM1 to Microsoft Defender Advanced Threat Protection (Microsoft Defender ATP).
Answers
Suggested answer: A

Explanation:

Reference:

https://docs.microsoft.com/en-us/azure/security-center/security-center-endpoint-protection

HOTSPOT

You have a file named File1.yaml that contains the following contents.

You create an Azure container instance named container1 by using File1.yaml.

You need to identify where you can access the values of Variable1 and Variable2.

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

NOTE: Each correct selection is worth one point.


Question 120
Correct answer: Question 120

Explanation:

Reference:

https://docs.microsoft.com/en-us/azure/container-instances/container-instances-environment-variables

Total 439 questions
Go to page: of 44