πŸ”

AZ-500 β€” questions

Page 4 of 14 Β· 269 total questions.

Topic 2 Β· Question 82

You have an Azure Active Directory (Azure AD) tenant named contoso.onmicrosoft.com. The User administrator role is assigned to a user named Admin1. An external partner has a Microsoft account that uses the [email protected] sign in. Admin1 attempts to invite the external partner to sign in to the Azure AD tenant and receives the following error message: `Unable to invite user [email protected] Generic authorization exception.` You need to ensure that Admin1 can invite the external partner to sign in to the Azure AD tenant. What should you do?

  • AFrom the Roles and administrators blade, assign the Security administrator role to Admin1.
  • BFrom the Organizational relationships blade, add an identity provider.
  • CFrom the Custom domain names blade, add a custom domain.
  • DFrom the Users blade, modify the External collaboration settings. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: From the Users blade, modify the External collaboration settings.

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

You have an Azure Active Directory (Azure AD) tenant. You have the deleted objects shown in the following table. On May 4, 2020, you attempt to restore the deleted objects by using the Azure Active Directory admin center. Which two objects can you restore? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

  • AGroup1
  • BGroup2 (correct answer)
  • CUser2 (correct answer)
  • DUser1
Reveal answer & explanation
Correct answer: B, C

The correct answer is B, C. Option B: Group2 Option C: User2.

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

You have an Azure Active Directory (Azure AD) tenant named contoso.com that contains a user named User1. You plan to publish several apps in the tenant. You need to ensure that User1 can grant admin consent for the published apps. Which two possible user roles can you assign to User1 to achieve this goal? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

  • ASecurity administrator
  • BCloud application administrator (correct answer)
  • CApplication administrator (correct answer)
  • DUser administrator
  • EApplication developer
Reveal answer & explanation
Correct answer: B, C

The correct answer is B, C. Option B: Cloud application administrator Option C: Application administrator.

Topic 2 Β· Question 86

You have an Azure subscription that is associated with an Azure Active Directory (Azure AD) tenant. When a developer attempts to register an app named App1 in the tenant, the developer receives the error message shown in the following exhibit. You need to ensure that the developer can register App1 in the tenant. What should you do for the tenant?

  • AModify the Directory properties.
  • BSet Enable Security defaults to Yes.
  • CConfigure the Consent and permissions settings for enterprise applications.
  • DModify the User settings. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Modify the User settings.

Topic 2 Β· Question 87

