ExamGecko
Home Home / Microsoft / AZ-500

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

Question list
Search
Search

List of questions

Search

Related questions











You have an Azure subscription that contains a virtual network. The virtual network contains the subnets shown in the following table.

The subscription contains the virtual machines shown in the following table.

You enable just in time (JIT) VM access for all the virtual machines.

You need to identify which virtual machines are protected by JIT.

Which virtual machines should you identify?

A.
VM4 only
A.
VM4 only
Answers
B.
VM1 and VM3 only
B.
VM1 and VM3 only
Answers
C.
VM1, VM3 and VM4 only
C.
VM1, VM3 and VM4 only
Answers
D.
VM1, VM2, VM3, and VM4
D.
VM1, VM2, VM3, and VM4
Answers
Suggested answer: C

Explanation:

An NSG needs to be enabled, either at the VM level or the subnet level.

Reference:

https://docs.microsoft.com/en-us/azure/security-center/security-center-just-in-time

HOTSPOT

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

Subnet1 and Subnet2 have a Microsoft.Storage service endpoint configured.

You have an Azure Storage account named storageacc1 that is configured as shown in the following exhibit.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.


Question 122
Correct answer: Question 122

Explanation:

Box 1: Yes

The public IP of VM1 is allowed through the firewall.

Box 2: No

The allowed virtual network list is empty so VM2 cannot access storageacc1 directly. The public IP address of VM2 is not in the allowed IP list so VM2 cannot access storageacc1 over the Internet.

Box 3: No

The allowed virtual network list is empty so VM3 cannot access storageacc1 directly. VM3 does not have a public IP address so it cannot access storageacc1 over the Internet.

Reference:

https://docs.microsoft.com/en-gb/azure/storage/common/storage-network-security

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 compliance policies in Microsoft Intune
A.
device compliance policies in Microsoft Intune
Answers
B.
Azure Automation State Configuration
B.
Azure Automation State Configuration
Answers
C.
application security groups
C.
application security groups
Answers
D.
Azure Advisor
D.
Azure Advisor
Answers
Suggested answer: B

Explanation:

You can use Azure Automation State Configuration to manage Azure VMs (both Classic and Resource Manager),on-premises VMs, Linux machines, AWS VMs, and on-premises physical machines. Note: Azure Automation State Configuration provides a DSC pull server similar to the Windows Feature DSC Service so that target nodes automatically receive configurations, conform to the desired state, and report back on their compliance. The built-in pull server in Azure Automation eliminates the need to set up and maintain your own pull server. Azure Automation can target virtual or physical Windows or Linux machines, in the cloud or on-premises.

You have an Azure Container Registry named Registry1.

From Azure Security Center, you enable Azure Container Registry vulnerability scanning of the images in Registry1.

You perform the following actions:

Push a Windows image named Image1 to Registry1.

Push a Linux image named Image2 to Registry1.

Push a Windows image named Image3 to Registry1.

Modify Image1 and push the new image as Image4 to Registry1.

Modify Image2 and push the new image as Image5 to Registry1.

Which two images will be scanned for vulnerabilities? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A.
Image4
A.
Image4
Answers
B.
Image2
B.
Image2
Answers
C.
Image1
C.
Image1
Answers
D.
Image3
D.
Image3
Answers
E.
Image5
E.
Image5
Answers
Suggested answer: B, E

Explanation:

Only Linux images are scanned. Windows images are not scanned.

Reference:

https://docs.microsoft.com/en-us/azure/security-center/azure-container-registry-integration

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

All the virtual networks are peered.

You deploy Azure Bastion to VNET2.

Which virtual machines can be protected by the bastion host?

A.
VM1, VM2, VM3, and VM4
A.
VM1, VM2, VM3, and VM4
Answers
B.
VM1, VM2, and VM3 only
B.
VM1, VM2, and VM3 only
Answers
C.
VM2 and VM4 only
C.
VM2 and VM4 only
Answers
D.
VM2 only
D.
VM2 only
Answers
Suggested answer: A

Explanation:

Reference:

https://docs.microsoft.com/en-us/azure/bastion/vnet-peering

You have an Azure Active Directory (Azure AD) tenant named Contoso.com and an Azure Kubernetes Service (AKS) cluster AKS1.

You discover that AKS1 cannot be accessed by using accounts from Contoso.com.

You need to ensure AKS1 can be accessed by using accounts from Contoso.com. The solution must minimize administrative effort.

