πŸ”

AZ-140 β€” questions

Page 6 of 11 Β· 218 total questions.

Topic 4 Β· Question 170

You have an Azure subscription named Sub1 and a Microsoft 365 E5 subscription. The tenant contains user accounts for all internal users and users from a partner company named Fabrikam, Inc. Each internal user is assigned a Microsoft 365 E5 license. The users at Fabrikam are not assigned any licenses. Sub1 has an Azure Virtual Desktop deployment that contains a host pool named Pool1. Pool1 contains a RemoteApp named App1. You need to configure access to App1. The solution must meet the following requirements: β€’ The Fabrikam users must be licensed by using Per-user access pricing. β€’ App1 must be accessible to all the internal and Fabrikam users. β€’ Costs must be minimized. What should you do first?

  • AAdd the Fabrikam users to the application group that contains App1. (correct answer)
  • BAdd a new host pool to Sub1.
  • CAssign a Microsoft 365 F3 license to each Fabrikam user.
  • DAdd a new host pool to a new subscription.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Add the Fabrikam users to the application group that contains App1.

Topic 4 Β· Question 171

You have an Azure Virtual Desktop deployment that contains the host pools shown in the following table. You plan to use app attach. In which host pools can the session hosts use app attach?

Exhibit 1 for question 171
  • APool1 and Pool2 only (correct answer)
  • BPool1 and Pool3 only
  • CPool2 and Pool4 only
  • DPool1, Pool2, and Pool3 only
  • EPool1, Pool2, Pool3, and Pool4
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Pool1 and Pool2 only.

Topic 4 Β· Question 172

You have an Azure Virtual Desktop deployment that contains a host pool named Pool1. Pool1 contains two session hosts that are Microsoft Entra joined. You need to configure single sign-on (SSO) to connect to the session hosts. The solution must enable Microsoft Entra authentication for Remote Desktop Protocol (RDP) in the Microsoft Entra tenant. Which application requires that you modify the remoteDesktopSecurityConfiguration object?

  • AWindows Cloud Login (correct answer)
  • BMicrosoft Azure Windows Virtual Machine Sign-in
  • CWindows 365
  • DAzure Virtual Desktop
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Windows Cloud Login.

Topic 4 Β· Question 173

You have a Microsoft Entra hybrid tenant that contains the users shown in the following table. You deploy Microsoft Entra joined Azure Virtual Desktop session hosts. Which users support the use of FSLogix application rule sets?

Exhibit 1 for question 173
  • AUser1 only
  • BUser2 only (correct answer)
  • CUser1 and User2 only.
  • DUser1 and User3 only
  • EUser1, User2, and User3
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: User2 only.

Topic 4 Β· Question 175

You have an Azure subscription that contains an Azure Virtual Desktop host pool. The host pool uses FSLogix profile containers. You need to create a configuration file to prevent specific folders from syncing to the FSLogix profile containers when a user signs out. How should you name the file?

  • Aprofile.xml
  • Bredirections.xml (correct answer)
  • Cfslogix.config
  • Dfolders.json
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: redirections.xml.

Topic 4 Β· Question 176

Your network contains an Active Directory Domain Services (AD DS) domain named corp.contoso.com. You have a Microsoft Entra tenant that syncs with corp.contoso.com. You plan to deploy Azure Virtual Desktop. You need to recommend a user profile management solution. The solution must meet the following requirements: β€’ Support server operating system SKUs. β€’ Enable the roaming of user settings and data. β€’ Support cloud-based storage for user profiles. β€’ Support Microsoft OneDrive for Business in pooled host pools. What should you include in the recommendation?

  • AOneDrive cloud files
  • BEnterprise State Roaming
  • CFSLogix profile containers (correct answer)
  • Duser profile disks
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: FSLogix profile containers.

Topic 4 Β· Question 177

You have an Azure Virtual Desktop deployment. You need to implement FSLogix to host user profiles in an Azure Storage account by using Azure file shares. The solution must meet the following requirements: β€’ Access to a session host must be allowed only if the user profile is available from the storage account. β€’ Local profiles must NOT be created on the session hosts. Which FSLogix registry setting should you use?

  • ANoProfileContainingFolder
  • BPreventLoginWithFailure (correct answer)
  • CProfileType
  • DDeleteLocalProfileWhenVHDShouldApply
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: PreventLoginWithFailure.

Topic 4 Β· Question 178

You have an Azure subscription and an Azure Virtual Desktop deployment. The subscription contains the storage locations shown in the following table. You plan to use app attach to deploy an image named App1.vhdx. You need to copy App1.vhdx to a storage location. To which locations can you copy App1.vhdx?

