Question 1 — AZ-104 Practice Exam 10
Which two tools allow you to authenticate into Azure using commands like Connect-AzAccount or az login? (Select two answers)
Azure CLI
Azure Portal
Azure Mobile App
Azure PowerShell
Correct answers
Azure CLI
Azure PowerShell
Explanations
Correct:
Azure CLI – Uses the az login command to authenticate and manage resources.
Azure PowerShell – Uses the Connect-AzAccount command to sign in.
Wrong:
Azure Portal – Authentication is through a browser login, not command-line commands.
Azure Mobile App – Authentication occurs through mobile sign-in, not CLI-style commands.