Objects Present after Resizing Azure Virtual Machine - AZ-800 Exam Answer

Objects Present after Resizing Azure Virtual Machine

Question

You have an Azure virtual machine named VM1 that runs Windows Server.

You perform the following actions on VM1:

-> Create a folder named Folder1 on volume C.

-> Create a folder named Folder2 on volume D.

-> Add a new data disk to VM1 and create a new volume that is assigned drive letter E.

-> Install an app named App1 on volume E.

You plan to resize VM1.

Which objects will present after you resize VM1?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

D

When you resize an Azure virtual machine, it modifies the underlying hardware resources such as CPU, RAM, and storage. Depending on the type of resizing, it can also change the number of data disks attached to the virtual machine.

In this scenario, you have created two folders, Folder1 on volume C and Folder2 on volume D, and added a new data disk to the virtual machine, which is assigned drive letter E. You have also installed an application named App1 on the newly created volume E.

Now, if you resize VM1, the answer to the question of which objects will be present depends on the type of resizing that you perform. There are two types of resizing available in Azure:

  1. Vertical Scaling or Scale up: This involves increasing the resources of the virtual machine such as CPU and RAM. It does not affect the existing data disks and volumes.

  2. Horizontal Scaling or Scale out: This involves adding more virtual machines to a set or changing the number of data disks attached to a virtual machine. It can affect the existing data disks and volumes.

Since the question does not specify the type of resizing, we can assume that it refers to a horizontal scaling or scale-out operation that adds more data disks to VM1. In this case, the answer would be:

Option D. Folder1, Folder2, App1, and volume E.

This is because the new data disk that is added during the resizing operation will be attached to the virtual machine as a new volume, and all existing volumes (C, D, and E) will remain intact. Therefore, all the folders created on these volumes (Folder1 on C, Folder2 on D, and App1 on E) will also be present after the resizing operation.

However, if the resizing operation is a vertical scaling or scale-up, the answer would be:

Option A. Folder1, volume E, and App1 only.

This is because vertical scaling does not affect the existing data disks or volumes. Only the resources (CPU and RAM) allocated to the virtual machine are increased, so the existing volumes (C, D, and E) and their contents will remain unchanged, except for the newly allocated resources that may improve the performance of the virtual machine.