Microsoft Azure Certification AZ-104 Page 5 (Dumps)
Question No:-41
|
HOTSPOT -
You have an Azure subscription named Subscription1 that contains a resource group named RG1.
In RG1, you create an internal load balancer named LB1 and a public load balancer named LB2.
You need to ensure that an administrator named Admin1 can manage LB1 and LB2. The solution must follow the principle of least privilege.
Which role should you assign to Admin1 for each task? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
|
Question No:-42
|
You have an Azure subscription that contains an Azure Active Directory (Azure AD) tenant named contoso.com and an Azure Kubernetes Service (AKS) cluster named AKS1.
An administrator reports that she is unable to grant access to AKS1 to the users in contoso.com.
You need to ensure that access to AKS1 can be granted to the contoso.com users.
What should you do first?
1. From contoso.com, modify the Organization relationships settings.
2. From contoso.com, create an OAuth 2.0 authorization endpoint.
3. Recreate AKS1.
4. From AKS1, create a namespace.
|
Question No:-43
|
You have a Microsoft 365 tenant and an Azure Active Directory (Azure AD) tenant named contoso.com.
You plan to grant three users named User1, User2, and User3 access to a temporary Microsoft SharePoint document library named Library1.
You need to create groups for the users. The solution must ensure that the groups are deleted automatically after 180 days.
Which two groups should you create? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
1. a Microsoft 365 group that uses the Assigned membership type
2. a Security group that uses the Assigned membership type
3. a Microsoft 365 group that uses the Dynamic User membership type
4. a Security group that uses the Dynamic User membership type
5. a Security group that uses the Dynamic Device membership type
Answer:-(1) and (3)
Hint:-
You can set expiration policy only for Office 365 groups in Azure Active Directory (Azure AD).
Note: With the increase in usage of Office 365 Groups, administrators and users need a way to clean up unused groups. Expiration policies can help remove inactive groups from the system and make things cleaner.
When a group expires, all of its associated services (the mailbox, Planner, SharePoint site, etc.) are also deleted.
You can set up a rule for dynamic membership on security groups or Office 365 groups.
Incorrect Answers:
B, D, E: You can set expiration policy only for Office 365 groups in Azure Active Directory (Azure AD).
Reference:-https://docs.microsoft.com/en-us/office365/admin/create-groups/office-365-groups-expiration-policy?view=o365-worldwide
|
|
Question No:-44
|
HOTSPOT -
You have an Azure Active Directory (Azure AD) tenant named contoso.com that contains the users shown in the following table:
User3 is the owner of Group1.
Group2 is a member of Group1.
You configure an access review named Review1 as shown in the following exhibit:
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
|
Question No:-45
|
HOTSPOT -
You have the Azure management groups shown in the following table:
You add Azure subscriptions to the management groups as shown in the following table:
You create the Azure policies shown in the following table:
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
|
Question No:-46
|
You have an Azure policy as shown in the following exhibit:
What is the effect of the policy?
1. You are prevented from creating Azure SQL servers anywhere in Subscription 1.
2. You can create Azure SQL servers in ContosoRG1 only.
3. You are prevented from creating Azure SQL Servers in ContosoRG1 only.
4. You can create Azure SQL servers in any resource group within Subscription 1.
Answer:-2. You can create Azure SQL servers in ContosoRG1 only.
Note:-
You are prevented from creating Azure SQL servers anywhere in Subscription 1 with the exception of ContosoRG1
|
|
Question No:-47
|
HOTSPOT -
You have an Azure subscription that contains the resources shown in the following table:
You assign a policy to RG6 as shown in the following table:
To RG6, you apply the tag: RGroup: RG6.
You deploy a virtual network named VNET2 to RG6.
Which tags apply to VNET1 and VNET2? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Answer:-
Hint:-
VNET1: Department: D1, and Label:Value1 only.
Tags applied to the resource group or subscription are not inherited by the resources.
Note: Azure Policy allows you to use either built-in or custom-defined policy definitions and assign them to either a specific resource group or across a whole
Azure subscription.
VNET2: Label:Value1 only.
Incorrect Answers:
RGROUP: RG6 -
Tags applied to the resource group or subscription are not inherited by the resources.
Reference:-https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/tag-policies
|
|
Question No:-48
|
You have an Azure subscription named AZPT1 that contains the resources shown in the following table:
You create a new Azure subscription named AZPT2.
You need to identify which resources can be moved to AZPT2.
Which resources should you identify?
1. VM1, storage1, VNET1, and VM1Managed only
2. VM1 and VM1Managed only
3. VM1, storage1, VNET1, VM1Managed, and RVAULT1
4. RVAULT1 only
|
Question No:-49
|
You recently created a new Azure subscription that contains a user named Admin1.
Admin1 attempts to deploy an Azure Marketplace resource by using an Azure Resource Manager template. Admin1 deploys the template by using Azure PowerShell and receives the following error message: `User failed validation to purchase resources. Error message: `Legal terms have not been accepted for this item on this subscription. To accept legal terms, please go to the Azure portal (http://go.microsoft.com/fwlink/?LinkId=534873) and configure programmatic deployment for the Marketplace item or create it there for the first time.`
You need to ensure that Admin1 can deploy the Marketplace resource successfully.
What should you do?
1. From Azure PowerShell, run the Set-AzApiManagementSubscription cmdlet
2. From the Azure portal, register the Microsoft.Marketplace resource provider
3. From Azure PowerShell, run the Set-AzMarketplaceTerms cmdlet
4. From the Azure portal, assign the Billing administrator role to Admin1
|
Question No:-50
|
You have an Azure Active Directory (Azure AD) tenant that contains 5,000 user accounts.
You create a new user account named AdminUser1.
You need to assign the User administrator administrative role to AdminUser1.
What should you do from the user account properties?
1. From the Licenses blade, assign a new license
2. From the Directory role blade, modify the directory role
3. From the Groups blade, invite the user account to a new group
Answer:-2. From the Directory role blade, modify the directory role
Note:-
Assign a role to a user -
1. Sign in to the Azure portal with an account that's a global admin or privileged role admin for the directory.
2. Select Azure Active Directory, select Users, and then select a specific user from the list.
3. For the selected user, select Directory role, select Add role, and then pick the appropriate admin roles from the Directory roles list, such as Conditional access administrator.
4. Press Select to save.
Reference:-https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-users-assign-role-azure-portal
|
|
|