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 macOS and has PowerShell Core 6.0 installed.
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.
In this question, the computer has PowerShell Core 6.0 installed. Therefore, this solution does meet the goal.
Note: To create Azure resources using PowerShell, you would need to import the Azure PowerShell module which includes the PowerShell cmdlets required to create the resources.
https://docs.microsoft.com/en-us/powershell/scripting/components/ise/how-to-write-and-run-scripts-in-the-windows-powershell-ise?view=powershell-6The proposed solution to run the PowerShell script on a macOS computer that has PowerShell Core 6.0 installed can work depending on the script's functionality and the Azure resources that it creates.
PowerShell Core 6.0 is a cross-platform version of PowerShell that can run on various operating systems, including macOS, Linux, and Windows. It supports a subset of the cmdlets available in Windows PowerShell but can still manage Azure resources.
However, it's worth noting that not all Azure modules and features are fully supported on PowerShell Core, and some cmdlets may behave differently than their Windows PowerShell counterparts. Therefore, it's crucial to check the script's functionality and the Azure resources that it creates to ensure they're compatible with PowerShell Core before running it on a macOS computer.
Additionally, the administrator should also ensure that the macOS computer has the necessary connectivity and authentication to Azure. They should have Azure PowerShell modules and dependencies installed, as well as valid Azure credentials to authenticate the script's execution.
In summary, running the PowerShell script on a macOS computer that has PowerShell Core 6.0 installed can work, but the administrator should ensure that the script's functionality and the Azure resources it creates are compatible with PowerShell Core and that the macOS computer has the necessary connectivity and authentication to Azure.
The underlined text states that "Resource groups provide organizations with the ability to manage the compliance of Azure resources across multiple subscriptions." The question asks if the underlined text is correct, and if not, which answer choice would make the statement correct.
Resource groups are a fundamental construct in Azure that enable the organization and management of resources in a logical way. They are used to group related resources, such as virtual machines, storage accounts, and virtual networks, to manage them as a single entity. Resource groups are created within subscriptions and can contain resources from that subscription or other subscriptions.
However, resource groups do not provide the ability to manage compliance of Azure resources across multiple subscriptions. Instead, this functionality is provided by Management groups, which are used to manage access, policies, and compliance across multiple subscriptions. Management groups provide a hierarchy that can be used to organize subscriptions and apply policies and governance to those subscriptions and resources. Azure Policies can be used to enforce compliance within management groups.
Therefore, the correct answer to this question is B, "Management groups." Resource groups are used to organize and manage resources within a subscription, whereas management groups are used to manage access, policies, and compliance across multiple subscriptions.
Option A, "No change is needed," is incorrect because the underlined text is not correct.
Option C, "Azure policies," is incorrect because while Azure policies can be used to enforce compliance, they are not the construct that enables organizations to manage compliance across multiple subscriptions.
Option D, "Azure App Service plans," is incorrect because App Service plans are a construct used to manage the hosting environment for web apps, mobile app back ends, and RESTful APIs. They are not related to managing compliance of Azure resources across multiple subscriptions.