QUESTION 54Drag and Drop QuestionYou administer a cloud service named contosoapp that has a web role and worker role.Contosoapp requires you to perform an in-place upgrade to the service.You need to ensure that at least six worker role instances and eight web role instances are available when you apply upgrades to the service. You also need to ensure that updates are completed for all instances by using the least amount of time.Which value should you use with each configuration? To answer, drag the appropriate value to the correct configuration. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.Answer:

QUESTION 55You migrate a Windows Server .NET web application to Azure Cloud Services.You need enable trace logging for the application.Which two actions should you perform? Each correct answer presents part of the solution.

Answer: ABExplanation:You can use Azure logging right out of the box–it’s part of Azure SDK.A: Azure Service Definition Schema (.csdef File) The service definition file defines the service model for an application. The file contains the definitions for the roles that are available to a cloud service, specifies the service endpoints, and establishes configuration settings for the service.B: Take Control of Logging and Tracing in Microsoft Azure The Microsoft.WindowsAzure.Diagnostics namespace, which inherits from and extends standard System.Diagnostics classes, enables the use of System.Diagnostics as a logging framework in Azure environment.http://msdn.microsoft.com/en-us/library/azure/ee758711.aspxhttp://msdn.microsoft.com/en-us/magazine/ff714589.aspx

QUESTION 56Drag and Drop QuestionYou plan to deploy a cloud service named contosoapp. The service includes a web role named contosowebrole. The web role has an endpoint named restrictedEndpoint.You need to allow access to restricted Endpoint only from your office machine using the IP address 145.34.67.82.Which values should you use within the service configuration file? To answer, drag the appropriate value to the correct location in the service configuration file. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.Answer:

QUESTION 57You manage a cloud service that utilizes an Azure Service Bus queue.You need to ensure that messages that are never consumed are retained.What should you do?

A. Check the MOVE TO THE DEAD-LETTER SUBQUEUE option for Expired Messages in the Azure Portal.B. From the Azure Management Portal, create a new queue and name it Dead-Letter.C. Execute the Set-AzureServiceBus PowerShell cmdlet.D. Execute the New-AzureSchedulerStorageQueueJob PowerShell cmdlet.

Answer: AExplanation: The EnableDeadLetteringOnMessageExpiration property allows to enable\disable the dead-lettering on message expiration.

QUESTION 58You manage a web application published to Azure Cloud Services.Your service level agreement (SLA) requires that you are notified in the event of poor performance from customer locations in the US, Asia, and Europe.You need to configure the Azure Management Portal to notify you when the SLA performance targets are not met.What should you do?

A. Create an alert rule to monitor web endpoints.B. Create a Notification Hub alert with response time metrics.C. Add an endpoint monitor and alert rule to the Notification Hub.D. Configure the performance counter on the cloud service.

Answer: AExplanation:* An alert rule enables you to monitor an available metric within a supported Azure service. When the value of a specified metric violates the threshold assigned for a rule, the alert rule becomes active and registers an alert. When you create an alert rule, you can select options to send an email notification to the service administrator and co- administrators, or another administrator, when the rule becomes active, and when an alert condition is resolved.* You can configure cloud service alert rules on:Web endpoint status metricsMonitoring metrics from the cloud service host operating system Performance counters collected from the cloud service guest virtual machinehttp://msdn.microsoft.com/en-us/library/azure/dn306639.aspx

QUESTION 59You manage a cloud service that hosts a customer-facing application. The application allows users to upload images and create collages. The cloud service is running in two medium instances and utilizes Azure Queue storage for image processing. The storage account is configured to be locally redundant.The sales department plans to send a newsletter to potential clients. As a result, you expect a significant increase in global traffic.You need to recommend a solution that meets the following requirements:– Configure the cloud service to ensure the application is responsive to the traffic increase.– Minimize hosting and administration costs.What are two possible ways to achieve this goal? Each correct answer presents a complete solution.

A. Configure the cloud service to run in two Large instances.B. Configure the cloud service to auto-scale to three instances when processor utilization is above 80%.C. Configure the storage account to be geo-redundantD. Deploy a new cloud service in a separate data center. Use Azure Traffic Manager to load balance traffic between the cloud services.E. Configure the cloud service to auto-scale when the queue exceeds 1000 entries per machine.

Answer: BEExplanation: * An autoscaling solution reduces the amount of manual work involved in dynamically scaling an application. It can do this in two different ways: either preemptively by setting constraints on the number of role instances based on a timetable, or reactively by adjusting the number of role instances in response to some counter(s) or measurement(s) that you can collect from your application or from the Azure environment.

QUESTION 60You manage a cloud service on two instances. The service name is Service1 and the role name is ServiceRole1.Service1 has performance issues during heavy traffic periods.You need to increase the existing deployment of Service1 to three instances.Which Power Shell cmdlet should you use?

Answer: BExplanation: The Set-AzureRole cmdlet sets the number of instances of a specified role to run in an Azure deploymentExampleThis command sets the “MyTestRole3” role running in production on the “MySvc1” service to three instances.Windows PowerShellC:\PS>Set-AzureRole ­ServiceName “MySvc1” ­Slot “Production” ­RoleName“MyTestRole3” ­Count 3