Free AZ-204 Exam Braindumps
Developing Solutions for Microsoft Azure Questions 146–150 (page: 31)

Updated On: 10-Feb-2026

HOTSPOT (Drag and Drop is not supported)
You implement an Azure solution to include Azure Cosmos DB, the latest Azure Cosmos DB SDK, and the Core (SQL) API. You also implement a change feed processor on a new container instance by using the Azure Functions trigger for Azure Cosmos DB.
A large batch of documents continues to fail when reading one of the documents in the batch. The same batch of documents is continuously retried by the triggered function and a new batch of documents must be read.
You need to implement the change feed processor to read the documents.
Which feature should you implement? To answer, select the appropriate features in the answer area.
NOTE: Each correct selection is worth one point.

  1. See Explanation section for answer.

Answer(s): A

Explanation:



You are developing an application to store business-critical data in Azure Blob storage.
The application must meet the following requirements:
• Data must not be modified or deleted for a user-specified interval.
• Data must be protected from overwrites and deletes.
• Data must be written once and allowed to be read many times.
You need to protect the data in the Azure Blob storage account.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  1. Configure a time-based retention policy for the storage account.
  2. Create an account shared-access signature (SAS).
  3. Enable the blob change feed for the storage account.
  4. Enable version-level immutability support for the storage account.
  5. Enable point-in-time restore for containers in the storage account.
  6. Create a service shared-access signature (SAS).

Answer(s): A,D



You are updating an application that stores data on Azure and uses Azure Cosmos DB for storage. The application stores data in multiple documents associated with a single username.
The application requires the ability to update multiple documents for a username in a single ACID operation.
You need to configure Azure Cosmos DB.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  1. Create a collection sharded on username to store documents.
  2. Configure Azure Cosmos DB to use the Gremlin API.
  3. Create an unsharded collection to store documents.
  4. Configure Azure Cosmos DB to use the MongoDB API.

Answer(s): C,D



You develop Azure solutions.
You must connect to a No-SQL globally-distributed database by using the .NET API.
You need to create an object to configure and execute requests in the database.
Which code segment should you use?

  1. database_name = 'MyDatabase'database = client.create_database_if_not_exists(id=database_name)
  2. client = CosmosClient(endpoint, key)
  3. container_name = 'MyContainer'container = database.create_container_if_not_exists(id=container_name, partition_key=PartitionKey(path="/lastName"), offer_throughput=400 )

Answer(s): B



You develop a web application that provides access to legal documents that are stored on Azure Blob Storage with version-level immutability policies. Documents are protected with both time-based policies and legal hold policies. All time-based retention policies have the AllowProtectedAppendWrites property enabled.
You have a requirement to prevent the user from attempting to perform operations that would fail only when a legal hold is in effect and when all other policies are expired.
You need to meet the requirement.
Which two operations should you prevent? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  1. adding data to documents
  2. deleting documents
  3. creating documents
  4. overwriting existing documents

Answer(s): B,D



Viewing page 31 of 93
Viewing questions 151 - 155 out of 503 questions


Post your Comments and Discuss Microsoft AZ-204 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!