Answer :
Final answer:
The correct PowerShell cmdlet to authenticate to your Azure subscription is Connect-AZAccount (option b).
Explanation:
The correct PowerShell cmdlet to authenticate to your Azure subscription is Connect-AZAccount. This cmdlet allows you to securely sign in to your Azure account and access your subscription resources.
Here is a step-by-step explanation:
- Open PowerShell on your computer.
- Type the command Connect-AZAccount.
- A login window will appear where you can enter your Azure account credentials.
- After entering your credentials, PowerShell will authenticate to your Azure subscription, and you will be able to manage your resources through PowerShell.
Hence, the answer is option b.