Join the discussion
Question 1/117
You have a container named container1 in an Azure Cosmos DB Core (SQL) API account. Upserts of items in container1 occur every three seconds.
You have an Azure Functions app named function1 that is supposed to run whenever items are inserted or replaced in container1.
You discover that function1 runs, but not on every upsert.
You need to ensure that function1 processes each upsert within one second of the upsert.
Which property should you change in the Function.json file of function1?
You have an Azure Functions app named function1 that is supposed to run whenever items are inserted or replaced in container1.
You discover that function1 runs, but not on every upsert.
You need to ensure that function1 processes each upsert within one second of the upsert.
Which property should you change in the Function.json file of function1?
Correct Answer: D
Explanation
With an upsert operation we can either insert or update an existing record at the same time.
FeedPollDelay: The time (in milliseconds) for the delay between polling a partition for new changes on the feed, after all current changes are drained. Default is 5,000 milliseconds, or 5 seconds.
Reference: https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-cosmosdb-v2-trigger
With an upsert operation we can either insert or update an existing record at the same time.
FeedPollDelay: The time (in milliseconds) for the delay between polling a partition for new changes on the feed, after all current changes are drained. Default is 5,000 milliseconds, or 5 seconds.
Reference: https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-cosmosdb-v2-trigger
Add Comments
- Other Question (117q)
- Q1. You have a container named container1 in an Azure Cosmos DB Core (SQL) API account. Upsert...
- Q2. You are creating a database in an Azure Cosmos DB Core (SQL) API account. The database wil...
- Q3. You have a container named container1 in an Azure Cosmos DB Core (SQL) API account. Upsert...
- Q4. You have a container named contained in an Azure Cosmos DB for NoSQL account. The followin...
- Q5. You are developing an application that will connect to an Azure Cosmos DB for NoSQL accoun...
- Q6. Note: This question is part of a series of questions that present the same scenario. Each ...
- Q7. You need to configure an Apache Kafka instance to ingest data from an Azure Cosmos DB Core...
- Q8. You have an Azure Cosmos DB for NoSQL container named Contacts that is configured as shown...
- Q9. You have an Azure Cosmos DB Core (SQL) API account. You run the following query against a ...
- Q10. You have an Azure Cosmos DB Core (SQL) API account used by an application named App1. You ...
- Q11. You need to create a data store for a directory of small and medium-sized businesses (SMBs...
- Q12. The settings for a container in an Azure Cosmos DB Core (SQL) API account are configured a...
- Q13. You have an Azure Cosmos DB for NoSQL container. The container contains items that have th...
- Q14. You have a database named db1in an Azure Cosmos DB for NoSQL account named account 1. You ...
- Q15. The following is a sample of a document in orders. (Exhibit) The orders container uses cus...
- Q16. You have an Azure Cosmos DB for NoSQL account named account1 that has a single read-write ...
- Q17. You have an Azure Cosmos DB for NoSQL container. The container contains items that have th...
- Q18. The following is a sample of a document in orders. (Exhibit) The orders container uses cus...
- Q19. You have an Azure Cosmos DB for NoSQL container named Contacts that is configured as shown...
- Q20. You have an Azure Cosmos DB container named container1. You need to insert an item into co...
- Q21. You configure Azure Cognitive Search to index a container in an Azure Cosmos DB Core (SQL)...
- Q22. You maintain a relational database for a book publisher. The database contains the followi...
- Q23. You have an Azure Cosmos DB Core (SQL) API account named account1. You have the Azure virt...
- Q24. You have operational data in an Azure Cosmos OB for NoSQL database. Database users report ...
- Q25. You have an Azure Cosmos DB Core (SQL) API account named storage1 that uses provisioned th...
- Q26. You plan to implement con-iot1 and con-iot2. You need to configure the default Time to Liv...
- Q27. You have a container named container1 in an Azure Cosmos DB Core (SQL) API account. The co...
- Q28. You have an app that stores data in an Azure Cosmos DB Core (SQL) API account The app perf...
- Q29. You have an Azure Cosmos DB Core (SQL) account that has a single write region in West Euro...
- Q30. You have an Azure Cosmos DB for NoSQL account that frequently receives the same three quer...
- Q31. You have an Apache Spark pool in Azure Synapse Analytics that runs the following Python co...
- Q32. You have an Azure Cosmos DB for NoSQL account. You plan 10 create a container named contai...
- Q33. You have an Azure Cosmos DB Core (SQL) account that has a single write region in West Euro...
- Q34. You have a container named container1 in an Azure Cosmos DB Core (SQL) API account. The co...
- Q35. You configure Azure Cognitive Search to index a container in an Azure Cosmos DB Core (SQL)...
- Q36. Note: This question is part of a series of questions that present the same scenario. Each ...
- Q37. You have a container m an Azure Cosmos DB for NoSQL account. The container stores data abo...
- Q38. You configure a backup for an Azure Cosmos DB for NoSQL account as shown in the following ...
- Q39. You have an Azure subscription that contains an Azure Cosmos DB for NoSQL account. You cre...
- Q40. You have an app that stores data in an Azure Cosmos DB Core (SQL) API account The app perf...
- Q41. You have an Azure Cosmos DB Core (SQL) API account named storage1 that uses provisioned th...
- Q42. You have an app that stores data in an Azure Cosmos DB Core (SQL) API account The app perf...
- Q43. You are designing an Azure Cosmos DB Core (SQL) API solution to store data from IoT device...
- Q44. You have a database named db1 in an Azure Cosmos DB for NoSQL account named account1. The ...
- Q45. Note: This question is part of a series of questions that present the same scenario. Each ...
- Q46. Note: This question is part of a series of questions that present the same scenario. Each ...
- Q47. You configure a backup for an Azure Cosmos DB for NoSQL account as shown in the following ...
- Q48. You have a container that stores data about families. The following is a sample document. ...
- Q49. You configure a backup for an Azure Cosmos DB for NoSQL account as shown in the following ...
- Q50. You have an Azure Cosmos DB Core (SQL) API account named storage1 that uses provisioned th...
- Q51. You have a multi-region Azure Cosmos DB account named account1 that has a default consiste...
- Q52. You plan to deploy two Azure Cosmos DB Core (SQL) API accounts that will each contain a si...
- Q53. You have a multi-region Azure Cosmos DB account named account1 that has a default consiste...
- Q54. You have an Azure subscription that contains an Azure Cosmos DB for NoSQL account named ac...
- Q55. You are designing a data model for an Azure Cosmos DB for NoSQL account. What are the part...
- Q56. You have an Azure Synapse Analytics workspace named workspace1 that contains a server less...
- Q57. You plan to implement con-iot1 and con-iot2. You need to configure the default Time to Liv...
- Q58. You have an Azure Cosmos DB Core (SQL) API account that is configured for multi-region wri...
- Q59. You have an Azure Cosmos DB for NoSQL account1 that is configured for automatic failover. ...
- Q60. You have a container named container1 in an Azure Cosmos DB Core (SQL) API account. The fo...
- Q61. You have a database in an Azure Cosmos DB SQL API Core (SQL) account that is used for deve...
- Q62. You have an Azure Cosmos DB for NoSQL account1 that is configured for automatic failover. ...
- Q63. You have an Azure Cosmos DB Core (SQL) API account named account1. In account1, you run th...
- Q64. You have a container that stores data about families. The following is a sample document. ...
- Q65. You need to configure an Apache Kafka instance to ingest data from an Azure Cosmos DB Core...
- Q66. Note: This question is part of a series of questions that present the same scenario. Each ...
- Q67. You have an Azure Cosmos DB for NoSQL account1 that is configured for automatic failover. ...
- Q68. You have an Azure Cosmos DB Core (SQL) API account named account1 that has the disableKeyB...
- Q69. You have an Azure Cosmos DB Core (SQL) API account named account1. You have the Azure virt...
- Q70. You have an Azure Cosmos DB database that hosts a container named container1. You need to ...
- Q71. You have an Azure Cosmos DB Core (SQL) account that has a single write region in West Euro...
- Q72. You have an Azure Cosmos DB account named account1. You have several apps that connect to ...
- Q73. You have a multi-region Azure Cosmos DB account named account1 that has a default consiste...
- Q74. Note: This question is part of a series of questions that present the same scenario. Each ...
- Q75. You are developing an application that will use an Azure Cosmos DB Core (SQL) API account ...
- Q76. You need to select the partition key for con-iot1. The solution must meet the IoT telemetr...
- Q77. You are developing an application that will connect to an Azure Cosmos DB for NoSQL accoun...
- Q78. You need to create a data store for a directory of small and medium-sized businesses (SMBs...
- Q79. You have an Azure Cosmos DB database named databaset contains a container named container1...
- Q80. You have an Azure subscription. You need to deploy the following resources to an Azure Cos...
- Q81. You have a database named db1 in an Azure Cosmos DB for NoSQL You are designing an applica...
- Q82. You have a database named telemetry in an Azure Cosmos DB Core (SQL) API account that stor...
- Q83. You have a database named db1 in an Azure Cosmos DB for NoSQL You are designing an applica...
- Q84. You have a container named container1 in an Azure Cosmos DB Core (SQL) API account. You ne...
- Q85. You have an application named App1 that reads the data in an Azure Cosmos DB Core (SQL) AP...
- Q86. You have an Azure Cosmos DB Core (SQL) API account named account1. In account1, you run th...
- Q87. Note: This question is part of a series of questions that present the same scenario. Each ...
- Q88. You have a container named container1 in an Azure Cosmos DB Core (SQL) API account. The fo...
- Q89. You are designing a data model for an Azure Cosmos DB for NoSQL account. What are the part...
- Q90. You are developing an application that will use an Azure Cosmos DB Core (SQL) API account ...
- Q91. You have an Azure Cosmos DB for NoSQL account named account that has the disablekeyBasedle...
- Q92. You maintain a relational database for a book publisher. The database contains the followi...
- Q93. You have a container named container1 in an Azure Cosmos DB Core (SQL) API account. The fo...
- Q94. You have a database in an Azure Cosmos DB for NoSQL account that is configured for multi-r...
- Q95. You have a database named db1 in an Azure Cosmos DB for NoSQL account named account1. The ...
- Q96. You have a container in an Azure Cosmos DB for NoSQL account. You need to create an alert ...
- Q97. You have a database in an Azure Cosmos DB for NoSQL account that is configured for multi-r...
- Q98. You have an Azure Cosmos DB for NoSQL container. The container contains items that have th...
- Q99. You have a database named db1 in an Azure Cosmos DB for NoSQL account named account1. The ...
- Q100. You need to implement a trigger in Azure Cosmos DB Core (SQL) API that will run before an ...
- Q101. You have an Azure Cosmos DB for NoSQL database named db1. You run the following code: (Exh...
- Q102. You have a container in an Azure Cosmos DB Core (SQL) API account. You need to use the Azu...
- Q103. You have a database named db1 in an Azure Cosmos DB f You have a third-party application t...
- Q104. You have a database in an Azure Cosmos DB Core (SQL) API account. You plan to create a con...
- Q105. You have a database named db1 in an Azure Cosmos DB for NoSQL account named account1. The ...
- Q106. You have a database in an Azure Cosmos DB for NoSQL account that is configured for multi-r...
- Q107. You configure Azure Cognitive Search to index a container in an Azure Cosmos DB Core (SQL)...
- Q108. You have a container named container1 in an Azure Cosmos DB Core (SQL) API account. The fo...
- Q109. You have a container named container1 in an Azure Cosmos DB Core (SQL) API account. The fo...
- Q110. You have an Azure Cosmos DB Core (SQL) API account named account1 that has the disableKeyB...
- Q111. You have an application that queries an Azure Cosmos 06 for NoSQL account. You discover th...
- Q112. You need to select the capacity mode and scale configuration for account2 to support the p...
- Q113. Note: This question is part of a series of questions that present the same scenario. Each ...
- Q114. You have the indexing policy shown in the following exhibit. (Exhibit) Use the drop-down m...
- Q115. You have a container named container1 in an Azure Cosmos DB Core (SQL) API account. The fo...
- Q116. You have a database named db1 in an Azure Cosmos DB for NoSQL account named account1. The ...
- Q117. You have a container in an Azure Cosmos DB for NoSQL account that stores data about orders...
