Microsoft Azure Administrator Associate AZ-104 Practice Question
You are an Azure administrator for a company that runs a critical application on an Azure Virtual Machine (VM) named VM1. The application requires additional storage space to store log files. You need to add a data disk to VM1 without causing any downtime. What should you do?
Redeploy VM1 with a larger OS disk size.
Deallocate VM1, add a data disk using Azure PowerShell, and then allocate VM1.
Attach an empty managed data disk to VM1 from the Azure portal.
Stop VM1, attach a new data disk, and then start VM1.
To add a data disk to VM1 without causing downtime, you can attach an empty managed data disk to the VM using the Azure portal. This operation can be performed while the VM is running and does not require stopping or deallocating the VM. Stopping or deallocating the VM (as in options B and C) would cause downtime, which is not acceptable in this scenario. Redeploying VM1 with a larger OS disk size (option D) does not add a separate data disk and could result in downtime and potential data loss.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a managed data disk in Azure?
Open an interactive chat with Bash
How do I attach a managed data disk to a running Azure VM?
Open an interactive chat with Bash
What is the impact of stopping or deallocating an Azure VM?
Open an interactive chat with Bash
Microsoft Azure Administrator Associate AZ-104
Deploy and manage Azure compute resources
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access