exam questions

Exam MS-500 All Questions

View all questions & answers for the MS-500 exam

Exam MS-500 topic 3 question 6 discussion

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

A user stores the following files in Microsoft OneDrive:
✑ File.docx
✑ ImportantFile.docx
✑ File_Important.docx
You create a Microsoft Cloud App Security file policy Policy1 that has the filter shown in the following exhibit.

To which files does Policy1 apply?

  • A. File_Important.docx only
  • B. File.docx, ImportantFile.docx, and File_Important.docx
  • C. File.docx only
  • D. ImportantFile.docx only
  • E. File.docx and File_Important.docx only
Show Suggested Answer Hide Answer
Suggested Answer: E 🗳️

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
TimurKazan
Highly Voted 4 years, 2 months ago
Based on the article I would go with E
upvoted 29 times
Yetijo
4 years ago
Agree. Supporting excerpt: "When using the file policy filters, Contains will search only for full words – separated by comas, dots, spaces or underscores to search."
upvoted 4 times
EzeQ
3 years, 4 months ago
Just tested, it caches all. The article might have been rewritten to explain the quotation marks usage: "Spaces between words function like OR. For example, if you search for malware virus it will find all files with either malware or virus in the name, so it will find both malware-virus.exe and virus.exe." + "If you want to search for a string, enclose the words in quotation marks. This functions like AND. For example, if you search for "malware" "virus", it will find virus_malware_file.exe but it will not find malwarevirusfile.exe and it will not find malware.exe. However, it will search for the exact string. If you search for "malware virus", it will not find "virus" or "virus_malware"."
upvoted 6 times
...
Fala_Fel
3 years, 11 months ago
Here is another link with slightly different wording. And again suggests E is the correct answer. https://docs.microsoft.com/en-us/cloud-app-security/data-protection-policies "When using the policy filters, Contains searches only for full words – separated by comas, dots, spaces, or underscores. For example if you search for malware or virus, it finds virus_malware_file.exe but it does not find malwarevirusfile.exe"
upvoted 5 times
galindyl
3 years, 3 months ago
"separated by commas, DOTS," etc. File.("dot")docx
upvoted 1 times
...
...
catfood
3 years, 4 months ago
there are 2 MS docos - one says underscores and the other doesn't. This is very confusing - Microsoft need to lift their game.
upvoted 4 times
...
...
...
PHARDY
Highly Voted 4 years, 2 months ago
I just tested and the right answer is C
upvoted 19 times
sdeyoung
4 years ago
I have to agree with you PHARDY. Tested this as well in my tenant and C was the answer for me.
upvoted 4 times
...
Snaileyes
2 years, 9 months ago
Agree with PHARDY. Docs are wrong about the "_" being a word separator. It will find File.doc, but NOT File_Something.doc.
upvoted 2 times
...
...
jonathas182
Most Recent 2 years, 1 month ago
Selected Answer: C
C is the correct
upvoted 1 times
...
Tanasi
2 years, 1 month ago
Selected Answer: E
Based on the article I would go with E
upvoted 2 times
...
Dhamus
2 years, 2 months ago
Selected Answer: C
When using a file directive, it will only search for whole words, the correct answer is C.
upvoted 1 times
...
ysm
2 years, 3 months ago
Selected Answer : B The documentation is talking about when giving multiple words => it will seek for these same words even when it's dot, underscore ... separed.
upvoted 1 times
...
lcaothu92
2 years, 4 months ago
B is correct " Note When using the file policy filters, Contains will search only for full words – separated by commas, dots, hyphens or spaces to search. Spaces or hyphens between words function like OR. For example, if you search for malware virus it will find all files with either malware or virus in the name, so it will find both malware-virus.exe and virus.exe. If you want to search for a string, enclose the words in quotation marks. This functions like AND. For example, if you search for "malware" "virus", it will find virus_malware_file.exe but it will not find malwarevirusfile.exe and it will not find malware.exe. However, it will search for the exact string. If you search for "malware virus", it will not find "virus" or "virus_malware". Equals will search only for the complete string. For example, if you search for malware.exe it will find malware.exe but not malware.exe.txt." https://learn.microsoft.com/en-us/defender-cloud-apps/file-filters?source=recommendations
upvoted 1 times
...
abrub
2 years, 4 months ago
Selected Answer: C
When using the file policy filters, Contains will search only for full words – separated by commas, dots, hyphens or spaces to search. Spaces or hyphens between words function like OR. For example, if you search for malware virus it will find all files with either malware or virus in the name, so it will find both malware-virus.exe and virus.exe. If you want to search for a string, enclose the words in quotation marks. This functions like AND. For example, if you search for "malware" "virus", it will find virus_malware_file.exe but it will not find malwarevirusfile.exe and it will not find malware.exe. However, it will search for the exact string. If you search for "malware virus", it will not find "virus" or "virus_malware".
upvoted 1 times
...
naylinu
2 years, 4 months ago
it's very confusing even with microsoft KB. Test Result is C. This questing looks like "English" Test :) .. I hate this kind of questions.
upvoted 1 times
...
mcclane654
2 years, 5 months ago
Selected Answer: B
I bought a compliance E5 license today and managed to do some testing with the proper policy. According to article I would say E. but my test shows that underscore is not working. comma, space, dot and hyphen all work as described in article. so I am at a loss hopefully I don't get this question on the exam. but B is for sure wrong.
upvoted 1 times
mcclane654
2 years, 5 months ago
C is my answer not B -.-
upvoted 1 times
...
...
mcclane654
2 years, 5 months ago
Selected Answer: B
according to the referenced article I would go B. but have done some testing. with a file policy I get zero matches. but with a session control it takes all files. made like this: https://www.youtube.com/watch?v=nGg2XyQWJ4o&t=115s&ab_channel=Microsoft365 so very confused but would say answer is correct
upvoted 1 times
mcclane654
2 years, 5 months ago
meant E according to referenced article
upvoted 1 times
...
...
amymay101
2 years, 5 months ago
Selected Answer: E
filter=contains so it will only return full words
upvoted 1 times
...
kimble3k
2 years, 5 months ago
Selected Answer: E
as per the article's Note: When using the policy filters, Contains searches only for full words – separated by commas, dots, spaces, or underscores. For example if you search for malware or virus, it finds virus_malware_file.exe but it does not find malwarevirusfile.exe. If you search for malware.exe, then you find ALL files with either malware or exe in their filename, whereas if you search for "malware.exe" (with the quotation marks) you find only files that contain exactly "malware.exe". Equals searches only for the complete string, for example if you search for malware.exe it finds malware.exe but not malware.exe.txt. I would go for E
upvoted 1 times
...
yaza85
2 years, 5 months ago
Selected Answer: E
It is.
upvoted 1 times
...
formazionehs
2 years, 6 months ago
Selected Answer: B
The correct answer is B
upvoted 1 times
yoton
2 years, 4 months ago
When using the policy filters, Contains searches only for full words – separated by commas, dots, spaces, or underscores. For example if you search for malware or virus, it finds virus_malware_file.exe but it does not find malwarevirusfile.exe. If you search for malware.exe, then you find ALL files with either malware or exe in their filename, whereas if you search for "malware.exe" (with the quotation marks) you find only files that contain exactly "malware.exe". https://learn.microsoft.com/en-us/defender-cloud-apps/data-protection-policies
upvoted 1 times
...
...
Avaris
2 years, 7 months ago
When using the file policy filters, Contains will search only for full words – separated by commas, dots, or spaces to search. Spaces between words function like OR. For example, if you search for malware virus it will find all files with either malware or virus in the name, so it will find both malware-virus.exe and virus.exe. If you want to search for a string, enclose the words in quotation marks. This functions like AND. For example, if you search for "malware" "virus", it will find virus_malware_file.exe but it will not find malwarevirusfile.exe and it will not find malware.exe. However, it will search for the exact string. If you search for "malware virus", it will not find "virus" or "virus_malware". Equals will search only for the complete string. For example, if you search for malware.exe it will find malware.exe but not malware.exe.txt.
upvoted 3 times
...
doody
2 years, 7 months ago
I just tested it, waited for more than 48 hours to make sure and the and the outcome was File.docx, that was the only file that matched the policy answer is C
upvoted 2 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 ...