Microsoft AZ-140 Practice Test Questions and Exam Dumps Part 6 Q101-120

View Full Microsoft AZ-140 Exam Dumps and Practice Test Dumps

 

Q101. Which feature can automatically start a session host when a user attempts to connect to Azure Virtual Desktop?

1) Start VM on Connect
2) Drain mode
3) RemoteApp publishing
4) RDP Shortpath

Correct Answer: 1)

Explanation:

Start VM on Connect can help reduce the need to keep every Azure Virtual Desktop session host running continuously. When configured for an appropriate scenario, a user’s connection attempt can trigger the startup of an available virtual machine that is stopped or deallocated. This can help reduce compute costs during periods of low demand while still allowing users to access their desktops when needed. Administrators should consider startup time and capacity requirements when using this capability. It is particularly useful for environments where session hosts do not need to remain running continuously. Proper permissions and configuration are required for the feature to operate successfully.

Q102. Which Azure Virtual Desktop feature is useful for reducing compute costs when session hosts are idle outside normal working hours?

1) Application groups
2) Autoscale
3) Workspaces
4) FSLogix

Correct Answer: 2)

Explanation:

Autoscale can reduce Azure Virtual Desktop compute costs by dynamically adjusting the number of running session hosts according to demand. During periods of low activity, suitable session hosts can be shut down or deallocated, reducing the amount of compute capacity that remains active. During expected periods of higher demand, hosts can be started in advance so users have sufficient capacity. Administrators should configure scaling schedules and capacity thresholds carefully to balance cost savings with user experience. Autoscale does not replace host pools, application groups, or workspaces. Instead, it manages the underlying session host capacity so that resources better match actual usage patterns.

Q103. Which Azure Virtual Desktop component contains the virtual machines that provide desktop and application sessions?

1) Workspace
2) Application group
3) Host pool
4) Log Analytics workspace

Correct Answer: 3)

Explanation:

A host pool is a logical collection of Azure Virtual Desktop session hosts. The virtual machines within the host pool provide the actual compute environment where users’ desktop and application sessions run. Host pools can be configured as pooled or personal depending on the required user experience. Application groups are associated with host pools to publish desktops or applications, while workspaces provide users with access to those published resources. This separation allows administrators to manage infrastructure and publishing independently. Understanding the role of the host pool is essential when designing Azure Virtual Desktop because it represents the main container for the session host virtual machines.

Q104. What is the purpose of a session host in Azure Virtual Desktop?

1) It stores Azure subscription billing information
2) It provides the Windows environment where user sessions run
3) It replaces Microsoft Entra ID
4) It publishes DNS records

Correct Answer: 2)

Explanation:

A session host is a Windows virtual machine that provides the actual desktop or application session environment for Azure Virtual Desktop users. When users connect to a published desktop or RemoteApp, their session runs on an appropriate session host within a host pool. Session hosts contain the operating system, applications, policies, and configuration required by users. Administrators are responsible for maintaining these machines, including updates, security configuration, monitoring, and application management. Depending on the host pool type, session hosts may be shared among multiple users or dedicated to individual users. Their availability and performance directly affect the Azure Virtual Desktop user experience.

Q105. Which feature helps prevent new connections to a session host while it is being prepared for maintenance?

1) Drain mode
2) Automatic assignment
3) Workspace registration
4) Azure Compute Gallery

Correct Answer: 1)

Explanation:

Drain mode is used to place a session host into a state where new user sessions are not assigned to that host. This is useful when administrators need to perform maintenance, install updates, troubleshoot problems, or prepare the virtual machine for removal. Existing users can generally remain connected while administrators wait for sessions to finish or manage them according to the maintenance plan. Once maintenance is complete, the session host can be returned to normal operation. Using drain mode is safer than immediately shutting down a busy host because it provides an opportunity to move new connections elsewhere and reduce disruption to users.

Q106. Which technology can provide profile roaming for users who connect to different Azure Virtual Desktop session hosts?

1) FSLogix
2) Azure DNS
3) Azure Monitor
4) Azure Policy

Correct Answer: 1)

Explanation:

FSLogix can provide a consistent user profile experience when users connect to different Azure Virtual Desktop session hosts. User profiles can be stored in centralized profile containers and attached to the session host when the user signs in. This is particularly useful in pooled environments because users may be assigned to different virtual machines during separate sessions. Without centralized profile management, settings and application data stored locally on one session host may not be available when the user connects elsewhere. FSLogix separates profile data from the session host operating system, making it easier to manage pooled environments and replace or scale session hosts without losing user profile consistency.

Q107. Which storage service can be used to host FSLogix profile containers for Azure Virtual Desktop?

1) Azure Files
2) Azure Queue Storage
3) Azure Table Storage
4) Azure Event Hubs

Correct Answer: 1)

Explanation:

Azure Files provides managed file shares that can be used to store FSLogix profile containers for Azure Virtual Desktop users. A centralized file share allows session hosts to access the appropriate user profile regardless of which virtual machine handles the session. This is especially useful in pooled host pools where users may connect to different hosts. Administrators must configure appropriate identity and file permissions, network access, and storage performance. The file share should also be sized according to the number of users and expected profile activity. A well-designed Azure Files solution can provide a practical centralized storage layer for FSLogix-based profile management.

