Exam-Answer

Home / Microsoft / AZ-300 / Question 21

Prev Question
Next Question

Question 21

You are the IT administrator for a small law firm. The company has one lawyer and one legal assistant. The company has two Windows 10 Professional desktop computers and a Linux server that hosts a web-based case management system.

Existing Infrastructure

The two desktop computers and the Linux server are connected by a network hub. The hub itself is connected to a router, which connects directly to the Internet via cable. No inbound ports are open on the router. The desktop computers host client applications that connect to the case management system at IP address 10.10.10.10 over TCP port 24000.

Business Requirements

The owner of the firm wants it to transition to a virtual firm. The lawyer and the assistant must be able to work from home by connecting to the Windows 10 desktop computers from any device. The owner wants you to move the existing infrastructure to Azure and make the system work as if it were in the physical office. However, the owner wants to use the minimum amount of resources and the least expensive options.

Technical Requirements

The two computers and server should be imported into Azure as virtual machines (VMs). The VMs for the lawyer and assistant should be always available, even during periods of upgrades or maintenance. As more cases are imported into the case management system, the disk attached to the Linux VM should automatically resize to ensure that it always has 20 percent of free space.

You need to ensure that the Linux virtual machine (VM) automatically expands its disk size when it is running low on space.

What two actions should you perform? Each correct answer presents part of the solution.

Answers



A B C D E

Advertisement

Explanation

You should install a script on the VM that monitors the disk space and sends a notification to Azure. This script can be written in the language of your choice. The type of notification should be an HTTP request.

You should also create an Azure Function that uses an HTTP trigger. When this trigger is invoked, it should stop the VM, expand the disk, and then restart the VM.

You should not configure Azure Monitor with an alert rule. Azure Monitor can monitor a VM for free disk space and an alert rule can trigger an alert. However, the alert is only shown in the Azure portal, so no action is triggered based on the alert. If you do this, the Linux VM disk will not be expanded.

You should not run an Azure PowerShell or Azure CLI command from the VM. Although both types of commands can be used to expand a disk, they should be run from a separate computer or VM instance.

References

Comments

Load more
Prev Question
Next Question