exam questions

Exam MS-500 All Questions

View all questions & answers for the MS-500 exam

Exam MS-500 topic 4 question 89 discussion

Actual exam question from Microsoft's MS-500
Question #: 89
Topic #: 4
[All MS-500 Questions]

SIMULATION -
You plan to create a script to automate user mailbox searches. The script will search the mailbox of a user named Allan Deyoung for messages that contain the word injunction.
You need to create the search that will be included in the script.
To complete this task, sign in to the Microsoft 365 admin center.

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
Step 1: Create a CSV file that contains information about the searches you want to run
The comma separated value (CSV) file that you create in this step contains a row for each user that want to search. You can search the user's Exchange Online mailbox (which includes the archive mailbox, if it's enabled) and their OneDrive for Business site. Or you can search just the mailbox or the OneDrive for Business site. You can also search any site in your SharePoint Online organization. The script that you run in Step 3 will create a separate search for each row in the CSV file.
1. Copy and paste the following text into a .txt file using NotePad. Save this file to a folder on your local computer. You'll save the other scripts to this folder as well.
ExchangeLocation,SharePointLocation,ContentMatchQuery,StartDate,EndDate [email protected],https://contoso-my.sharepoint.com/personal/sarad_contoso_onmicrosoft_com,(lawsuit OR legal),1/1/2000,12/31/2005 [email protected],https://contoso-my.sharepoint.com/personal/sarad_contoso_onmicrosoft_com,(lawsuit OR legal),1/1/2006,12/31/2010 [email protected],https://contoso-my.sharepoint.com/personal/sarad_contoso_onmicrosoft_com,(lawsuit OR legal),1/1/2011,3/21/2016
,https://contoso.sharepoint.com/sites/contoso,,,3/21/2016
,https://contoso-my.sharepoint.com/personal/davidl_contoso_onmicrosoft_com,,1/1/2015,
,https://contoso-my.sharepoint.com/personal/janets_contoso_onmicrosoft_com,,1/1/2015,
The first row, or header row, of the file lists the parameters that will be used by New-ComplianceSearch cmdlet to create a new Content Searches. Each parameter name is separated by a comma. Make sure there aren't any spaces in the header row. Each row under the header row represents the parameter values for each search. Be sure to replace the placeholder data in the CSV file with your actual data.
2. Open the .txt file in Excel, and then use the information in the following table to edit the file with information for each search.

3. Save the Excel file as a CSV file to a folder on your local computer. The script that you create in Step 3 will use the information in this CSV file to create the searches.
Reference:
https://docs.microsoft.com/en-us/microsoft-365/compliance/create-report-on-and-delete-multiple-content-searches?view=o365-worldwide https://docs.microsoft.com/en-us/microsoft-365/compliance/keyword-queries-and-search-conditions?view=o365-worldwide

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
mashaeg
Highly Voted 3 years, 11 months ago
eDiscovery- Searches-Keyword
upvoted 10 times
...
Whatsamattr81
Highly Voted 2 years, 9 months ago
I cant understand how you'd ever be asked to do this in an MS exam- i'd probably just drop the points and use the time to review previous questions.
upvoted 9 times
...
Janetella09
Most Recent 2 years, 3 months ago
how to know the script to do this. i think this will not appear in exam tho.
upvoted 1 times
...
RVR
2 years, 7 months ago
The question specifically says "create the search", so the answer should just be the eDiscovery search for the required scenario.
upvoted 1 times
...
TheABC
2 years, 8 months ago
And that's enoght internet for today me thinks...
upvoted 5 times
...
mbecile
3 years, 3 months ago
You're just creating an e-Discovery case. Once you have a case, that will have a name, you can use that case's name in the fancy-shmancy .CSV file. So the given answer is going way beyond what's being asked.
upvoted 3 times
...
Cepheid
3 years, 5 months ago
Does this really appear in the exam?
upvoted 4 times
...
Bobalo
3 years, 7 months ago
I don't think this answer is correct, the question askes to create the search that will be used for the script, the search can be created from the console, or am I mistaken?
upvoted 4 times
The_Temp
3 years, 5 months ago
I've seen another MS-500 question where a content search created in the Security admin console was used in a PowerShell script, so I think you're right.
upvoted 2 times
...
RJ06
2 years, 6 months ago
correct, there is no need to create an ediscovery case. it can be achieveed by simply creating a content search for Allan and using the keyword injunction.
upvoted 4 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago