View Full Microsoft AZ-140 Exam Dumps and Practice Test Dumps
Q301. Which type of Azure Virtual Desktop session host is most appropriate for users who require dedicated desktops with persistent personal settings?
1) Pooled session host
2) RemoteApp session host
3) Shared application host
4) Personal session host
Correct Answer: 4)
Explanation:
A personal host pool is designed for scenarios where each user requires a dedicated session host and a persistent desktop experience. The user can maintain personal settings, applications, and other desktop customizations across sessions. This model is useful when users need a consistent individual environment rather than sharing resources with other users. Pooled host pools are generally better when multiple users can share session hosts and the organization wants to maximize resource utilization. When planning an Azure Virtual Desktop environment, administrators should select the host pool type according to user requirements, application compatibility, persistence needs, and cost considerations.
Q302. An organization wants to run graphics-intensive applications in Azure Virtual Desktop. Which type of session host should be considered?
1) GPU-enabled virtual machine
2) Basic file server
3) Domain controller
4) Standard application group
Correct Answer: 1)
Explanation:
GPU-enabled Azure virtual machines are appropriate for Azure Virtual Desktop workloads that require accelerated graphics processing. Applications such as computer-aided design, engineering software, 3D visualization, video editing, and other graphics-intensive workloads may benefit from GPU capabilities. The administrator should select an appropriate VM size that supports the required GPU features and workload characteristics. A standard VM without suitable graphics acceleration may provide poor performance for these applications. Proper testing is also important because application requirements, concurrent users, graphical complexity, and GPU utilization can vary significantly between workloads.
Q303. What should an administrator consider when selecting the size of an Azure Virtual Desktop session host?
1) Only the user’s email address
2) User workload, applications, CPU, memory, and storage requirements
3) Only the workspace name
4) Only the application group name
Correct Answer: 2)
Explanation:
Session host sizing should be based on the actual workload that users will run. Administrators should evaluate CPU, memory, storage performance, graphics requirements, application behavior, and the expected number of concurrent users. Office productivity workloads may require fewer resources than engineering, analytics, development, or graphics-intensive applications. Proper sizing helps maintain a responsive user experience while avoiding unnecessary infrastructure costs. Organizations should test representative workloads before selecting a production VM size. Monitoring CPU, memory, disk, and session performance after deployment can also help determine whether the selected session host configuration needs to be adjusted.
Q304. An administrator wants to prevent a firewall from blocking Azure Virtual Desktop service communication. What should the administrator configure?
1) Disable all firewall rules
2) Block outbound HTTPS traffic
3) Allow required Azure Virtual Desktop service endpoints and traffic
4) Remove the session host from the host pool
Correct Answer: 3)
Explanation:
Azure Virtual Desktop session hosts need network connectivity to required Azure Virtual Desktop service endpoints. Firewalls, proxy servers, and network security controls should therefore allow the necessary outbound communication. Administrators should follow the current Microsoft endpoint and networking requirements rather than simply disabling firewall protection. Blocking required traffic can cause registration failures, connection problems, agent issues, or other service disruptions. A secure design allows only the necessary traffic while maintaining organizational security controls. When troubleshooting connectivity, administrators should verify DNS resolution, outbound HTTPS connectivity, proxy configuration, firewall rules, and the overall network path.
Q305. Which protocol can improve Azure Virtual Desktop connection performance by establishing a more direct network path when supported?
1) SMB
2) LDAP
3) HTTP
4) RDP Shortpath
Correct Answer: 4)
Explanation:
RDP Shortpath can improve Azure Virtual Desktop connection performance by establishing a more direct network path between the client and session host when the required conditions are available. It can reduce latency and improve connection quality compared with connections that rely entirely on the reverse-connectivity path. RDP Shortpath can use UDP-based transport, which may provide performance benefits for interactive remote desktop workloads. Administrators should evaluate network topology, firewall configuration, supported scenarios, and connectivity requirements when implementing it. Proper network design remains important because performance improvements depend on the actual path between clients and session hosts.
Q306. An organization wants to store FSLogix profile containers centrally for Azure Virtual Desktop users. Which Azure service is commonly used?
1) Azure Files
2) Azure DNS
3) Azure Load Balancer
4) Azure Key Vault
Correct Answer: 1)
Explanation:
Azure Files can provide centralized storage for FSLogix profile containers in Azure Virtual Desktop environments. With profile containers, user profile data can be stored separately from individual session hosts, allowing users to access their profile information when connecting to different hosts. Administrators should ensure that the storage account is properly configured for the selected authentication method and that users have the required share and file-system permissions. Storage performance and network latency should also be evaluated because profile operations occur during user logon and throughout the session. A properly designed storage solution can improve consistency and user mobility across session hosts.
Q307. Which configuration is particularly important when using Azure Files for FSLogix profile containers?
1) Changing the workspace display name
2) Removing all network security controls
3) Configuring appropriate identity-based access and permissions
4) Disabling user authentication
Correct Answer: 3)
Explanation:
FSLogix profile containers require appropriate access to the storage location. When Azure Files is used, administrators need to configure authentication and authorization correctly so users can access their own profile containers while unauthorized users cannot access other users’ data. Depending on the chosen configuration, identity-based authentication, share-level permissions, and file or directory permissions may all be relevant. Administrators should also verify DNS and network connectivity between session hosts and the storage service. Incorrect permissions can result in profile mounting failures, temporary profiles, or user logon problems. Security should therefore be considered together with storage performance and availability.
Q308. An administrator wants to deploy several session hosts with identical operating system and application configurations. What is the best approach?
1) Configure every VM manually after deployment
2) Use a standardized custom VM image
3) Assign every user to a separate workspace
4) Disable image management
Correct Answer: 2)
Explanation:
A standardized custom VM image provides a consistent starting configuration for multiple Azure Virtual Desktop session hosts. The image can contain the operating system configuration, required applications, settings, and other components needed by the organization. New session hosts can then be deployed using the standardized image instead of being configured individually. This reduces configuration drift and makes deployments more predictable. Azure Compute Gallery can also be used to manage and distribute image versions. Before broad deployment, administrators should test the image with representative users and applications to confirm compatibility, performance, and required Azure Virtual Desktop components.
Q309. What is a major advantage of using Azure Compute Gallery for Azure Virtual Desktop images?
1) It replaces Microsoft Entra ID
2) It provides user authentication
3) It manages session limits
4) It supports image versions and replication for deployment
Correct Answer: 4)
Explanation:
Azure Compute Gallery provides capabilities for managing custom virtual machine images and their versions. For Azure Virtual Desktop, administrators can maintain tested image versions and use them as the basis for consistent session host deployments. Image versioning makes it easier to introduce operating system updates, application changes, and configuration improvements while maintaining previously tested versions for controlled deployment or rollback strategies. Gallery replication can also help distribute images across supported regions. This approach provides better lifecycle management than manually configuring each session host. Organizations should establish an image testing and release process before promoting new versions to production.
Q310. Which action should be performed before deploying a newly updated Azure Virtual Desktop image broadly?
1) Test and validate the image
2) Delete all existing session hosts
3) Disable monitoring
4) Remove all application groups
Correct Answer: 1)
Explanation:
A new session host image should be tested and validated before being deployed broadly. Testing should confirm that the operating system, Azure Virtual Desktop agent, applications, security settings, policies, profiles, and required integrations work correctly. Administrators should also verify application compatibility and user experience under representative workloads. A controlled deployment can then be used to identify unexpected issues before all production session hosts are updated. Maintaining previous image versions is useful when organizations need a rollback option. A structured image lifecycle reduces configuration drift and helps prevent a faulty image from affecting a large number of users.
Q311. Which Azure Virtual Desktop feature can help optimize compute costs by adjusting session host availability according to schedules and demand?
1) Azure DNS
2) Azure Files
3) Scaling plans
4) Azure Key Vault
Correct Answer: 3)
Explanation:
Azure Virtual Desktop scaling plans help administrators manage session host availability according to expected usage patterns. A scaling plan can define periods such as ramp-up, peak, ramp-down, and off-peak periods, allowing session host capacity to better match demand. During lower-demand periods, unnecessary session hosts can be stopped or deallocated when appropriate, reducing compute consumption. During periods of increased demand, additional hosts can be available to support user sessions. Administrators should carefully configure scaling behavior based on user schedules, session patterns, workload requirements, and host pool characteristics to balance user experience with cost optimization.
Q312. An organization has predictable business hours from 8 AM to 6 PM. Which feature can help prepare session host capacity before users arrive?
1) Clipboard redirection
2) Scaling plan
3) Printer redirection
4) Application group
Correct Answer: 2)
Explanation:
A scaling plan is suitable for environments where user demand follows predictable schedules. For example, an organization with users arriving around 8 AM can configure scaling behavior so that appropriate session host capacity is available before the main user workload begins. This helps reduce delays caused by starting virtual machines only after users attempt to connect. Scaling plans can also reduce unnecessary capacity outside expected working periods. The administrator should consider session host startup time, expected concurrency, user distribution, and application workload when designing the schedule. Monitoring actual usage after deployment can help refine the scaling configuration.
Q313. Which scaling-plan period generally represents the time when user demand is expected to be highest?
1) Off-peak
2) Ramp-down
3) Peak
4) Maintenance
Correct Answer: 3)
Explanation:
The peak period represents the portion of the schedule when user demand is expected to be highest. During this period, the scaling configuration should provide enough session host capacity to support expected concurrent sessions and maintain an acceptable user experience. The exact configuration depends on host pool size, user behavior, session limits, workload intensity, and other environmental factors. Ramp-up occurs before peak usage to prepare capacity, while ramp-down generally prepares the environment for decreasing demand. Off-peak periods are intended for lower demand. Proper scheduling helps balance responsiveness with efficient resource utilization.
Q314. What is the primary purpose of the ramp-down stage in an Azure Virtual Desktop scaling schedule?
1) Increase capacity as demand decreases
2) Transition toward lower capacity as user demand decreases
3) Create a new workspace
4) Register a new application group
Correct Answer: 2)
Explanation:
The ramp-down stage is designed for periods when user demand is expected to decrease after the main workload period. Scaling behavior can gradually reduce available capacity while considering active sessions and other configured conditions. The goal is to avoid keeping unnecessary session hosts running when fewer users require the service. Administrators should ensure that scaling behavior does not disrupt active users and that appropriate session policies are configured. Ramp-down is therefore an important part of balancing user experience and cost management. Organizations should monitor real usage patterns and adjust schedules if demand does not follow the expected pattern.
Q315. Which Azure Virtual Desktop configuration can restrict users from redirecting local drives into their remote session?
1) Drive redirection RDP property
2) Workspace name
3) Host pool location
4) Image version label
Correct Answer: 1)
Explanation:
Drive redirection settings control whether local client drives can be made available inside an Azure Virtual Desktop session. Administrators may restrict this capability when organizational security requirements prohibit transferring files between local devices and remote desktops. RDP properties can be configured at the appropriate Azure Virtual Desktop scope to control supported redirection behaviors. Restricting drive redirection can reduce the risk of unauthorized data movement, although it should be considered alongside clipboard, printer, USB, and other device redirection controls. Administrators should test the resulting user experience because some legitimate workflows may depend on local resource access.
Q316. Which Azure Virtual Desktop feature can optimize Microsoft Teams audio and video performance?
1) Azure Policy
2) Teams media optimization
3) Azure DNS
4) Azure Resource Locks
Correct Answer: 2)
Explanation:
Microsoft Teams media optimization is designed to improve the experience of Teams audio and video workloads in Azure Virtual Desktop. It can reduce unnecessary processing within the remote session by optimizing how supported media streams are handled. This is particularly important because real-time audio and video are sensitive to latency, bandwidth, and resource utilization. Administrators should ensure that the required client and session host components are supported and correctly configured. Testing should include calls, meetings, audio devices, cameras, and network conditions that reflect actual user scenarios. Proper optimization can improve responsiveness and reduce unnecessary resource consumption.
Q317. An administrator needs to troubleshoot widespread Azure Virtual Desktop connection failures affecting many users. What should be investigated first?
1) One user’s desktop wallpaper
2) The name of an application group
3) Network connectivity, service health, and authentication dependencies
4) A single user’s profile picture
Correct Answer: 3)
Explanation:
When many users experience connection failures simultaneously, the administrator should investigate shared dependencies rather than starting with individual user settings. Important areas include Azure Virtual Desktop service health, network connectivity, DNS resolution, firewall or proxy configuration, authentication services, and session host availability. Azure Virtual Desktop monitoring and connection diagnostics can help identify whether the issue affects a particular host pool, region, network path, or broader service dependency. Looking for common failure patterns is more efficient than troubleshooting every user separately. Once the affected scope is identified, administrators can focus on the specific infrastructure or service component responsible.
Q318. Which Azure Virtual Desktop monitoring solution provides workbooks and visual insights into sessions, connections, and host performance?
1) Azure Virtual Desktop Insights
2) Azure Files
3) Azure DNS
4) Microsoft Entra Domain Services
Correct Answer: 1)
Explanation:
Azure Virtual Desktop Insights provides monitoring and diagnostic capabilities designed specifically for Azure Virtual Desktop environments. It can help administrators analyze session host performance, user sessions, connection behavior, and other operational information. The solution integrates with Azure Monitor and Log Analytics to provide access to collected monitoring data and diagnostic information. Administrators can use these insights to identify performance bottlenecks, connection issues, resource pressure, and recurring operational problems. Monitoring should be configured proactively rather than only after an outage occurs. Appropriate data collection and permissions are also necessary for administrators to obtain useful diagnostic information.
Q319. Which Azure service stores and analyzes logs used by Azure Virtual Desktop monitoring solutions such as Insights?
1) Azure Virtual Network
2) Azure Load Balancer
3) Azure Compute Gallery
4) Log Analytics workspace
Correct Answer: 4)
Explanation:
A Log Analytics workspace provides a centralized location for collecting and analyzing supported Azure monitoring and diagnostic data. Azure Virtual Desktop Insights can use Log Analytics to store relevant monitoring information, allowing administrators to investigate session performance, connection behavior, errors, and other operational events. Centralized log storage makes it easier to identify trends and correlate events across multiple session hosts. Administrators can also use queries to investigate specific problems when sufficient data has been collected. Correct diagnostic settings, workspace configuration, permissions, and retention requirements should be considered when designing monitoring for a production Azure Virtual Desktop environment.
Q320. Which Azure role assignment approach follows the principle of least privilege for Azure Virtual Desktop administration?
1) Give every administrator Owner access to the entire subscription
2) Give all users Contributor access
3) Assign only the required Azure Virtual Desktop RBAC roles at the appropriate scope
4) Disable role-based access control
Correct Answer: 3)
Explanation:
The principle of least privilege means administrators should receive only the permissions required to perform their assigned responsibilities. In Azure Virtual Desktop, Azure role-based access control can be used to separate administrative responsibilities and limit access to appropriate resources or scopes. Instead of giving every administrator broad Owner or Contributor permissions across an entire subscription, organizations should assign the appropriate built-in or custom roles based on the tasks each administrator performs. This approach reduces the potential impact of accidental or unauthorized changes. Regularly reviewing role assignments also helps ensure that users do not retain unnecessary permissions as responsibilities change.