You have an Azure subscription that contains an Azure Active Directory (Azure AD) tenant and a user named User1. The App registrations settings for the tenant are configured as shown in the following exhibit. You plan to deploy an app named App1. You need to ensure that User1 can register App1 in Azure AD. The solution must use the principle of least privilege. Which role should you assign to User1?

  • AApp Configuration Data Owner for the subscription
  • BManaged Application Contributor for the subscription
  • CCloud application administrator in Azure AD
  • DApplication developer in Azure AD (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Application developer in Azure AD

Explanation

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

Topic 2 Β· Question 88

You have the Azure virtual machines shown in the following table. Each virtual machine has a single network interface. You add the network interface of VM1 to an application security group named ASG1. You need to identify the network interfaces of which virtual machines you can add to ASG1. What should you identify?

  • AVM2 only
  • BVM2 and VM3 only (correct answer)
  • CVM2, VM3, VM4, and VM5
  • DVM2, VM3, and VM5 only
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: VM2 and VM3 only.

Topic 2 Β· Question 90

You have an Azure subscription named Subcription1 that contains an Azure Active Directory (Azure AD) tenant named contoso.com and a resource group named RG1. You create a custom role named Role1 for contoso.com. Where you can use Role1 for permission delegation?

  • Acontoso.com only
  • Bcontoso.com and RG1 only
  • Ccontoso.com and Subscription1 only
  • Dcontoso.com, RG1, and Subscription1 (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: contoso.com, RG1, and Subscription1.

Topic 2 Β· Question 91

You have an Azure subscription. You enable Azure Active Directory (Azure AD) Privileged Identity Management (PIM). Your company's security policy for administrator accounts has the following conditions: β€’ The accounts must use multi-factor authentication (MFA). β€’ The accounts must use 20-character complex passwords. β€’ The passwords must be changed every 180 days. β€’ The accounts must be managed by using PIM. You receive multiple alerts about administrators who have not changed their password during the last 90 days. You need to minimize the number of generated alerts. Which PIM alert should you modify?

  • ARoles are being assigned outside of Privileged Identity Management
  • BRoles don't require multi-factor authentication for activation
  • CAdministrators aren't using their privileged roles
  • DPotential stale accounts in a privileged role (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Potential stale accounts in a privileged role.

Topic 2 Β· Question 92

Your network contains an on-premises Active Directory domain named adatum.com that syncs to Azure Active Directory (Azure AD). Azure AD Connect is installed on a domain member server named Server1. You need to ensure that a domain administrator for the adatum.com domain can modify the synchronization options. The solution must use the principle of least privilege. Which Azure AD role should you assign to the domain administrator?

  • ASecurity administrator
  • BGlobal administrator (correct answer)
  • CUser administrator
Reveal answer & explanation
Correct answer: B

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

Topic 2 Β· Question 93

You have an Azure subscription that contains the users shown in the following table. Which users can enable Azure AD Privileged Identity Management (PIM)?

  • AUser2 and User3 only (correct answer)
  • BUser1 and User2 only
  • CUser2 only
  • DUser1 only
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: User2 and User3 only.

Topic 2 Β· Question 94

You have an Azure subscription. You plan to create a custom role-based access control (RBAC) role that will provide permission to read the Azure Storage account. Which property of the RBAC role definition should you configure?

  • ANotActions []
  • BDataActions []
  • CAssignableScopes []
  • DActions [] (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Actions [].

Topic 2 Β· Question 98

You have an Azure subscription that is linked to an Azure Active Directory (Azure AD) tenant. From the Azure portal, you register an enterprise application. Which additional resource will be created in Azure AD?

  • Aa service principal (correct answer)
  • Ban X.509 certificate
  • Ca managed identity
  • Da user account
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: a service principal.

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

You have an Azure subscription that contains the resources shown in the following table. You need to ensure that ServerAdmins can perform the following tasks: β€’ Create virtual machines in RG1 only. β€’ Connect the virtual machines to the existing virtual networks in RG2 only. The solution must use the principle of least privilege. Which two role-based access control (RBAC) roles should you assign to ServerAdmins? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

  • Aa custom RBAC role for RG2 (correct answer)
  • Bthe Network Contributor role for RG2
  • Cthe Contributor role for the subscription
  • Da custom RBAC role for the subscription
  • Ethe Network Contributor role for RG1
  • Fthe Virtual Machine Contributor role for RG1 (correct answer)
Reveal answer & explanation
Correct answer: A, F

The correct answer is A, F. Option A: a custom RBAC role for RG2 Option F: the Virtual Machine Contributor role for RG1

Explanation

An Azure Virtual Machine provides full control of the OS when you need to run custom or legacy workloads. Azure RBAC assigns roles at a scope to grant least-privilege access to resources.

Topic 2 Β· Question 107

You have an Azure subscription that uses Azure Active Directory (Azure AD) Privileged Identity Management (PIM). A PIM user that is assigned the User Access Administrator role reports receiving an authorization error when performing a role assignment or viewing the list of assignments. You need to resolve the issue by ensuring that the PIM service principal has the correct permissions for the subscription. The solution must use the principle of least privilege. Which role should you assign to the PIM service principle?

  • AContributor
  • BUser Access Administrator (correct answer)
  • CManaged Application Operator
  • DResource Policy Contributor
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: User Access Administrator.

Topic 2 Β· Question 108

You have an Azure Active Directory (Azure AD) tenant that contains a user named Admin1. Admin1 is assigned the Application developer role. You purchase a cloud app named App1 and register App1 in Azure AD. Admin1 reports that the option to enable token encryption for App1 is unavailable. You need to ensure that Admin1 can enable token encryption for App1 in the Azure portal. What should you do?

  • AUpload a certificate for App1. (correct answer)
  • BModify the API permissions of App1.
  • CAdd App1 as an enterprise application.
  • DAssign Admin1 the Cloud application administrator role.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Upload a certificate for App1.

Topic 2 Β· Question 109

You plan to deploy an app that will modify the properties of Azure Active Directory (Azure AD) users by using Microsoft Graph. You need to ensure that the app can access Azure AD. What should you configure first?

  • Aan app registration (correct answer)
  • Ban external identity
  • Ca custom role-based access control (RBAC) role
  • Dan Azure AD Application Proxy
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: an app registration.

Topic 2 Β· Question 112

You have a Microsoft 365 tenant that uses an Azure Active Directory (Azure AD) tenant. The Azure AD tenant syncs to an on-premises Active Directory domain by using an instance of Azure AD Connect. You create a new Azure subscription. You discover that the synced on-premises user accounts cannot be assigned roles in the new subscription. You need to ensure that you can assign Azure and Microsoft 365 roles to the synced Azure AD user accounts. What should you do fist?

  • AConfigure the Azure AD tenant used by the new subscription to use pass-through authentication.
  • BConfigure the Azure AD tenant used by the new subscription to use federated authentication.
  • CChange the Azure AD tenant used by the new subscription. (correct answer)
  • DConfigure a second instance of Azure AD Connect.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Change the Azure AD tenant used by the new subscription.

Explanation

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

Topic 2 Β· Question 113

You have an Azure subscription that contains an app named App1. App1 has the app registration shown in the following table. You need to ensure that App1 can read all user calendars and create appointments. The solution must use the principle of least privilege. What should you do?

  • AAdd a new Delegated API permission for Microsoft.Graph Calendars.ReadWrite.
  • BAdd a new Application API permission for Microsoft.Graph Calendars.ReadWrite. (correct answer)
  • CSelect Grant admin consent.
  • DAdd new Delegated API permission for Microsoft.Graph Calendars.ReadWrite.Shared.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Add a new Application API permission for Microsoft.Graph Calendars.ReadWrite.

Topic 2 Β· Question 117

You have an Azure subscription that contains the resources shown in the following table. You plan to deploy the virtual machines shown in the following table. You need to assign managed identities to the virtual machines. The solution must meet the following requirements: β€’ Assign each virtual machine the required roles. β€’ Use the principle of least privilege. What is the minimum number of managed identities required?

  • A1
  • B2 (correct answer)
  • C3
  • D4
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: 2.

Topic 2 Β· Question 121

You have an Azure subscription that contains a storage account named storage1 and two web apps named app1 and app2. Both apps will write data to storage1. You need to ensure that each app can read only the data that it has written. What should you do?

  • AProvide each app with a system-assigned identity and configure storage1 to use Azure AD User account authentication. (correct answer)
  • BProvide each app with a separate Storage account key and configure the app to send the key with each request.
  • CProvide each app with a user-managed identity and configure storage1 to use Azure AD User account authentication.
  • DProvide each app with a unique Base64-encoded AES-256 encryption key and configure the app to send the key with each request.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Provide each app with a system-assigned identity and configure storage1 to use Azure AD User account authentication.

Explanation

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

Showing questions 61–80 of 269 Β· Page 4 of 14