IT Certifications · 70-777

Exam 70-777: Implementing Microsoft Azure Cosmos DB Solutions Practice Test

Exam 70-777 practice focuses on implementing solutions with Azure Cosmos DB, Microsoft’s globally distributed, multimodel database service. The available questions cover practical NoSQL decisions involving container queries, request-unit throughput, regional reads, change-feed processing, data expiration, authentication, indexing, and deployment automation.

Exam overview

Exam providerMicrosoft
Exam code70-777
CategoryIT Certifications

About the Exam 70-777: Implementing Microsoft Azure Cosmos DB Solutions Exam

Cosmos DB implementation work requires matching data access patterns to partitioning and query behavior, then managing performance and operations. Practice topics include querying across logical partitions and processing large result sets incrementally with SDK patterns; evaluating autoscale throughput and request-unit telemetry; and configuring indexing to limit unnecessary work. Other scenarios concern distributing change-feed processing with lease and checkpoint state, directing SDK traffic to a nearby read region, and using time-to-live settings to expire temporary items. Questions also touch on authentication that avoids embedding long-lived account keys and repeatable account provisioning from version-controlled configuration. These are practical signals from the available question bank, not a statement of official exam objectives.

Sample Practice Questions

Review a selection from this exam's published US Practice Tests practice bank.

Question 1

A Cosmos DB for NoSQL application needs to list all items in a container, including items from multiple logical partitions. Which approach is suitable?

  1. AUse a query or read-feed operation that can span partitions
  2. BUse a point read with an empty partition key
  3. CUse a transactional batch without specifying a partition key
  4. DRead the container resource and treat its metadata as the item list
Show answerCorrect answer: A

Queries and read-feed operations can enumerate items across partitions, with the SDK handling continuation as needed. A point read requires both an item ID and its partition key, and a transactional batch is scoped to one logical partition.

Question 2

A developer wants a change feed processor to distribute work among multiple application instances and keep track of progress. Which component provides the processor's lease and checkpoint state?

  1. AA lease container
  2. BA firewall rule
  3. CA stored procedure in each source partition
  4. DA database account key
Show answerCorrect answer: A

The change feed processor uses a lease container to coordinate leases among workers and persist progress checkpoints. The lease container is distinct from the monitored source container.

Question 3

A Cosmos DB for NoSQL container is configured with autoscale throughput. During a brief traffic spike, the workload exceeds its usual request rate. How does autoscale generally respond?

  1. AIt automatically scales throughput within the configured maximum, then scales down as demand falls
  2. BIt permanently increases the container's maximum throughput after each spike
  3. CIt moves the container's data to a different partition key
  4. DIt converts the container to serverless capacity
Show answerCorrect answer: A

Autoscale adjusts provisioned throughput in response to workload demand, up to the configured maximum, and can scale back down when demand decreases. It does not change the partition key or account capacity mode.

Question 4

A service must let an application authenticate to Azure Cosmos DB without embedding a long-lived account key in its configuration. Which approach is appropriate when supported by the deployment and SDK setup?

  1. AUse Microsoft Entra ID authentication with an assigned data-plane role
  2. BPlace the account key in a public source-code repository
  3. CUse the item ID as an authentication token
  4. DDisable authentication on the Cosmos DB account
Show answerCorrect answer: A

Microsoft Entra ID authentication with appropriate data-plane role assignments can provide identity-based access and avoid distributing account keys to the application.

Question 5

A client application runs in a region close to one of the account's configured read regions. Which SDK configuration can help direct its requests to that nearby region?

  1. AConfigure the preferred regions in the client SDK
  2. BSet every item's ID to the region name
  3. CDisable the container's partitioning
  4. DStore the account endpoint in each item
Show answerCorrect answer: A

SDK preferred-region configuration lets the client prioritize a nearby configured region for eligible operations, supporting lower-latency access while respecting account configuration and consistency behavior.

Question 6

An application should automatically remove temporary items after a defined period, without scheduling a separate cleanup job. Which container capability is intended for this?

  1. ATime to live (TTL)
  2. BChange feed leases
  3. CIndexing mode
  4. DMulti-region writes
Show answerCorrect answer: A

Time to live (TTL) can automatically expire items after their configured lifetime. It is commonly used for transient or time-limited data and is distinct from change feed processing or indexing configuration.

Question 7

A deployment needs to create or update Cosmos DB account resources repeatedly from version-controlled configuration. Which approach is most suitable?

  1. AUse infrastructure as code, such as an Azure Resource Manager or Bicep deployment
  2. BRun a data-plane item query for each account setting
  3. CStore the account settings as documents in the application container
  4. DUse a change feed processor to modify Azure resource definitions
Show answerCorrect answer: A

Infrastructure-as-code deployments are intended to define and repeatably manage Azure resources and their configuration. Data-plane item queries and change feed processing operate on data, not account resource deployment definitions.

How to use this practice test

The free practice bank contains 50 questions. Each session presents up to 20 questions selected at random, with results shown after the session. Use the questions to identify which Cosmos DB implementation decisions need more review, then revisit those concepts before another attempt.

Preparation tips

  • Compare cross-partition queries with partition-scoped queries, and consider how partition keys affect query cost and result processing.
  • Review how autoscale throughput, request units, and application-level telemetry relate to workload spikes and shared container capacity.
  • Trace change-feed processor coordination through leases and checkpoints, including how multiple application instances share work.
  • Practice selecting Cosmos DB controls for common operational needs: regional reads, time-to-live expiration, managed authentication, indexing policies, and infrastructure-as-code deployments.
Official sourceOfficial exam page ↗