Home
11.
To avoid losing the public virtual IP of a cloud service, what is the correct way to shut down the last virtual machine in the cloud service?
  • A.
    Stop-AzureVM -ServiceName $serviceName -Name $vmName.
  • B.
    Use the management portal to shut down the virtual machine.
  • C.
    Hour
  • D.
    Stop-AzureVM -ServiceName $serviceName -Name $vmName -StayProvisioned or shutting down the virtual machine from within the guest operating system.
  • Answer & Explanation
  • Report
Answer : [C, D]
Explanation :
A. Incorrect: By default, the Stop-AzureVM cmdlet will put the virtual machine in the StoppedDeallocated state. If all of the virtual machines in the cloud service are in this state, the cloud service VIP is lost unless you have specified a reserved IP.
B. Incorrect: Stopping a virtual machine using the Management portal will put the virtual machine in the StoppedDeallocated state. If all of the virtual machines in the cloud service are in this state the cloud service VIP is lost unless you have specified a reserved IP.
C. Correct: Using the StayProvisioned parameter of Stop-AzureVM, or shutting the operating system down within the guest operating system, will put the virtual machine in the Stopped state, which does not release the cloud service VIP.
D. Correct: Using a reserved IP address for the cloud service would also retain the IP address if all virtual machines in the cloud service were shutdown.
Report
Name Email  
12.
How many virtual machines can be deployed into a cloud service?
  • A.
    Unlimited
  • B.
    25
  • C.
    50
  • D.
    1
  • Answer & Explanation
  • Report
Answer : [C]
Explanation :
A. Incorrect: Each cloud service can contain up to 50 virtual machines and not an unlimited number.
B. Incorrect: Each cloud service can contain up to 50 virtual machines and is not limited to 25.
C. Correct: Each cloud service can contain up to 50 virtual machines.
D. Incorrect: Each cloud service can contain up to 50 virtual machines and is not limited to 1.
Report
Name Email  
13.
What is the maximum disk size supported for an operating system (OS) disk in Azure?
  • A.
    1023 GB
  • B.
    64 TB
  • C.
    2 TB
  • D.
    127 GB
  • Answer & Explanation
  • Report
Answer : [A]
Explanation :
A. Correct: An Azure data disk can be set to 1023 GB or roughly 1 TB.
B. Incorrect: 64 TB is not a supported data disk size.
C. Incorrect: 2 TB is not a supported data disk size.
D. Incorrect: 127 GB is the correct size for the operating system disk but not a data disk.
Report
Name Email  
14.
Which Azure PowerShell cmdlet should you use to upload a virtual hard disk file?
  • A.
    Add-AzureDisk
  • B.
    Add-AzureDataDisk
  • C.
    Set-AzureOSDisk
  • D.
    Add-AzureVHD
  • Answer & Explanation
  • Report
Answer : [D]
Explanation :
A. Incorrect: The Add-AzureDisk cmdlet associates a disk with an existing virtual hard disk file in storage.
B. Incorrect: The Add-AzureDataDisk cmdlet associates an existing data disk with a virtual machine.
C. Incorrect: The Set-AzureOSDisk cmdlet can be used to change the cache setting of an operating system disk.
D. Correct: The Add-AzureVHD cmdlet is the correct cmdlet to upload a virtual hard disk file.
Report
Name Email  
15.
Which Azure PowerShell cmdlet can be used to enable Remote Desktop on an Azure virtual machine?
  • A.
    Set-AzureServiceRemoteDesktopExtension
  • B.
    Set-AzureVMAccessExtension
  • C.
    Set-AzureServiceADDomainExtension
  • D.
    Add-AzureEndpoint
  • Answer & Explanation
  • Report
Answer : [B]
Explanation :
A. Incorrect: The Set-AzureServiceRemoteDesktopExtension cmdlet can enable Remote Desktop on a cloud service web or worker role instance.
B. Correct: The Set-AzureVMAccessExtension cmdlet is used to reset the administrator username or password and can enable Remote Desktop if it is disabled.
C. Incorrect: The Set-AzureServiceADDomainExtension cmdlet can be used to join a cloud service web or worker role instance to an Active Directory domain.
D. Incorrect: The Add-AzureEndpoint cmdlet can be used to add an endpoint to a virtual machine.
Report
Name Email