test 8 Flashcards

1
Q

You have an Azure Active Directory (Azure AD) tenant named contoso.onmicrosoft.com that contains 100 user accounts.
You purchase 10 Azure AD Premium P2 licenses for the tenant.
You need to ensure that 10 users can use all the Azure AD Premium features.
What should you do?

A. From the Licenses blade of Azure AD, assign a license
B. From the Groups blade of each user, invite the users to a group
C. From the Azure AD domain, add an enterprise application
D. From the Directory role blade of each user, modify the directory role

A

The correct answer is A. From the Licenses blade of Azure AD, assign a license.

Explanation:

Assigning Licenses:

To enable Azure AD Premium features for specific users, you need to assign the Azure AD Premium P2 licenses to those users. This is done through the Licenses blade in the Azure AD portal.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

You have an Azure subscription named Subscription1 and an on-premises deployment of Microsoft System Center Service Manager.
Subscription1 contains a virtual machine named VM1.
You need to ensure that an alert is set in Service Manager when the amount of available memory on VM1 is below 10 percent.
What should you do first?

A. Create an automation runbook
B. Deploy a function app
C. Deploy the IT Service Management Connector (ITSM)
D. Create a notification

A

The correct first step is C. Deploy the IT Service Management Connector (ITSM).

Explanation:

IT Service Management Connector (ITSM):

The ITSM Connector allows you to connect Azure with your IT Service Management solutions, such as Microsoft System Center Service Manager. This integration enables you to create work items in your ITSM tool based on alerts from Azure Monitor.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

You sign up for Azure Active Directory (Azure AD) Premium P2.
You need to add a user named admin1@contoso.com as an administrator on all the computers that will be joined to the Azure AD domain.
What should you configure in Azure AD?

A. Device settings from the Devices blade
B. Providers from the MFA Server blade
C. User settings from the Users blade
D. General settings from the Groups blade

A

The correct option is A. Device settings from the Devices blade.

Explanation:

Device Settings in Azure AD:

To add a user as an administrator on all computers that will be joined to the Azure AD domain, you need to configure the device settings in Azure AD. This is done by specifying additional local administrators for Azure AD joined devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

You have an Azure subscription named Subscription1 that contains a virtual network named VNet1. VNet1 is in a resource group named RG1.
Subscription1 has a user named User1. User1 has the following roles:
✑ Reader
✑ Security Admin
✑ Security Reader
You need to ensure that User1 can assign the Reader role for VNet1 to other users.
What should you do?

A. Remove User1 from the Security Reader and Reader roles for Subscription1.
B. Assign User1 the User Access Administrator role for VNet1.
C. Assign User1 the Network Contributor role for VNet1.
D. Assign User1 the Network Contributor role for RG1.

A

The correct option is B. Assign User1 the User Access Administrator role for VNet1.

Explanation:

User Access Administrator Role:

The User Access Administrator role allows a user to manage user access to Azure resources. This includes assigning roles to other users for specific resources.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

You have an Azure Active Directory (Azure AD) tenant named contosocloud.onmicrosoft.com.
Your company has a public DNS zone for contoso.com.
You add contoso.com as a custom domain name to Azure AD.
You need to ensure that Azure can verify the domain name.
Which type of DNS record should you create?

A. MX
B. NSEC
C. PTR
D. RRSIG

A

To verify a custom domain name in Azure Active Directory, you need to create a TXT record in your DNS zone. However, since TXT is not listed as an option, the closest and most commonly used alternative for domain verification is an MX record. Therefore, the correct choice from the given options is A. MX.

Explanation:

Domain Verification Process:

When you add a custom domain to Azure AD, Azure provides a unique value that you need to add to your DNS records. This is typically done using a TXT record, but an MX record can also be used if TXT is not available.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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 Directory (Azure AD) tenant named Adatum and an Azure Subscription named Subscription1. Adatum contains a group named Developers.
Subscription1 contains a resource group named Dev.
You need to provide the Developers group with the ability to create Azure logic apps in the Dev resource group.
Solution: On Subscription1, you assign the DevTest Labs User role to the Developers group.
Does this meet the goal?

A. Yes
B. No

A

B. No

Explanation:

DevTest Labs User Role:

The DevTest Labs User role is designed for users who need to manage DevTest Labs environments. It does not provide permissions to create Azure Logic Apps.

Correct Role for Creating Logic Apps:

To allow the Developers group to create Azure Logic Apps in the Dev resource group, you should assign a role that includes permissions for managing Logic Apps. The appropriate role for this purpose is the “Contributor” role.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

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 Directory (Azure AD) tenant named Adatum and an Azure Subscription named Subscription1. Adatum contains a group named Developers.
Subscription1 contains a resource group named Dev.
You need to provide the Developers group with the ability to create Azure logic apps in the Dev resource group.
Solution: On Subscription1, you assign the Logic App Operator role to the Developers group.
Does this meet the goal?

A. Yes
B. No

A

B. No

Explanation:

Logic App Operator Role:

