Microsoft AZ-140 Exam Practice Questions (P. 3)
- Full Access (330 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #21
You deploy an Azure Virtual Desktop host pool named Pool1.
You have an Azure Storage account named store1 that stores FSLogix profile containers in a share named profiles.
You need to configure the path to the storage containers for the session hosts.
Which path should you use?
You have an Azure Storage account named store1 that stores FSLogix profile containers in a share named profiles.
You need to configure the path to the storage containers for the session hosts.
Which path should you use?
- A\\store1.blob.core.windows.net\profiles
- Bhttps://store1.file.core.windows.net/profiles
- C\\store1.file.core.windows.net\profilesMost Voted
- Dhttps://store1.blob.core.windows.net/profiles
Correct Answer:
C
Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/create-profile-container-adds
C
Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/create-profile-container-adds
send
light_mode
delete
Question #22
HOTSPOT -
You have a Azure Virtual Desktop host pool that has a max session limit of 15. Disconnected sessions are signed out immediately.
The session hosts for the host pool are shown in the following exhibit.

Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
Hot Area:

You have a Azure Virtual Desktop host pool that has a max session limit of 15. Disconnected sessions are signed out immediately.
The session hosts for the host pool are shown in the following exhibit.

Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
Hot Area:

Correct Answer:
Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/set-up-scaling-script

Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/set-up-scaling-script
send
light_mode
delete
Question #23
HOTSPOT -
You have an Azure virtual machine named VM1 that runs Windows 10 Enterprise multi-session.
You plan to add language packs to VM1 and create a custom image of VM1 for an Azure Virtual Desktop host pool.
You need to ensure that modern apps can use the additional language packs when you deploy session hosts by using the custom image.
Which command should you run first? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

You have an Azure virtual machine named VM1 that runs Windows 10 Enterprise multi-session.
You plan to add language packs to VM1 and create a custom image of VM1 for an Azure Virtual Desktop host pool.
You need to ensure that modern apps can use the additional language packs when you deploy session hosts by using the custom image.
Which command should you run first? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Correct Answer:
Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/language-packs https://docs.microsoft.com/en-us/troubleshoot/windows-server/deployment/issues-appx-cleanup-maintenance-task https://docs.microsoft.com/en-us/powershell/module/scheduledtasks/disable-scheduledtask?view=windowsserver2019-ps

Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/language-packs https://docs.microsoft.com/en-us/troubleshoot/windows-server/deployment/issues-appx-cleanup-maintenance-task https://docs.microsoft.com/en-us/powershell/module/scheduledtasks/disable-scheduledtask?view=windowsserver2019-ps
send
light_mode
delete
Question #24
DRAG DROP -
You have a Azure Virtual Desktop deployment.
You have a session host named Host1 that has the disk layout shown in the exhibit. (Click the Exhibit tab.)

You plan to deploy an app that must be installed on D. The app requires 500 GB of disk space.
You need to add a new data disk that will be assigned the drive letter D. The solution must maintain the current performance of Host1.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:

You have a Azure Virtual Desktop deployment.
You have a session host named Host1 that has the disk layout shown in the exhibit. (Click the Exhibit tab.)

You plan to deploy an app that must be installed on D. The app requires 500 GB of disk space.
You need to add a new data disk that will be assigned the drive letter D. The solution must maintain the current performance of Host1.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:

Correct Answer:
Reference:
https://www.azurecorner.com/change-temporary-drive-azure-vm-use-d-persistent-data-disks/

Reference:
https://www.azurecorner.com/change-temporary-drive-azure-vm-use-d-persistent-data-disks/
send
light_mode
delete
Question #25
You plan to deploy Azure Virtual Desktop session host virtual machines based on a preconfigured master image. The master image will be stored in a shared image gallery.
You create a virtual machine named Image1 to use as the master image. You install applications and apply configuration changes to Image1.
You need to ensure that the new session host virtual machines created based on Image1 have unique names and security identifiers.
What should you do on Image1 before you add the image to the shared image gallery?
You create a virtual machine named Image1 to use as the master image. You install applications and apply configuration changes to Image1.
You need to ensure that the new session host virtual machines created based on Image1 have unique names and security identifiers.
What should you do on Image1 before you add the image to the shared image gallery?
- AAt a command prompt, run the set computername command.
- BAt a command prompt, run the sysprep command.Most Voted
- CFrom PowerShell, run the rename-computer cmdlet.
- DFrom the lock screen of the Windows device, perform a Windows Autopilot Reset.
Correct Answer:
B
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/prepare-for-upload-vhd-image#determine-when-to-use-sysprep
B
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/prepare-for-upload-vhd-image#determine-when-to-use-sysprep
send
light_mode
delete
Question #26
You have a shared image gallery that contains the Windows 10 images shown in the following table.

You create an Azure Virtual Desktop deployment that has the following settings:
Host pool name: Pool1 -

✑ Location: West US
✑ Host pool type: Personal
Which images can you use for the session hosts?

You create an Azure Virtual Desktop deployment that has the following settings:
Host pool name: Pool1 -

✑ Location: West US
✑ Host pool type: Personal
Which images can you use for the session hosts?
- AImage1 onlyMost Voted
- BImage1, Image2, Image3, and Image4
- CImage2 only
- DImage1 and Image2 only
- EImage1 and Image3 only
send
light_mode
delete
Question #27
HOTSPOT -
You have an Azure subscription that contains the virtual machines shown in the following table.

You create a shared image gallery as shown in the SharedGallery1 exhibit. (Click the SharedGallery1 tab.)

You create an image definition as shown in the Image1 exhibit. (Click the Image1 tab.)

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

You have an Azure subscription that contains the virtual machines shown in the following table.

You create a shared image gallery as shown in the SharedGallery1 exhibit. (Click the SharedGallery1 tab.)

You create an image definition as shown in the Image1 exhibit. (Click the Image1 tab.)

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Correct Answer:
Reference:
https://www.robinhobo.com/windows-virtual-desktop-wvd-image-management-how-to-manage-and-deploy-custom-images-including-versioning-with-the-azure- shared-image-gallery-sig/

Reference:
https://www.robinhobo.com/windows-virtual-desktop-wvd-image-management-how-to-manage-and-deploy-custom-images-including-versioning-with-the-azure- shared-image-gallery-sig/
send
light_mode
delete
Question #28
DRAG DROP -
You plan to deploy Azure Virtual Desktop.
You need to create Azure NetApp Files storage to store FSLogix profile containers.
Which four actions should you perform in sequence after you register the NetApp Resource Provider? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.
Select and Place:

You plan to deploy Azure Virtual Desktop.
You need to create Azure NetApp Files storage to store FSLogix profile containers.
Which four actions should you perform in sequence after you register the NetApp Resource Provider? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.
Select and Place:

Correct Answer:
Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/create-fslogix-profile-container#make-sure-userscan-access-the-azure-netapp-file-share https://docs.microsoft.com/en-us/azure/azure-netapp-files/azure-netapp-files-quickstart-set-up-account-create-volumes?tabs=azure-portal

Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/create-fslogix-profile-container#make-sure-userscan-access-the-azure-netapp-file-share https://docs.microsoft.com/en-us/azure/azure-netapp-files/azure-netapp-files-quickstart-set-up-account-create-volumes?tabs=azure-portal
send
light_mode
delete
Question #29
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 contains five session hosts. The session hosts run Windows 10 Enterprise multi-session.
You need to prevent users from accessing the internet from Azure Virtual Desktop sessions. The session hosts must be allowed to access all the required
Microsoft services.
Solution: You configure rules in the network security group (NSG) linked to the subnet of the session hosts.
Does this meet the goal?
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 contains five session hosts. The session hosts run Windows 10 Enterprise multi-session.
You need to prevent users from accessing the internet from Azure Virtual Desktop sessions. The session hosts must be allowed to access all the required
Microsoft services.
Solution: You configure rules in the network security group (NSG) linked to the subnet of the session hosts.
Does this meet the goal?
- AYesMost Voted
- BNo
Correct Answer:
A
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/tutorial-filter-network-traffic
A
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/tutorial-filter-network-traffic
send
light_mode
delete
Question #30
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 contains five session hosts. The session hosts run Windows 10 Enterprise multi-session.
You need to prevent users from accessing the internet from Azure Virtual Desktop sessions. The session hosts must be allowed to access all the required
Microsoft services.
Solution: You configure the Address space settings of the virtual network that contains the session hosts.
Does this meet the goal?
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 contains five session hosts. The session hosts run Windows 10 Enterprise multi-session.
You need to prevent users from accessing the internet from Azure Virtual Desktop sessions. The session hosts must be allowed to access all the required
Microsoft services.
Solution: You configure the Address space settings of the virtual network that contains the session hosts.
Does this meet the goal?
- AYes
- BNoMost Voted
Correct Answer:
B
B

The configuration of Address space settings in a virtual network, which involves specifying the IP address ranges for the virtual network and its subnets, does not inherently restrict internet access. To effectively prevent users on Azure Virtual Desktop sessions from accessing the internet, while still permitting connectivity to essential Microsoft services, employing network security measures such as Network Security Groups (NSGs) or firewalls is required. These tools can specifically block or control outbound internet connections and are essential in managing network traffic to meet security and functional needs in such scenarios.
send
light_mode
delete
All Pages