Question : You administer an Azure Web Site named contoso. The development team has implemented changes to the website that need to be validated. You need to validate and deploy the changes with minimum downtime to users. What should you do first?
1. Create a new Linked Resource. 2. Configure Remote Debugging on contoso. 3. Access Mostly Uused Products by 50000+ Subscribers 4. Create a deployment slot named contosoStaging. 5. Back up the contoso website to a deployment slot.
Explanation:When you deploy your application to Azure Websites, you can deploy to a separate deployment slot instead of the default production slot, which are actually live sites with their own hostnames.
Furthermore, you can swap the sites and site configurations between two deployment slots, including the production slot. Deploying your application to a deployment slot has the following benefits:
* You can validate website changes in a staging deployment slot before swapping it with the production slot. * After a swap, the slot with previously staged site now has the previous production site. If the changes swapped into the production slot are not as you expected, you can perform the same swap immediately to get your "last known good site" back.
* Deploying a site to a slot first and swapping it into production ensures that all instances of the slot are warmed up before being swapped into production. This eliminates downtime when you deploy your site. The traffic redirection is seamless, and no requests are dropped as a result of swap operations.
Reference: Staged Deployment on Microsoft Azure Websites
Question : You manage an Azure Web Site that is running in Shared mode. You discover that the website is experiencing increased average response time during periods of heavy user activity. You need to update the website configuration to address the performance issues as they occur. What should you do?
1. Set the website to Standard mode and configure automatic scaling based on CPU utilization. 2. Configure automatic seating during specific dates. 3. Access Mostly Uused Products by 50000+ Subscribers 4. Configure automatic scaling based on memory utilization. 5. Set the website to Basic mode and configure automatic scaling based on CPU utilization.
Explanation: Autoscale is only available in standard mode. http://blogs.msdn.com/b/mast/archive/2013/10/31/exploring-the-autoscale-feature-in-windows-azure-websites.aspx
Question : You manage an Azure Web Site named contosoweb. Logging is enabled for contosoweb. You need to view only errors from your log files in a continuous stream as they occur. Which Windows Power Shell command should you execute?