Q108. Which component determines which applications are published to users in an Azure Virtual Desktop RemoteApp scenario?

1) RemoteApp application group
2) Host pool registration token
3) Virtual network
4) Scaling plan

Correct Answer: 1)

Explanation:

A RemoteApp application group determines which individual applications are published to authorized users in an Azure Virtual Desktop environment. Administrators configure applications within the application group and then assign appropriate users or groups. The application group is associated with a host pool containing the session hosts where the applications are installed. The published resources can then be made available through a workspace. This architecture allows administrators to publish only the applications required by particular users rather than exposing a complete desktop. It is useful for role-based access and can simplify the user experience by presenting only the programs users need for their daily responsibilities.

Q109. What is the main difference between a desktop application group and a RemoteApp application group?

1) A desktop group publishes a full desktop, while RemoteApp publishes individual applications
2) A desktop group stores profiles, while RemoteApp stores images
3) A desktop group manages DNS, while RemoteApp manages networking
4) A desktop group creates VMs, while RemoteApp deletes them

Correct Answer: 1)

Explanation:

The primary difference is the type of resource presented to users. A desktop application group publishes a complete Windows desktop, allowing users to interact with the desktop environment and its available applications. A RemoteApp application group publishes selected applications individually, allowing users to access specific programs without receiving a full desktop session. Both application group types are associated with host pools and can be assigned to users or groups. Administrators select the appropriate type according to business requirements. Full desktop publishing is useful when users need broad desktop functionality, while RemoteApp is useful when users only require access to specific applications.

Q110. Which component provides users with a centralized list of published Azure Virtual Desktop resources?

1) Workspace
2) Session host
3) Azure Files
4) Registration token

Correct Answer: 1)

Explanation:

The Azure Virtual Desktop workspace provides users with access to published desktops and applications. Application groups are associated with a workspace, and authorized users can discover the resources through supported Azure Virtual Desktop clients. The workspace does not provide the compute capacity itself; that function belongs to the session hosts within host pools. Instead, the workspace acts as a user-facing organization and access layer. This architecture makes it possible to manage session host infrastructure separately from the resources presented to users. Administrators should ensure that application groups are correctly associated with the workspace and that the appropriate users or groups have been assigned.

Q111. Which identity service can be used to authenticate users accessing Azure Virtual Desktop resources?

1) Microsoft Entra ID
2) Azure Storage
3) Azure Monitor
4) Azure Compute Gallery

Correct Answer: 1)

Explanation:

Microsoft Entra ID provides identity and authentication capabilities for Azure Virtual Desktop users. It can be used to authenticate users and support access control through users and groups. Administrators can assign appropriate users or groups to Azure Virtual Desktop application groups so that authorized resources become available to them. Depending on the deployment architecture, additional identity services may also be required for domain-based functionality or application compatibility. Strong identity management is an important part of securing Azure Virtual Desktop because access to published desktops and applications should be limited to authorized users. Administrators should also follow organizational policies for authentication and conditional access.

Q112. An administrator wants to give a specific group access to a published RemoteApp collection. What should the administrator configure?

1) Assign the group to the RemoteApp application group
2) Add the group to Azure DNS
3) Add the group to the host pool as a VM
4) Configure RDP Shortpath

Correct Answer: 1)

Explanation:

Users and groups are assigned to application groups to control who can access published Azure Virtual Desktop resources. For a RemoteApp scenario, the administrator should assign the required security group to the appropriate RemoteApp application group. Members of that group can then access the applications published by the application group when the required workspace association and other configuration are in place. This approach provides a logical separation between infrastructure and access control. Administrators can use different application groups to provide different applications to different groups while using the same underlying host pool. Regularly reviewing group membership helps maintain appropriate access to published resources.

Q113. Which feature allows administrators to publish applications individually instead of giving users access to a complete desktop?

1) RemoteApp
2) Personal host pool
3) FSLogix
4) Autoscale

Correct Answer: 1)

Explanation:

RemoteApp allows administrators to publish individual Windows applications through Azure Virtual Desktop instead of providing users with an entire desktop. Users can launch the published applications from a supported Azure Virtual Desktop client while the application actually runs on an Azure Virtual Desktop session host. This approach can simplify access and reduce unnecessary exposure to other desktop resources. RemoteApp is implemented through a RemoteApp application group, which is associated with a host pool and assigned to authorized users or groups. It is useful when users need only a small set of business applications or when an organization wants to deliver applications without providing a full desktop environment.

Q114. Which feature can help an administrator provide a persistent desktop experience for a user?

1) Personal host pool
2) Pooled host pool
3) RemoteApp only
4) Breadth-first balancing

Correct Answer: 1)

Explanation:

