πŸ”

AZ-500 β€” questions

Page 6 of 14 Β· 269 total questions.

Topic 2 Β· Question 165

You have a Microsoft Entra tenant that contains three users named User1, User2, and User3. You configure Microsoft Entra Password Protection as shown in the following exhibit. The users perform the following tasks: β€’ User1 attempts to reset her password to C0nt0s0. β€’ User2 attempts to reset her password to F@brikamHQ. β€’ User3 attempts to reset her password to Pr0duct123. Which password reset attempts fail?

Exhibit 1 for question 165
  • AUser1 only
  • BUser2 only
  • CUser3 only
  • DUser1 and User 3 only
  • EUser1, User2, and User3 (correct answer)
Reveal answer & explanation
Correct answer: E

The correct answer is E. Option E: User1, User2, and User3.

Topic 3 Β· Question 166 Β· Select all that apply

You have an Azure subscription that contains a user named User1 and an Azure Container Registry named ContReg1. You enable content trust for ContReg1. You need to ensure that User1 can create trusted images in ContReg1. The solution must use the principle of least privilege. Which two roles should you assign to User1? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

  • AAcrQuarantineReader
  • BContributor
  • CAcrPush (correct answer)
  • DAcrImageSigner (correct answer)
  • EAcrQuarantineWriter
Reveal answer & explanation
Correct answer: C, D

The correct answer is C, D. Option C: AcrPush Option D: AcrImageSigner.

Topic 3 Β· Question 167

You have an Azure Container Registry named ContReg1 that contains a container image named image1. You enable content trust for ContReg1. After content trust is enabled, you push two images to ContReg1 as shown in the following table. Which images are trusted images?

  • Aimage1 and image2 only
  • Bimage2 only (correct answer)
  • Cimage1, image2, and image3
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: image2 only.

Topic 3 Β· Question 175

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?

  • AVM1, VM2, VM3, and VM4 (correct answer)
  • BVM1, VM2, and VM3 only
  • CVM2 and VM4 only
  • DVM2 only
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: VM1, VM2, VM3, and VM4.

Topic 3 Β· Question 176

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?

  • Adevice configuration policies in Microsoft Intune
  • BAzure Automation State Configuration (correct answer)
  • Csecurity policies in Azure Security Center
  • Ddevice compliance policies in Microsoft Intune
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Azure Automation State Configuration

Explanation

Azure Automation runs runbooks to automate repetitive management tasks across resources.

Topic 3 Β· Question 177

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?

  • ACreate an application security group and a network security group (NSG).
  • BEdit the docker-compose.yml file.
  • CInstall the container network interface (CNI) plug-in. (correct answer)
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Install the container network interface (CNI) plug-in.

Topic 3 Β· Question 178

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?

  • Adevice configuration policies in Microsoft Intune
  • Ban Azure Desired State Configuration (DSC) virtual machine extension (correct answer)
  • Capplication security groups
  • Ddevice compliance policies in Microsoft Intune
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: an Azure Desired State Configuration (DSC) virtual machine extension

Explanation

An Azure Virtual Machine provides full control of the OS when you need to run custom or legacy workloads.

Topic 3 Β· Question 181

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?

  • Aan Azure Active Directory (Azure AD) group
  • Ban Azure Active Directory (Azure AD) role assignment (correct answer)
  • Can Azure Active Directory (Azure AD) user
  • Da secret in Azure Key Vault
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: an Azure Active Directory (Azure AD) role assignment

Explanation

Azure Active Directory (Microsoft Entra ID) provides identity, single sign-on, and conditional access.

Topic 3 Β· Question 182

You have an Azure subscription that contains the Azure virtual machines shown in the following table. 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?

  • AVM1 only (correct answer)
  • BVM1, VM2, and VM3 only
  • CVM1 and VM3 only
  • DVM1, VM2, VM3, and VM4
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: VM1 only.

Topic 3 Β· Question 187

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?

  • Adevice configuration policies in Microsoft Intune
  • Ban Azure Desired State Configuration (DSC) virtual machine extension (correct answer)
  • Csecurity policies in Azure Security Center
  • DAzure Logic Apps
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: an Azure Desired State Configuration (DSC) virtual machine extension

Explanation

