Skip to Content

AZ-500 Microsoft Azure Security Technologies Exam Questions and Answers – 1 Part 2

The latest Microsoft AZ-500 Azure Security Technologies certification actual real practice exam question and answer (Q&A) dumps are available free, which are helpful for you to pass the Microsoft AZ-500 Azure Security Technologies exam and earn Microsoft AZ-500 Azure Security Technologies certification.

AZ-500 Microsoft Azure Security Technologies Exam Questions and Answers

AZ-500 Question 51

Question

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.

Answer

See the explanation below.

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.

AZ-500 Question 52

Question

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.

Answer

See the explanation below.

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

AZ-500 Question 53

Question

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.

Answer

See the explanation below.

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.

AZ-500 Question 54

Question

SIMULATION –
You need to ensure that connections from the Internet to VNET1\subnet0 are allowed only over TCP port 7777. The solution must use only currently deployed resources.
To complete this task, sign in to the Azure portal.

Answer

See the explanation below.

Explanation

You need to configure the Network Security Group that is associated with subnet0.

  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 Subnets. This will display the subnets in VNET1 and the Network Security Group associated to each subnet. Note the name of the Network Security Group associated to Subnet0.
  3. Type Network Security Groups into the search box and select the Network Security Group associated with Subnet0.
  4. In the properties of the Network Security Group, click on Inbound Security Rules.
  5. Click the Add button to add a new rule.
  6. In the Source field, select Service Tag.
  7. In the Source Service Tag field, select Internet.
  8. Leave the Source port ranges and Destination field as the default values (* and All).
  9. In the Destination port ranges field, enter 7777.
  10. Change the Protocol to TCP.
  11. Leave the Action option as Allow.
  12. Change the Priority to 100.
  13. Change the Name from the default Port_8080 to something more descriptive such as Allow_TCP_7777_from_Internet. The name cannot contain spaces.
  14. Click the Add button to save the new rule.

AZ-500 Question 55

Question

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

Name Operating system
VM1 Windows 10
VM2 Windows Server 2016
VM3 Windows Server 2019
VM4 Ubuntu Server 18.04 LTS

You create an MDM Security Baseline profile named Profile1.
You need to identify to which virtual machines Profile1 can be applied.
Which virtual machines should you identify?

A. VM1 only
B. VM1, VM2, and VM3 only
C. VM1 and VM3 only
D. VM1, VM2, VM3, and VM4

Answer

A. VM1 only

Reference

Microsoft Endpoint Manager > Intune > Protect > Use security baselines to configure Windows devices in Intune

AZ-500 Question 56

Question

You are configuring an Azure Kubernetes Service (AKS) cluster that will connect to an Azure Container Registry.
You need to use the auto-generated service principal to authenticate to the Azure Container Registry.
What should you create?

A. an Azure Active Directory (Azure AD) group
B. an Azure Active Directory (Azure AD) role assignment
C. an Azure Active Directory (Azure AD) user
D. a secret in Azure Key Vault

Answer

B. an Azure Active Directory (Azure AD) role assignment

Explanation

When you create an AKS cluster, Azure also creates a service principal to support cluster operability with other Azure resources. You can use this auto-generated service principal for authentication with an ACR registry. To do so, you need to create an Azure AD role assignment that grants the cluster’s service principal access to the container registry.

Reference

Azure > AKS > Authenticate with Azure Container Registry from Azure Kubernetes Service

AZ-500 Question 57

Question

HOTSPOT –
You have an Azure subscription. The subscription contains Azure virtual machines that run Windows Server 2016.
You need to implement a policy to ensure that each virtual machine has a custom antimalware virtual machine extension installed.
How should you complete the policy? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

You need to implement a policy to ensure that each virtual machine has a custom antimalware virtual machine extension installed.

Answer

You need to implement a policy to ensure that each virtual machine has a custom antimalware virtual machine extension installed.

Explanation

Box 1: DeployIfNotExists –
DeployIfNotExists executes a template deployment when the condition is met.

Box 2: Template –
The details property of the DeployIfNotExists effects has all the subproperties that define the related resources to match and the template deployment to execute.
Deployment [required]
This property should include the full template deployment as it would be passed to the Microsoft.Resources/deployment

Reference

AZ-500 Question 58

Question

DRAG DROP –
You have an Azure subscription that contains the virtual networks shown in the following table.

Name Region Description
HubVNet East US HubVNet is a virtual network connected to the on-premises network by using a site-to-site VPN that has BGP route propagation enabled. HubVNet contains subnets named HubVNetSubnet0, AzureFirewallSubnet and GatewaySubnet. Virtual network gateway is connected to GatewaySubnet.
SpokeVNet East US SpokeVNet is a virtual network connected to HubVNet by using VNet peering. SpokeVNet contains a subnet named SpokeVNetSubnet0.

The Azure virtual machines on SpokeVNetSubnet0 can communicate with the computers on the on-premises network.
You plan to deploy an Azure firewall to HubVNet.
You create the following two routing tables:

  • RT1: Includes a user-defined route that points to the private IP address of the Azure firewall as a next hop address
  • RT2: Disables BGP route propagation and defines the private IP address of the Azure firewall as the default gateway

You need to ensure that traffic between SpokeVNetSubnet0 and the on-premises network flows through the Azure firewall.
To which subnet should you associate each route table? To answer, drag the appropriate subnets to the correct route tables. Each subnet may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:

Subnets:

  • AzureFirewallSubnet
  • GatewaySubnet
  • SpokeVNetSubnet0

Answer

RT1: GatewaySubnet
RT2: SpokeVNetSubnet0

Reference

  • Azure > Networking > Firewall > Deploy and configure Azure Firewall in a hybrid network using the Azure portal > Create the routes

AZ-500 Question 59

Question

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
B. an Azure Desired State Configuration (DSC) virtual machine extension
C. application security groups
D. device compliance policies in Microsoft Intune

Answer

B. an Azure Desired State Configuration (DSC) virtual machine extension

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

AZ-500 Question 60

Question

You have an Azure subscription named Sub1. Sub1 contains a virtual network named VNet1 that contains one subnet named Subnet1.
Subnet1 contains an Azure virtual machine named VM1 that runs Ubuntu Server 18.04.
You create a service endpoint for Microsoft.Storage in Subnet1.
You need to ensure that when you deploy Docker containers to VM1, the containers can access Azure Storage resources by using the service endpoint.
What should you do on VM1 before you deploy the container?

A. Create an application security group and a network security group (NSG).
B. Edit the docker-compose.yml file.
C. Install the container network interface (CNI) plug-in.

Answer

C. Install the container network interface (CNI) plug-in.

Explanation

The Azure Virtual Network container network interface (CNI) plug-in installs in an Azure Virtual Machine. The plug-in supports both Linux and Windows platform.
The plug-in assigns IP addresses from a virtual network to containers brought up in the virtual machine, attaching them to the virtual network, and connecting them directly to other containers and virtual network resources. The plug-in doesn”t rely on overlay networks, or routes, for connectivity, and provides the same performance as virtual machines.
The following picture shows how the plug-in provides Azure Virtual Network capabilities to Pods:

The following picture shows how the plug-in provides Azure Virtual Network capabilities to Pods.

Reference