The Logic App Operator role allows users to manage and run logic apps but does not provide permissions to create new logic apps.

Correct Role for Creating Logic Apps:

To allow the Developers group to create Azure Logic Apps in the Dev resource group, you should assign a role that includes permissions for creating and managing Logic Apps. The appropriate role for this purpose is the “Contributor” role.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

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 Directory (Azure AD) tenant named Adatum and an Azure Subscription named Subscription1. Adatum contains a group named Developers.
Subscription1 contains a resource group named Dev.
You need to provide the Developers group with the ability to create Azure logic apps in the Dev resource group.
Solution: On Dev, you assign the Contributor role to the Developers group.
Does this meet the goal?

A. Yes
B. No

A

A. Yes

Explanation:

Contributor Role:

The Contributor role provides full access to manage all resources, including the ability to create and manage Azure Logic Apps within the assigned scope. This role includes permissions to create, update, and delete resources within the resource group.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

You have an Azure subscription.
Users access the resources in the subscription from either home or from customer sites. From home, users must establish a point-to-site VPN to access the Azure resources. The users on the customer sites access the Azure resources by using site-to-site VPNs.
You have a line-of-business-app named App1 that runs on several Azure virtual machine. The virtual machines run Windows Server 2016.
You need to ensure that the connections to App1 are spread across all the virtual machines.
What are two possible Azure services that you can use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

A. an internal load balancer
B. a public load balancer
C. an Azure Content Delivery Network (CDN)
D. Traffic Manager
E. an Azure Application Gateway

A

To ensure that the connections to App1 are spread across all the virtual machines, you can use the following Azure services:

A. An internal load balancer
E. An Azure Application Gateway

Explanation:

Internal Load Balancer:

An internal load balancer distributes network traffic across multiple virtual machines within a virtual network. It is used for load balancing traffic within a private network, which is suitable for scenarios where users connect via VPN.

Azure Application Gateway:

Azure Application Gateway is a web traffic load balancer that enables you to manage traffic to your web applications. It provides application-level routing and is capable of distributing traffic across multiple virtual machines running your application.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

You have an Azure subscription.
You have 100 Azure virtual machines.
You need to quickly identify underutilized virtual machines that can have their service tier changed to a less expensive offering.
Which blade should you use?

A. Monitor
B. Advisor
C. Metrics
D. Customer insights

A

The correct blade to use is B. Advisor.

Explanation:

Azure Advisor:

Azure Advisor provides personalized best practices and recommendations to help you optimize your Azure resources. It includes recommendations for cost optimization, which can help you identify underutilized virtual machines that can be resized to a less expensive service tier.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

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 user1@outlook.com 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 user1@outlook.com ” 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?

A. From the Users settings blade, modify the External collaboration settings.
B. From the Custom domain names blade, add a custom domain.
C. From the Organizational relationships blade, add an identity provider.
D. From the Roles and administrators blade, assign the Security administrator role to Admin1.

A

The correct option is A. From the Users settings blade, modify the External collaboration settings.

Explanation:

External Collaboration Settings:

The error message Generic authorization exception indicates that there might be restrictions on inviting external users. To resolve this, you need to modify the external collaboration settings in Azure AD to allow invitations to external users.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

You have an Azure subscription linked to an Azure Active Directory tenant. The tenant includes a user account named User1.
You need to ensure that User1 can assign a policy to the tenant root management group.
What should you do?

A. Assign the Owner role for the Azure Subscription to User1, and then modify the default conditional access policies.
B. Assign the Owner role for the Azure subscription to User1, and then instruct User1 to configure access management for Azure resources.
C. Assign the Global administrator role to User1, and then instruct User1 to configure access management for Azure resources.
D. Create a new management group and delegate User1 as the owner of the new management group.

A

The correct option is C. Assign the Global administrator role to User1, and then instruct User1 to configure access management for Azure resources.

Explanation:

Global Administrator Role:

The Global Administrator role in Azure Active Directory has the highest level of access and can manage all aspects of Azure AD and Azure resources. This role is necessary to assign policies at the tenant root management group level.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

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 need to ensure that an Azure Active Directory (Azure AD) user named Admin1 is assigned the required role to enable Traffic Analytics for an Azure subscription.
Solution: You assign the Network Contributor role at the subscription level to Admin1.
Does this meet the goal?

A. Yes
B. No

A

A. Yes, is correct because the Network Contributor role provides the necessary permissions to manage network resources, including configuring diagnostics settings required for enabling Traffic Analytics. This role allows Admin1 to perform actions related to network resources, which includes enabling and configuring Traffic Analytics for the Azure subscription. Therefore, assigning the Network Contributor role at the subscription level to Admin1 meets the goal.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

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 need to ensure that an Azure Active Directory (Azure AD) user named Admin1 is assigned the required role to enable Traffic Analytics for an Azure subscription.
Solution: You assign the Reader role at the subscription level to Admin1.
Does this meet the goal?

A. Yes
B. No

A

B. No

Explanation:

Reader Role:

The Reader role provides read-only access to all resources within the subscription. It does not grant permissions to make changes or configure settings, such as enabling Traffic Analytics.

Why This Does Not Meet the Goal:

Enabling Traffic Analytics requires permissions to configure diagnostics settings on network resources, which the Reader role does not provide. Admin1 would need a role with more permissions, such as Network Contributor or Owner, to perform these actions.

Therefore, assigning the Reader role at the subscription level to Admin1 does not meet the goal of enabling Traffic Analytics for an Azure subscription.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

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 need to ensure that an Azure Active Directory (Azure AD) user named Admin1 is assigned the required role to enable Traffic Analytics for an Azure subscription.
Solution: You assign the Owner role at the subscription level to Admin1.
Does this meet the goal?

A. Yes
B. No

A

A. Yes

Explanation:
Owner Role:

The Owner role at the subscription level provides full access to all resources and permissions within the subscription. This includes the ability to manage network resources and configure diagnostics settings necessary for enabling Traffic Analytics.
Why This Meets the Goal:
By assigning the Owner role to Admin1, you ensure that Admin1 has comprehensive permissions to perform any action required to enable Traffic Analytics, including configuring necessary settings on network resources.
Therefore, assigning the Owner role at the subscription level to Admin1 does meet the goal of enabling Traffic Analytics for an Azure subscription.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

You have an Azure subscription that contains a user named User1.
You need to ensure that User1 can deploy virtual machines and manage virtual networks. The solution must use the principle of least privilege.
Which role-based access control (RBAC) role should you assign to User1?

A. Owner
B. Virtual Machine Contributor
C. Contributor
D. Virtual Machine Administrator Login

A

C. Contributor, is correct because the Contributor role provides the necessary permissions to deploy and manage all types of resources within an Azure subscription, including virtual machines and virtual networks. However, it is important to note that while the Contributor role allows User1 to perform these tasks, it may not strictly adhere to the principle of least privilege, as it grants broader permissions than specifically needed for managing virtual machines and networks. If strictly following the principle of least privilege, the Virtual Machine Contributor role might be more appropriate, but the Contributor role is often chosen for its comprehensive access capabilities.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

You have an Azure subscription named Subscription1 that contains an Azure virtual machine named VM1. VM1 is in a resource group named RG1.
VM1 runs services that will be used to deploy resources to RG1.
You need to ensure that a service running on VM1 can manage the resources in RG1 by using the identity of VM1.
What should you do first?

A. From the Azure portal, modify the Managed Identity settings of VM1
B. From the Azure portal, modify the Access control (IAM) settings of RG1
C. From the Azure portal, modify the Access control (IAM) settings of VM1
D. From the Azure portal, modify the Policies settings of RG1

A

A. From the Azure portal, modify the Managed Identity settings of VM1, is correct because enabling a managed identity for VM1 is the first step to allow it to authenticate and manage resources in Azure. Managed identities provide an automatically managed identity in Azure Active Directory for applications to use when connecting to resources that support Azure AD authentication. By enabling the managed identity for VM1, you allow it to authenticate to Azure services without needing to manage credentials, which is essential for managing resources in RG1 using VM1’s identity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

You have an Azure subscription that contains a resource group named TestRG.
You use TestRG to validate an Azure deployment.
TestRG contains the following resources:

Name Type Description
VM1 Virtual Machine VM1 is running and configured to back up to Vault1 daily.
Vault1 Recovery Services Vault Vault1 includes all backups of VM1.
VNET1 Virtual Network VNET1 has a resource lock of type Delete.

You need to delete TestRG.
What should you do first?

A. Modify the backup configurations of VM1 and modify the resource lock type of VNET1
B. Remove the resource lock from VNET1 and delete all data in Vault1
C. Turn off VM1 and remove the resource lock from VNET1
D. Turn off VM1 and delete all data in Vault1

A

B. Remove the resource lock from VNET1 and delete all data in Vault1, is correct because:

Resource Lock on VNET1: If VNET1 has a resource lock, it prevents the deletion of the resource group TestRG. Removing the resource lock is necessary to allow the deletion process to proceed.
Data in Vault1: Deleting all data in Vault1 is required because the presence of data in the vault can prevent the deletion of the resource group. Azure does not allow the deletion of a resource group if it contains a vault with data.

Therefore, the correct steps to delete TestRG are to first remove the resource lock from VNET1 and delete all data in Vault1. This ensures that there are no restrictions or dependencies preventing the deletion of the resource group.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

You have an Azure DNS zone named adatum.com.
You need to delegate a subdomain named research.adatum.com to a different DNS server in Azure.
What should you do?

A. Create an NS record named research in the adatum.com zone.
B. Create a PTR record named research in the adatum.com zone.
C. Modify the SOA record of adatum.com.
D. Create an A record named *.research in the adatum.com zone.

A

A. Create an NS record named research in the adatum.com zone, is correct because:

