Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Optimize performance and costs by resizing Azure virtual machines

A worked example

Single answer

You manage an SAP landscape in Azure:

  • SAPAPP1 and SAPAPP2 are in availability set AS1.
  • SAPDB1 is in a separate availability set named AS2.

You need to resize SAPAPP1 to a new size. The new size isn't available on the hardware cluster currently hosting SAPAPP1.

Which virtual machines must be deallocated to complete the resize of SAPAPP1?

Choose one answer
Why

When a VM in an availability set is resized to a size that isn't available on the hardware cluster currently hosting it, all VMs in that availability set must be deallocated. SAPAPP1 and SAPAPP2 share AS1, so both must be deallocated. SAPDB1 is in AS2 and is not affected. You might also need to resize other VMs in the availability set afterwards.

  • Not correct: SAPAPP1. Because SAPAPP1 is in an availability set and the size isn't on the current cluster, every VM in that availability set must be deallocated, not just SAPAPP1.
  • Correct: SAPAPP1 and SAPAPP2. Both VMs are in AS1, and when the new size isn't available on the current hardware cluster, all VMs in the availability set must be deallocated.
  • Not correct: None of the virtual machines. A resize without deallocation depends on the current hardware cluster supporting the new size, which it does not here.
  • Not correct: SAPAPP2. SAPAPP1 is the VM being resized, so it must be deallocated too; all VMs in AS1 are required.
  • Not correct: SAPAPP1, SAPAPP2, and SAPDB1. The requirement applies to the VMs in the same availability set as the VM being resized; SAPDB1 is in a different availability set.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free