Final answer:
The correct ways to create a resource group in Azure are through the Azure Portal, CLI, PowerShell, templates, and SDK; therefore, option B is the valid answer.
Step-by-step explanation:
The valid ways to create a resource group include using the following methods: the Azure Portal, Azure Command-Line Interface (CLI), Azure PowerShell, ARM templates, and the Azure Software Development Kit (SDK). These methods provide various ways for users to manage their Azure resources effectively and can be chosen based on user preference or requirements of a specific task.
Option B is the answer that accurately reflects these methods: Portal, CLI, PowerShell, templates, SDK.