exam questions

Exam AZ-305 All Questions

View all questions & answers for the AZ-305 exam

Exam AZ-305 topic 2 question 27 discussion

Actual exam question from Microsoft's AZ-305
Question #: 27
Topic #: 2
[All AZ-305 Questions]

You are designing an app that will use Azure Cosmos DB to collate sales from multiple countries.

You need to recommend an API for the app. The solution must meet the following requirements:

• Support SQL queries.
• Support geo-replication.
• Store and access data relationally.

Which API should you recommend?

  • A. Apache Cassandra
  • B. PostgreSQL
  • C. MongoDB
  • D. NoSQL
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
jozir8
Highly Voted 1 year, 7 months ago
Correct answer: B https://learn.microsoft.com/en-us/azure/cosmos-db/choose-api Store data relationally: - NoSQL stores data in document format - MongoDB stores data in a document structure (BSON format) Support SQL Queries: - Apache Cassandra uses Cassandra Query Language (CQL) If you’re looking for a managed open source relational database with high performance and geo-replication, Azure Cosmos DB for PostgreSQL is the recommended choice.
upvoted 23 times
...
NotMeAnyWay
Highly Voted 1 year, 4 months ago
Selected Answer: B
The correct answer is B. PostgreSQL. Azure Cosmos DB's API for PostgreSQL provides full support for SQL queries, geo-replication, and allows you to store and access data relationally. It offers automatic and instant scalability, global distribution, and effortless replication of data across Azure regions, fulfilling all of your mentioned requirements. A. Apache Cassandra is a NoSQL database that does not natively support SQL queries. While it does offer some SQL-like capabilities, it is not a fully relational database. C. MongoDB is a NoSQL database and does not support the relational data model, although it does provide SQL-like query language. D. NoSQL is a type of database design that can store and retrieve data, but it isn't a specific API. Also, not all NoSQL databases support SQL queries and relational data storage.
upvoted 10 times
...
Thanveer
Most Recent 1 week, 1 day ago
Selected Answer: B
B. PostgreSQL
upvoted 1 times
...
SeMo0o0o0o
3 weeks, 1 day ago
Selected Answer: B
B is correct
upvoted 1 times
...
Sephethus
2 months, 3 weeks ago
These are databases not APIs so I don't quite understand this question.
upvoted 1 times
...
fire009
1 year ago
Selected Answer: B
If you’re looking for a managed open source relational database with high performance and geo-replication, Azure Cosmos DB for PostgreSQL is the recommended choice. To learn more, see the Azure Cosmos DB for PostgreSQL introduction.
upvoted 3 times
...
Tr619899
1 year, 6 months ago
B. PostgreSQL Azure Cosmos DB provides support for multiple APIs, each tailored to different data models and query languages. The PostgreSQL API is well-suited for applications that require relational data storage and the ability to execute SQL queries. It offers compatibility with the PostgreSQL wire protocol and supports standard SQL syntax, allowing you to leverage your existing SQL skills and tools. Additionally, the PostgreSQL API in Azure Cosmos DB provides built-in support for geo-replication, allowing you to replicate your data across multiple regions for high availability and disaster recovery purposes. This ensures that your data is accessible and resilient even in the event of a regional outage or failure. Therefore, the recommended API for Azure Cosmos DB in this scenario is the PostgreSQL API.
upvoted 4 times
...
yonie
1 year, 7 months ago
Selected Answer: B
If you’re looking for a managed open source relational database with high performance and geo-replication, Azure Cosmos DB for PostgreSQL is the recommended choice. To learn more, see the https://learn.microsoft.com/en-us/azure/cosmos-db/choose-api#api-for-postgresql
upvoted 1 times
...
Bigbluee
1 year, 7 months ago
Selected Answer: B
B: PostgreSQL But finding proper info in one place..... I am not DB guy at all. https://learn.microsoft.com/en-us/azure/cosmos-db/choose-api#api-for-postgresql
upvoted 1 times
...
stdevops
1 year, 7 months ago
API for NoSQL is native to Azure Cosmos DB.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago