Microsoft certification · Exam AZ-140

AZ-140 Mock Exam

Configuring and Operating Microsoft Azure Virtual Desktop

Free AZ-140 questions on Topic 2, Litware, Inc, each with the answer and an explanation.

20 questions · 30 minutes · free, no sign-up

Topic 2, Litware, Inc questions

1–3 of 3 free
Question 1 Choose 2
You need to implement network security to meet the security requirements and the performance requirements.

Which two actions should you perform? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.
Show answerHide answer

Correct answer: A, B Deploy two Azure Firewall instances and Azure Firewall Manager.Filter traffic by using outbound rules.

Explanation

Explanation:
This question tests your ability to design a secure and performant network architecture for Azure Virtual Desktop (AVD) that meets specific, unstated requirements. The correct solution must satisfy likely high-level requirements: centralized egress/outbound filtering for security and high availability/scalability for performance. Azure Firewall is the strategic service for this.

Correct Options:

A. Deploy two Azure Firewall instances and Azure Firewall Manager.
This action ensures high availability and scalability, meeting performance requirements. Two instances provide an active/active or active/passive failover configuration. Azure Firewall Manager enables centralized security policy management across the deployment.

B. Filter traffic by using outbound rules.
This action meets security requirements for controlling AVD session host egress traffic. AVD requires filtering outbound traffic to the internet, Microsoft 365 endpoints, and AVD services. Implementing outbound rules on Azure Firewall is the primary security control for session hosts.

Incorrect Options:


C. Filter traffic by using infrastructure rules.
"Infrastructure rules" is not a standard Azure Firewall rule type. Azure Firewall uses Network, Application, and NAT rule collections.

D. Filter traffic by using inbound rules.
Inbound rules filter traffic to the session hosts. For AVD, the primary security focus is on controlling outbound traffic from the hosts. Inbound RDP/3389 is generally blocked; user connectivity is established via the AVD gateway service.

E. Deploy a network security group (NSG) and two application security groups.
While NSGs are used for subnet/network interface-level filtering, they are not a centralized solution for outbound internet filtering at scale and do not provide the same application-level inspection as Azure Firewall. This does not meet the strategic requirement.

F. Deploy an Azure Firewall instance and Azure Firewall Manager.
This provides central management but only a single instance, which creates a single point of failure and may not meet performance/scalability requirements for a production environment, unlike the two-instance solution in option A.

Reference:
Microsoft Docs: Azure Firewall architecture for Azure Virtual Desktop - Details the recommended hub-spoke architecture using Azure Firewall for outbound filtering.
Question 2 Choose 1
You need to ensure the resiliency of the user profiles for the Boston office users. The solution must meet the user performance requirements.

What should you do?
Show answerHide answer

Correct answer: D Configure Cloud Cache.

Explanation

Explanation:
This question tests your ability to ensure FSLogix profile resiliency (high availability) while maintaining user performance. For a specific office (Boston), the solution must handle potential storage account outages without impacting user logon experience. The key requirement is resiliency of the profiles, not just storage redundancy.

Correct Option:

D. Configure Cloud Cache.
This is the correct answer. FSLogix Cloud Cache allows you to configure multiple profile storage locations (e.g., two different storage accounts). It writes profile data to all locations simultaneously. If the primary location fails, it automatically fails over to a secondary, providing resiliency and high availability with minimal performance impact, as the failover is seamless to the user.

Incorrect Options:

A. Modify the Account kind setting of storage1.
Changing the account kind (e.g., from Standard to Premium) might affect performance or cost but does not add resiliency against a complete storage account outage. It addresses performance tier, not high availability.

B. Modify the replication settings of storage1.
Changing replication (e.g., from LRS to GRS/ZRS) increases data durability and protects against a regional datacenter failure. However, in the event of a storage account outage, the failover to the secondary region is not automatic or instantaneous for FSLogix, potentially causing user disruption. It does not provide the immediate, transparent failover that Cloud Cache does.

C. Implement Azure Site Recovery.
ASR is a disaster recovery solution for replicating entire VMs and applications. It is overkill and inappropriate for replicating user profile data stored in a separate storage account. It would not provide the required profile-level resiliency for FSLogix.

Reference:
Microsoft Docs: Configure Cloud Cache for high availability - Explains how Cloud Cache provides profile redundancy and automatic failover using multiple profile containers.
Question 3 Choose 2
Which two roles should you assign to Admin2 to meet the security requirements? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.
Show answerHide answer

Correct answer: B, C Desktop Virtualization Application Group ContributorDesktop Virtualization Workspace Contributor

Explanation

Explanation:
This question assesses your understanding of the principle of least privilege and Azure Virtual Desktop (AVD)-specific RBAC roles. To meet security requirements, Admin2 must be granted the minimum permissions necessary to manage their assigned resources—likely application groups and a workspace—without having broader control over host pools or subscription-wide access.

Correct Options:

B. Desktop Virtualization Application Group Contributor:
This role grants Admin2 the ability to create, manage, and delete application groups and the applications within them. This is essential for an admin responsible for publishing and maintaining applications for end-users, fulfilling one part of the operational requirement.

C. Desktop Virtualization Workspace Contributor:
This role allows Admin2 to register and manage workspaces. A workspace is the logical container that aggregates application groups for user access. Assigning this role enables Admin2 to associate the application groups with the correct workspace, making them available in the user feed.

Incorrect Options:

A. Desktop Virtualization Host Pool Contributor:
This role grants permissions to manage host pools (including session hosts). This is a more powerful role than needed if Admin2 is only responsible for application groups and workspaces. Assigning it would violate the principle of least privilege.

D. Desktop Virtualization Application Group Reader:
This is a read-only role. It does not allow Admin2 to create or modify application groups, which is likely a core part of their administrative duties.

E. User Access Administrator:
This is a high-privilege subscription-level role that allows managing RBAC assignments for all Azure resources. This is excessive and dangerous for a resource-specific admin, as it bypasses all other security controls.

Reference:
Microsoft Docs: Built-in roles for Azure Virtual Desktopp - Defines the permissions for Desktop Virtualization Application Group Contributor and Desktop Virtualization Workspace Contributor.

That's the last free question in Topic 2, Litware, Inc

You've seen the free 30% (3 of 10 questions). Full access unlocks every question and full-length AZ-140 mock exams, a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the AZ-140 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real AZ-140 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full AZ-140 mock exam
  • —questions per mock
  • —time limit
  • 106questions in the bank
  • Newmock on every attempt