HOTSPOT -
An organization deploys a blob storage account. Users take multiple snapshots of the blob storage account over time.
You need to delete all snapshots of the blob storage account. You must not delete the blob storage account itself.
How should you complete the code segment? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Explanation: To delete all snapshots without deleting the base blob, use the DeleteSnapshotsOption enum with the OnlySnapshots value. This option removes every snapshot associated with the blob while preserving the blob itself.
Question 213
HOTSPOT -
You are developing a web application by using the Azure SDK. The web application accesses data in a zone-redundant BlockBlobStorage storage account.
The application must determine whether the data has changed since the application last read the data. Update operations must use the latest data changes when writing data to the storage account.
You need to implement the update operations.
Which values should you use? To answer, select the appropriate option in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Show Answer
Correct Answer: ETag
If-Match
Explanation: Use optimistic concurrency for Azure Blob Storage updates. Read the blob’s ETag, then include it in an If-Match conditional header during update. The write succeeds only if the blob has not changed since it was last read, ensuring updates use the latest data.
Question 214
An organization deploys Azure Cosmos DB.
You need to ensure that the index is updated as items are created, updated, or deleted.
What should you do?
A. Set the indexing mode to Lazy.
B. Set the value of the automatic property of the indexing policy to False.
C. Set the value of the EnableScanInQuery option to True.
D. Set the indexing mode to Consistent.
Show Answer
Correct Answer: D
Explanation: In Azure Cosmos DB, setting the indexing mode to Consistent ensures that the index is updated synchronously whenever items are created, updated, or deleted. This guarantees that queries always reflect the latest data. Lazy indexing updates the index asynchronously, automatic=false disables automatic indexing, and EnableScanInQuery is unrelated to index updates.
Question 215
DRAG DROP -
You are implementing an Azure solution that uses Azure Cosmos DB and the latest Azure Cosmos DB SDK. You add a change feed processor to a new container instance.
You attempt to read a batch of 100 documents. The process fails when reading one of the documents. The solution must monitor the progress of the change feed processor instance on the new container as the change feed is read. You must prevent the change feed processor from retrying the entire batch when one document cannot be read.
You need to implement the change feed processor to read the documents.
Which features should you use? To answer, drag the appropriate features to the cored requirements. Each feature may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each cored selection is worth one point.
Select and Place:
Show Answer
Correct Answer: Monitor progress: Change feed estimator
Prevent batch retry on single document failure: Dead-letter queue
Explanation: The change feed estimator reports remaining work and processing progress for change feed processors. A dead-letter queue allows isolating and persisting failed documents so the processor can continue without retrying the entire batch.
Question 216
HOTSPOT -
You are developing a solution to store documents in Azure Blob storage. Customers upload documents to multiple containers. Documents consist of PDF, CSV,
Microsoft Office format and plain text files.
The solution must process millions of documents across hundreds of containers. The solution must meet the following requirements:
✑ Documents must be categorized by a customer identifier as they are uploaded to the storage account.
✑ Allow filtering by the customer identifier.
✑ Allow searching of information contained within a document
✑ Minimize costs.
You create and configure a standard general-purpose v2 storage account to support the solution.
You need to implement the solution.
What should you implement? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Show Answer
Correct Answer: Search and filter by customer identifier:
Azure Blob index tags
Search information inside documents:
Azure Cognitive Search
Explanation: Blob index tags provide low-cost, native indexing and filtering across containers using key-value attributes such as customer ID. Searching within document contents (PDF, Office, text) requires content extraction and indexing, which is provided by Azure Cognitive Search (Azure AI Search).
Question 217
HOTSPOT -
You need to implement the Azure Function for delivery driver profile information.
Which configurations should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Show Answer
Correct Answer: Code library:
Microsoft Authentication Library (MSAL)
API:
Microsoft Graph
Explanation: Driver profile information is stored in Azure AD. MSAL is used to authenticate and acquire tokens, and Microsoft Graph is the supported API to read/write user profile data in Azure AD (Azure AD Graph is deprecated; Key Vault is not for profiles).
Question 218
You are building a web application that performs image analysis on user photos and returns metadata containing objects identified. The image analysis is very costly in terms of time and compute resources. You are planning to use Azure Redis Cache so duplicate uploads do not need to be reprocessed.
In case of an Azure data center outage, metadata loss must be kept to a minimum.
You need to configure the Azure Redis cache instance.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Configure Azure Redis with AOF persistence.
B. Configure Azure Redis with RDB persistence.
C. Configure second storage account for persistence.
D. Set backup frequency to the minimum value.
Show Answer
Correct Answer: A, C
Explanation: To minimize metadata loss during a data center outage, Azure Cache for Redis should use the most durable persistence option. AOF (Append-Only File) persistence logs every write operation, resulting in significantly less data loss than RDB, which only snapshots at intervals. Additionally, configuring a second storage account for persistence ensures the persisted data is protected even if the primary storage or data center is unavailable, improving disaster recovery resilience.
Question 219
You are developing a .Net web application that stores data in Azure Cosmos DB. The application must use the Core API and allow millions of reads and writes.
The Azure Cosmos DB account has been created with multiple write regions enabled. The application has been deployed to the East US2 and Central US regions.
You need to update the application to support multi-region writes.
What are two possible ways to achieve this goal? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Update the ConnectionPolicy class for the Cosmos client and populate the PreferredLocations property based on the geo-proximity of the application.
B. Update Azure Cosmos DB to use the Strong consistency level. Add indexed properties to the container to indicate region.
C. Update the ConnectionPolicy class for the Cosmos client and set the UseMultipleWriteLocations property to true.
D. Create and deploy a custom conflict resolution policy.
E. Update Azure Cosmos DB to use the Session consistency level. Send the SessionToken property value from the FeedResponse object of the write action to the end-user by using a cookie.
Show Answer
Correct Answer: A, C
Explanation: To support multi-region writes in a .NET application using Azure Cosmos DB Core (NoSQL) API, the client must be configured appropriately. Setting UseMultipleWriteLocations to true enables the SDK to write to any writable region. Configuring PreferredLocations (or providing the application region so it is auto-populated) ensures the client targets the closest region for optimal latency and availability. Other options do not enable multi-region writes at the client level or are not applicable after account/container creation.
Question 220
HOTSPOT -
You are developing an application that uses a premium block blob storage account. The application will process a large volume of transactions daily. You enable
Blob storage versioning.
You are optimizing costs by automating Azure Blob Storage access tiers. You apply the following policy rules to the storage account. (Line numbers are included for reference only.)
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
Show Answer
Correct Answer: No
No
Yes
No
Explanation: The rule targets **version** actions (not base blobs) and uses **daysAfterCreationGreaterThan**, not modification or access time. PrefixMatch applies to blobs whose names start with the container name/prefix "transactions", so it affects previous versions under that container. There is no access-based rule and no auto-tier-back-to-hot setting enabled.
Question 221
HOTSPOT -
You need to implement event routing for retail store location data.
Which configurations should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Explanation: Retail location data is uploaded to Blob Storage. Azure Event Grid is used to route lightweight blob-created events without moving the data itself. An Azure Function App handles the event to immediately process the blob contents (e.g., update databases, inventory, or analytics).
$19
Get all 447 questions with detailed answers and explanations
Instant download HTML + PDF delivered the moment payment clears.
Secure Stripe checkout we never see or store your card details.
7-day refund if files are defective see our refund policy.