ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 235 - AZ-104 discussion

Report
Export

You have two Azure Active Directory (Azure AD) tenants named contoso.com and fabrikam.com.

You have a Microsoft account that you use to sign in to both tenants.

You need to configure the default sign-in tenant for the Azure portal.

What should you do?

A.
From the Azure portal, configure the portal settings.
Answers
A.
From the Azure portal, configure the portal settings.
B.
From the Azure portal, change the directory.
Answers
B.
From the Azure portal, change the directory.
C.
From Azure Cloud Shell, run Set-AzureRmContext.
Answers
C.
From Azure Cloud Shell, run Set-AzureRmContext.
D.
From Azure Cloud Shell, run Set-AzureRmSubscription.
Answers
D.
From Azure Cloud Shell, run Set-AzureRmSubscription.
Suggested answer: B

Explanation:

The Set-AzureRmContext cmdlet sets authentication information for cmdlets that you run in the current session. The context includes tenant, subscription, and environment information.

Reference:

https://docs.microsoft.com/en-us/powershell/module/azurerm.profile/set-azurermcontext

asked 26/09/2024
Manuel Ortega
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first