MS-102 Deploy and manage a Microsoft 365 tenant Practice Question
Exhibit
Refer to the exhibit. ``` Get-MsolCompanyInformation | fl DisplayName, DefaultDomainName, InitialDomain ```
You run the PowerShell command shown in the exhibit for a Microsoft 365 tenant. The output shows DisplayName as 'Contoso', DefaultDomainName as 'contoso.onmicrosoft.com', and InitialDomain as 'contoso.onmicrosoft.com'. What does this indicate about the tenant?
⚠ Common exam trap
Watch out — candidates often assume the DefaultDomainName property reflects a custom domain that has been set as default, but the output explicitly shows it is the initial .onmicrosoft.com domain, indicating no custom domain has been promoted to default.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The tenant is using the initial .onmicrosoft.com domain as the default domain.
The output shows DefaultDomainName and InitialDomain both set to 'contoso.onmicrosoft.com', which means the tenant is using its initial Microsoft-provided domain as the default domain. The Get-MgDomain cmdlet retrieves domain objects, and the DefaultDomainName property indicates which domain is used by default for new users and services. Since no custom domain is set as default, the initial .onmicrosoft.com domain remains the default.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The command requires global admin privileges.
Why it's wrong here
The output shown does not include any permission or role metadata, so it cannot indicate whether Global Admin was required. Commands like Get-MgDomain or Get-AzureADDomain can typically be run by any directory user with read access, depending on tenant settings and delegated permissions. Requiring Global Admin is unrelated to the observed DefaultDomainName/InitialDomain equality.
- ✓
The tenant is using the initial .onmicrosoft.com domain as the default domain.
Why this is correct
When DefaultDomainName and InitialDomain display the same .onmicrosoft.com address, it means Microsoft 365 is using the originally provisioned domain as the primary SMTP routing domain. This is the default state for a new tenant; the initial domain is always verified and cannot be removed, so no custom domain has been designated as default.
- ✗
The tenant has not been verified.
Why it's wrong here
The initial .onmicrosoft.com domain is automatically verified by Microsoft when the tenant is created, so a 'not verified' state is impossible for that domain. Verification status is only relevant for custom domains you add and must prove ownership of; the equality of DefaultDomainName and InitialDomain actually confirms the tenant is in a valid, verified state.
- ✗
The tenant has a custom domain set as the default.
Why it's wrong here
If a custom domain such as contoso.com were set as the default, the DefaultDomainName property would return that custom namespace, not the .onmicrosoft.com value shown. Because the output shows the initial domain as default, it directly contradicts the possibility of a custom default domain, making this option incorrect.
Go deeper
Related to this question
Learn chapter
Custom Domain Management in Microsoft 365
Key term
Microsoft 365
Microsoft 365 is a subscription-based cloud service from Microsoft that combines productivity tools like Office apps with security, device management, and online storage.
Key term
Microsoft 365 tenant
A Microsoft 365 tenant is a dedicated, isolated instance of Microsoft 365 services created for an organization when they sign up for a subscription.
About these practice questions
One of 712 original MS-102 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This MS-102 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the MS-102 exam.