exam questions

Exam AZ-102 All Questions

View all questions & answers for the AZ-102 exam

Exam AZ-102 topic 4 question 12 discussion

Actual exam question from Microsoft's AZ-102
Question #: 12
Topic #: 4
[All AZ-102 Questions]

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 Azure Cloud Shell, run Set-AzureRmContext.
  • B. From the Azure portal, change the directory.
  • C. From the Azure portal, configure the portal settings.
  • D. From Azure Cloud Shell, run Set-AzureRmSubscription.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
The Set-AzureRmContext cmdlet sets authentication information for cmdlets that you run in the current session. The context includes tenant, subscription, and environment information.
References:
https://docs.microsoft.com/en-us/powershell/module/azurerm.profile/set-azurermcontext

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
emch2
4 years, 9 months ago
B must be the right answer
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...