View Full Microsoft AZ-140 Exam Dumps and Practice Test Dumps
Q61. What is required to register a session host with an Azure Virtual Desktop host pool?
1) A registration token
2) An Azure Storage account
3) A VPN gateway
4) A Microsoft 365 license
Correct Answer: 1)
Explanation:
A registration token is used during the Azure Virtual Desktop session host registration process. When a virtual machine is created and configured as a session host, the token allows the Azure Virtual Desktop agent to register that machine with the appropriate host pool. The token is generated for a specific host pool and has an expiration period, helping administrators control when new session hosts can join the pool. After successful registration, the session host appears in the Azure Virtual Desktop management interface and can accept user connections according to its configuration. Administrators should protect registration tokens because unauthorized use could allow unintended session hosts to become members of the environment.
Q62. An administrator needs to perform maintenance on an Azure Virtual Desktop session host. What should be enabled to prevent new users from connecting to it?
1) Autoscale
2) Drain mode
3) Breadth-first load balancing
4) Start VM on Connect
Correct Answer: 2)
Explanation:
Drain mode is designed to help administrators perform maintenance on Azure Virtual Desktop session hosts without allowing new user sessions to start on the selected host. When drain mode is enabled, existing sessions can generally continue operating while new connections are directed to other available session hosts. This makes drain mode useful for activities such as applying updates, troubleshooting, installing software, or restarting a virtual machine. Administrators should also consider existing disconnected sessions before performing disruptive maintenance. Using drain mode reduces the chance that users will be unexpectedly affected while allowing the administrator to gradually remove the session host from active service.
Q63. What is the primary purpose of drain mode in Azure Virtual Desktop?
1) To create additional virtual machines
2) To increase storage capacity
3) To prevent new sessions from being placed on a session host
4) To publish RemoteApp programs
Correct Answer: 3)
Explanation:
Drain mode prevents new user sessions from being assigned to a specific Azure Virtual Desktop session host. This capability is particularly useful when an administrator needs to remove a host from active service temporarily. For example, before installing operating system updates or replacing a virtual machine, the administrator can enable drain mode so that new users are directed elsewhere. Existing sessions can be allowed to finish before the host is taken offline. Drain mode therefore provides a controlled way to perform maintenance while minimizing disruption. It is different from load-balancing settings because its purpose is to temporarily exclude a particular session host from receiving new connections.
Q64. Before restarting a session host during planned maintenance, which action helps minimize disruption to users?
1) Publish another RemoteApp
2) Sign out or relocate active user sessions appropriately
3) Delete the workspace
4) Change the host pool type
Correct Answer: 2)
Explanation:
Planned maintenance should be performed carefully to avoid unexpectedly disconnecting active users. An administrator can first enable drain mode to prevent new sessions from being placed on the session host and then communicate with users or allow their existing sessions to finish. Depending on the situation, active sessions may need to be signed out before the virtual machine is restarted. This approach provides a controlled maintenance process and reduces the likelihood of lost work. Simply restarting a busy session host can terminate active connections. Proper maintenance procedures combine drain mode, session management, user communication, and appropriate scheduling to reduce operational impact.
Q65. Which technology is commonly used in Azure Virtual Desktop to provide consistent user profile management across session hosts?
1) FSLogix
2) Azure DNS
3) Azure Load Balancer
4) Azure Firewall
Correct Answer: 1)
Explanation:
FSLogix is commonly used with Azure Virtual Desktop to manage user profiles in environments where users may connect to different session hosts. FSLogix profile containers store a user’s profile in a virtual disk that can be attached when the user signs in. This allows profile data and settings to follow the user instead of remaining permanently on a particular session host. The approach is especially useful for pooled host pools, where users may connect to different virtual machines during different sessions. FSLogix can improve the consistency of the user experience and reduce the need to maintain separate local profiles across numerous session hosts.
Q66. An organization wants to store FSLogix profile containers for Azure Virtual Desktop users. Which Azure service can provide the required file storage?
1) Azure Key Vault
2) Azure Files
3) Azure Monitor
4) Azure DNS
Correct Answer: 2)
Explanation:
Azure Files can provide centralized file storage for FSLogix profile containers in an Azure Virtual Desktop environment. Administrators can create an Azure file share and configure appropriate permissions so that session hosts can access users’ profile containers. When users sign in, FSLogix can attach the relevant profile container and provide access to their profile data. Centralized storage is particularly useful in pooled environments because users may connect to different session hosts. Proper identity configuration, network connectivity, and share-level and directory-level permissions are important when implementing Azure Files for FSLogix. This design separates user profile storage from the operating system disks of individual session hosts.
Q67. Which Azure service is designed to provide highly available, high-performance file storage that can be used for demanding profile workloads?
1) Azure NetApp Files
2) Azure Queue Storage
3) Azure Table Storage
4) Azure Event Grid
Correct Answer: 1)
Explanation:
Azure NetApp Files provides highly available and high-performance file storage for workloads that require low latency and predictable performance. In Azure Virtual Desktop environments, it can be considered for demanding user profile or application file workloads where standard file storage performance may not meet requirements. Azure NetApp Files supports enterprise-grade file workloads and can provide scalable storage with multiple performance tiers. Administrators should select storage based on workload requirements, user concurrency, network design, and cost. It is not automatically required for every Azure Virtual Desktop deployment, but it can be valuable when profile or application storage requires higher performance and consistent throughput.
Q68. Which directory service can provide managed domain services for Azure Virtual Desktop scenarios without requiring administrators to deploy domain controllers themselves?
1) Azure Virtual Desktop
2) Microsoft Entra Domain Services
3) Azure Monitor
4) Azure Storage Explorer
Correct Answer: 2)
Explanation:
Microsoft Entra Domain Services provides managed domain services such as domain join, Group Policy, LDAP, and Kerberos or NTLM authentication without requiring administrators to deploy and maintain traditional domain controllers. This can be useful for Azure Virtual Desktop environments that require domain-based functionality but do not want to operate domain controllers directly in Azure. Administrators still need to configure networking, DNS, identity synchronization, and appropriate permissions. Microsoft Entra Domain Services is different from Microsoft Entra ID because it provides managed domain capabilities that support workloads expecting traditional Active Directory-compatible services. The appropriate directory architecture depends on application and organizational requirements.
Q69. What is an important requirement when joining Azure Virtual Desktop session hosts to a traditional Active Directory domain?
1) The session hosts must have access to domain controllers and correct DNS configuration
2) The session hosts must use only public IP addresses
3) The workspace must be deleted first
4) FSLogix must be disabled
Correct Answer: 1)
Explanation:
Session hosts that join a traditional Active Directory domain must be able to communicate with the domain controllers. Correct DNS configuration is especially important because domain-joined Windows computers use DNS to locate Active Directory services. The Azure Virtual Desktop virtual network should therefore provide appropriate connectivity to the domain controllers, and the session hosts should use DNS servers capable of resolving the required domain records. Network security rules must also permit necessary communication. If DNS or network connectivity is incorrectly configured, domain joining and user authentication may fail. Proper network planning is therefore an essential part of deploying domain-joined Azure Virtual Desktop session hosts.
Q70. Why is DNS configuration important for Azure Virtual Desktop session hosts?
1) It controls the desktop wallpaper
2) It allows session hosts to resolve required domain and service endpoints
3) It creates application groups automatically
4) It determines the host pool type
Correct Answer: 2)
Explanation:
DNS plays an important role in Azure Virtual Desktop because session hosts must resolve names for domain services and other required resources. In domain-joined environments, DNS allows Windows session hosts to locate domain controllers and Active Directory services. Incorrect DNS settings can cause problems with domain joining, authentication, Group Policy processing, and communication with required services. Administrators should ensure that the virtual network’s DNS configuration is compatible with the organization’s identity architecture. DNS requirements vary depending on whether the environment uses traditional Active Directory Domain Services, Microsoft Entra Domain Services, or other supported identity configurations. Proper DNS resolution is therefore fundamental to reliable session host operation.
Q71. Which Azure Virtual Desktop feature can help improve the network path for RDP traffic by allowing traffic to use a more direct connection when supported?
1) RDP Shortpath
2) Azure Policy
3) Application Groups
4) FSLogix
Correct Answer: 1)
Explanation:
RDP Shortpath is an Azure Virtual Desktop networking capability designed to establish a more direct transport path for Remote Desktop Protocol traffic when the required network conditions are available. A direct path can help reduce latency and improve connection performance compared with traffic that remains on a longer relay path. RDP Shortpath can be especially useful for environments where network performance is important for interactive desktop sessions. Administrators must configure and validate the required networking and connectivity conditions before relying on the feature. It complements, rather than replaces, the normal Azure Virtual Desktop connection architecture and should be evaluated according to organizational networking and security requirements.
Q72. What is a potential benefit of using RDP Shortpath for Azure Virtual Desktop connections?
1) It automatically creates user accounts
2) It can reduce latency by providing a more direct RDP transport path
3) It replaces the host pool
4) It creates FSLogix containers
Correct Answer: 2)
Explanation:
One of the main benefits of RDP Shortpath is the potential to improve the performance of Azure Virtual Desktop sessions by establishing a more direct network path for RDP traffic. A direct connection can reduce network latency and improve responsiveness for interactive workloads such as desktop applications, multimedia, and other latency-sensitive activities. The actual benefit depends on network topology, client connectivity, firewall configuration, and whether a direct path can be established successfully. RDP Shortpath does not replace host pools, application groups, workspaces, or profile technologies. Instead, it focuses specifically on improving the transport path used for Remote Desktop traffic.
Q73. Which component is commonly used with Azure Virtual Desktop Insights to collect and analyze monitoring data?
1) Azure Storage Queue
2) Log Analytics workspace
3) Azure DNS zone
4) Azure Bastion
Correct Answer: 2)
Explanation:
A Log Analytics workspace is commonly used as the data platform for Azure Virtual Desktop monitoring and Insights. Diagnostic and monitoring data can be collected and analyzed to help administrators understand session host performance, user sessions, connection behavior, and operational issues. Azure Virtual Desktop Insights uses Azure Monitor capabilities and Log Analytics to provide visibility into the environment. Administrators can use queries and dashboards to investigate problems such as resource exhaustion, connection failures, or session performance issues. Proper configuration of monitoring and diagnostic settings is important because simply deploying session hosts does not automatically provide complete operational visibility into every aspect of the environment.
Q74. An administrator needs detailed information about Azure Virtual Desktop session performance and connection issues. Which service should be used?
1) Azure Monitor
2) Azure DNS
3) Azure Storage
4) Azure Resource Manager templates only
Correct Answer: 1)
Explanation:
Azure Monitor provides monitoring capabilities that can help administrators investigate Azure Virtual Desktop performance and operational problems. Through Azure Monitor and related Azure Virtual Desktop Insights capabilities, administrators can examine information about session hosts, user sessions, resource utilization, connection behavior, and other diagnostic information. This data can help identify issues such as excessive CPU or memory usage, failed connections, or unhealthy session hosts. Log Analytics can be used as part of the monitoring architecture for collecting and querying relevant data. Effective monitoring allows administrators to identify problems proactively rather than relying only on user reports after a service issue has already occurred.
Q75. Which Azure service provides the centralized workspace used to query and analyze logs for many Azure monitoring scenarios?
1) Azure Virtual Desktop
2) Log Analytics
3) Azure Files
4) Azure Compute Gallery
Correct Answer: 2)
Explanation:
Log Analytics provides a centralized environment for collecting, storing, and querying log data from supported Azure resources and services. In Azure Virtual Desktop deployments, it can be used with Azure Monitor and Azure Virtual Desktop Insights to analyze diagnostic information. Administrators can use queries to investigate session host behavior, connection issues, resource utilization, and other operational events. Centralized log analysis is valuable when an environment contains many session hosts because administrators can examine information across multiple resources rather than manually checking each virtual machine. Appropriate data collection and diagnostic configuration are necessary to ensure that the information required for troubleshooting is available in the workspace.
Q76. An administrator wants to take one session host out of service while allowing current users to finish their work. What should the administrator do first?
1) Enable drain mode on the session host
2) Delete the host pool
3) Remove the workspace
4) Change the workspace name
Correct Answer: 1)
Explanation:
Enabling drain mode is the appropriate first step when an administrator wants to temporarily remove a session host from receiving new user sessions. Drain mode helps ensure that new connections are directed toward other available hosts while existing users can continue working. Once active sessions have ended or been handled according to the maintenance plan, the administrator can perform updates, troubleshooting, or other maintenance tasks. This process is particularly useful for pooled host pools containing multiple session hosts. By gradually removing a host from service rather than immediately shutting it down, administrators can reduce disruption and maintain a better user experience during planned maintenance.
Q77. Which client option allows users to access Azure Virtual Desktop resources through a web browser?
1) Azure Portal
2) Azure Virtual Desktop web client
3) Azure Storage Explorer
4) Azure Resource Graph
Correct Answer: 2)
Explanation:
The Azure Virtual Desktop web client allows users to access published desktops and applications through a supported web browser without requiring a traditional locally installed Remote Desktop client. This can be useful on devices where installing client software is inconvenient or restricted. After authentication, users can access resources that have been published through application groups and made available through an appropriate workspace. The web client is one of several ways users can connect to Azure Virtual Desktop. Administrators should ensure that users have the required permissions and that the published resources are correctly configured before expecting the resources to appear in the web client.
Q78. Which Microsoft client experience can users use to access Azure Virtual Desktop resources across supported platforms?
1) Windows App
2) Azure Storage Explorer
3) Microsoft SQL Server Management Studio
4) Azure CLI
Correct Answer: 1)
Explanation:
Windows App is Microsoft’s client experience for accessing supported Windows resources and services, including Azure Virtual Desktop resources on supported platforms. It provides users with a centralized interface for connecting to published desktops and applications. The resources available to a user depend on the Azure Virtual Desktop application groups and workspace configuration as well as the user’s assigned permissions. Using a supported client can provide a richer experience than browser-based access, depending on the platform and scenario. Administrators should keep client software current and verify that the selected client supports the Azure Virtual Desktop features required by their organization.
Q79. Why is FSLogix particularly useful in a pooled Azure Virtual Desktop environment?
1) It permanently assigns every user to one VM
2) It allows user profile data to follow users between session hosts
3) It replaces the Azure Virtual Desktop workspace
4) It automatically creates host pools
Correct Answer: 2)
Explanation:
FSLogix is particularly useful in pooled Azure Virtual Desktop environments because users may connect to different session hosts during different sessions. Instead of storing the complete user profile permanently on one virtual machine, FSLogix can store profile information in a profile container located on centralized storage. When the user signs in, the container can be attached to the session, providing access to profile settings and data. This approach helps create a consistent user experience even when the user’s session is hosted on a different virtual machine. It also simplifies profile management because administrators do not need to maintain separate copies of each user’s profile on every session host.
Q80. Where can an administrator store FSLogix profile containers to provide centralized access for Azure Virtual Desktop session hosts?
1) Azure Files file share
2) Azure DNS
3) Azure Key Vault secrets only
4) Azure Application Insights
Correct Answer: 1)
Explanation:
An Azure Files file share can be used as centralized storage for FSLogix profile containers in Azure Virtual Desktop environments. Session hosts can connect to the file share and access the appropriate user profile container when users sign in. This design helps ensure that users can receive a consistent profile regardless of which pooled session host handles their connection. Administrators must configure appropriate identity permissions, network connectivity, share permissions, and NTFS-style access controls where applicable. Storage performance should also be considered because profile containers can generate significant I/O activity. Properly configured centralized profile storage is an important component of a reliable pooled Azure Virtual Desktop deployment.