An Azure Virtual Machine provides full control of the OS when you need to run custom or legacy workloads.

Topic 3 Β· Question 193

You have an Azure virtual machine named VM1. From Microsoft Defender for Cloud, 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?

  • AAdd the Microsoft Antimalware extension to VM1.
  • BInstall Microsoft System Center Security Management Pack for Endpoint Protection on VM1.
  • CAdd the Network Watcher Agent for Windows extension to VM1.
  • DOnboard VM1 to Microsoft Defender for Endpoint. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Onboard VM1 to Microsoft Defender for Endpoint.

Topic 3 Β· Question 195

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?

  • AVM4 only
  • BVM1 and VM3 only
  • CVM1, VM3 and VM4 only (correct answer)
  • DVM1, VM2, VM3, and VM4
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: VM1, VM3 and VM4 only.

Topic 3 Β· Question 200

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?

  • Adevice compliance policies in Microsoft Intune
  • BAzure Automation State Configuration (correct answer)
  • Capplication security groups
  • DAzure Advisor
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Azure Automation State Configuration

Explanation

Azure Automation runs runbooks to automate repetitive management tasks across resources.

Topic 3 Β· Question 201 Β· Select all that apply

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.

  • AImage4
  • BImage2 (correct answer)
  • CImage1
  • DImage3
  • EImage5 (correct answer)
Reveal answer & explanation
Correct answer: B, E

The correct answer is B, E. Option B: Image2 Option E: Image5.

Topic 3 Β· Question 203

You have the Azure virtual machines shown in the following table. You create an Azure Log Analytics workspace named Analytics1 in RG1 in the East US region. Which virtual machines can be enrolled in Analytics1?

  • AVM1 only
  • BVM1, VM2, and VM3 only
  • CVM1, VM2, VM3, and VM4 (correct answer)
  • DVM1 and VM4 only
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: VM1, VM2, VM3, and VM4.

Topic 3 Β· Question 204

You are testing an Azure Kubernetes Service (AKS) cluster. The cluster is configured as shown in the exhibit. (Click the Exhibit tab.) You plan to deploy the cluster to production. You disable HTTP application routing. You need to implement application routing that will provide reverse proxy and TLS termination for AKS services by using a single IP address. What should you do?

  • ACreate an AKS Ingress controller. (correct answer)
  • BInstall the container network interface (CNI) plug-in.
  • CCreate an Azure Standard Load Balancer.
  • DCreate an Azure Basic Load Balancer.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Create an AKS Ingress controller.

Explanation

Azure Kubernetes Service (AKS) provides managed Kubernetes clusters with reduced control-plane overhead.

Topic 3 Β· Question 205

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. The subscription contains 50 virtual machines that run Windows Server 2012 R2 or Windows Server 2016. You need to deploy Microsoft Antimalware to the virtual machines. Solution: You add an extension to each virtual machine. Does this meet the goal?

  • AYes (correct answer)
  • BNo
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Yes.

Topic 3 Β· Question 206

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. The subscription contains 50 virtual machines that run Windows Server 2012 R2 or Windows Server 2016. You need to deploy Microsoft Antimalware to the virtual machines. Solution: You connect to each virtual machine and add a Windows feature. Does this meet the goal?

  • AYes
  • BNo (correct answer)
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: No.

Topic 3 Β· Question 207

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?

  • AFrom Azure, recreate AKS1. (correct answer)
  • BFrom AKS1, upgrade the version of Kubernetes.
  • CFrom Azure AD, implement Azure AD Premium P2
  • DFrom Azure AD, configure the User settings.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: From Azure, recreate AKS1.

Explanation

Azure Kubernetes Service (AKS) provides managed Kubernetes clusters with reduced control-plane overhead.

Topic 3 Β· Question 208

You have an Azure subscription that contains an Azure Container Registry named Registry1. Microsoft Defender for Cloud is enabled in the subscription. You upload several container images to Registry1. 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?

  • AFrom the Azure portal, modify the Pricing tier settings. (correct answer)
  • BFrom Azure CLI, lock the container images.
  • CUpload the container images by using AzCopy.
  • DPush the container images to Registry1 by using Docker.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: From the Azure portal, modify the Pricing tier settings.

Showing questions 101–120 of 269 Β· Page 6 of 14