exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 1 question 22 discussion

Actual exam question from Microsoft's AZ-204
Question #: 22
Topic #: 1
[All AZ-204 Questions]

You are developing a .NET Core MVC application that allows customers to research independent holiday accommodation providers.
You want to implement Azure Search to allow the application to search the index by using various criteria to locate documents related to accommodation.
You want the application to allow customers to search the index by using regular expressions.
What should you do?

  • A. Configure the SearchMode property of the SearchParameters class.
  • B. Configure the QueryType property of the SearchParameters class.
  • C. Configure the Facets property of the SearchParameters class.
  • D. Configure the Filter property of the SearchParameters class.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
7ack
Highly Voted 2 years, 7 months ago
Correct, although I'm not sure Azure search is in the exam...
upvoted 22 times
...
gunz123
Highly Voted 2 years, 7 months ago
Answer is correct https://docs.microsoft.com/en-us/azure/search/search-query-overview
upvoted 15 times
...
N9
Most Recent 4 months, 3 weeks ago
Selected Answer: B
B is correct answer
upvoted 1 times
...
TusharChandak
7 months ago
This is not part of AZ-204 anymore.
upvoted 15 times
...
LuchoGonzalez
8 months, 2 weeks ago
B. Configure the QueryType property of the SearchParameters class. The QueryType property of the SearchParameters class allows you to specify the type of query that will be executed against the Azure Search index. By setting the QueryType to "full" or "full+regex", you can enable regular expression support in the search queries.
upvoted 3 times
...
Selected Answer: B
The QueryType property of the SearchParameters class specifies the type of query to use when searching the index. By default, it is set to Simple, which means that the query is interpreted as a simple query string. However, you can set it to Full, which means that the query is interpreted as a full Lucene query string, allowing for regular expressions to be used in the search query
upvoted 2 times
...
NombreFalso
1 year ago
huh, I'll ignore these
upvoted 1 times
...
wrak
1 year ago
out of the scope for AZ-204 exam; please remove/hide this question from the Question Bank
upvoted 6 times
...
uffuchsi
1 year ago
D. Filter property or B. QueryType property
upvoted 1 times
...
examinator007
1 year ago
Azure Search is not part of the AZ-204 - see: https://query.prod.cms.rt.microsoft.com/cms/api/am/binary/RE4oZ7B
upvoted 1 times
...
alexein74
1 year, 1 month ago
Selected Answer: B
B. Configure the QueryType property of the SearchParameters class. To allow the application to search the index by using regular expressions, you should configure the QueryType property of the SearchParameters class in your .NET Core MVC application. The QueryType property allows you to specify the type of query to use when searching the index, including regular expression queries. You can set the QueryType property to "full" to enable full-text search or "regex" to enable regular expression search.
upvoted 1 times
...
halfway
1 year, 1 month ago
Selected Answer: B
QueryType
upvoted 1 times
...
OPT_001122
1 year, 5 months ago
https://www.examtopics.com/exams/microsoft/az-204/view/6/ same question #28 has answer D. which one is correct
upvoted 1 times
Chang401
1 year, 3 months ago
ask is different in both the questions.
upvoted 2 times
...
thedevguy
1 year, 4 months ago
This one uses RegularExpressions while the other doesn't. Check again
upvoted 2 times
OPT_001122
1 year, 3 months ago
yes Thanks.
upvoted 1 times
...
...
...
jay158
2 years, 7 months ago
Answer : D https://docs.microsoft.com/en-us/azure/search/search-query-odata-filter#examples
upvoted 1 times
jay158
2 years, 7 months ago
my bad should be B
upvoted 7 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