Question 1easymultiple choice
Read the full Deploy and manage a Microsoft 365 tenant explanation →MS-102 Deploy and manage a Microsoft 365 tenant • Complete Question Bank
Complete MS-102 Deploy and manage a Microsoft 365 tenant question bank — all 0 questions with answers and detailed explanations.
Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag a concept onto its matching description — or click a concept then click the description.
Web and mobile apps only
Desktop apps plus web and mobile
Business Standard plus security features
Full enterprise features without advanced security
E3 plus advanced security and analytics
Refer to the exhibit.
```json
{
"displayName": "Block Legacy Auth",
"state": "enabled",
"conditions": {
"applications": {
"includeApplications": ["All"]
},
"users": {
"includeUsers": ["All"]
},
"clientAppTypes": [
"exchangeActiveSync",
"otherClients"
]
},
"grantControls": {
"builtInControls": ["block"],
"operator": "OR"
}
}
```Refer to the exhibit. ``` Get-MsolCompanyInformation | fl DisplayName, DefaultDomainName, InitialDomain ```
Refer to the exhibit.
```json
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"resources": [
{
"type": "Microsoft.Storage/storageAccounts",
"apiVersion": "2021-02-01",
"name": "[parameters('storageAccountName')]",
"location": "eastus",
"kind": "StorageV2",
"sku": {
"name": "Standard_LRS"
},
"properties": {
"supportsHttpsTrafficOnly": true
}
}
]
}
```Refer to the exhibit.
```
$params = @{
"blockSignIn" = $true
"signInActivity" = @{
"lastSuccessfulSignInDateTime" = (Get-Date).AddDays(-90)
}
}
Update-MgUser -UserId "user@contoso.com" -BodyParameter $params
```Refer to the exhibit.
```json
{
"displayName": "Block Legacy Auth",
"state": "enabled",
"conditions": {
"clientAppTypes": ["exchangeActiveSync", "otherClients"]
},
"grantControls": {
"builtInControls": ["block"]
}
}
```Refer to the exhibit.
```json
{
"displayName": "MFA for Admins",
"state": "enabled",
"conditions": {
"users": {
"includeRoles": ["Global Administrator", "Exchange Administrator"]
},
"applications": {
"includeApplications": ["All"]
}
},
"grantControls": {
"builtInControls": ["mfa"]
}
}
```Refer to the exhibit.
```json
{
"policy": {
"name": "Data Loss Prevention Policy",
"locations": [
"ExchangeOnline",
"SharePointOnline",
"OneDriveForBusiness",
"Teams"
],
"rules": [
{
"name": "Credit Card Number Rule",
"condition": {
"sensitiveInformationTypes": [
{
"id": "Credit Card Number",
"minCount": 1
}
]
},
"actions": [
{
"type": "BlockAccess",
"config": {
"blockMessage": "Access blocked due to DLP policy"
}
}
]
}
]
}
}
```Refer to the exhibit.
```powershell
Get-MsolUser -UserPrincipalName user@contoso.com | Select-Object -Property UserPrincipalName, IsLicensed, Licenses
UserPrincipalName IsLicensed Licenses
----------------- ---------- -------
user@contoso.com True {contoso:ENTERPRISEPACK}
```Refer to the exhibit. ```kusto IdentityInfo | where UserPrincipalName == "admin@contoso.com" | project UserPrincipalName, AssignedRoles, LastPasswordChangeDateTime | where AssignedRoles contains "Global Administrator" ```
Refer to the exhibit.
{
"appId": "00000003-0000-0000-c000-000000000000",
"displayName": "Microsoft Graph",
"passwordCredentials": []
}Refer to the exhibit. ```kql DeviceLogonEvents | where Timestamp > ago(7d) | where AccountName == "admin" | project Timestamp, DeviceName, AccountName, IPAddress | order by Timestamp desc ```
Refer to the exhibit.
```json
{
"properties": {
"displayName": "Block access for external users from unknown IPs",
"conditions": {
"applications": {
"includeApplications": ["All"]
},
"users": {
"includeUsers": ["All"]
},
"locations": {
"includeLocations": ["AllTrusted"]
}
},
"grantControls": {
"builtInControls": ["block"]
}
}
}
```Refer to the exhibit.
```json
{
"displayName": "Block high-risk users from accessing email",
"conditions": {
"userRiskLevels": ["high"],
"applications": {
"includeApplications": ["Office365"]
}
},
"grantControls": {
"builtInControls": ["block"]
}
}
```Refer to the exhibit.
```powershell
Get-MgOrganization | Select-Object DisplayName, TechnicalNotificationMails
```
Output:
```
DisplayName TechnicalNotificationMails
----------- -------------------------
Contoso Ltd. {admin@contoso.com, it@contoso.com}
```Refer to the exhibit.
```json
{
"properties": {
"displayName": "SharePoint sensitive data protection",
"description": "Blocks external sharing for sites with sensitive labels",
"isExternallyAccessible": false,
"sharepointIds": {
"siteId": "contoso.sharepoint.com,00000000-0000-0000-0000-000000000000,11111111-1111-1111-1111-111111111111"
}
}
}
```Refer to the exhibit.
```json
{
"conditions": {
"applications": {
"includeApplications": ["Office365"]
},
"users": {
"includeUsers": ["All"]
},
"platforms": {
"includePlatforms": ["iOS", "Android"]
}
},
"grantControls": {
"builtInControls": ["mfa", "compliantDevice"]
}
}
```Refer to the exhibit.
```json
{
"roleName": "Custom Helpdesk",
"permissions": [
"microsoft.directory/users/standard/read",
"microsoft.directory/users/password/update"
]
}
```Refer to the exhibit.
```
Get-MsolUser -All | Where-Object {$_.isLicensed -eq $false} | Select-Object UserPrincipalName
```Refer to the exhibit.
{
"appInfo": {
"appId": "00000011-0000-0000-c000-000000000000",
"displayName": "Microsoft Teams Admin Center"
},
"permissions": [
{
"resourceAppId": "00000002-0000-0ff1-ce00-000000000000",
"resourceAccess": [
{
"id": "11356cb3-9cf7-4b2f-8c7b-7d8a9f4e4c5d",
"type": "Role"
}
]
}
]
}Refer to the exhibit. Connect-ExchangeOnline -UserPrincipalName admin@contoso.com -ShowProgress $true Get-Mailbox -ResultSize 10 | Select-Object DisplayName, RecipientTypeDetails, PrimarySmtpAddress
Refer to the exhibit.
```json
{
"conditions": {
"applications": {
"includeApplications": ["Office365"]
},
"users": {
"includeUsers": ["All"]
},
"locations": {
"includeLocations": ["All"]
}
},
"grantControls": {
"builtInControls": ["mfa", "compliantDevice"]
},
"sessionControls": {
"applicationEnforcedRestrictions": null,
"cloudAppSecurity": {
"cloudAppSecurityType": "monitorOnly"
}
}
}
```