AZ-204 · Question #158
You are developing an application to manage shipping information for cargo ships. The application will use Azure Cosmos D8 for storage. The application must run offline when ships are at sea. The…
The correct answer is C. Cassandra. For an application managing shipping information that requires offline operation at sea and online synchronization in port, the Azure Cosmos DB Cassandra API is the most suitable choice.
Question
Options
- ACore
- BMongoDe
- CCassandra
- DGremlin
How the community answered
(24 responses)- A8% (2)
- B13% (3)
- C75% (18)
- D4% (1)
Why each option
For an application managing shipping information that requires offline operation at sea and online synchronization in port, the Azure Cosmos DB Cassandra API is the most suitable choice.
While Core (SQL) API can support offline sync with custom SDK logic, the Cassandra API's inherent distributed nature and consistency models align more directly with the requirements of robust offline operations and eventual consistency.
The MongoDB API is a document database, and although it can be integrated with offline synchronization patterns, Cassandra's distributed write capabilities are often a better native fit for demanding disconnected scenarios.
The Azure Cosmos DB Cassandra API is a distributed database with a strong focus on high availability and eventual consistency, making it well-suited for applications that need to operate in disconnected environments. Its architectural design allows for writes to local instances which can then be synchronized with the central Cosmos DB backend when network connectivity becomes available, enabling seamless offline-first experiences.
The Gremlin API is designed for graph databases, focusing on relationships, which is not the primary requirement for managing shipping information with offline synchronization needs.
Concept tested: Azure Cosmos DB API for offline synchronization
Source: https://learn.microsoft.com/en-us/azure/cosmos-db/cassandra/cassandra-introduction
Topics
Community Discussion
No community discussion yet for this question.