Which four Azure PowerShell scripts should you run in sequence?

###BeginCaseStudy###
Case Study: 3
Contoso, Ltd
Background
Overview
Contoso, Ltd., manufactures and sells golf clubs and golf balls. Contoso also sells golf
accessories under the Contoso Golf and Odyssey brands worldwide.
Most of the company’s IT infrastructure is located in the company’s Carlsbad, California,
headquarters. Contoso also has a sizable third-party colocation datacenter that costs the
company USD $30,000 to $40,000 a month. Contoso has other servers scattered around the
United States.
Contoso, Ltd., has the following goals:
• Move many consumer-facing websites, enterprise databases, and enterprise web
services to Azure.
• Improve the performance for customers and resellers who are access company
websites from around the world.
• Provide support for provisioning resources to meet bursts of demand.
• Consolidate and improve the utilization of website- and database-hosting resources.
• Avoid downtime, particularly that caused by web and database server updating.
• Leverage familiarity with Microsoft server management tools.
Infrastructure
Contoso’s datacenters are filled with dozens of smaller web servers and databases that run on
under-utilized hardware. This creates issues for data backup. Contoso currently backs up data
to tape by using System Center Data Protection Manager. System Center Operations Manager
is not deployed in the enterprise.
All of the servers are expensive to acquire and maintain, and scaling the infrastructure takes
significant time. Contoso conducts weekly server maintenance, which causes downtime for
some of its global offices. Special events, such as high-profile golf tournaments, create a
large increase in site traffic. Contoso has difficulty scaling the web-hosting environment fast
enough to meet these surges in site traffic.
Contoso has resellers and consumers in Japan and China. These resellers must use
applications that run in a datacenter that is located in the state of Texas, in the United States.
Because of the physical distance, the resellers experience slow response times and downtime.
Business Requirements
Management and Performance
Management
• Web servers and databases must automatically apply updates to the operating system
and products.
• Automatically monitor the health of worldwide sites, databases, and virtual machines.• Automatically back up the website and databases.
• Manage hosted resources by using on-premises tools.
Performance
• The management team would like to centralize data backups and eliminate the use of
tapes.
• The website must automatically scale without code changes or redeployment.
• Support changes in service tier without reconfiguration or redeployment.
• Site-hosting must automatically scale to accommodate data bandwidth and number of
connections.
• Scale databases without requiring migration to a larger server.
• Migrate business critical applications to Azure.
• Migrate databases to the cloud and centralize databases where possible.
Business Continuity and Support
Business Continuity
• Minimize downtime in the event of regional disasters.
• Recover data if unintentional modifications or deletions are discovered.
• Run the website on multiple web server instances to minimize downtime and support
a high service level agreement (SLA).
Connectivity
• Allow enterprise web services to access data and other services located on-premises.
• Provide and monitor lowest latency possible to website visitors.
• Automatically balance traffic among all web servers.
• Provide secure transactions for users of both legacy and modern browsers.
• Provide automated auditing and reporting of web servers and databases.
• Support single sign-on from multiple domains.
Development Environment
You identify the following requirements for the development environment:
• Support the current development team’s knowledge of Microsoft web development
and SQL Service tools.
• Support building experimental applications by using data from the Azure deployment
and on-premises data sources.
• Mitigate the need to purchase additional tools for monitoring and debugging.
• System designers and architects must be able to create custom Web APIs without
requiring any coding.
• Support automatic website deployment from source control.
• Support automated build verification and testing to mitigate bugs introduced during
builds.
• Manage website versions across all deployments.
• Ensure that website versions are consistent across all deployments.
Technical Requirement
Management and Performance
Management
• Use build automation to deploy directly from Visual Studio.
• Use build-time versioning of assets and builds/releases.• Automate common IT tasks such as VM creation by using Windows PowerShell
workflows.
• Use advanced monitoring features and reports of workloads in Azure by using
existing Microsoft tools.
Performance
• Websites must automatically load balance across multiple servers to adapt to varying
traffic.
• In production, websites must run on multiple instances.
• First-time published websites must be published by using Visual Studio and scaled to
a single instance to test publishing.
• Data storage must support automatic load balancing across multiple servers.
• Websites must adapt to wide increases in traffic during special events.
• Azure virtual machines (VMs) must be created in the same datacenter when
applicable.
Business Continuity and Support
Business Continuity
• Automatically co-locate data and applications in different geographic locations.
• Provide real-time reporting of changes to critical data and binaries.
• Provide real-time alerts of security exceptions.
• Unwanted deletions or modifications of data must be reversible for up to one month,
especially in business critical applications and databases.
• Any cloud-hosted servers must be highly available.
Enterprise Support
• The solution must use stored procedures to access on-premises SQL Server data from
Azure.
• A debugger must automatically attach to websites on a weekly basis. The scripts that
handle the configuration and setup of debugging cannot work if there is a delay in
attaching the debugger.

###EndCaseStudy###

DRAG DROP
You need to deploy the virtual machines to Azure.
Which four Azure PowerShell scripts should you run in sequence? To answer, move the appropriate
scripts from the list of scripts to the answer area and arrange them in the correct order.

