πŸ”

AZ-500 β€” questions

Page 12 of 14 Β· 269 total questions.

Topic 5 Β· Question 382

You have an Azure subscription that contains four Azure SQL managed instances. You need to evaluate the vulnerability of the managed instances to SQL injection attacks. What should you do first?

  • ACreate an Azure Sentinel workspace.
  • BEnable Advanced Data Security. (correct answer)
  • CAdd the SQL Health Check solution to Azure Monitor.
  • DCreate an Azure Advanced Threat Protection (ATP) instance.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Enable Advanced Data Security.

Topic 5 Β· Question 384

You have an Azure subscription that contains a virtual machine named VM1. You create an Azure key vault that has the following configurations: β€’ Name: Vault5 β€’ Region: West US β€’ Resource group: RG1 You need to use Vault5 to enable Azure Disk Encryption on VM1. The solution must support backing up VM1 by using Azure Backup. Which key vault settings should you configure?

  • AAccess policies (correct answer)
  • BSecrets
  • CKeys
  • DLocks
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Access policies.

Topic 5 Β· Question 385

You have an Azure subscription named Sub1 that contains the resources shown in the following table. You need to ensure that you can provide VM1 with secure access to a database on SQL1 by using a contained database user. What should you do?

  • AEnable a managed identity on VM1. (correct answer)
  • BCreate a secret in KV1.
  • CConfigure a service endpoint on SQL1.
  • DCreate a key in KV1.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Enable a managed identity on VM1.

Explanation

A Managed Identity lets Azure resources authenticate to services without storing credentials.

Topic 5 Β· Question 386

You have an Azure subscription named Sub1 that contains the Azure key vaults shown in the following table: In Sub1, you create a virtual machine that has the following configurations: β€’ Name: VM1 β€’ Size: DS2v2 β€’ Resource group: RG1 β€’ Region: West Europe β€’ Operating system: Windows Server 2016 You plan to enable Azure Disk Encryption on VM1. In which key vaults can you store the encryption key for VM1?

  • AVault1 or Vault3 only (correct answer)
  • BVault1, Vault2, Vault3, or Vault4
  • CVault1 only
  • DVault1 or Vault2 only
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Vault1 or Vault3 only.

Topic 5 Β· Question 392

You have a web app named WebApp1. You create a web application firewall (WAF) policy named WAF1. You need to protect WebApp1 by using WAF1. What should you do first?

  • ADeploy an Azure Front Door. (correct answer)
  • BAdd an extension to WebApp1.
  • CDeploy Azure Firewall.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Deploy an Azure Front Door.

Explanation

Azure Front Door provides global HTTP load balancing, caching, and WAF at the edge for low latency and failover.

Topic 5 Β· Question 393

You have an Azure subscription that contains an Azure SQL database named sql1. You plan to audit sql1. You need to configure the audit log destination. The solution must meet the following requirements: β€’ Support querying events by using the Kusto query language. β€’ Minimize administrative effort. What should you configure?

  • Aan event hub
  • Ba storage account
  • Ca Log Analytics workspace (correct answer)
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: a Log Analytics workspace

Explanation

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

Topic 5 Β· Question 402 Β· Select all that apply

You have an Azure subscription that contains as Azure key vault and an Azure Storage account. The key vault contains customer-managed keys. The storage account is configured to use the customer-managed keys stored in the key vault. You plan to store data in Azure by using the following services: β€’ Azure Files β€’ Azure Blob storage β€’ Azure Table storage β€’ Azure Queue storage Which two services support data encryption by using the keys stored in the key vault? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

  • ATable storage
  • BAzure Files (correct answer)
  • CBlob storage (correct answer)
  • DQueue storage
Reveal answer & explanation
Correct answer: B, C

The correct answer is B, C. Option B: Azure Files Option C: Blob storage

Explanation

Azure Blob Storage provides durable, scalable object storage with hot, cool, and archive tiers for cost control. Azure Files offers fully managed SMB/NFS file shares that multiple clients can mount concurrently.

Topic 5 Β· Question 407

You have an Azure subscription that contains an Azure SQL database named DB1 in the East US Azure region. You create the storage accounts shown in the following table. You plan to enable auditing for DB1. Which storage accounts can you use as the auditing destination for DB1?

  • Astorage1 and storage4 only
  • Bstorage1 only (correct answer)
  • Cstorage1, storage2, storage3, and storage4
  • Dstorage1, storage2, and storage3 only
  • Estorage2 and storage3 only
Reveal answer & explanation
Correct answer: B

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

Topic 5 Β· Question 410

