Question 310
An API receives a Cosmos DB authorization error after developers rotate their secret outside the app. What result MOST directly verifies that the solution works?
Explanation
Correct Answer
Cosmos DB supports identity-based data-plane authorization, separate from ARM management permissions. The observed result “The service reads its intended container using token-based access and no stored account key” would confirm the change “Use Microsoft Entra authentication through managed identity with appropriate Cosmos DB data-plane roles” in this situation: An API receives a Cosmos DB authorization error after developers rotate their secret outside the app.
Incorrect Answers
SDK regional routing and account replication together determine effective failover behavior. The situation here is: An API receives a Cosmos DB authorization error after developers rotate their secret outside the app. A test of this alternative would miss the specific outcome “The service reads its intended container using token-based access and no stored account key”.
SDK diagnostics distinguish application latency from server-side RU consumption and execution metrics. The situation here is: An API receives a Cosmos DB authorization error after developers rotate their secret outside the app. A test of this alternative would miss the specific outcome “The service reads its intended container using token-based access and no stored account key”.
Indexing nested paths supports predicates that would otherwise require costly scanning. The situation here is: An API receives a Cosmos DB authorization error after developers rotate their secret outside the app. A test of this alternative would miss the specific outcome “The service reads its intended container using token-based access and no stored account key”.