exam questions

Exam AZ-100 All Questions

View all questions & answers for the AZ-100 exam

Exam AZ-100 topic 5 question 5 discussion

Actual exam question from Microsoft's AZ-100
Question #: 5
Topic #: 5
[All AZ-100 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 the Azure portal, configure the portal settings.
  • B. From the Azure portal, change the directory.
  • C. From Azure Cloud Shell, run Set-AzureRmContext.
  • D. From Azure Cloud Shell, run Set-AzureRmSubscription.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Change the subscription directory in the Azure portal.
The classic portal feature Edit Directory, that allows you to associate an existing subscription to your Azure Active Directory (AAD), is now available in Azure portal. It used to be available only to Service Admins with Microsoft accounts, but now it's available to users with AAD accounts as well.
To get started:
1. Go to Subscriptions.
2. Select a subscription.
3. Select Change directory.
Incorrect Answers:
C: 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://azure.microsoft.com/en-us/updates/edit-directory-now-in-new-portal/

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
PrinceVarghese
4 years, 11 months ago
https://azure.microsoft.com/en-us/updates/edit-directory-now-in-new-portal/
upvoted 1 times
...
Corona_Virus
5 years, 1 month ago
it should be C
upvoted 3 times
PrinceVarghese
4 years, 11 months ago
D is correct. C will only set the tenant for the current session on shell not in "portal".
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 ...