Answer: D (consistent)
Setting indexing mode to consistent ensures that index is updated in sync with data
Setting it to lazy means index is updated async, meaning you may not get latest version of data
Setting the value of the automatic property to false means you have to manually manage indexing of data
Setting EnableScanInQuery to true allows query operations to perform scans across all documents, this is not really relevant + it provides poor performance
Setting the indexing mode to Consistent ensures that the index is always kept up to date with the changes made to the items in Azure Cosmos DB. With this mode, whenever an item is created, updated, or deleted, the index is automatically updated in real-time to reflect those changes.
Given answer is correct.
Consistent: The index is updated synchronously as you create, update or delete items. This means that the consistency of your read queries will be the consistency configured for the account.
None: Indexing is disabled on the container. This mode is commonly used when a container is used as a pure key-value store without the need for secondary indexes. It can also be used to improve the performance of bulk operations. After the bulk operations are complete, the index mode can be set to Consistent and then monitored using the IndexTransformationProgress until complete.
This section is not available anymore. Please use the main Exam Page.AZ-204 Exam Questions
Log in to ExamTopics
Sign in:
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.
finnishr
Highly Voted 1 year, 8 months agokayvg
Highly Voted 8 months, 2 weeks agolyggwtwtczxnhznebw
Most Recent 9 months, 3 weeks ago[Removed]
1 year, 1 month agoEsward
1 year, 3 months agoOPT_001122
1 year, 5 months ago