Practice Questions - Microsoft AZ-104 Flashcards
(494 cards)
View Question You have five Azure virtual machines that run Windows Server 2016. The virtual machines are configured as web servers. You have an Azure load balancer named LB1 that provides load balancing services for the virtual machines. You need to ensure that visitors are serviced by the same web server for each request. What should you configure?
A. a health probe
B. Floating IP (direct server return) to Enabled
C. Session persistence to Client IP and protocol
D. Protocol to UDP
The correct answer is C. Session persistence to Client IP and protocol.
Session persistence, also known as sticky sessions, ensures that subsequent requests from the same client are directed to the same server. By configuring session persistence to Client IP and protocol, the load balancer uses the client’s IP address and the protocol (HTTP or HTTPS) to identify the client and direct all subsequent requests from that client to the same server. This maintains the user’s session state across multiple requests.
Why other options are incorrect:
- A. a health probe: Health probes are used to monitor the health of the backend servers. They do not ensure session persistence.
- B. Floating IP (direct server return) to Enabled: Floating IP addresses are used for high availability, allowing a single IP address to be associated with multiple servers. While this enhances availability, it doesn’t guarantee session persistence. A client may be directed to a different server on each request.
- D. Protocol to UDP: UDP is a connectionless protocol. Using UDP would not provide the necessary statefulness required for session persistence. Web servers generally use TCP.
Note: The discussion section shows a high degree of repetition of this question in various Azure certification exam preparation materials. This suggests the question’s importance and frequency in the exam itself.
View Question You have five Azure virtual machines that run Windows Server 2016. The virtual machines are configured as web servers. You have an Azure load balancer named LB1 that provides load balancing services for the virtual machines. You need to ensure that visitors are serviced by the same web server for each request. What should you configure?
A. Session persistence to Client IP and protocol
B. Protocol to UDP
C. Session persistence to None
D. Floating IP (direct server return) to Disabled
A. Session persistence to Client IP and protocol
Explanation: To ensure that each visitor is serviced by the same web server for every request, you need to configure session persistence. Session persistence tracks client requests and directs subsequent requests from the same client to the same server. Using “Client IP and protocol” as the persistence method ensures that requests originating from the same IP address using the same protocol (e.g., HTTP) are always routed to the same server.
Why other options are incorrect:
- B. Protocol to UDP: This option is irrelevant to session persistence. UDP is a connectionless protocol; using UDP would not ensure that requests from the same client are routed to the same server.
- C. Session persistence to None: This would disable session persistence, resulting in requests being load balanced across all servers, defeating the requirement.
- D. Floating IP (direct server return) to Disabled: Floating IPs are typically used for high availability, allowing the IP address to remain the same even if the underlying server changes. Disabling this feature is not relevant to ensuring a client always connects to the same server.
Note: The discussion section shows a significant number of comments expressing frustration and humor regarding this question, possibly indicating it’s a frequently encountered or challenging question in the context of the AZ-104 exam. This suggests there may be some ambiguity or difficulty in understanding the question or its implications.
** View Question You plan to create an Azure Storage account named storage1 that will contain a file share named share1. You need to ensure that share1 can support SMB Multichannel. The solution must minimize costs. How should you configure storage?
A. Premium performance with locally-redundant storage (LRS)
B. Standard performance with zone-redundant storage (ZRS)
C. Premium performance with geo-redundant storage (GRS)
D. Standard performance with locally-redundant storage (LRS)
**
** A. Premium performance with locally-redundant storage (LRS)
Explanation: The question specifies that the solution must minimize costs and support SMB Multichannel. According to the provided discussion and linked Microsoft documentation, SMB Multichannel is only supported on Premium file shares. Between LRS and ZRS (both are options for Premium file shares), LRS is the more cost-effective option because data redundancy is within a single data center, unlike ZRS which replicates data across availability zones within a region incurring extra cost. Options B, C, and D are incorrect because they either use standard performance (which doesn’t support SMB Multichannel) or a more expensive storage redundancy option (GRS) than necessary.
Why other options are incorrect:
- B. Standard performance with zone-redundant storage (ZRS): Standard performance storage does not support SMB Multichannel.
- C. Premium performance with geo-redundant storage (GRS): While this offers Premium performance and therefore supports SMB Multichannel, GRS is more expensive than LRS because it replicates data across geographical regions.
- D. Standard performance with locally-redundant storage (LRS): This does not support SMB Multichannel because it uses standard, not premium, storage.
Note: The discussion shows some disagreement on whether ZRS would be acceptable, but the consensus and the provided Microsoft documentation support the selection of LRS for cost minimization while ensuring SMB Multichannel functionality.
View Question
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.
The correct answer is B. Assign User1 the User Access Administrator role for VNet1.
The User Access Administrator role allows a user to manage access to resources within a specific scope (in this case, VNet1). This includes assigning roles to other users. The other options do not grant this level of permission.
Why other options are incorrect:
- A. Remove User1 from the Security Reader role for Subscription1. Assign User1 the Contributor role for RG1. The Contributor role for the resource group gives User1 broad permissions within the resource group, but not specifically the ability to assign roles to other users on VNet1. Removing the Security Reader role is irrelevant to the problem.
- C. Remove User1 from the Security Reader and Reader roles for Subscription1. Removing these roles doesn’t grant User1 the necessary permissions to assign roles to others on VNet1.
- D. Assign User1 the Contributor role for VNet1. While the Contributor role grants extensive permissions on VNet1, it does not explicitly include the ability to assign roles to other users. Only the User Access Administrator or Owner roles can do that.
Note: The discussion thread shows overwhelming agreement that option B is the correct answer.
You have a Windows 11 device named Device1 and an Azure subscription that contains the resources shown in the following table.
Device1 has Azure PowerShell and Azure Command-Line Interface (CLI) installed. From Device1, you need to establish a Remote Desktop connection to VM1. Which three actions should you perform in sequence? Move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. The image showing the list of actions is omitted here because it’s not directly included in the provided text. However, the suggested answer shows that the correct actions are related to Azure Bastion configuration and connection.
Resource Group | Resource Name | Resource Type | Location | SKU |
|—|—|—|—|—|
| RG1 | VM1 | Virtual Machine | East US | Standard_B2s |
| RG1 | Bastion1 | Azure Bastion | East US | Basic |
The provided text describes a solution leveraging Azure Bastion to connect to VM1. The correct sequence of actions would be:
- Upgrade Azure Bastion SKU: The initial Azure Bastion (Bastion1) is using a Basic SKU, which doesn’t support the native client connection feature needed for direct RDP connection. It must be upgraded to a Standard SKU.
- Enable Native Client Support: After upgrading the SKU, native client support must be explicitly enabled within the Bastion1 configuration settings in the Azure portal.
-
Connect via Azure CLI: Once the Bastion is correctly configured, the Azure CLI can be used to initiate the RDP connection to VM1. This would involve commands like
az login
,az account set --subscription "<subscription ID>"
(to select the correct subscription), and then a command to establish the RDP connection through Bastion.
The exact RDP connection command via Azure CLI isn’t explicitly provided, but it’s implied as the final step in the process.
Why other options are incorrect: The discussion highlights that a basic Azure Bastion setup won’t allow a direct RDP connection using the native client. Other approaches, if presented as options, which don’t involve upgrading the Bastion SKU and enabling native client support, would be incorrect.
Note: The provided discussion and suggested answer imply a solution using Azure Bastion. Other methods to connect to a VM (e.g., using a public IP address and configuring inbound rules in the network security group) are not considered in this context. There is no explicit disagreement within the discussion itself, but the implication is that using the basic SKU of Azure Bastion is insufficient for this task.
** View Question You have an Azure subscription that contains the resources shown in the following table. You need to assign User1 the Storage File Data SMB Share Contributor role for share1. What should you do first?
A. Enable identity-based data access for the file shares in storage1.
B. Modify the security profile for the file shares in storage1.
C. Select Default to Azure Active Directory authorization in the Azure portal for storage1.
D. Configure Access control (IAM) for share1.
**
** D. Configure Access control (IAM) for share1.
To assign User1 the Storage File Data SMB Share Contributor role for share1, you must first configure the Access Control (IAM) for that specific share. IAM allows you to manage access to Azure resources, including file shares. Assigning the role directly through IAM is the primary method for granting granular permissions to specific users on a file share.
WHY OTHER OPTIONS ARE INCORRECT:
- A. Enable identity-based data access for the file shares in storage1: While identity-based data access is important for certain scenarios, it’s not the first step. Enabling identity-based authentication is a broader account-level setting that may be necessary before assigning permissions via IAM but configuring IAM is the direct action required. The discussion highlights disagreement on this point, with some arguing for Option A.
- B. Modify the security profile for the file shares in storage1: Modifying the security profile is a broader, less precise method than directly managing roles and permissions using IAM. IAM provides granular control over individual user access.
- C. Select Default to Azure Active Directory authorization in the Azure portal for storage1: This sets a default authorization at the storage account level, not for specific file shares within it. It’s a global setting, not the necessary first step for assigning specific roles to a user on a specific share.
NOTE: The discussion section shows some disagreement on the correct answer, with a strong argument made for option A. The answer provided above reflects the suggested answer and a more common approach to managing access control in Azure. The provided context does not definitively resolve this discrepancy.
View Question You have an Azure subscription named Subscription1. You have 5 TB of data that you need to transfer to Subscription1. You plan to use an Azure Import/Export job. What can you use as the destination of the imported data?
A. an Azure Cosmos DB database
B. Azure Blob Storage
C. Azure SQL Database
D. the Azure File Sync Storage Sync Service
The correct answer is B. Azure Blob Storage. Azure Import/Export service is designed to transfer large amounts of data to Azure Blob storage. The service uses physical disks shipped to and from Microsoft to facilitate this transfer. Other options are not suitable because they don’t directly support importing data via the Azure Import/Export service.
A, C, and D are incorrect because Azure Import/Export jobs specifically use Azure Blob storage as a destination. While data might eventually end up in Cosmos DB, SQL Database, or File Sync, it wouldn’t be the direct destination of the Import/Export job. The data would first need to be imported into Blob storage and then subsequently moved to these other services.
** View Question You have an Azure subscription named Subscription1. You have 5 TB of data that you need to transfer to Subscription1. You plan to use an Azure Import/Export job. What can you use as the destination of the imported data?
A. Azure Data Lake Store
B. Azure File Storage
C. Azure SQL Database
D. the Azure File Sync Storage Sync Service
**
** B. Azure File Storage
Azure Import/Export service is designed to transfer large amounts of data to Azure Blob storage or Azure Files. Azure Files is a file-sharing service in the cloud that provides fully managed file shares accessible via the standard SMB protocol. Therefore, Azure File Storage is the correct destination for data imported via the Azure Import/Export job.
Why other options are incorrect:
- A. Azure Data Lake Store: While Azure Data Lake Store can handle large datasets, it’s not a direct destination for Azure Import/Export jobs. Import/Export primarily targets blob storage and file shares.
- C. Azure SQL Database: Azure SQL Database is a relational database service; it’s not designed for directly importing large datasets via the Import/Export service. Data would need to be processed and loaded differently.
- D. the Azure File Sync Storage Sync Service: This service synchronizes files between on-premises servers and Azure File Storage. It’s not the direct destination for an Azure Import/Export job.
Note: The discussion highlights that this is a frequently repeated question on the exam. The high number of comments and upvotes indicate that many test-takers find this question important and challenging.
View Question You have an Azure subscription that contains a storage account named storage1. You plan to use conditions when assigning role-based access control (RBAC) roles to storage1. Which storage1 services support conditions when assigning roles?
A. containers only
B. file shares only
C. tables only
D. queues only
E. containers and queues only
F. files shares and tables only
E. containers and queues only
Explanation: Based on the provided text, containers (blob storage) and queues are the storage services that support conditions when assigning RBAC roles in Azure. The discussion highlights this as the correct answer.
Why other options are incorrect: Options A, B, C, D, and F are incorrect because they either only list one service that doesn’t support conditions or list a combination that includes a service that doesn’t. The discussion specifically points to containers and queues as the only services supporting conditions.
Note: The discussion shows some users found the AZ-104 exam challenging, but this doesn’t impact the technical answer to the question about RBAC conditions and Azure storage.
View Question You plan to deploy several Azure virtual machines that will run Windows Server 2019 in a virtual machine scale set by using an Azure Resource Manager template. You need to ensure that NGINX is available on all the virtual machines after they are deployed. What should you use?
A. the Publish-AzVMDscConfiguration cmdlet
B. Azure Application Insights
C. a Desired State Configuration (DSC) extension
D. Azure AD Application Proxy
C. a Desired State Configuration (DSC) extension
A Desired State Configuration (DSC) extension is the best approach to ensure NGINX is consistently installed and configured across all VMs within an Azure virtual machine scale set. DSC allows you to define the desired state (in this case, NGINX being installed and running) and the extension will automatically manage the VMs to achieve that state.
Why other options are incorrect:
- A. the Publish-AzVMDscConfiguration cmdlet: This cmdlet is used to generate a DSC configuration file, but it doesn’t automatically deploy or manage the configuration on the VMs. It’s a step in the process, but not the solution itself.
- B. Azure Application Insights: This is a monitoring service, not a configuration management tool. It would help you monitor the health of NGINX after deployment, but it won’t install or configure it.
- D. Azure AD Application Proxy: This service enables external access to on-premises applications, completely unrelated to installing software on VMs.
Note: The discussion mentions that Azure Custom Script Extension is also a viable option. While true, given the options provided in the question, the DSC extension is the more accurate and directly applicable answer. The discussion highlights a potential discrepancy or ambiguity in the original question’s context.
View Question
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.
The correct answer is B. Assign User1 the Access Administrator role for VNet1.
The Access Administrator role provides the necessary permissions to assign roles at the resource level. Specifically, it grants the “Microsoft.Authorization/roleAssignments/write” permission, allowing User1 to add and remove role assignments for VNet1, including assigning the Reader role to other users. This is a least privilege approach, granting only the required permissions.
Why other options are incorrect:
- A. Remove User1 from the Security Reader role for Subscription1. Assign User1 the Contributor role for RG1: Removing the Security Reader role doesn’t grant the ability to assign roles. The Contributor role at the Resource Group level allows management of resources within RG1, but not the assignment of roles at the VNet1 level.
- C. Remove User1 from the Security Reader and Reader roles for Subscription1. Assign User1 the Contributor role for Subscription1: Removing the existing roles is unnecessary and reduces User1’s access. Assigning the Contributor role at the subscription level grants excessive permissions beyond what’s needed.
- D. Assign User1 the Network Contributor role for RG1: The Network Contributor role allows management of network resources (subnets, load balancers, etc.), but it doesn’t grant permissions to assign roles.
Note: While the discussion suggests option B is the correct answer, there is a minor disagreement on whether it should be “User” Access Administrator or simply Access Administrator. The provided answer reflects the most widely accepted interpretation from the discussion.
View Question You have five Azure virtual machines that run Windows Server 2016. The virtual machines are configured as web servers. You have an Azure load balancer named LB1 that provides load balancing services for the virtual machines. You need to ensure that visitors are serviced by the same web server for each request. What should you configure?
A. Floating IP (direct server return) to Enabled
B. Session persistence to Client IP
C. Protocol to UDP
D. Idle Time-out (minutes) to 20
The correct answer is B. Session persistence to Client IP.
Session persistence, specifically using the client IP address, ensures that requests from the same client are always directed to the same server. This is crucial for maintaining session state, such as shopping carts or user logins, across multiple requests. Other load balancing methods might distribute requests across different servers, leading to session inconsistencies.
Why other options are incorrect:
- A. Floating IP (direct server return) to Enabled: While floating IPs allow for server failover, they don’t inherently guarantee that a client will always be directed to the same server.
- C. Protocol to UDP: Changing the protocol to UDP is irrelevant to maintaining session consistency. UDP is a connectionless protocol, unsuitable for applications requiring persistent connections and state management.
- D. Idle Time-out (minutes) to 20: This setting manages the duration a connection remains active before being terminated by the load balancer. It doesn’t address the core issue of consistently routing requests from the same client to the same server.
Note: The discussion section reveals that this question appears frequently in practice exams, leading to many comments expressing frustration and familiarity with it. There is no disagreement on the correct answer within the provided text.
View Question
You have three Azure subscriptions named Sub1, Sub2, and Sub3 that are linked to an Azure AD tenant. The tenant contains a user named User1, a security group named Group1, and a management group named MG1. User1 is a member of Group1. Sub1 and Sub2 are members of MG1. Sub1 contains a resource group named RG1. RG1 contains five Azure functions. You create the following role assignments for MG1:
• Group1: Reader
• User1: User Access Administrator
You assign User1 the Virtual Machine Contributor role for Sub1 and Sub2. Can User1 perform the following actions? (Yes/No/Not Applicable)
- Read data from Azure functions in RG1 in Sub1.
- Create a new Azure function in RG1 in Sub1.
- Create a new virtual machine in Sub3.
YNY
- Read data from Azure functions in RG1 in Sub1 (YES): User1 is a member of Group1, which has the Reader role assigned at the MG1 level. Sub1 is within MG1, and RG1 (containing the Azure functions) is within Sub1. The Reader role allows read access, so User1 can read data from the Azure functions. Additionally, User1 has the Virtual Machine Contributor role at the subscription level for Sub1, which grants broader permissions including read access.
- Create a new Azure function in RG1 in Sub1 (NO): While User1 has the Virtual Machine Contributor role for Sub1, this role does not grant permission to create Azure Functions. The Reader role assigned at the MG1 level for Group1 only allows read access. Creating a new resource requires at least Contributor role permissions at the resource group or subscription level.
- Create a new virtual machine in Sub3 (NO): User1 only has Virtual Machine Contributor role assigned to Sub1 and Sub2. Sub3 is not included in this assignment, so User1 does not have the necessary permissions to create a virtual machine in Sub3. The User Access Administrator role assigned at the management group level is not sufficient for this action.
Note: The provided discussion shows a user suggesting a different answer (YYN). This highlights a potential area of ambiguity or differing interpretations of the role-based access control (RBAC) model in Azure. The above answer provides a reasoned explanation based on the standard understanding of Azure RBAC roles.
You have an Azure subscription that contains the resource groups shown in the following table.
(Image shows a table of Resource Groups, Locations, and Subscriptions)
The subscription contains the virtual networks shown in the following table.
(Image shows a table of Virtual Networks, Addresses, Locations, and Resource Groups)
You plan to deploy the Azure Kubernetes Service (AKS) clusters shown in the following table.
(Image shows a table of AKS Clusters, Locations, Resource Groups, and Network Plugins)
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
(Image shows three statements:
1. You can deploy AKS cluster1.
2. You can deploy AKS cluster2.
3. You can deploy AKS cluster3.)
**
** N Y Y
- Statement 1 (AKS cluster1): No. AKS cluster1 is planned for the East US location, but the only available VNet in that location (VNet1) is in the RG1 resource group, which is a different resource group than the planned one for AKS cluster1. AKS requires the VNet and the AKS cluster to be in the same Resource Group, unless a different network configuration is used that is not stated in the question.
- Statement 2 (AKS cluster2): Yes. AKS cluster2 is planned to use Azure CNI and is in the same location (West US) as VNet2, and its associated resource group (RG2). The provided information does not indicate any pod number limitations.
- Statement 3 (AKS cluster3): Yes. AKS cluster3 is planned to use kubenet and an existing VNet (VNet3). The documentation referenced in the discussion confirms that AKS supports using an existing VNet and route table with kubenet.
Why other options are incorrect: The answer derives directly from the constraints of AKS deployments as documented in Microsoft’s learning materials. Incorrect selections fail to satisfy the location and resource group matching requirements for AKS deployments with the specified network plugins (kubenet and Azure CNI). The discussion itself highlights the importance of location and resource group matching for successful AKS deployments. Note that there is some discussion on user-assigned vs. system-assigned control plane identities, but this is not relevant to answering the provided yes/no questions.
HOTSPOT
You have an Azure subscription. You plan to deploy a new storage account. You need to configure encryption for the account. The solution must meet the following requirements:
• Use a customer-managed key stored in a key vault.
• Use the maximum supported bit length.
Which type of key and which bit length should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
(Image shows a selection box for “Key type” and “Bit Length”)
(Image shows the suggested answer: Key type = RSA, Bit Length = 4096)
**
** The correct answer is Key type: RSA, Bit length: 4096. The provided Microsoft documentation and the majority of the discussion participants support this answer. RSA 4096-bit is the maximum supported bit length for customer-managed keys used for Azure Storage encryption.
Why other options are incorrect: The discussion shows some conflicting answers (e.g., 4069, 4098), but these are outliers and contradicted by the majority opinion and the suggested answer. Other key types might be supported for other encryption scenarios, but the question specifically states to use a customer-managed key in a key vault, for which RSA 4096 is the accepted maximum bit length.
Note: There is some disagreement amongst users regarding the exact bit length, with some suggesting 4069 and 4098. However, the consensus, supported by the suggested answer and several highly voted comments, points to 4096 as the correct bit length.
You have an Azure subscription. You need to deploy a virtual machine by using an Azure Resource Manager (ARM) template. How should you complete the template? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
(The image shows a partially completed ARM template JSON snippet with blanks for “dependsOn” and “storageProfile” properties within the “virtualMachines” section.)
(The image shows the suggested answer which fills in the blanks with "dependsOn": "[resourceId('Microsoft.Network/networkInterfaces', 'myNic')]",
and "imageReference": { "publisher": "MicrosoftWindowsServer", "offer": "WindowsServer", "sku": "2019-datacenter", "version": "latest" }
. Note the typo in the first image’s suggested answer: “resoureceID” should be “resourceId”)
**
** The correct answer requires completing the ARM template’s dependsOn
and storageProfile
properties for the virtual machine.
-
dependsOn: This property specifies that the virtual machine’s creation depends on the successful creation of a Network Interface, in this case,
myNic
. The value should be"[resourceId('Microsoft.Network/networkInterfaces', 'myNic')]"
. This ensures the network is ready before the VM is deployed, preventing deployment failures. -
storageProfile: This property defines the storage configuration of the VM. It uses
imageReference
to specify the OS image. The provided example uses a Windows Server 2019 image from the Microsoft gallery:"publisher": "MicrosoftWindowsServer", "offer": "WindowsServer", "sku": "2019-datacenter", "version": "latest"
.
Therefore, the complete virtualMachines
section should look like the solution shown in image677.png
.
Why other options are incorrect: There are no other options explicitly provided in the question. The discussion shows a consensus among users that the provided suggested answer is correct. However, any other configuration that did not define the dependencies correctly or did not specify a valid image would be incorrect. Note that the dependsOn
value must correctly reference the resource ID of the network interface and not a placeholder, such as “resoureceID” as shown in the initial image.
Note: While there’s a general agreement among the discussion participants, the lack of alternative options makes definitive assessment of incorrect options challenging. The answer focuses on the key concepts based on the provided information.
Based on the provided images showing Azure alerts, use the drop-down menus to select the answer choice that completes each statement. NOTE: Each correct selection is worth one point. The images show a hotspot question with two dropdowns. The first dropdown shows an alert with a status of “Closed”. The second dropdown shows an alert with a status of “New”.
**
**
- Box 1 (Closed Alert): The status can be changed to either “New” or “Acknowledged”. Changing the user response from “Closed” to either “New” or “Acknowledged” reopens the alert.
- Box 2 (New Alert): The status can be changed to either “Acknowledged” or “Closed”. A “New” alert can be acknowledged or closed depending on whether immediate action is required or if the issue is resolved.
The consensus among the discussion participants is that these are the correct answers. The provided Microsoft Learn link further supports this.
Why other options are incorrect: There are no other options explicitly provided in the question or discussion to assess as incorrect. The question focuses on the possible transitions from “Closed” and “New” alert states. Any other state transitions are not covered by this particular question.
View Question HOTSPOT - You have an Azure AD tenant named adatum.com that contains the groups shown in the following table. Adatum.com contains the users shown in the following table. You assign an Azure Active Directory Premium P2 license to Group1 as shown in the following exhibit. Group2 is NOT directly assigned a license. For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.
The correct answer is YNN.
- Y: It is possible to assign additional licenses to a user individually, even if they already receive a license through group assignment. The licenses will be cumulative. This is supported by the discussion, with multiple users reporting successful testing of this scenario.
- N: You cannot remove the P2 license from User1 without removing them from Group1 or removing the license assignment from Group1. The license is inherited through group membership; removing the license at the individual level is prevented when inherited. This is corroborated by user testing in the discussion.
- N: Nested group licensing is not supported. A license assigned to a parent group does not automatically extend to child groups. This is confirmed by multiple users in the discussion.
There is some disagreement in the discussion regarding the precise behavior of license assignment, particularly around testing scenarios and specific license types. However, the consensus among the users who have performed testing supports the YNN answer.
View Question
You have an Azure subscription that has the public IP addresses shown in the following table.
You plan to deploy an Azure Bastion Basic SKU host named Bastion1. Which IP addresses can you use?
A. IP1 only
B. IP1 and IP2 only
C. IP3, IP4, and IP5 only
D. IP1, IP2, IP4, and IP5 only
E. IP1, IP2, IP3, IP4, and IP5
A. IP1 only
Explanation: Based on the provided discussion, only IP addresses that are IPv4, Static, Basic, and Regional can be used with an Azure Bastion Basic SKU. The user “eliasalg” performed tests and found that only this configuration worked. All other configurations resulted in errors. Therefore, only IP1 meets these criteria.
Why other options are incorrect:
- B, C, D, E: These options include IP addresses that are either Global, Standard, Dynamic, or IPv6, all of which were shown to be incompatible with the Azure Bastion Basic SKU based on the testing results in the discussion.
Note: The discussion shows some conflicting information and potential ambiguity around error messages. However, the testing results provided by “eliasalg” form the basis of this answer. There might be additional factors that could influence the selection based on Azure documentation which isn’t included.
View Question
You have two Azure subscriptions named Sub1 and Sub2. Sub1 contains a virtual machine named VM1 and a storage account named storage1. VM1 is associated to the resources shown in the following table.
You need to move VM1 to Sub2. Which resources should you move to Sub2?
A. VM1, Disk1, and NetInt1 only
B. VM1, Disk1, and VNet1 only
C. VM1, Disk1, and storage1 only
D. VM1, Disk1, NetInt1, and VNet1
Resource | Resource Type |
|—|—|
| Disk1 | OS Disk |
| NetInt1 | Network Interface |
| VNet1 | Virtual Network |
| storage1 | Storage Account |
D. VM1, Disk1, NetInt1, and VNet1
To successfully move a virtual machine (VM) to another Azure subscription, all its dependent resources must be moved as well. In this scenario, VM1 depends on its OS disk (Disk1), its network interface (NetInt1), and the virtual network it’s connected to (VNet1). The storage account (storage1) is not directly dependent on or associated with VM1; therefore, it does not need to be moved. Moving only some of the dependent resources will result in the VM not functioning correctly in the new subscription.
Why other options are incorrect:
- A. VM1, Disk1, and NetInt1 only: This is incorrect because it omits VNet1, which is crucial for the VM’s network connectivity.
- B. VM1, Disk1, and VNet1 only: This is incorrect because it omits NetInt1, which is the specific network interface attached to the VM.
- C. VM1, Disk1, and storage1 only: This is incorrect because it omits both NetInt1 and VNet1, which are essential for network functionality, and storage1 is not a dependent resource.
Note: The provided discussion shows consensus on the correct answer.
View Question You have five Azure virtual machines that run Windows Server 2016. The virtual machines are configured as web servers. You have an Azure load balancer named LB1 that provides load balancing services for the virtual machines. You need to ensure that visitors are serviced by the same web server for each request. What should you configure?
A. Floating IP (direct server return) to Disabled
B. Floating IP (direct server return) to Enabled
C. a health probe
D. Session persistence to Client IP
D. Session persistence to Client IP
Explanation: To ensure that visitors are serviced by the same web server for each request, you need to configure session persistence. Session persistence (specifically, Client IP persistence in this context) on the Azure Load Balancer (LB1) will maintain the connection to the same backend server for a given client’s IP address throughout the session. This ensures that a client always connects to the same web server.
Why other options are incorrect:
- A. Floating IP (direct server return) to Disabled: Disabling direct server return doesn’t guarantee session persistence. Direct server return is a different feature related to source IP address preservation, not session stickiness.
- B. Floating IP (direct server return) to Enabled: Enabling direct server return also doesn’t directly ensure that a client always goes to the same server. While it preserves the source IP, it doesn’t inherently tie a client’s session to a specific server.
- C. a health probe: Health probes ensure that only healthy virtual machines receive traffic. It doesn’t influence session persistence or which server a client connects to.
Note: The discussion section shows a high degree of familiarity and even humorous commentary from multiple users regarding this question, suggesting it may be a frequently seen or particularly memorable question from a training resource or practice exam. There is no disagreement on the correct answer, however.
View Question You have five Azure virtual machines that run Windows Server 2016. The virtual machines are configured as web servers. You have an Azure load balancer named LB1 that provides load balancing services for the virtual machines. You need to ensure that visitors are serviced by the same web server for each request. What should you configure?
A. Floating IP (direct server return) to Enabled
B. Idle Time-out (minutes) to 20
C. a health probe
D. Session persistence to Client IP
The correct answer is D. Session persistence to Client IP.
Session persistence, specifically using the client IP address, ensures that requests from the same client IP address are always directed to the same backend server (web server in this case). This maintains the user’s session across multiple requests, preventing the user from being redirected to a different server each time they make a request. This is crucial for maintaining stateful applications where the server needs to remember the user’s context.
Why other options are incorrect:
- A. Floating IP (direct server return) to Enabled: Floating IPs provide a single IP address for multiple servers, but it doesn’t inherently guarantee that a client will always connect to the same server.
- B. Idle Time-out (minutes) to 20: Idle timeout manages the duration a connection remains open before being closed. It doesn’t address the need to route requests from the same client to the same server.
- C. a health probe: Health probes check the availability of backend servers, ensuring that the load balancer only directs traffic to healthy servers. It is important for high availability but does not address session persistence.
Note: The discussion section shows a strong consensus among users that the correct answer is D. However, there is some initial uncertainty and humorous commentary in the discussion.
View Question
HOTSPOT -
You have an Azure subscription that has offices in the East US and West US Azure regions.
You plan to create the storage account shown in the following exhibit.
Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
To minimize network cost, select “Default routing tier to Internet Routing”. After creation, you can modify the “Encryption type”.
The provided suggested answer image (Image) supports this. The image shows Internet routing as the optimal choice for minimizing network costs, and Encryption type as modifiable after account creation.
There is a disagreement in the discussion regarding the modifiability of the routing tier after account creation. MichaelMelb states it can be modified, while ozansenturk (citing ChatGPT) contends it cannot be changed after creating a Premium File Share. The provided suggested answer aligns with MichaelMelb’s assertion. Further research may be needed to definitively resolve this conflicting information.
View Question You have an Azure subscription that contains a Recovery Services vault named Vault1. You need to enable multi-user authorization (MAU) for Vault1. Which resource should you create first?
A. an administrative unit
B. a managed identity
C. a resource guard
D. a custom Azure role
C. a resource guard
Explanation: Based on the provided discussion and link to Microsoft Learn documentation, enabling multi-user authorization (MUA) for a Recovery Services vault requires creating a Resource Guard first. The Microsoft Learn documentation explicitly lists “Create a Resource Guard” as a step before enabling MUA. A Resource Guard provides an additional layer of authorization to protect critical resources like Recovery Services Vaults from unauthorized modifications. Therefore, it is the prerequisite resource to be created before enabling MUA.
Why other options are incorrect:
- A. an administrative unit: Administrative units are used for organizational management within Azure Active Directory, not directly related to enabling MUA on a Recovery Services vault.
- B. a managed identity: Managed identities are used for service principals to access other Azure resources, not directly involved in the initial setup of MUA.
- D. a custom Azure role: While custom Azure roles can be used after MUA is enabled to fine-tune permissions, they are not the initial resource required to enable the feature itself.
Note: The discussion shows a consensus among users that the correct answer is C. There is no conflicting opinion presented.