exam questions

Exam DP-420 All Questions

View all questions & answers for the DP-420 exam

Exam DP-420 topic 4 question 5 discussion

Actual exam question from Microsoft's DP-420
Question #: 5
Topic #: 4
[All DP-420 Questions]

You have a database in an Azure Cosmos DB Core (SQL API) account. The database contains a container named container1. The indexing mode of container1 is set to none.
You configure Azure Cognitive Search to extract data from container1 and make the data searchable.
You discover that the Cognitive Search index is missing all the data from the Azure Cosmos DB index.
What should you do to resolve the issue?

  • A. Modify the index attributes in Cognitive Search to Searchable
  • B. Modify the index attributes in Cognitive Search to Retrievable
  • C. Modify the indexing policy of container1 to exclude the /* path
  • D. Change the indexing mode of container1 to consistent
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
[Removed]
Highly Voted 1 year, 7 months ago
Selected Answer: D
To make data searchable in Azure Cognitive Search, the indexing mode of the container in Azure Cosmos DB Core (SQL API) account must be set to consistent or lazy.
upvoted 5 times
xRiot007
11 months ago
The answer here is Consistent. You should use Lazy is you know that the queries in Cognitive Search will match the properties of the lazy index. If you don't know what queries you have in CS, Consistent is the better option.
upvoted 1 times
...
[Removed]
1 year, 3 months ago
https://learn.microsoft.com/en-us/azure/search/search-howto-index-cosmosdb?toc=%2Fazure%2Fcosmos-db%2Ftoc.json&bc=%2Fazure%2Fcosmos-db%2Fbreadcrumb%2Ftoc.json#prerequisites
upvoted 1 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 ...