NS Record for Delegation: To delegate a subdomain to a different DNS server, you need to create a Name Server (NS) record in the parent domain’s DNS zone. This NS record specifies the DNS servers that are authoritative for the subdomain. By creating an NS record named “research” in the adatum.com zone, you effectively delegate the subdomain research.adatum.com to the specified DNS servers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

You have a registered DNS domain named contoso.com.
You create a public Azure DNS zone named contoso.com.
You need to ensure that records created in the contoso.com zone are resolvable from the internet.
What should you do?

A. Create NS records in contoso.com.
B. Modify the SOA record in the DNS domain registrar.
C. Create the SOA record in contoso.com.
D. Modify the NS records in the DNS domain registrar.

A

D. Modify the NS records in the DNS domain registrar, is correct because:

NS Records in Domain Registrar: To ensure that DNS records created in the Azure DNS zone contoso.com are resolvable from the internet, you need to update the Name Server (NS) records at your domain registrar. This involves replacing the existing NS records with the Azure DNS name servers provided when you created the Azure DNS zone. This change delegates the DNS resolution responsibility to Azure DNS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

You have an Azure Active Directory (Azure AD) tenant.
You plan to delete multiple users by using Bulk delete in the Azure Active Directory admin center.
You need to create and upload a file for the bulk delete.
Which user attributes should you include in the file?

A. The user principal name and usage location of each user only
B. The user principal name of each user only
C. The display name of each user only
D. The display name and usage location of each user only
E. The display name and user principal name of each user only

A

B. The user principal name of each user only, is correct because when performing a bulk delete of users in Azure Active Directory, the file you upload needs to include the user principal name (UPN) of each user you wish to delete. The UPN uniquely identifies each user in Azure AD, making it the necessary attribute for the bulk delete operation. Other attributes like display name or usage location are not required for this process.

21
Q
A
22
Q
A
23
Q

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 need to ensure that an Azure Active Directory (Azure AD) user named Admin1 is assigned the required role to enable Traffic Analytics for an Azure subscription.
Solution: You assign the Traffic Manager Contributor role at the subscription level to Admin1.
Does this meet the goal?

A. Yes
B. No

A

B. No

Explanation:

Traffic Manager Contributor Role:

The Traffic Manager Contributor role allows the user to manage Traffic Manager profiles but does not provide the necessary permissions to enable Traffic Analytics, which involves configuring diagnostics settings on network resources.

Why This Does Not Meet the Goal:

Enabling Traffic Analytics requires permissions to manage network resources and configure diagnostics settings. The Network Contributor role or a similar role with broader network management permissions would be required.

Therefore, assigning the Traffic Manager Contributor role at the subscription level to Admin1 does not meet the goal of enabling Traffic Analytics for an Azure subscription.

24
Q

You have three offices and an Azure subscription that contains an Azure Active Directory (Azure AD) tenant.
You need to grant user management permissions to a local administrator in each office.
What should you use?

A. Azure AD roles
B. administrative units
C. access packages in Azure AD entitlement management
D. Azure roles

A

B. administrative units, is correct because administrative units in Azure Active Directory allow you to delegate administrative permissions to specific subsets of users within your organization. By using administrative units, you can assign user management permissions to local administrators in each office, enabling them to manage users within their respective administrative units without granting them broader permissions across the entire Azure AD tenant. This approach provides a more granular level of administrative control compared to Azure AD roles or Azure roles, which typically apply at a broader scope.

25
Q

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 Directory (Azure AD) tenant named Adatum and an Azure Subscription named Subscription1. Adatum contains a group named Developers.
Subscription1 contains a resource group named Dev.
You need to provide the Developers group with the ability to create Azure logic apps in the Dev resource group.
Solution: On Dev, you assign the Logic App Contributor role to the Developers group.
Does this meet the goal?

A. Yes
B. No

A

Yes, assigning the Logic App Contributor role to the Developers group on the Dev resource group will meet the goal. The Logic App Contributor role provides permissions to create and manage logic apps within the specified resource group. Therefore, this solution allows the Developers group to create Azure logic apps in the Dev resource group.

26
Q

You have an Azure subscription named Subscription1 that contains a virtual network named VNet1. VNet1 is in a resource group named RG1.
Subscription1 has a user named User1. User1 has the following roles:
✑ Reader
✑ Security Admin
✑ Security Reader
You need to ensure that User1 can assign the Reader role for VNet1 to other users.
What should you do?

A. Remove User1 from the Security Reader role for Subscription1. Assign User1 the Contributor role for RG1.
B. Assign User1 the Owner role for VNet1.
C. Assign User1 the Contributor role for VNet1.
D. Assign User1 the Network Contributor role for VNet1.

A

B. Assign User1 the Owner role for VNet1, is correct because the Owner role provides full access to all resources, including the ability to delegate access to others. By assigning the Owner role to User1 for VNet1, User1 will have the necessary permissions to assign the Reader role for VNet1 to other users. The other roles mentioned do not provide the capability to assign roles to other users.

27
Q