Exhibit 1 for question 178
  • Ashare2 only
  • Bshare1 or share2 only (correct answer)
  • Ccont1 or cont2 only
  • Dcont1 or share1 only
  • Econt1, cont2, share1, or share2
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: share1 or share2 only.

Topic 4 Β· Question 179 Β· Select all that apply

You have an Azure subscription. The subscription contains 10 Azure Virtual Desktop session hosts that run Windows 10 Enterprise. You plan to deploy the new Microsoft Teams app to the session hosts. You need to prepare the session hosts for the deployment. Which two components should you install? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

  • Athe Microsoft Visual C++ Redistributable (correct answer)
  • B.NET Framework 4.8
  • Cthe Remote Desktop WebRTC Redirector Service (correct answer)
  • Dthe Microsoft XNA Framework Redistributable
  • EWindows App
Reveal answer & explanation
Correct answer: A, C

The correct answer is A, C. Option A: the Microsoft Visual C++ Redistributable Option C: the Remote Desktop WebRTC Redirector Service.

Topic 4 Β· Question 183 Β· Select all that apply

You have an on-premises Windows device named Device1. You have an Azure Virtual Desktop host pool named Pool1 that contains Windows 11 session hosts. You create an application group named AppGrp1. You have an app named App1. App1 is added to AppGrp1 and published as a RemoteApp. You need to ensure that when a user on Device1 connects to App1, Microsoft OneDrive launches. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

  • AAdd an assignment to AppGrp1.
  • BFor Device1, configure the HKLM\Software\Microsoft\Windows\CurrentVersion\Run\OneDrive registry key.
  • CFor the session hosts, configure the HKLM\Software\Microsoft\Windows\CurrentVersion\Run\OneDrive registry key. (correct answer)
  • DFor Pool1, configure the Advanced settings in RDP Properties.
  • EFor Device1, configure the Enable enhanced shell experience for RemoteApp Group Policy setting.
  • FFor the session hosts, configure the Enable enhanced shell experience for RemoteApp Group Policy setting. (correct answer)
Reveal answer & explanation
Correct answer: C, F

The correct answer is C, F. Option C: For the session hosts, configure the HKLM\Software\Microsoft\Windows\CurrentVersion\Run\OneDrive registry key. Option F: For the session hosts, configure the Enable enhanced shell experience for RemoteApp Group Policy setting.

Topic 4 Β· Question 184

Case study - This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided. To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study. At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section. To start the case study - To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question. Overview - Northwind Traders is a manufacturing company based in New York City. Existing Environment - Identity Environment - The on-premises network contains an Active Directory Domain Services (AD DS) domain named northwindtraders.com. Northwind Traders has a Microsoft Entra tenant and a Microsoft Entra Domain Services managed domain. The northwindtraders.com domain syncs with the Microsoft Entra tenant. Virtual Machines - The company has an on-premises Hyper-V virtual machine named VM1 that has the following configurations: β€’ Generation: 1 β€’ Disk size: 2 TB β€’ Disk format: VHDX β€’ Disk type: Dynamically expanding Cloud Services - Northwind Traders has a Microsoft 365 E5 subscription. The subscription contains 500 users that are assigned Microsoft 365 E5 licenses. The company has an Azure subscription that contains the resources shown in the following table. Both subscriptions are linked to the Microsoft Entra tenant. Requirements - Planned Changes - Northwind Traders identifies the following planned changes: β€’ Deploy an Azure Virtual Desktop host pool that will contain 10 session hosts joined to the Microsoft Entra Domain Services managed domain. β€’ Configure VM1 as the source image for the Azure Virtual Desktop deployment and upload the image to Azure. β€’ The Azure Virtual Desktop deployment will provide access to a custom app named App1. Performance Requirements - Northwind Traders identifies the following performance requirements: β€’ Each Azure Virtual Desktop session host must support 15 user sessions. β€’ Each new user session must be assigned to a single session host until the maximum session limit is reached for that host. Application Requirements - Northwind Traders identifies the following application requirements: β€’ Microsoft OneDrive must launch when users connect to a RemoteApp session in Azure Virtual Desktop. β€’ App1 requires a desktop resolution of 1280 x 1024. β€’ Administrative effort must be minimized. Disaster Recovery Requirements - Northwind Traders identifies the following disaster recovery requirements for the Azure Virtual Desktop deployment: β€’ Minimize outages if an Azure region fails. β€’ Minimize the recovery time objective (RTO). β€’ Minimize administrative effort in the event of a failover. Security Requirements - Northwind Traders identifies the following security requirements: β€’ When users sign in to the Azure Virtual Desktop deployment by using the Azure Virtual Desktop client, they must authenticate by using their Microsoft Entra username and password only. β€’ When users sign in to the Azure Virtual Desktop deployment by using a web browser, they must authenticate by using the Microsoft Authenticator app. β€’ All the Azure Virtual Desktop session hosts deployed by using the VM1 source image must be onboarded to Microsoft Defender for Endpoint. β€’ The client version and operating system used to connect to the session hosts must be logged. β€’ The solution must follow the principle of least privilege. Networking Requirements - The Azure Virtual Desktop session hosts must be able to access the resources on the on-premises network. User Profile Requirements - Northwind Traders identifies the following user profile requirements: β€’ Users must be able to access share1 by using their Microsoft Entra account. β€’ Azure Virtual Desktop user profiles must be managed by using FSLogix. β€’ All user profiles must be stored in share1. What should you do to ensure that the session hosts meet the application requirements for App1?

