Exam Prep Questions - Implement Cloud Services Flashcards
You manage a web role for a site running in Azure. You need to configure the service to host multiple websites. The additional website will only use HTTP.
Which attributes must be configured?
You should configure the Name and the physicalDirectory attributes in the service configuration definition file, ServiceDefinition.csdef.
You manage an Azure environment with several cloud services. You need to implement a cache for a cloud service. The cache must have an availability SLA of at least 95% and support advanced data mining.
What should you do?
You should implement Azure Redis Cache. Azure Redis Cache provides an availability SLA of 99.9%, with sizes up to 53 GB. The cache is managed by Microsoft, and provides additional capabilities over other cache types. Microsoft recommends that all new developments use Azure Redis Cache.
You manage several cloud service environments in Azure. You plan to create an additional cloud service. The new environment must support only Windows Server 2012 R2 operating systems.
What should you do?
In the service configuration file, set the osFamily attribute to osFamily=4
You manage an Azure environment with several virtual machines and .NET web apps. You need to enable virtual machines to switch easily between the applications provided by the environment.
What should you do?
You should implement a runtime reconfiguration pattern on the virtual machines and applications. This will allow you to inject and change the configuration data of a cloud service automatically without requiring redeployment or restarting the application.
A reconfiguration pattern is used to allow configuration changes to be applied while an application is running, and for the components of an application to detect any changes and apply those changes.
You can implement a runtime reconfiguration pattern adding the proper code in the Global.asax.cs file.
You manage an Azure cloud service environment that uses push notifications. You need to ensure that you can monitor successful notifications to the API.
What should you do?
You should enable the Incoming Messages metric for the notification hub telemetry. The Incoming Messages metric enables you to monitor all successful calls to the API in order to send push notifications.
Since incoming messages are the API calls to the notification hub to send notifications, incoming messages are counted whether or not they result in actual notifications. You can select the Incoming Messages metric from the Add Metrics menu in the General section.
You manage a cloud service in an Azure environment. You plan to use a custom domain with the cloud service. To do so, you need to create the DNS record in the custom domain. The configuration must support changes in the cloud service IP address.
What record type should you create?
You should configure a CNAME record for the cloud service. A CNAME is an alias that will redirect the custom domain to the domain being used by the cloud service. This will ensure that in the event the cloud service’s IP address changes, the custom domain will still use the appropriate alias to access the service.
You manage an Azure environment with several cloud services and virtual machines. An application developer has configured a local storage resource at 120 GB on several virtual machines. After some time, an error appears on a virtual machine named VM5 that states the local disk is out of disk space. You discover that the virtual machine is using 60 GB of space on the disk.
You need to ensure that the VM5 can write data to the local disk.
What should you do?
You should increase the subscription size of the virtual machine. Virtual machine resources are constrained by the subscription size. In this scenario, the application developer has configured a local storage size that is larger than the subscription of the virtual machine. The result is that it will work until the virtual machine size limit has been reached.
You manage an Azure environment with several virtual machines. The company has a corporate office where all administrators work. You plan to enable Remote Desktop connections to the virtual machines for management purposes.
You need to ensure that administrators must be in the corporate office to use Remote Desktop to connect with the virtual machines.
What should you do?
Create a network access control list permitting the IP addresses of machines in the corporate office
You manage an Azure environment that includes cloud services and virtual machines. An administrator reports a performance issue with a virtual machine. Upon inspection, you notice the virtual machine’s storage IOPS will not exceed 300.
You need to ensure that the VM can use up to 500 IOPS. What should you do?
You should configure the VM in the Standard Tier compute level. Standard Tier VMs can use up to 500 IOPS at the storage level.
You manage an Azure environment that has a cloud service associated with five virtual machines. All virtual machines are members of an availability set. Only two of the virtual machines are currently in use. The virtual machines are set to use the Standard A5 tier.
You need to ensure that if the messages for the VMs exceed 2,000, the cloud service will turn on other virtual machines.
What should you do?
Configure autoscaling based on the queue.
You manage an Azure environment with several virtual machines. One of the virtual machines consistently reaches the assigned RAM limit. You need to ensure that the VM can access additional memory.
What should you do?
Modify the compute tier of the virtual machine.
You manage an Azure web application environment by using Visual Studio. You need to increase the number of instances that the cloud service uses.
What should you do?
You should modify the .cscfg file for the cloud service. This is the configuration file that defines how many instances should be used for the service, among other settings. You can change the values of the settings stored in this file while your role is running.
You can also use Visual Studios to change the number of instances for a role. You can expand Roles, choose the appropriate Web role, and choose Properties. You can change number in the Instance count box under the proper Service Configuration.
You have developed a web application in Visual Studio for use in Azure. You need to ensure that Azure administrators can deploy the web application from the Azure portal.
What should you do?
Package the application for deployment.
You manage an Azure environment that has several cloud services deployed. An application developer has staged a new version of an application that is running as a cloud service.
You need to move the application from the staging environment to production. What should you do?
Swap the deployment by using a virtual IP address.
You manage an Azure environment with several cloud services. You need to increase the number of update domains for a cloud service.
What should you do?
You should modify the cloud service .csdef definition file. By default, there are five update domains for a cloud service. The upgradeDomainCount attribute in the definition file can be set to increase the number of update domains. You can specify up to 20 update domains.