You have an Azure subscription that contains a storage account named storage1. The storage1 account contains a file share named share1.
The subscription is linked to a hybrid Azure Active Directory (Azure AD) tenant that contains a security group named Group1.
You need to grant Group1 the Storage File Data SMB Share Elevated Contributor role for share1.
What should you do first?

A. Enable Active Directory Domain Service (AD DS) authentication for storage1.
B. Grant share-level permissions by using File Explorer.
C. Mount share1 by using File Explorer.
D. Create a private endpoint.

A

A. Enable Active Directory Domain Service (AD DS) authentication for storage1, is correct because to grant Azure AD-based roles such as the Storage File Data SMB Share Elevated Contributor role, you need to ensure that the storage account is configured to support Azure AD authentication. Enabling AD DS authentication for the storage account allows you to use Azure AD credentials to access Azure file shares, which is a prerequisite for assigning Azure AD roles to security groups like Group1 for accessing the file share.

28
Q

You have 15 Azure subscriptions.
You have an Azure Active Directory (Azure AD) tenant that contains a security group named Group1.
You plan to purchase additional Azure subscription.
You need to ensure that Group1 can manage role assignments for the existing subscriptions and the planned subscriptions. The solution must meet the following requirements:
✑ Use the principle of least privilege.
✑ Minimize administrative effort.
What should you do?

A. Assign Group1 the Owner role for the root management group.
B. Assign Group1 the User Access Administrator role for the root management group.
C. Create a new management group and assign Group1 the User Access Administrator role for the group.
D. Create a new management group and assign Group1 the Owner role for the group.

A

B. Assign Group1 the User Access Administrator role for the root management group, is correct because:

User Access Administrator Role: This role allows the group to manage user access to Azure resources, which includes managing role assignments. It provides the necessary permissions to assign roles without granting full control over the resources, adhering to the principle of least privilege.
Root Management Group: Assigning the role at the root management group level ensures that the permissions are inherited by all existing and future subscriptions, minimizing administrative effort.

Therefore, assigning Group1 the User Access Administrator role for the root management group meets the requirements of using the principle of least privilege and minimizing administrative effort.

29
Q

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 that contains the following users in an Azure Active Directory tenant named contoso.onmicrosoft.com:

User1 creates a new Azure Active Directory tenant named external.contoso.onmicrosoft.com.
You need to create new user accounts in external.contoso.onmicrosoft.com.
Solution: You instruct User2 to create the user accounts.
Does that meet the goal?

A. Yes
B. No

A

B. No, is correct because when a new Azure Active Directory (Azure AD) tenant is created, only the user who created the tenant (User1 in this case) has the initial administrative permissions to manage the tenant, including creating new user accounts. User2 would not automatically have permissions to create user accounts in the new tenant unless they are explicitly granted the necessary roles or permissions within that tenant. Therefore, instructing User2 to create the user accounts does not meet the goal.

30
Q

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 that contains the following users in an Azure Active Directory tenant named contoso.onmicrosoft.com:

User1 creates a new Azure Active Directory tenant named external.contoso.onmicrosoft.com.
You need to create new user accounts in external.contoso.onmicrosoft.com.
Solution: You instruct User4 to create the user accounts.
Does that meet the goal?

A. Yes
B. No

A

B. No, is correct because when a new Azure Active Directory (Azure AD) tenant is created, only the user who created the tenant (User1 in this case) has the initial administrative permissions to manage the tenant, including creating new user accounts. User4 would not automatically have permissions to create user accounts in the new tenant unless they are explicitly granted the necessary roles or permissions within that tenant. Therefore, instructing User4 to create the user accounts does not meet the goal.

31
Q

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 that contains the following users in an Azure Active Directory tenant named contoso.onmicrosoft.com:

User1 creates a new Azure Active Directory tenant named external.contoso.onmicrosoft.com.
You need to create new user accounts in external.contoso.onmicrosoft.com.
Solution: You instruct User3 to create the user accounts.
Does that meet the goal?

A. Yes
B. No

A

B. No, is correct because when a new Azure Active Directory (Azure AD) tenant is created, only the user who created the tenant (User1 in this case) has the initial administrative permissions to manage the tenant, including creating new user accounts. User3 would not automatically have permissions to create user accounts in the new tenant unless they are explicitly granted the necessary roles or permissions within that tenant. Therefore, instructing User3 to create the user accounts does not meet the goal.

32
Q

You have two Azure subscriptions named Sub1 and Sub2.
An administrator creates a custom role that has an assignable scope to a resource group named RG1 in Sub1.
You need to ensure that you can apply the custom role to any resource group in Sub1 and Sub2. The solution must minimize administrative effort.
What should you do?

A. Select the custom role and add Sub1 and Sub2 to the assignable scopes. Remove RG1 from the assignable scopes.
B. Create a new custom role for Sub1. Create a new custom role for Sub2. Remove the role from RG1.
C. Create a new custom role for Sub1 and add Sub2 to the assignable scopes. Remove the role from RG1.
D. Select the custom role and add Sub1 to the assignable scopes. Remove RG1 from the assignable scopes. Create a new custom role for Sub2.

A

A. Select the custom role and add Sub1 and Sub2 to the assignable scopes. Remove RG1 from the assignable scopes, is correct because:

Assignable Scopes: By adding both Sub1 and Sub2 to the assignable scopes of the custom role, you ensure that the role can be applied to any resource group within these subscriptions. This approach allows for broader application of the role without creating multiple roles.
Minimizing Administrative Effort: This solution minimizes administrative effort by modifying the existing custom role rather than creating new roles for each subscription. Removing RG1 from the assignable scopes ensures that the role is not limited to a single resource group.

Therefore, this solution meets the requirement of applying the custom role to any resource group in both Sub1 and Sub2 while minimizing administrative effort.

33
Q

You have an Azure App Services web app named App1.

You plan to deploy App1 by using Web Deploy.

You need to ensure that the developers of App1 can use their Azure AD credentials to deploy content to App1. The solution must use the principle of least privilege.

What should you do?

A. Assign the Owner role to the developers
B. Configure app-level credentials for FTPS
C. Assign the Website Contributor role to the developers
D. Configure user-level credentials for FTPS

A

C. Assign the Website Contributor role to the developers, is correct because:

Website Contributor Role: This role provides the necessary permissions for developers to manage and deploy content to the web app without granting excessive permissions. It adheres to the principle of least privilege by allowing developers to perform their tasks without having full control over the Azure resources.
Azure AD Credentials: By assigning this role, developers can use their Azure AD credentials to authenticate and deploy content to App1 using Web Deploy.

Therefore, assigning the Website Contributor role to the developers meets the requirement of using Azure AD credentials while adhering to the principle of least privilege.

34
Q

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 Active Directory (Azure AD) tenant named contoso.com.

You have a CSV file that contains the names and email addresses of 500 external users.

You need to create a guest user account in contoso.com for each of the 500 external users.

Solution: From Azure AD in the Azure portal, you use the Bulk invite users operation.

Does this meet the goal?

A. Yes
B. No

A

Yes, using the Bulk invite users operation from Azure AD in the Azure portal to create guest user accounts for the 500 external users meets the goal. This operation allows you to efficiently invite multiple external users by uploading a CSV file containing their details.

35
Q

You have an Azure subscription that contains 10 virtual machines, a key vault named Vault1, and a network security group (NSG) named NSG1. All the resources are deployed to the East US Azure region.

The virtual machines are protected by using NSG1. NSG1 is configured to block all outbound traffic to the internet.

You need to ensure that the virtual machines can access Vault1. The solution must use the principle of least privilege and minimize administrative effort

What should you configure as the destination of the outbound security rule for NSG1?

A. an application security group
B. a service tag
C. an IP address range

A

B. a service tag, is correct because using a service tag for the destination of the outbound security rule in NSG1 allows you to specify Azure services, such as Azure Key Vault, without needing to manage specific IP addresses. This approach adheres to the principle of least privilege by allowing only the necessary traffic to Vault1 and minimizes administrative effort by automatically updating the service tag as Azure services change.

36
Q

You have an Azure subscription named Subscription1 that contains a virtual network named VNet1. VNet1 is in a resource group named RG1.

Subscription1 has a user named User1. User1 has the following roles:

  • Reader
  • Security Admin
  • Security Reader

You need to ensure that User1 can assign the Reader role for VNet1 to other users.

What should you do?

A. Assign User1 the Network Contributor role for VNet1.
B. Remove User1 from the Security Reader role for Subscription1. Assign User1 the Contributor role for RG1.
C. Assign User1 the Owner role for VNet1.
D. Assign User1 the Network Contributor role for RG1.

A

C. Assign User1 the Owner role for VNet1, is correct because the Owner role provides full access to all resources, including the ability to assign roles to other users. By assigning the Owner role specifically to VNet1, User1 will have the necessary permissions to assign the Reader role for VNet1 to other users, while adhering to the principle of least privilege by not granting excessive permissions at a broader scope

37
Q

You have an Azure subscription named Subscription1 that contains a virtual network named VNet1. VNet1 is in a resource group named RG1.

Subscription1 has a user named User1. User1 has the following roles:

  • Reader
  • Security Admin
  • Security Reader

You need to ensure that User1 can assign the Reader role for VNet1 to other users.

What should you do?

A. Remove User1 from the Security Reader role for Subscript on 1. Assign User1 the Contributor role for RG1.
B. Assign User1 the Owner role for VNet1. Most Voted
C. Remove User1 from the Security Reader and Reader roles for Subscription1. Assign User1 the Contributor role for Subscription 1.
D. Assign User1 the Contributor role for VNet1.

A

B. Assign User1 the Owner role for VNet1, is correct because the Owner role provides full access to all resources, including the ability to assign roles to other users. By assigning the Owner role specifically to VNet1, User1 will have the necessary permissions to assign the Reader role for VNet1 to other users, while adhering to the principle of least privilege by not granting excessive permissions at a broader scope.

38
Q

Your on-premises network contains a VPN gateway.

You have an Azure subscription that contains the resources shown in the following table.

You need to ensure that all the traffic from VM1 to storage1 travels across the Microsoft backbone network.

What should you configure?

A. Azure Application Gateway
B. private endpoints Most Voted
C. a network security group (NSG)
D. Azure Virtual WAN

A

B. private endpoints, is correct because configuring private endpoints for Storage1 ensures that the traffic from VM1 to Storage1 travels across the Microsoft backbone network. Private endpoints provide secure connectivity to Azure services by using private IP addresses within your virtual network, thus ensuring that the traffic does not traverse the public internet. This approach meets the requirement of ensuring that all traffic from VM1 to Storage1 travels across the Microsoft backbone network.

39
Q

You have an Azure subscription named Subscription1 that contains a virtual network named VNet1. VNet1 is in a resource group named RG1.

Subscription1 has a user named User1. User1 has the following roles:

  • Reader
  • Security Admin
  • Security Reader

You need to ensure that User1 can assign the Reader role for VNet1 to other users.

What should you do?

A. Remove User1 from the Security Reader role for Subscription1. Assign User1 the Contributor role for RG1.
B. Assign User1 the Access Administrator role for VNet1.
C. Remove User1 from the Security Reader and Reader roles for Subscription1. Assign User1 the Contributor role for Subscription1.
D. Assign User1 the Network Contributor role for RG1.

A

B. Assign User1 the Access Administrator role for VNet1, is correct because the Access Administrator role allows a user to manage user access to Azure resources. By assigning this role specifically to VNet1, User1 will have the necessary permissions to assign the Reader role for VNet1 to other users, while adhering to the principle of least privilege by not granting excessive permissions at a broader scope.

40
Q

You have an Azure subscription named Subscription1 that contains a virtual network named VNet1. VNet1 is in a resource group named RG1.

Subscription1 has a user named User1. User1 has the following roles:

  • Reader
  • Security Admin
  • Security Reader

You need to ensure that User1 can assign the Reader role for VNet1 to other users.

What should you do?

A. Remove User1 from the Security Reader role for Subscription1. Assign User1 the Contributor role for RG1.
B. Assign User1 the User Access Administrator role for VNet1.
C. Remove User1 from the Security Reader and Reader roles for Subscription1.
D. Assign User1 the Contributor role for VNet1.

A

B. Assign User1 the User Access Administrator role for VNet1, is correct because the User Access Administrator role allows a user to manage user access to Azure resources. By assigning this role specifically to VNet1, User1 will have the necessary permissions to assign the Reader role for VNet1 to other users, while adhering to the principle of least privilege by not granting excessive permissions at a broader scope.

41
Q

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 Active Directory (Azure AD) tenant named contoso.com.

You have a CSV file that contains the names and email addresses of 500 external users.

You need to create a guest user account in contoso.com for each of the 500 external users.

Solution: You create a PowerShell script that runs the New-MgUser cmdlet for each external user.

Does this meet the goal?

A. Yes
B. No

A

B. No, is correct because the New-MgUser cmdlet is typically used to create regular user accounts in Azure AD, not guest user accounts. To create guest user accounts, you would typically use the New-AzureADMSInvitation cmdlet, which is specifically designed for inviting external users as guests. Therefore, using a PowerShell script with New-MgUser does not meet the goal of creating guest user accounts for the external users.

42
Q

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 Active Directory (Azure AD) tenant named contoso.com.

You have a CSV file that contains the names and email addresses of 500 external users.

You need to create a guest user account in contoso.com for each of the 500 external users.

Solution: You create a PowerShell script that runs the New-MgInvitation cmdlet for each external user.

Does this meet the goal?

A. Yes
B. No

A

Yes, the solution meets the goal. The New-MgInvitation cmdlet in PowerShell is used to invite external users to an Azure Active Directory tenant as guest users. By creating a PowerShell script that iterates over each entry in the CSV file and runs the New-MgInvitation cmdlet, you can automate the process of creating guest user accounts for all 500 external users in the contoso.com Azure AD tenant. This approach is efficient and aligns with the requirement to create guest user accounts for external users.

43
Q

You have an Azure subscription named Subscription1 that contains virtual network named VNet1. VNet1 is in a resource group named RG1.

A user named User1 has the following roles for Subscription1:

  • Reader
  • Security Admin
  • Security Reader

You need to ensure that User1 can assign the Reader role for VNet1 to other users.

What should you do?

A. Assign User1 the Contributor role for VNet1.
B. Assign User1 the Network Contributor role for VNet1.
C. Assign User1 the User Access Administrator role for VNet1.
D. Remove User1 from the Security Reader and Reader roles for Subscription1. Assign User1 the Contributor role for Subscription1.

A

C. Assign User1 the User Access Administrator role for VNet1. This is because the User Access Administrator role allows a user to manage user access to Azure resources, which includes assigning roles to other users. By assigning this role to User1 for VNet1, User1 will be able to assign the Reader role to other users for that specific virtual network.

44
Q

You have an Azure subscription named Subscription1 that contains virtual network named VNet1. VNet1 is in a resource group named RG1.

User named User1 has the following roles for Subscription1:

  • Reader
  • Security Admin
  • Security Reader

You need to ensure that User1 can assign the Reader role for VNet1 to other users.
What should you do?

A. Remove User1 from the Security Reader and Reader roles for Subscription1. Assign User1 the Contributor role for Subscription1.
B. Remove User1 from the Security Reader role for Subscription1. Assign User1 the Contributor role for RG1.
C. Assign User1 the Network Contributor role for VNet1.
D. Assign User1 the User Access Administrator role for VNet1.

A

D. Assign User1 the User Access Administrator role for VNet1. This role allows a user to manage user access to Azure resources, including assigning roles to other users. By assigning this role to User1 for VNet1, User1 will be able to assign the Reader role to other users for that specific virtual network.

45
Q

You have an Azure subscription named Subscription1 that contains virtual network named VNet1. VNet1 is in a resource group named RG1.

A user named User1 has the following roles for Subscription1:

  • Reader
  • Security Admin
  • Security Reader

You need to ensure that User1 can assign the Reader role for VNet1 to other users.

What should you do?

A. Remove User1 from the Security Reader and Reader roles for Subscription1. Assign User1 the Contributor role for Subscription1.
B. Assign User1 the Contributor role for VNet1.
C. Assign User1 the Owner role for VNet1.
D. Assign User1 the Network Contributor role for RG1.

A

C. Assign User1 the Owner role for VNet1. The Owner role provides full access to all resources, including the ability to delegate access to others. By assigning the Owner role to User1 for VNet1, User1 will be able to assign the Reader role to other users for that specific virtual network.

46
Q

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 Active Directory (Azure AD) tenant named contoso.com.

You have a CSV file that contains the names and email addresses of 500 external users.

You need to create a guest user account in contoso.com for each of the 500 external users.

Solution: You create a PowerShell script that runs the New-MgUser cmdlet for each user.

Does this meet the goal?

A. Yes
B. No

A

No, this does not meet the goal. The New-MgUser cmdlet is used to create new user accounts in Azure AD, but it does not specifically handle the invitation process for guest users. To create guest user accounts, you should use the New-MgInvitation cmdlet, which is designed to invite external users to your Azure AD tenant as guest users.

47
Q

You have a Microsoft Entra tenant.

You plan to perform a bulk import of users.

You need to ensure that imported user objects are added automatically as the members of a specific group based on each user’s department. The solution must minimize administrative effort.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

A. Create groups that use the Assigned membership type.
B. Create an Azure Resource Manager (ARM) template.
C. Create groups that use the Dynamic User membership type. Most Voted
D. Write a PowerShell script that parses an import file.
E. Create an XML file that contains user information and the appropriate attributes.
F. Create a CSV file that contains user information and the appropriate attributes.

A

To ensure that imported user objects are automatically added as members of a specific group based on each user’s department, you should perform the following actions:

C. Create groups that use the Dynamic User membership type. This allows you to define rules based on user attributes, such as department, to automatically include users in the group.

F. Create a CSV file that contains user information and the appropriate attributes. This file can be used for the bulk import process, ensuring that each user’s department attribute is included for dynamic group membership evaluation.

48
Q

You have an Azure subscription that contains a storage account named storage1.

You need to ensure that the access keys for storage1 rotate automatically.

What should you configure?

A. a backup vault
B. redundancy for storage1
C. lifecycle management for storage1
D. an Azure key vault
E. a Recovery Services vault

A

D. an Azure Key Vault.

Reason: Azure Key Vault provides a secure way to manage access keys and enables automatic rotation policies for these keys. By storing the storage account keys in Azure Key Vault, you can set up periodic rotation and reduce security risks associated with stale or compromised keys. Azure Key Vault is designed for managing secrets, keys, and certificates, making it the appropriate choice for this scenario.

49
Q

You have a Microsoft Entra tenant named contoso.com.

You collaborate with an external partner named fabrikam.com.

You plan to invite users in fabrikam.com to the contoso.com tenant.

You need to ensure that invitations can be sent only to fabrikam.com users.

What should you do in the Microsoft Entra admin center?

A. From Cross-tenant access settings, configure the Tenant restrictions settings.
B. From Cross-tenant access settings, configure the Microsoft cloud settings.
C. From External collaboration settings, configure the Guest user access restrictions settings.
D. From External collaboration settings, configure the Collaboration restrictions settings.

A

D. From External collaboration settings, configure the Collaboration restrictions settings.

Explanation: In Microsoft Entra (formerly Azure AD), if you want to restrict guest invitations to users from specific domains, such as fabrikam.com, you should use Collaboration restrictions under External collaboration settings. This setting allows you to specify which external domains are allowed or denied for guest invitations. By configuring this, you ensure that only users from fabrikam.com can be invited to your contoso.com tenant, fulfilling the requirement.