You have an on-premises network and an Azure subscription. You have the Microsoft SQL Server instances shown in the following table. You plan to implement Microsoft Defender for SQL. Which SQL Server instances will be protected by Microsoft Defender for SQL?

  • Asql1 and sql2 only
  • Bsql1, sql2, and sql3 only
  • Csql1, sql2, and sql4 only
  • Dsql1, sql2, sql3, and sql4 (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: sql1, sql2, sql3, and sql4.

Topic 5 Β· Question 412

You have an Azure subscription that contains an Azure SQL Database logic server named SQL1 and an Azure virtual machine named VM1. VM1 uses a private IP address only. The Firewall and virtual networks settings for SQL1 are shown in the following exhibit. You need to ensure that VM1 can connect to SQL1. The solution must use the principle of least privilege. What should you do?

Exhibit 1 for question 412
  • ASet Connection Policy to Proxy.
  • BSet Allow Azure services and resources to access this server to Yes.
  • CAdd an existing virtual network. (correct answer)
  • DCreate a new firewall rule.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Add an existing virtual network.

Topic 5 Β· Question 413

You have an Azure Active Directory (Azure AD) tenant that contains a group named Group1. You need to ensure that the members of Group1 sign in by using passwordless authentication. What should you do?

  • AConfigure the sign-in risk policy.
  • BCreate a Conditional Access policy.
  • CConfigure the Microsoft Authenticator authentication method policy. (correct answer)
  • DConfigure the certificate-based authentication (CBA) policy.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Configure the Microsoft Authenticator authentication method policy.

Topic 5 Β· Question 414

You have an Azure subscription that contains the resources shown in the following table. You need to configure storage1 to regenerate keys automatically every 90 days. Which cmdlet should you run?

Exhibit 1 for question 414
  • AAdd-AzKeyVaultflanagedStorageAccount (correct answer)
  • BSet-AzStorageAccountManagementPolicy
  • CSet-AzStorageAccount
  • DAdd-AzStorageAccountManagementPolicyAction
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Add-AzKeyVaultflanagedStorageAccount.

Topic 5 Β· Question 417

You have an Azure subscription that contains an Azure key vault named Vault1 and a virtual machine named VM1. VM1 has the Key Vault VM extension installed. For Vault1, you rotate the keys, secrets, and certificates. What will be updated automatically on VM1?

  • Athe keys only
  • Bthe secrets only
  • Cthe certificates only (correct answer)
  • Dthe keys and secrets only
  • Ethe secrets and certificates only
  • Fthe keys, secrets, and certificates
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: the certificates only.

Topic 5 Β· Question 421

You have an Azure subscription that contains the resources shown in the following table. Both VM1 and VM2 connect to VNET1 and are configured to use NSG1. You need to ensure that only VM1 and VM2 can access DB1. What should you do?

Exhibit 1 for question 421
  • AFor NSG1, configure a rule that has a service tag.
  • BAdd the IP address range of VNET1 to the Firewall settings of DB1.
  • CCreate an application security group.
  • DConfigure DB1 to allow access from only VNET1. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Configure DB1 to allow access from only VNET1.

Topic 5 Β· Question 422

You have an Azure AD tenant that contains a user named User1. You purchase an app named App1. User1 needs to publish App1 by using Azure AD Application Proxy. Which role should you assign to User1?

  • ACloud application administrator
  • BApplication administrator (correct answer)
  • CHybrid identity administrator
  • DCloud App Security Administrator
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Application administrator.

Topic 5 Β· Question 426

You have an Azure subscription that contains the virtual machines shown in the following table. Which computers will support file integrity monitoring?

Exhibit 1 for question 426
  • AComputer2 only
  • BComputer1 and Computer2 only
  • CComputer2 and Computer3 only
  • DComputer1, Computer2, and Computer3 (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Computer1, Computer2, and Computer3.

Topic 5 Β· Question 428

You have an Azure AD tenant that contains the users shown in the following table. You need to ensure that the users cannot create app passwords. The solution must ensure that User1 can continue to use the Mail and Calendar app. What should you do?

Exhibit 1 for question 428
  • AAssign User1 the Authentication Policy Administrator role.
  • BEnable Azure AD Password Protection.
  • CConfigure a multi-factor authentication (MFA) registration policy.
  • DCreate a new app registration.
  • EFrom multi-factor authentication, configure the service settings. (correct answer)
Reveal answer & explanation
Correct answer: E

From the multi-factor authentication service settings, clear the 'Allow users to create app passwords to sign in to non-browser apps' option (E). By default users cannot create app passwords; this service setting is where the ability is controlled. Existing app passwords (such as User1's for the Mail and Calendar app) continue to work after the ability to create new ones is disabled, so User1 is unaffected.

Topic 5 Β· Question 430

You have an Azure subscription that contains the virtual machines shown in the following table. You are configuring Microsoft Defender for Servers. You plan to enable adaptive application controls to create an allowlist of known-safe apps on the virtual machines. Which virtual machines support the use of adaptive application controls?

Exhibit 1 for question 430
  • AVM1 and VM2 only (correct answer)
  • BVM2 and VM4 only
  • CVM2 and VM3 only
  • DVM1, VM2, VM3, and VM4
Reveal answer & explanation
Correct answer: A

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

Topic 5 Β· Question 431

You have an Azure subscription. The subscription contains a virtual network named VNet1 that contains the subnets shown in the following table. The subscription contains the function apps shown in the following table. The outbound traffic of which app is controlled by using NSG1?

Exhibit 1 for question 431Exhibit 2 for question 431
  • AApp4 only
  • BApp3 and App4 only
  • CApp2, App3, and App4 only
  • DApp1, App2, App3, and App4 (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: App1, App2, App3, and App4.

Topic 5 Β· Question 432

You have a Microsoft Entra tenant named contoso.com. You collaborate with a partner organization that has a Microsoft Entra tenant named fabrikam.com. You need to create an allow list of cloud apps from fabrikam.com that can be used by the users in contoso.com. What should you do for contoso.com in the Microsoft Entra admin center?

  • AFrom Inbound access settings in Cross-tenant access settings, configure the B2B direct connect settings.
  • BFrom External collaboration settings, configure the Collaboration restrictions settings.
  • CFrom External collaboration settings, configure the Guest invite settings.
  • DFrom Outbound access settings in Cross-tenant access settings, configure the B2B collaboration settings. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: From Outbound access settings in Cross-tenant access settings, configure the B2B collaboration settings.

Showing questions 221–240 of 269 Β· Page 12 of 14