Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
An Azure administrator plans to run a PowerShell script that creates Azure resources.
You need to recommend which computer configuration to use to run the script.
Solution: Run the script from a computer that runs Chrome OS and uses Azure Cloud Shell.
Does this meet the goal?
Click on the arrows to vote for the correct answer
A. B.A
A PowerShell script is a file that contains PowerShell cmdlets and code. A PowerShell script needs to be run in PowerShell.
With the Azure Cloud Shell, you can run PowerShell cmdlets and scripts in a Web browser. You log in to the Azure Portal and select the Azure Cloud Shell option.
This will open a PowerShell session in the Web browser. The Azure Cloud Shell has the necessary Azure PowerShell module installed.
Note: to run a PowerShell script in the Azure Cloud Shell, you need to change to the directory where the PowerShell script is stored.
https://docs.microsoft.com/en-us/azure/cloud-shell/quickstart-powershellThe recommended solution to run a PowerShell script that creates Azure resources is to use a computer configuration that meets the following requirements:
The proposed solution suggests running the script from a computer that runs Chrome OS and uses Azure Cloud Shell. This solution might meet the goal, depending on the specific requirements of the scenario. Here are some key points to consider:
Based on the above information, the proposed solution might be valid if the administrator is comfortable with using a web-based shell environment and has a valid Azure subscription. However, it might not be the most efficient or convenient solution if the administrator prefers to use a local PowerShell environment or has specific requirements for the computer configuration.
Therefore, the answer to the question is "it depends" on the specific requirements and preferences of the administrator. If the administrator is comfortable using Azure Cloud Shell and has a valid Azure subscription, the proposed solution could meet the goal. However, if the administrator prefers to use a local PowerShell environment or has specific computer configuration requirements, then the proposed solution would not meet the goal.
Yes, deploying the virtual machines to a scale set meets the goal of ensuring that the services running on the virtual machines are available if a single data center fails.
A scale set is an Azure service that allows you to deploy and manage a set of identical virtual machines. With a scale set, you can automatically scale the number of virtual machines in the set based on demand, and you can distribute the virtual machines across multiple fault domains and update domains to increase availability.
Fault domains are groups of virtual machines that share a common power source and network switch, but are physically separated within a data center. By distributing virtual machines across fault domains, you can ensure that if one fault domain fails, the other virtual machines in the set continue to operate.
Update domains are groups of virtual machines that are updated and rebooted together in a coordinated manner. By distributing virtual machines across update domains, you can ensure that not all virtual machines in the set are rebooted at the same time, which helps maintain availability.
By deploying the virtual machines to a scale set and distributing them across multiple fault domains and update domains, you can ensure that the services running on the virtual machines are available if a single data center fails.