πŸ”

AZ-500 β€” questions

Page 3 of 14 Β· 269 total questions.

Topic 1 Β· Question 41

You are in the process of configuring an Azure policy via the Azure portal. Your policy will include an effect that will need a managed identity for it to be assigned. Which of the following is the effect in question?

  • AAuditIfNotExist
  • BDisabled
  • CDeployIfNotExist (correct answer)
  • DEnforceOPAConstraint
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: DeployIfNotExist.

Topic 1 Β· Question 42 Β· Select all that apply

You have been tasked with creating an Azure key vault using PowerShell. You have been informed that objects deleted from the key vault must be kept for a set period of 90 days. Which two of the following parameters must be used in conjunction to meet the requirement? (Choose two.)

  • AEnabledForDeployment
  • BEnablePurgeProtection (correct answer)
  • CEnabledForTemplateDeployment
  • DEnableSoftDelete (correct answer)
Reveal answer & explanation
Correct answer: B, D

The correct answer is B, D. Option B: EnablePurgeProtection Option D: EnableSoftDelete.

Topic 2 Β· Question 44

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 named Sub1. You have an Azure Storage account named sa1 in a resource group named RG1. Users and applications access the blob service and the file service in sa1 by using several shared access signatures (SASs) and stored access policies. You discover that unauthorized users accessed both the file service and the blob service. You need to revoke all access to sa1. Solution: You create a new stored access policy. Does this meet the goal?

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

The correct answer is B. Option B: No.

Topic 2 Β· Question 45

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 a hybrid configuration of Azure Active Directory (Azure AD). You have an Azure HDInsight cluster on a virtual network. You plan to allow users to authenticate to the cluster by using their on-premises Active Directory credentials. You need to configure the environment to support the planned authentication. Solution: You deploy the On-premises data gateway to the on-premises network. Does this meet the goal?

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

The correct answer is B. Option B: No.

Topic 2 Β· Question 46

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 a hybrid configuration of Azure Active Directory (Azure AD). You have an Azure HDInsight cluster on a virtual network. You plan to allow users to authenticate to the cluster by using their on-premises Active Directory credentials. You need to configure the environment to support the planned authentication. Solution: You create a site-to-site VPN between the virtual network and the on-premises network. Does this meet the goal?

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

The correct answer is B. Option B: No.

Topic 2 Β· Question 47

Your network contains an Active Directory forest named contoso.com. The forest contains a single domain. You have an Azure subscription named Sub1 that is associated to an Azure Active Directory (Azure AD) tenant named contoso.com. You plan to deploy Azure AD Connect and to integrate Active Directory and the Azure AD tenant. You need to recommend an integration solution that meets the following requirements: β€’ Ensures that password policies and user logon restrictions apply to user accounts that are synced to the tenant β€’ Minimizes the number of servers required for the solution. Which authentication method should you include in the recommendation?

  • Afederated identity with Active Directory Federation Services (AD FS)
  • Bpassword hash synchronization with seamless single sign-on (SSO)
  • Cpass-through authentication with seamless single sign-on (SSO) (correct answer)
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: pass-through authentication with seamless single sign-on (SSO).

Topic 2 Β· Question 48

Your network contains an on-premises Active Directory domain named corp.contoso.com. You have an Azure subscription named Sub1 that is associated to an Azure Active Directory (Azure AD) tenant named contoso.com. You sync all on-premises identities to Azure AD. You need to prevent users who have a givenName attribute that starts with TEST from being synced to Azure AD. The solution must minimize administrative effort. What should you use?

  • ASynchronization Rules Editor (correct answer)
  • BWeb Service Configuration Tool
  • Cthe Azure AD Connect wizard
  • DActive Directory Users and Computers
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Synchronization Rules Editor.

Topic 2 Β· Question 53

You have an Azure subscription named Sub1 that is associated to an Azure Active Directory (Azure AD) tenant named contoso.com. An administrator named Admin1 has access to the following identities: β€’ An OpenID-enabled user account β€’ A Hotmail account β€’ An account in contoso.com β€’ An account in an Azure AD tenant named fabrikam.com You plan to use Azure Account Center to transfer the ownership of Sub1 to Admin1. To which accounts can you transfer the ownership of Sub1?

  • Acontoso.com only (correct answer)
  • Bcontoso.com, fabrikam.com, and Hotmail only
  • Ccontoso.com and fabrikam.com only
  • Dcontoso.com, fabrikam.com, Hotmail, and OpenID-enabled user account
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: contoso.com only.

Topic 2 Β· Question 55