A personal host pool provides users with dedicated session hosts, making it suitable for persistent desktop scenarios. The user can maintain a consistent desktop environment on the assigned virtual machine, including personalized settings and installed applications. This differs from a pooled host pool, where users can connect to different session hosts depending on capacity and load-balancing behavior. Personal desktops can be useful when applications require user-specific configuration or when users need a dedicated environment. However, dedicated resources can increase infrastructure costs because a session host may be maintained for a particular user even when that user is not actively connected.

Q115. Which host pool type is generally better suited for maximizing resource sharing among users with similar requirements?

1) Personal host pool
2) Pooled host pool
3) Single-user host pool
4) Dedicated application host pool

Correct Answer: 2)

Explanation:

A pooled host pool allows multiple users to share a collection of session hosts and is generally well suited to standardized workloads. Because users can be placed on available hosts according to the configured load-balancing method, organizations can make better use of shared compute resources. Pooled environments can also benefit from standardized images, application groups, FSLogix profile containers, and autoscale. This architecture is often more cost-efficient than providing a dedicated virtual machine for every user. Administrators should size session hosts based on expected concurrency, application resource requirements, and user behavior. Monitoring should be used to identify whether hosts have sufficient CPU, memory, and other resources.

Q116. What is the purpose of an Azure Virtual Desktop registration token?

1) To register session hosts with a host pool
2) To authenticate end users permanently
3) To store FSLogix profiles
4) To publish RemoteApp applications

Correct Answer: 1)

Explanation:

An Azure Virtual Desktop registration token is used during the process of registering a session host with a host pool. After the virtual machine has been configured with the required Azure Virtual Desktop components, the registration process uses the token to associate the session host with the intended host pool. Registration tokens are temporary credentials and have expiration characteristics, so administrators should generate and manage them carefully. The token is not the mechanism used to provide ongoing user authentication or to store profile information. Its role is specifically related to joining the session host to the appropriate Azure Virtual Desktop host pool during deployment or registration.

Q117. Why should an administrator protect an Azure Virtual Desktop registration token?

1) It can be used to register session hosts with a host pool
2) It contains the user’s profile data
3) It controls Azure subscription billing
4) It stores application binaries

Correct Answer: 1)

Explanation:

A registration token should be protected because it is used to register session hosts with an Azure Virtual Desktop host pool. If an unauthorized party obtains a valid token and can complete the required registration process, an unintended virtual machine could potentially become associated with the host pool. Administrators should therefore treat registration tokens as sensitive deployment credentials, use them only for the intended registration process, and avoid exposing them unnecessarily. Tokens should also be generated with appropriate expiration periods and replaced when necessary. Good token management reduces the risk of unauthorized session host registration and supports a more secure Azure Virtual Desktop deployment process.

Q118. Which feature should an administrator use when taking a session host out of service for operating system updates?

1) Drain mode
2) Workspace deletion
3) RemoteApp assignment
4) Automatic user assignment

Correct Answer: 1)

Explanation:

Drain mode is appropriate when a session host needs to be temporarily removed from normal service for maintenance such as operating system updates. Enabling drain mode prevents new sessions from being directed to the host while allowing administrators to manage existing connections appropriately. Once users have disconnected or their sessions have been handled according to the maintenance procedure, the administrator can perform updates and restart the virtual machine. After verifying that the session host is healthy, drain mode can be disabled so the host can accept new connections again. This controlled process helps minimize disruption and provides a safer approach to maintaining production session hosts.

Q119. Which monitoring solution can help identify high CPU or memory usage on Azure Virtual Desktop session hosts?

1) Azure Monitor
2) Azure Compute Gallery
3) Application groups
4) Registration tokens

Correct Answer: 1)

Explanation:

Azure Monitor provides capabilities for collecting and analyzing performance information from Azure resources, including virtual machines used as Azure Virtual Desktop session hosts. Administrators can use monitoring data to identify high CPU, memory, disk, or other resource utilization that may affect user sessions. Azure Virtual Desktop Insights and Log Analytics can provide additional diagnostic and analytical capabilities when configured appropriately. Monitoring helps administrators determine whether a session host is undersized, experiencing an application problem, or carrying too many concurrent workloads. Proactive monitoring can also support capacity planning and scaling decisions before users experience significant performance degradation.

Q120. An administrator wants to investigate Azure Virtual Desktop session performance across many hosts. Which solution is most appropriate?

1) Azure Virtual Desktop Insights with Azure Monitor and Log Analytics
2) Azure DNS only
3) Azure Files only
4) Azure Compute Gallery only

Correct Answer: 1)

Explanation:

Azure Virtual Desktop Insights, together with Azure Monitor and Log Analytics, provides a centralized approach to monitoring and troubleshooting Azure Virtual Desktop environments. Administrators can analyze information related to session hosts, user sessions, connection behavior, and resource utilization across multiple virtual machines. This is much more efficient than manually inspecting each session host individually. The collected information can help identify performance bottlenecks, connection problems, unhealthy hosts, and recurring operational issues. Administrators should configure the required monitoring and diagnostic data collection before relying on Insights for troubleshooting. Centralized monitoring is especially valuable as the number of session hosts and users increases.