Exhibit 1 for question 184
  • AModify the Connection information settings for the host pool.
  • BAssign a scaling plan to the host pool.
  • CModify the Session behaviour settings for the host pool.
  • DModify the Display settings for the host pool. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Modify the Display settings for the host pool. By spanning multiple Availability Zones / adding redundancy, this option provides the high availability and resilience required.

Topic 4 Β· Question 185

Case study - This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided. To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study. At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section. To start the case study - To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question. Overview - Northwind Traders is a manufacturing company based in New York City. Existing Environment - Identity Environment - The on-premises network contains an Active Directory Domain Services (AD DS) domain named northwindtraders.com. Northwind Traders has a Microsoft Entra tenant and a Microsoft Entra Domain Services managed domain. The northwindtraders.com domain syncs with the Microsoft Entra tenant. Virtual Machines - The company has an on-premises Hyper-V virtual machine named VM1 that has the following configurations: β€’ Generation: 1 β€’ Disk size: 2 TB β€’ Disk format: VHDX β€’ Disk type: Dynamically expanding Cloud Services - Northwind Traders has a Microsoft 365 E5 subscription. The subscription contains 500 users that are assigned Microsoft 365 E5 licenses. The company has an Azure subscription that contains the resources shown in the following table. Both subscriptions are linked to the Microsoft Entra tenant. Requirements - Planned Changes - Northwind Traders identifies the following planned changes: β€’ Deploy an Azure Virtual Desktop host pool that will contain 10 session hosts joined to the Microsoft Entra Domain Services managed domain. β€’ Configure VM1 as the source image for the Azure Virtual Desktop deployment and upload the image to Azure. β€’ The Azure Virtual Desktop deployment will provide access to a custom app named App1. Performance Requirements - Northwind Traders identifies the following performance requirements: β€’ Each Azure Virtual Desktop session host must support 15 user sessions. β€’ Each new user session must be assigned to a single session host until the maximum session limit is reached for that host. Application Requirements - Northwind Traders identifies the following application requirements: β€’ Microsoft OneDrive must launch when users connect to a RemoteApp session in Azure Virtual Desktop. β€’ App1 requires a desktop resolution of 1280 x 1024. β€’ Administrative effort must be minimized. Disaster Recovery Requirements - Northwind Traders identifies the following disaster recovery requirements for the Azure Virtual Desktop deployment: β€’ Minimize outages if an Azure region fails. β€’ Minimize the recovery time objective (RTO). β€’ Minimize administrative effort in the event of a failover. Security Requirements - Northwind Traders identifies the following security requirements: β€’ When users sign in to the Azure Virtual Desktop deployment by using the Azure Virtual Desktop client, they must authenticate by using their Microsoft Entra username and password only. β€’ When users sign in to the Azure Virtual Desktop deployment by using a web browser, they must authenticate by using the Microsoft Authenticator app. β€’ All the Azure Virtual Desktop session hosts deployed by using the VM1 source image must be onboarded to Microsoft Defender for Endpoint. β€’ The client version and operating system used to connect to the session hosts must be logged. β€’ The solution must follow the principle of least privilege. Networking Requirements - The Azure Virtual Desktop session hosts must be able to access the resources on the on-premises network. User Profile Requirements - Northwind Traders identifies the following user profile requirements: β€’ Users must be able to access share1 by using their Microsoft Entra account. β€’ Azure Virtual Desktop user profiles must be managed by using FSLogix. β€’ All user profiles must be stored in share1. What should you do to meet the user profile requirements?

Exhibit 1 for question 185
  • AJoin storage1 to the AD DS domain. (correct answer)
  • BCreate a new Azure Files share.
  • CCreate a new Azure Blob Storage account.
  • DJoin storage1 to the Microsoft Entra Domain Services managed domain.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Join storage1 to the AD DS domain. By spanning multiple Availability Zones / adding redundancy, this option provides the high availability and resilience required.

