Question : You work for a company named ABC.com. Your role as Cloud Administrator includes the management of the company's public and private cloud infrastructure. You have applications and virtual machines hosted on Windows Azure. An application hosted in Azure Cloud Services provides a web-based portal that is used by all company employees and selected customers. Two instances of a virtual machine (VM) running in Windows Azure perform back-end functionality for the portal application. The portal application sometimes fails due to cloud services outages. You want to ensure that the virtual machines (VMs) are deployed to separate fault domains to ensure that the portal application remains available during network failures, local disk hardware failures, or any planned downtime. Which of the following actions will ensure that the VMs are in separate fault domains?
1. Adding the VMs to an Availability Set. 2. Adding the VMs to separate Availability Sets. 3. Adding the VMs to an Affinity Group. 4. Adding the VMs to separate Affinity Groups.
You should ALWAYS specify an availability set when creating more than one virtual machine for the same purpose.
Examples:
Two or more web servers Two or more SQL servers Two or more AD servers you get the idea Specifying an availability set in these situations gives you multiple advantages.
Highly Available Hardware
Putting two or more VMs in availability sets guarantees that your VMs are spread across multiple racks in the Windows Azure Data Centers. This means redundant power supply, switches and servers.
Rolling Host Updates
Grouping VMs in availability sets also gives the Windows Azure Fabric Controller the information it needs to intelligently update the host OSs that your guest VMs are running on. Without availability sets the FC would have no idea that two machines were serving the same purpose and could reasonable take them both down for host OS updates.
99.95% SLA
If you wish to have the 99.95% SLA guaranteed by Windows Azure for uptime using availability sets is the way to achieve it.
Question : You work for a company named ABC.com. Your role as Cloud Administrator includes the management of the company's public and private cloud infrastructure. You have applications and virtual machines hosted on Windows Azure. All company employees use an application named CorpApp. The CorpApp application runs as a Windows Azure Cloud Service. Two instances of a virtual machine (VM) running in Windows Azure perform back-end functionality for the CorpApp application. The VMs access large amounts of data that is stored in a Windows Azure Storage Account. You want to optimize the performance of the CorpApp application by locating the cloud service and VMs in a data center as close to the storage services as possible. Which of the following actions should you perform?
1. You should add the services to the same availability group. 2. You should add the services to the same affinity group. 3. You should add the services to the same IP address subnet.. 4. You should add the services to the same virtual network.
Correct Answer : 2 Explanation: Affinity Groups
Windows Azure datacenters are physically very large (think 7 football fields) and contain hundreds of thousands of servers. There is a significant difference in network latency between two servers in a single rack and two servers at opposite ends of a datacenter.
Windows Azure therefore provides an affinity group feature to provide a higher degree of co-location within a datacenter than would otherwise be possible using random placement. Associated cloud and storage services should be placed within an affinity group to minimize network latency. This minimization is particularly important when a cloud service makes extensive use of storage services, such as when an Azure Drive is used.
Note that affinity groups are supported for cloud services and storage services but are NOT used with Windows Azure SQL Databases. As of today they are also not supported for Windows Azure Web Sites and Virtual Machines.
Since an affinity group is located within a single datacenter, locating cloud and storage services in an affinity group also ensures that they are located within the same datacenter. New cloud and storage services should always be created within an affinity group rather than just the datacenter. Note that it is not possible to migrate either a cloud or storage service into an affinity group after creation. Migration into an affinity group requires a recreation of the cloud or storage service/
Affinity groups are created and managed on the Windows Azure Portal for cloud and storage services. On the new portal, affinity groups are managed in the Networks section when creating a new Virtual Network. Given the above description of affinity groups this might seem to be a strange location. However, the new Virtual Network feature mandates the use of affinity groups.
Question : You work for a company named ABC.com. Your role as Cloud Administrator includes the management of the company's public and private cloud infrastructure. You have applications and virtual machines hosted on Windows Azure. An application named CorpApp runs in a virtual machine named CorpAppVM1 which is part of a Windows Azure cloud service named TK-AppService1. You need to increase the disk storage capacity of CorpAppVM1 by creating a new virtual hard disk (VHD) and adding it to the VM. The new VHD must be 256GB in size and be named AppDataDisk2.
Which of the following PowerShell scripts should you run?
Correct Answer : 2 Explanation: Get-AzureVM Retrieves information from one or more Azure virtual machines.
The Get-AzureVM cmdlet retrieves information about virtual machines running in Azure. It returns an object with information on a specific virtual machine, or if no virtual machine is specified, for all the virtual machines in the specified service of the current subscription.
-Name Specifies the name of the virtual machine for which to retrieve information. If this parameter is not provided, the cmdlet returns a list object with information about all the virtual machines in the specified service.
Add-AzureDataDisk Adds a new data disk to a virtual machine object.
The Add-AzureDataDisk cmdlet adds a new data disk to a virtual machine object. Use the CreateNew parameter to create a new data disk with a specified size and label, and then attach it. Use the Import parameter to attach an existing disk from the image repository. Use the ImportFrom parameter to attach an existing disk from a blob in a storage account. The cmdlet allows you to specify the host-cache mode of attached data disks.
-CreateNew Specify to create a new data disk.
-DiskName Specifies the name of the data disk in the disk repository.
-DiskSizeInGB Specifies the logical disk size in gigabytes.
-LUN Specifies the logical unit number (LUN) location for the data drive in the virtual machine. Valid LUN values are 0-15 and each data disk must have a unique LUN.
Update-AzureVM Updates an Azure virtual machine with the modications make to a virtual machine object.
The Update-AzureVM cmdlet accepts update information for the specified virtual machine and initiates the update. You can add or remove data disks, modify the cache mode of data or operating system disks, change the network endpoints, or change the size of the virtual machine.
Question : You work for a company named ABC.com. Your role as Cloud Administrator includes the management of the company's public and private cloud infrastructure. You have a Windows Azure cloud service named TK-CLSrv1. You are configuring a virtual machine (VM) named AppVM1 in the TK-CLSrv1 cloud service. AppVM1 will host a custom application. An on premise server named TK-HV01 runs Windows Server Hyper-V. TK-HV01 hosts a virtual machine (VM) named AppVMData. An application running on AppVMData needs to send data to AppVM1 using TCP port 8080. Which of the following actions should you perform?
1. You should configure port forwarding on the corporate firewall.
2. You should add an endpoint to AppVM1. 3. You should add a static route to AppVM1. 4. You should configure Network Address Translation (NAT) on the corporate firewall.
1. Download and install the Microsoft Azure Site Recovery Provider. 2. Configure network mappings. 3. Download the Microsoft Azure Recovery Services Agent. 4. Generate a vault key. 5. Set up protection for VMM clouds.
1. Configure Azure Content Delivery Network (CDN) to cache the files from an Azure blob container. 2. Purchase additional Azure subscriptions. 3. Configure additional endpoints for the website. 4. Increase the number of website instances.