Skip to main content
  1. Public practice questions
  2. AZ-104 Practice Exams | Azure Administrator Associate
  3. AZ-104 Practice Exam 10

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)

  1. Azure CLI

  2. Azure Portal

  3. Azure Mobile App

  4. Azure PowerShell

Correct answers

  1. Azure CLI

  2. 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.