###BeginCaseStudy###
Case Study: 3
Contoso, Ltd
Background
Overview
Contoso, Ltd., manufactures and sells golf clubs and golf balls. Contoso also sells golf
accessories under the Contoso Golf and Odyssey brands worldwide.
Most of the company’s IT infrastructure is located in the company’s Carlsbad, California,
headquarters. Contoso also has a sizable third-party colocation datacenter that costs the
company USD $30,000 to $40,000 a month. Contoso has other servers scattered around the
United States.
Contoso, Ltd., has the following goals:
• Move many consumer-facing websites, enterprise databases, and enterprise web
services to Azure.
• Improve the performance for customers and resellers who are access company
websites from around the world.
• Provide support for provisioning resources to meet bursts of demand.
• Consolidate and improve the utilization of website- and database-hosting resources.
• Avoid downtime, particularly that caused by web and database server updating.
• Leverage familiarity with Microsoft server management tools.
Infrastructure
Contoso’s datacenters are filled with dozens of smaller web servers and databases that run on
under-utilized hardware. This creates issues for data backup. Contoso currently backs up data
to tape by using System Center Data Protection Manager. System Center Operations Manager
is not deployed in the enterprise.
All of the servers are expensive to acquire and maintain, and scaling the infrastructure takes
significant time. Contoso conducts weekly server maintenance, which causes downtime for
some of its global offices. Special events, such as high-profile golf tournaments, create a
large increase in site traffic. Contoso has difficulty scaling the web-hosting environment fast
enough to meet these surges in site traffic.
Contoso has resellers and consumers in Japan and China. These resellers must use
applications that run in a datacenter that is located in the state of Texas, in the United States.
Because of the physical distance, the resellers experience slow response times and downtime.
Business Requirements
Management and Performance
Management
• Web servers and databases must automatically apply updates to the operating system
and products.
• Automatically monitor the health of worldwide sites, databases, and virtual machines.• Automatically back up the website and databases.
• Manage hosted resources by using on-premises tools.
Performance
• The management team would like to centralize data backups and eliminate the use of
tapes.
• The website must automatically scale without code changes or redeployment.
• Support changes in service tier without reconfiguration or redeployment.
• Site-hosting must automatically scale to accommodate data bandwidth and number of
connections.
• Scale databases without requiring migration to a larger server.
• Migrate business critical applications to Azure.
• Migrate databases to the cloud and centralize databases where possible.
Business Continuity and Support
Business Continuity
• Minimize downtime in the event of regional disasters.
• Recover data if unintentional modifications or deletions are discovered.
• Run the website on multiple web server instances to minimize downtime and support
a high service level agreement (SLA).
Connectivity
• Allow enterprise web services to access data and other services located on-premises.
• Provide and monitor lowest latency possible to website visitors.
• Automatically balance traffic among all web servers.
• Provide secure transactions for users of both legacy and modern browsers.
• Provide automated auditing and reporting of web servers and databases.
• Support single sign-on from multiple domains.
Development Environment
You identify the following requirements for the development environment:
• Support the current development team’s knowledge of Microsoft web development
and SQL Service tools.
• Support building experimental applications by using data from the Azure deployment
and on-premises data sources.
• Mitigate the need to purchase additional tools for monitoring and debugging.
• System designers and architects must be able to create custom Web APIs without
requiring any coding.
• Support automatic website deployment from source control.
• Support automated build verification and testing to mitigate bugs introduced during
builds.
• Manage website versions across all deployments.
• Ensure that website versions are consistent across all deployments.
Technical Requirement
Management and Performance
Management
• Use build automation to deploy directly from Visual Studio.
• Use build-time versioning of assets and builds/releases.• Automate common IT tasks such as VM creation by using Windows PowerShell
workflows.
• Use advanced monitoring features and reports of workloads in Azure by using
existing Microsoft tools.
Performance
• Websites must automatically load balance across multiple servers to adapt to varying
traffic.
• In production, websites must run on multiple instances.
• First-time published websites must be published by using Visual Studio and scaled to
a single instance to test publishing.
• Data storage must support automatic load balancing across multiple servers.
• Websites must adapt to wide increases in traffic during special events.
• Azure virtual machines (VMs) must be created in the same datacenter when
applicable.
Business Continuity and Support
Business Continuity
• Automatically co-locate data and applications in different geographic locations.
• Provide real-time reporting of changes to critical data and binaries.
• Provide real-time alerts of security exceptions.
• Unwanted deletions or modifications of data must be reversible for up to one month,
especially in business critical applications and databases.
• Any cloud-hosted servers must be highly available.
Enterprise Support
• The solution must use stored procedures to access on-premises SQL Server data from
Azure.
• A debugger must automatically attach to websites on a weekly basis. The scripts that
handle the configuration and setup of debugging cannot work if there is a delay in
attaching the debugger.

###EndCaseStudy###

DRAG DROP
You need to deploy the virtual machines to Azure.
Which four Azure PowerShell scripts should you run in sequence? To answer, move the appropriate
scripts from the list of scripts to the answer area and arrange them in the correct order.

Answer: See the explanation

Explanation:
Box 1:

Box 2:

Box 3:

Box 4:

Note:
* In order to upload a VHD file to Azure, we need :
Azure PowerShell SDK
A publish setting file
An affinity group
A Storage account
A container
Incorrect answers:
* Add-AzureWorkerRole creates required files and configuration (sometimes referred to as
scaffolding) for a custom worker role.

Deploy a custom Windows VHD in Azure with PowerShell and validate with Pester
http://pwrshell.net/deploy-a-custom-windows-vhd-in-azure-with-powershell-and-validate-withpester/



Leave a Reply 0

Your email address will not be published. Required fields are marked *