Free Microsoft AZ-104 Exam Braindumps (page: 41)

HOTSPOT (Drag and Drop is not supported)
You have an Azure subscription that contains the users shown in the following table.


The groups are configured as shown in the following table.


You have a resource group named RG1 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:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: No
Group nesting is not supported. A group can't be added as a member of a role-assignable group.
Box 2: No
Group nesting is not supported. A group can't be added as a member of a role-assignable group. Box 3: Yes


Reference:

https://learn.microsoft.com/en-us/azure/active-directory/roles/groups-concept



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?

  1. Remove User1 from the Security Reader role for Subscription1. Assign User1 the Contributor role for RG1.
  2. Assign User1 the Owner role for VNet1.
  3. Remove User1 from the Security Reader and Reader roles for Subscription1. Assign User1 the Contributor role for Subscription1.
  4. Assign User1 the Contributor role for VNet1.

Answer(s): B

Explanation:

Contributor
Need to be Owner. The correct scope is VNET1.
Owner - Has full access to all resources including the right to delegate access to others. Incorrect:
* Contributor - Can create and manage all types of Azure resources but can't grant access to others.
Note: Identify the needed scope
When you assign roles, you must specify a scope. Scope is the set of resources the access applies to. In Azure, you can specify a scope at four levels from broad to narrow: management group, subscription, resource group, and resource.


Reference:

https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-steps https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal



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?

  1. Azure Application Gateway
  2. private endpoints
  3. a network security group (NSG)
  4. Azure Virtual WAN

Answer(s): B

Explanation:

You can use private endpoints for your Azure Storage accounts to allow clients on a virtual network (VNet) to securely access data over a Private Link. The private endpoint uses a separate IP address from the VNet address space for each storage account service. Network traffic between the clients on the VNet and the storage account traverses over the VNet and a private link on the Microsoft backbone network, eliminating exposure from the public internet.
Note: For this question with different alternatives:
Correct answer only:
private endpoints
Incorrect answers include:
* a network security group (NSG)
* Microsoft Entra Application Proxy
* Azure Application Gateway
* Azure Firewall
* Azure Peering Service
Azure Virtual WAN


Reference:

https://learn.microsoft.com/en-us/azure/storage/common/storage-private-endpoints



HOTSPOT (Drag and Drop is not supported)
You have an Azure subscription that contains a user named User1 and the resources shown in the following table.


NSG1 is associated to networkinterface1.
User1 has role assignments for NSG1 as 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:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: Yes
User1 is Storage Account Contributor of RG1.
Classic Storage Account Contributor
Lets you manage classic storage accounts, but not access to them. Actions include:
Microsoft.ClassicStorage/storageAccounts/* Create and manage storage accounts
Box 2: No
User1 is a Contributor of NSG1. Networkinterface1 is in NSG1.
However, the DNS settings of Networkinterface1 is in the scope of RG1, not the scope of NSG1. At the NSG1 scope User1 is only reader.
Note: Example: Change DNS settings on a network interface
$nic = Get-AzNetworkInterface -ResourceGroupName "ResourceGroup1" -Name "NetworkInterface1"
$nic.DnsSettings.DnsServers.Add("192.168.1.100")
$nic | Set-AzNetworkInterface
The first command gets a network interface named NetworkInterface1 that exists within resource group ResourceGroup1. The second command adds DNS server 192.168.1.100 to this interface. The third command applies these changes to the network interface. To remove a DNS server, follow the commands listed above, but replace ".Add" with ".Remove" in the second command.
Box 3: Yes
User1 is a Contributor of NSG1. Networkinterface1 is in NSG1.
Contributor - Grants full access to manage all resources, but does not allow you to assign roles in Azure RBAC, manage assignments in Azure Blueprints, or share image galleries.
Actions include: * Create and manage resources of all types
Note: You can use an Azure network security group to filter network traffic between Azure resources in an Azure virtual network. A network security group contains security rules that allow or deny inbound network traffic to, or outbound network traffic from, several types of Azure resources. For each rule, you can specify source and destination, port, and protocol.


Reference:

https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#classic-storage-account- contributor
https://learn.microsoft.com/en-us/powershell/module/az.network/set-aznetworkinterface https://learn.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview






Post your Comments and Discuss Microsoft AZ-104 exam prep with other Community members:

AZ-104 Exam Discussions & Posts