What should you do first?

A.
From Azure recreate AKS1.
A.
From Azure recreate AKS1.
Answers
B.
From AKS1, upgrade the version of Kubernetes.
B.
From AKS1, upgrade the version of Kubernetes.
Answers
C.
From Azure AD, implement Azure AD Premium.
C.
From Azure AD, implement Azure AD Premium.
Answers
D.
From Azure AD, configure the User settings.
D.
From Azure AD, configure the User settings.
Answers
Suggested answer: A

Explanation:

Reference:

https://docs.microsoft.com/en-us/azure/aks/azure-ad-integration-cli

You have an Azure subscription that contains an Azure Container Registry named Registry1. Azure Defender is enabled in the subscription. You upload several container images to Register1.

You discover that vulnerability security scans were not performed.

You need to ensure that the container images are scanned for vulnerabilities when they are uploaded to Registry1.

What should you do?

A.
From the Azure portal modify the Pricing tier settings.
A.
From the Azure portal modify the Pricing tier settings.
Answers
B.
From Azure CLI, lock the container images.
B.
From Azure CLI, lock the container images.
Answers
C.
Upload the container images by using AzCopy.
C.
Upload the container images by using AzCopy.
Answers
D.
Push the container images to Registry1 by using Docker
D.
Push the container images to Registry1 by using Docker
Answers
Suggested answer: A

Explanation:

Reference:

https://charbelnemnom.com/scan-container-images-in-azure-container-registry-with-azure-security-center/

HOTSPOT

You have a network security group (NSG) bound to an Azure subnet.

You run Get-AzNetworkSecurityRuleConfig and receive the output shown in the following exhibit.

Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.

NOTE: Each correct selection is worth one point.


Question 128
Correct answer: Question 128

Explanation:

Box 1: able to connect to East US 2

The StorageEA2Allow has DestinationAddressPrefix {Storage/EastUS2}

Box 2: allowed

TCP Port 21 controls the FTP session. Contoso_FTP has SourceAddressPrefix {1.2.3.4/32} and DestinationAddressPrefix {10.0.0.5/32}

Note:

The Get-AzureRmNetworkSecurityRuleConfig cmdlet gets a network security rule configuration for an Azure network security group. Security rules in network security groups enable you to filter the type of network traffic that can flow in and out of virtual network subnets and network interfaces.

Reference:

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

You have a web app hosted on an on-premises server that is accessed by using a URL of https://www.contoso.com.

You plan to migrate the web app to Azure. You will continue to use https://www.contoso.com.

You need to enable HTTPS for the Azure web app.

What should you do first?

A.
Export the public key from the on-premises server and save the key as a P7b file.
A.
Export the public key from the on-premises server and save the key as a P7b file.
Answers
B.
Export the private key from the on-premises server and save the key as a PFX file that is encrypted by using TripleDES.
B.
Export the private key from the on-premises server and save the key as a PFX file that is encrypted by using TripleDES.
Answers
C.
Export the public key from the on-premises server and save the key as a CER file.
C.
Export the public key from the on-premises server and save the key as a CER file.
Answers
D.
Export the private key from the on-premises server and save the key as a PFX file that is encrypted by using AES256.
D.
Export the private key from the on-premises server and save the key as a PFX file that is encrypted by using AES256.
Answers
Suggested answer: B

Explanation:

Reference:

https://docs.microsoft.com/en-us/azure/app-service/configure-ssl-certificate#private-certificate-requirements

HOTSPOT

You have an Azure subscription that contains a storage account named storage1 and several virtual machines. The storage account and virtual machines are in the same Azure region. The network configurations of the virtual machines are shown in the following table.

The virtual network subnets have service endpoints defined as shown in the following table.

You configure the following Firewall and virtual networks settings for storage1:

Allow access from: Selected networks

Virtual networks: VNET3\Subnet3

Firewall – Address range: 52.233.129.0/24

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

Explanation:

Box 1: No

VNet1 has a service endpoint configure for Azure Storage. However, the Azure storage does not allow access from VNet1 or the public IP address of VM1.

Box 2: Yes

VNet2 does not have a service endpoint configured. However, the Azure storage allows access from the public IP address of VM2.

Box 3: No

Azure storage allows access from VNet3. However, VNet3 does not have a service endpoint for Azure storage. The Azure storage also does not allow access from the public IP of VM3.

Total 439 questions
Go to page: of 44