Your company plans to create separate subscriptions for each department. Each subscription will be associated to the same Azure Active Directory (Azure AD) tenant. You need to configure each subscription to have the same role assignments. What should you use?

  • AAzure Security Center
  • BAzure Policy
  • CAzure AD Privileged Identity Management (PIM)
  • DAzure Blueprints (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Azure Blueprints.

Topic 2 Β· Question 57 Β· Select all that apply

You have an Azure subscription. You create an Azure web app named Contoso1812 that uses an S1 App Service plan. You plan to - create a CNAME DNS record for www.contoso.com that points to Contoso1812. You need to ensure that users can access Contoso1812 by using the https://www.contoso.com URL. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

  • ATurn on the system-assigned managed identity for Contoso1812.
  • BAdd a hostname to Contoso1812. (correct answer)
  • CScale out the App Service plan of Contoso1812.
  • DAdd a deployment slot to Contoso1812.
  • EScale up the App Service plan of Contoso1812.
  • FUpload a PFX file to Contoso1812. (correct answer)
Reveal answer & explanation
Correct answer: B, F

The correct answer is B, F. Option B: Add a hostname to Contoso1812. Option F: Upload a PFX file to Contoso1812.

Topic 2 Β· Question 58

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 named Sub1. You have an Azure Storage account named sa1 in a resource group named RG1. Users and applications access the blob service and the file service in sa1 by using several shared access signatures (SASs) and stored access policies. You discover that unauthorized users accessed both the file service and the blob service. You need to revoke all access to sa1. Solution: You create a lock on sa1. Does this meet the goal?

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

The correct answer is B. Option B: No.

Topic 2 Β· Question 59

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 a hybrid configuration of Azure Active Directory (Azure AD). You have an Azure HDInsight cluster on a virtual network. You plan to allow users to authenticate to the cluster by using their on-premises Active Directory credentials. You need to configure the environment to support the planned authentication. Solution: You deploy Azure Active Directory Domain Services (Azure AD DS) to the Azure subscription. Does this meet the goal?

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

The correct answer is A. Option A: Yes.

Topic 2 Β· Question 60 Β· Select all that apply

Your network contains an Active Directory forest named contoso.com. You have an Azure Active Directory (Azure AD) tenant named contoso.com. You plan to configure synchronization by using the Express Settings installation option in Azure AD Connect. You need to identify which roles and groups are required to perform the planned configuration. The solution must use the principle of least privilege. Which two roles and groups should you identify? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

  • Athe Domain Admins group in Active Directory
  • Bthe Security administrator role in Azure AD
  • Cthe Global administrator role in Azure AD (correct answer)
  • Dthe User administrator role in Azure AD
  • Ethe Enterprise Admins group in Active Directory (correct answer)
Reveal answer & explanation
Correct answer: C, E

The correct answer is C, E. Option C: the Global administrator role in Azure AD Option E: the Enterprise Admins group in Active Directory

Explanation

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

Topic 2 Β· Question 62

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 a hybrid configuration of Azure Active Directory (Azure AD). You have an Azure HDInsight cluster on a virtual network. You plan to allow users to authenticate to the cluster by using their on-premises Active Directory credentials. You need to configure the environment to support the planned authentication. Solution: You deploy an Azure AD Application Proxy. Does this meet the goal?

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

The correct answer is B. Option B: No.

Topic 2 Β· Question 63

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 named Sub1. You have an Azure Storage account named sa1 in a resource group named RG1. Users and applications access the blob service and the file service in sa1 by using several shared access signatures (SASs) and stored access policies. You discover that unauthorized users accessed both the file service and the blob service. You need to revoke all access to sa1. Solution: You regenerate the Azure storage account access keys. Does this meet the goal?

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

The correct answer is A. Option A: Yes.

Topic 2 Β· Question 65

You have a hybrid configuration of Azure Active Directory (Azure AD) that has Single Sign-On (SSO) enabled. You have an Azure SQL Database instance that is configured to support Azure AD authentication. Database developers must connect to the database instance from the domain joined device and authenticate by using their on-premises Active Directory account. You need to ensure that developers can connect to the instance by using Microsoft SQL Server Management Studio. The solution must minimize authentication prompts. Which authentication method should you recommend?

  • AActive Directory - Password
  • BActive Directory - Universal with MFA support
  • CSQL Server Authentication
  • DActive Directory - Integrated (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Active Directory - Integrated.

Topic 2 Β· Question 66

You plan to use Azure Resource Manager templates to perform multiple deployments of identically configured Azure virtual machines. The password for the administrator account of each deployment is stored as a secret in different Azure key vaults. You need to identify a method to dynamically construct a resource ID that will designate the key vault containing the appropriate secret during each deployment. The name of the key vault and the name of the secret will be provided as inline parameters. What should you use to construct the resource ID?

  • Aa key vault access policy
  • Ba linked template (correct answer)
  • Ca parameters file
  • Dan automation account
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: a linked template.

Topic 2 Β· Question 77 Β· Select all that apply

You have an Azure subscription. You configure the subscription to use a different Azure Active Directory (Azure AD) tenant. What are two possible effects of the change? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

  • ARole assignments at the subscription level are lost. (correct answer)
  • BVirtual machine managed identities are lost. (correct answer)
  • CVirtual machine disk snapshots are lost.
  • DExisting Azure resources are deleted.
Reveal answer & explanation
Correct answer: A, B

The correct answer is A, B. Option A: Role assignments at the subscription level are lost. Option B: Virtual machine managed identities are lost.

Explanation

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

Topic 2 Β· Question 78

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 named Sub1. You have an Azure Storage account named sa1 in a resource group named RG1. Users and applications access the blob service and the file service in sa1 by using several shared access signatures (SASs) and stored access policies. You discover that unauthorized users accessed both the file service and the blob service. You need to revoke all access to sa1. Solution: You generate new SASs. Does this meet the goal?

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

The correct answer is B. Option B: No.

Topic 2 Β· Question 79

You have an Azure subscription that contains virtual machines. You enable just in time (JIT) VM access to all the virtual machines. You need to connect to a virtual machine by using Remote Desktop. What should you do first?

  • AFrom Azure Directory (Azure AD) Privileged Identity Management (PIM), activate the Security administrator user role.
  • BFrom Azure Active Directory (Azure AD) Privileged Identity Management (PIM), activate the Owner role for the virtual machine.
  • CFrom the Azure portal, select the virtual machine, select Connect, and then select Request access. (correct answer)
  • DFrom the Azure portal, select the virtual machine and add the Network Watcher Agent virtual machine extension.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: From the Azure portal, select the virtual machine, select Connect, and then select Request access.

Explanation

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

Showing questions 41–60 of 269 Β· Page 3 of 14