Topic 5 Β· Question 189

You have an Azure Virtual Desktop host pool that runs Windows 10 Enterprise multi-session. You need to configure automatic scaling of the host pool to meet the following requirements: β€’ Distribute new user sessions across all running session hosts. β€’ Automatically start a new session host when concurrent user sessions exceed 30 users per host. What should you include in the solution?

  • Aan Azure Automation account and the depth-first load balancing algorithm
  • Ban Azure Automation account and the breadth-first load balancing algorithm (correct answer)
  • Can Azure load balancer and the breadth-first load balancing algorithm
  • Dan Azure load balancer and the depth-first load balancing algorithm
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: an Azure Automation account and the breadth-first load balancing algorithm

Explanation

Azure Automation runs runbooks to automate repetitive management tasks across resources.

Topic 5 Β· Question 191

You have an Azure Virtual Desktop host pool named Pool1 and an Azure Automation account named Account1. Pool1 is integrated with an Azure Active Directory Domain Services (Azure AD DS) managed domain named contoso.com. You plan to configure scaling for Pool1 by using Azure Automation runbooks. You need to authorize the runbooks to manage the scaling of Pool1. The solution must minimize administrative effort. What should you configure?

  • Aa managed identity in Azure Active Directory (Azure AD) (correct answer)
  • Ba group Managed Service Account (gMSA) in Azure AD DS
  • Ca Connections shared resource in Azure Automation
  • Da Run As account in Azure Automation
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: a managed identity in Azure Active Directory (Azure AD)

Explanation

Azure Active Directory (Microsoft Entra ID) provides identity, single sign-on, and conditional access. A Managed Identity lets Azure resources authenticate to services without storing credentials.

Topic 5 Β· Question 192

You have an Azure Virtual Desktop host pool named Pool1 that runs Windows 10 Enterprise multi-session hosts. You need to use Performance Monitor to troubleshoot a low frame quality issue that is affecting a current use session to Pool1. What should you run to retrieve the user session ID?

  • AGet-ComputerInfo
  • Bqwinsta (correct answer)
  • Cwhoami
  • DGet-LocalUser
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: qwinsta.

Topic 5 Β· Question 193

You have an Azure subscription that contains the resources shown in the following table. Which resources can you back up by using Azure Backup?

  • AWVDVM-0 and share1 only (correct answer)
  • BWVDVM-0 only
  • CWVDVM-0, Image1, and Image2 only
  • DWVDVM-0, share1, and Image1 only
  • EWVDVM-0, share1, Image1, and Image2
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: WVDVM-0 and share1 only.

Topic 5 Β· Question 195

You have an Azure Virtual Desktop deployment. You deploy and configure Azure Virtual Desktop in a secondary location. You plan to perform a test failover to the secondary location, but discover existing user sessions to the primary location. You need to sign out users from the session hosts in the primary location. Which PowerShell cmdlet should you run?

  • AInvoke-RdsUserSessionLogoff
  • BRemove-AzWvdUserSession (correct answer)
  • CInvoke-RestMethod
  • DRemove-Alias
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Remove-AzWvdUserSession.

Topic 5 Β· Question 196

You have an Azure Virtual Desktop deployment. You use the Start/Stop VMs during off-hours feature in Azure. You need to configure which virtual machines must never be stopped by the solution. What should you configure?

  • Athe Diagnostic settings of the host pool
  • Bthe Start-Stop-VM task
  • Can Azure Automation account variable (correct answer)
  • Dan action group
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: an Azure Automation account variable

Explanation

Azure Automation runs runbooks to automate repetitive management tasks across resources.

Topic 5 Β· Question 197

You have an Azure Virtual Desktop host pool in the US East Azure region. You need to ensure that the host pool can fail over to the US West Azure region. What should you do first?

  • ACreate a Recovery Services vault. (correct answer)
  • BCreate a virtual machine snapshot of each session host.
  • CCreate an Azure Storage account that uses geo-redundant storage (GRS).
  • DCreate a new host pool.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Create a Recovery Services vault.

Explanation

A Recovery Services Vault stores backup and replication data for Azure Backup and Site Recovery.

Topic 5 Β· Question 198

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure Virtual Desktop host pool that runs Windows 10 Enterprise multi-session. User sessions are load-balanced between the session hosts. Idle session timeout is 30 minutes. You plan to shut down a session host named Host1 to perform routine maintenance. You need to prevent new user sessions to Host1 without disconnecting active user sessions. Solution: From the host pool, you change the Drain mode of Host1. Does this meet the goal?

  • AYes (correct answer)
  • BNo
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Yes.

Showing questions 101–120 of 218 Β· Page 6 of 11