πŸ”

AZ-500 β€” questions

Page 7 of 14 Β· 269 total questions.

Topic 3 Β· Question 209

From Azure Security Center, you create a custom alert rule. You need to configure which users will receive an email message when the alert is triggered. What should you do?

  • AFrom Azure Monitor, create an action group. (correct answer)
  • BFrom Security Center, modify the Security policy settings of the Azure subscription.
  • CFrom Azure Active Directory (Azure AD), modify the members of the Security Reader role group.
  • DFrom Security Center, modify the alert rule.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: From Azure Monitor, create an action group.

Explanation

Azure Monitor collects metrics and logs across resources for observability and alerting.

Topic 3 Β· Question 210

You are configuring and securing a network environment. You deploy an Azure virtual machine named VM1 that is configured to analyze network traffic. You need to ensure that all network traffic is routed through VM1. What should you configure?

  • Aa system route
  • Ba network security group (NSG)
  • Ca user-defined route (correct answer)
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: a user-defined route.

Topic 3 Β· Question 212

You have an Azure subscription that contains the virtual networks shown in the following table. The subscription contains the virtual machines shown in the following table. On NIC1, you configure an application security group named ASG1. On which other network interfaces can you configure ASG1?

  • ANIC2 only
  • BNIC2, NIC3, NIC4, and NIC5
  • CNIC2 and NIC3 only (correct answer)
  • DNIC2, NIC3, and NIC4 only
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: NIC2 and NIC3 only.

Topic 3 Β· Question 213

You have 15 Azure virtual machines in a resource group named RG1. All the virtual machines run identical applications. You need to prevent unauthorized applications and malware from running on the virtual machines. What should you do?

  • AApply an Azure policy to RG1.
  • BFrom Azure Security Center, configure adaptive application controls. (correct answer)
  • CConfigure Azure Active Directory (Azure AD) Identity Protection.
  • DApply a resource lock to RG1.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: From Azure Security Center, configure adaptive application controls.

Topic 3 Β· Question 214

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?

  • AExport the public key from the on-premises server and save the key as a P7b file.
  • BExport the private key from the on-premises server and save the key as a PFX file that is encrypted by using TripleDES. (correct answer)
  • CExport the public key from the on-premises server and save the key as a CER file.
  • DExport the private key from the on-premises server and save the key as a PFX file that is encrypted by using AES256.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Export the private key from the on-premises server and save the key as a PFX file that is encrypted by using TripleDES.

Topic 3 Β· Question 215

