Question

Difficulty: MediumAzure Portal, CLI, PowerShell, and Cloud Shell

Azure Cloud Shell automatically authenticates your command-line session using the credentials of the signed-in Azure account, eliminating the need to run login commands such as 'az login' or 'Connect-AzAccount' when starting a session.

Answer: Answer

Answer

True
The correct answer is True because Azure Cloud Shell is natively integrated with the Azure Portal and automatically authenticates the user. When a user opens Cloud Shell, their session is pre-authenticated with the credentials used to log into the portal, allowing them to manage resources immediately without running login commands.

Step-by-Step Solution

1
Identify the authentication behavior of Azure Cloud Shell.
Azure Cloud Shell is a web-based command-line tool accessible directly from the Azure Portal.
To determine if local login commands are necessary inside the Cloud Shell environment.
2
Verify if manual login is required.
Because the user is already authenticated to the Azure Portal, Cloud Shell automatically inherits these credentials and authenticates the CLI or PowerShell session.
This eliminates the need to execute manual authentication commands to begin managing resources.

Key Concept

Azure Cloud Shell pre-authentication
Rate this question