Microsoft Implementing Microsoft Azure Cosmos DB Solutions - 70-777 Exam Practice Test
You have two Azure Cosmos DB collections named Coll1 and Coll2. The default TTL value for both collections is-1.
Coll2 is configured to receive documents from Coll1 by using the change feed.
You need to move all the documents from Coll1 to Coll2 by using the least possible number of request units (RUs)
Which two actions should you perform? Each correct presents part of the solution? NOTE Each correct selection is worth one point.
Coll2 is configured to receive documents from Coll1 by using the change feed.
You need to move all the documents from Coll1 to Coll2 by using the least possible number of request units (RUs)
Which two actions should you perform? Each correct presents part of the solution? NOTE Each correct selection is worth one point.
Correct Answer: B,D
Vote an answer
You have an Azure Cosmos DB database that uses the Table API. The database contains a table that includes the student data of a school.
A subset of the data is shown in the following table

Another student named Ivo Salmre joins the school.
You plan to add a new entity for the new student.
Which entity will be rejected?
A subset of the data is shown in the following table

Another student named Ivo Salmre joins the school.
You plan to add a new entity for the new student.
Which entity will be rejected?
Correct Answer: B
Vote an answer
You have an Azure Cosmos DB account named Account1 that uses the SQL APL Account1 contains a collection named Coll1.
You have an Apache Spark cluster in Azure HDInsight. The duster is located in the same Azure region as Account1.
You configure a Spark to Cosmos DB connector to access Coll1.
You successfully use the following code to run non-aggregate queries from within a Spark session by using the connector (Line numbers are included for reference only.)
01 query= client QueryDocuments (
02 collLink, querystr,
03 options=
04 {
05 'enablecrossPartitionQuery': True
06 },
07 partition_key-None)
08 df = spark.createDataFrame(list(query))
You need to modify the code to ensure that you can run couNT aggregate quenes.
What should you do?
You have an Apache Spark cluster in Azure HDInsight. The duster is located in the same Azure region as Account1.
You configure a Spark to Cosmos DB connector to access Coll1.
You successfully use the following code to run non-aggregate queries from within a Spark session by using the connector (Line numbers are included for reference only.)
01 query= client QueryDocuments (
02 collLink, querystr,
03 options=
04 {
05 'enablecrossPartitionQuery': True
06 },
07 partition_key-None)
08 df = spark.createDataFrame(list(query))
You need to modify the code to ensure that you can run couNT aggregate quenes.
What should you do?
Correct Answer: D
Vote an answer
You have an Azure Cosmos DB account. You need to view account-level performance metrics.
What should you use?
What should you use?
Correct Answer: B
Vote an answer
You have an Azure Cosmos DB account that uses the SQL API. The account has a limit of 2,500 request units per second (RU/s). The default consistency level is set to Eventual.
You discover that you frequently exceed the Ru/s limit.
You need to recommend strategies to reduce the number of request units (RUs) consumed.
Which two possible strategies can you recommend to achieve this goal? Each correct answer presents a complete solution. NOTE. Each correct selection is worth one point.
You discover that you frequently exceed the Ru/s limit.
You need to recommend strategies to reduce the number of request units (RUs) consumed.
Which two possible strategies can you recommend to achieve this goal? Each correct answer presents a complete solution. NOTE. Each correct selection is worth one point.
Correct Answer: A,D
Vote an answer
You have an Azure Cosmos DB account named Account1. Account1 contains a database named DB1. DB1 contains a collection named Coll1 Account has a write region of East US and a read region of West US. Coll1 contains 500,000 documents that are 1 KB each.
You have two applications named App1 and App2 that read documents from Coll1 in the East US region at a steady rate of 1,000 request units per second (RU/s). Both applications consistently throw an exception that has the 429 HTTP status code.
You need to recommend a solution to minimize the number of exceptions. The solution must minimize costs.
What should you recommend?
You have two applications named App1 and App2 that read documents from Coll1 in the East US region at a steady rate of 1,000 request units per second (RU/s). Both applications consistently throw an exception that has the 429 HTTP status code.
You need to recommend a solution to minimize the number of exceptions. The solution must minimize costs.
What should you recommend?
Correct Answer: D
Vote an answer