You plan to deploy Azure container instances. You have a containerized application that is comprised of two containers: an application container and a validation container. The application container is monitored by the validation container. The validation container performs security checks by making requests to the application container and waiting for responses after every transaction. You need to ensure that the application container and the validation container are scheduled to be deployed together. The containers must communicate to each other only on ports that are not externally exposed. What should you include in the deployment?

  • Aapplication security groups
  • Bnetwork security groups (NSGs)
  • Cmanagement groups
  • Dcontainer groups (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: container groups.

Topic 3 Β· Question 217

You are securing access to the resources in an Azure subscription. A new company policy states that all the Azure virtual machines in the subscription must use managed disks. You need to prevent users from creating virtual machines that use unmanaged disks. What should you use?

  • AAzure Monitor
  • BAzure Policy (correct answer)
  • CAzure Security Center
  • DAzure Service Health
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Azure Policy

Explanation

Azure Policy enforces organizational rules and compliance across resources at scale.

Topic 3 Β· Question 219

You plan to create an Azure Kubernetes Service (AKS) cluster in an Azure subscription. The manifest of the registered server application is shown in the following exhibit. You need to ensure that the AKS cluster and Azure Active Directory (Azure AD) are integrated. Which property should you modify in the manifest?

  • AaccessTokenAcceptedVersion
  • BkeyCredentials
  • CgroupMembershipClaims (correct answer)
  • DacceptMappedClaims
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: groupMembershipClaims.

Topic 3 Β· Question 221

You have multiple development teams that will create apps in Azure. You plan to create a standard development environment that will be deployed for each team. You need to recommend a solution that will enforce resource locks across the development environments and ensure that the locks are applied in a consistent manner. What should you include in the recommendation?

  • Aan Azure policy
  • Ban Azure Resource Manager template
  • Ca management group
  • Dan Azure blueprint (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: an Azure blueprint.

Topic 3 Β· Question 222

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

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

The correct answer is B. Option B: a role assignment.

Topic 3 Β· Question 223

You have an Azure subscription that contains two virtual machines named VM1 and VM2 that run Windows Server 2019. You are implementing Update Management in Azure Automation. You plan to create a new update deployment named Update1. You need to ensure that Update1 meets the following requirements: β€’ Automatically applies updates to VM1 and VM2. β€’ Automatically adds any new Windows Server 2019 virtual machines to Update1. What should you include in Update1?

  • Aa security group that has a Membership type of Assigned
  • Ba security group that has a Membership type of Dynamic Device
  • Ca dynamic group query (correct answer)
  • Da Kusto query language query
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: a dynamic group query.

Topic 3 Β· Question 224

You have the Azure virtual machines shown in the following table. For which virtual machines can you enable Update Management?

  • AVM2 and VM3 only
  • BVM2, VM3, and VM4 only
  • CVM1, VM2, and VM4 only (correct answer)
  • DVM1, VM2, VM3, and VM4
  • EVM1, VM2, and VM3 only
Reveal answer & explanation
Correct answer: C

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

Topic 3 Β· Question 229

You have an Azure subscription that contains an Azure key vault. You need to configure the maximum number of days for which new keys are valid. The solution must minimize administrative effort. What should you use?

  • AAzure Purview
  • BKey Vault properties
  • CAzure Blueprints
  • DAzure Policy (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Azure Policy

Explanation

Azure Policy enforces organizational rules and compliance across resources at scale.

Topic 3 Β· Question 230

You have an Azure subscription that contains an Azure Data Lake Storage Gen2 account named storage1. You deploy an Azure Synapse Analytics workspace named synapsews1 to a managed virtual network. You need to enable access from synapsews1 to storage1. What should you configure?

  • Apeering
  • Ba private endpoint (correct answer)
  • Ca network security group (NSG)
  • Da virtual network gateway
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: a private endpoint

Explanation

A Private Endpoint gives private, in-VNet connectivity to an Azure service, keeping traffic off the public internet.

Topic 3 Β· Question 231

You have a Microsoft Entra 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 Microsoft Entra, add a Microsoft Entra ID P2 license.
  • DFrom Microsoft Entra, 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 233

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?

Exhibit 1 for question 233
  • ACreate an AKS Ingress controller. (correct answer)
  • BCreate an Azure Standard Load Balancer.
  • CInstall the container network interface (CNI) plug-in.
  • 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 234

You have an Azure subscription that contains a virtual network named VNet1. VNet1 contains the subnets shown in the following table. You create the virtual machines shown in the following table. You plan to configure just-in-time (JIT) VM access for the virtual machines. The solution must minimize administrative effort. For which virtual machines can you configure JIT VM access?

Exhibit 1 for question 234Exhibit 2 for question 234
  • AVM1 only
  • BVM1 and VM2 only
  • CVM1 and VM3 only
  • DVM1, VM2, and VM3 only (correct answer)
  • EVM1, VM2, VM3, and VM4
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: VM1, VM2, and VM3 only.

Topic 4 Β· Question 238

You have an Azure Storage account named storage1 that has a container named container1. You need to prevent the blobs in container1 from being modified. What should you do?

  • AFrom container1, change the access level.
  • BFrom container1, add an access policy. (correct answer)
  • CFrom container1, modify the Access Control (IAM) settings.
  • DFrom storage1, enable soft delete for blobs.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: From container1, add an access policy.

Topic 4 Β· Question 239

Your company has an Azure Active Directory (Azure AD) tenant named contoso.com. You plan to create several security alerts by using Azure Monitor. You need to prepare the Azure subscription for the alerts. What should you create first?

  • Aan Azure Storage account
  • Ban Azure Log Analytics workspace (correct answer)
  • Can Azure event hub
  • Dan Azure Automation account
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: an Azure Log Analytics workspace

Explanation

Log Analytics queries collected logs and metrics to investigate and alert on resource behavior.

Topic 4 Β· Question 240

You company has an Azure subscription named Sub1. Sub1 contains an Azure web app named WebApp1 that uses Azure Application Insights. WebApp1 requires users to authenticate by using OAuth 2.0 client secrets. Developers at the company plan to create a multi-step web test app that preforms synthetic transactions emulating user traffic to Web App1. You need to ensure that web tests can run unattended. What should you do first?

  • AIn Microsoft Visual Studio, modify the .webtest file.
  • BUpload the .webtest file to Application Insights.
  • CRegister the web test app in Azure AD. (correct answer)
  • DAdd a plug-in to the web test app.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Register the web test app in Azure AD.

Explanation

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

Showing questions 121–140 of 269 Β· Page 7 of 14