70-346

70-346 practice questions, page 10 of 12, with answer review and explanations.

Question 46

A company migrates to Office 365. 2,000 active users have valid Office 365 licenses assigned. An additional 5,000 user accounts were created during the migration and testing processes. These users do not have any licenses assigned. You need to remove the Office 365 user accounts that do not have any licenses assigned by using the least amount of administrative effort. Which Windows PowerShell command should you run?

  1. Get-MsolUser -All-EnabledFilter "DisabledOnly" | Remove-MsolUser -Force
  2. Get-MsolUser-EnabledFilter "DisabledOnly" | Remove-MsolUser -Force
  3. Get-MsolUser -All -UnlicensedUsersOnly | Remove-MsolUser -Force
  4. Get-MsolUser -UnlicensedUsersOnly | Remove-MsolUser–Force

Question 47

Litware Inc. has an Office 365 Enterprise El plan. Employees have access to all Office 365 services. Employees in the human resources (HR) department must continue to use the on-premises SharePoint 2013 deployment due to legal requirements. You need to disable access to SharePoint Online for all HR department employees. How should you complete the relevant Windows PowerShell commands? To answer, drag the appropriate Windows PowerShell segment to the correct location or locations in the answer area. Each Windows PowerShell segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. Select and Place:

Question 48

Your company uses Office 365. You need to identify which users do NOT have a Microsoft Exchange Online license assigned to their user account. Which Windows PowerShell cmdlet should you use?

  1. Get-ManagementRoleAssignment
  2. Get-User
  3. Get-RoleGroupMember
  4. Get-LogonStatistics
  5. Get-RemovedMailbox
  6. Get-MSOLContact
  7. Get-Recipient
  8. Get-Mailbox
  9. Get-Group
  10. Get-MailboxStatistics K. Get-MSOLUser L. Get-MailContact

Question 49

You are the Office 365 administrator for your company. The company synchronizes the local Active Directory objects with a central identity management system. The environment has the following characteristics: ✑ Each department has its own organizational unit (OU). ✑ The company has OU hierarchies for partner user accounts. ✑ All user accounts are maintained by the identity management system. You need to ensure that partner accounts are NOT synchronized with Office 365. What should you do?

  1. Configure OU-based filtering by using Azure Active Directory Connect (Azure AD Connect).
  2. In the Azure Active Directory portal, configure OU-based filtering.
  3. Configure user attribute-based filtering by using Azure Active Directory Connect (Azure AD Connect).
  4. In the Azure Active Directory portal, configure user attribute-based filtering.

Question 50

An organization plans to migrate to Office 365. You use the Windows Azure Active Directory (AD) Sync tool. Several users will not migrate to Office 365. You must exclude these users from synchronization. All users must continue to authenticate against the on-premises Active Directory. You need to synchronize the remaining users. Which three actions should you perform? Each correct answer presents part of the solution.

  1. Populate an attribute for each user account.
  2. Disable the user accounts in Active Directory.
  3. Perform a full synchronization.
  4. Configure the connection filter.
  5. Run the Windows PowerShell command Set-MsolDirSyncEnabled -EnableDirSync $false.