mediummultiple choiceObjective-mapped

A company is migrating a MongoDB-compatible application to Azure. The application requires low-latency reads and writes globally. It needs to support multi-region writes so that updates can be made from any region with automatic conflict resolution. The data is JSON documents that can vary in schema. The company wants a fully managed database service with native support for MongoDB APIs. Which Azure data service should they choose?

Question 1mediummultiple choice
Full question →

A company is migrating a MongoDB-compatible application to Azure. The application requires low-latency reads and writes globally. It needs to support multi-region writes so that updates can be made from any region with automatic conflict resolution. The data is JSON documents that can vary in schema. The company wants a fully managed database service with native support for MongoDB APIs. Which Azure data service should they choose?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Distractor review

Azure SQL Database

Azure SQL Database is a relational database and does not support the MongoDB API or document data models. It is not suitable for MongoDB-based applications.

B

Best answer

Azure Cosmos DB with the API for MongoDB

Cosmos DB's API for MongoDB provides full MongoDB wire protocol compatibility, global distribution with multi-region writes, configurable consistency levels, and automatic conflict resolution. It is designed for low-latency, globally distributed applications.

C

Distractor review

Azure Database for MongoDB

There is no standalone Azure service named 'Azure Database for MongoDB'. The MongoDB support in Azure is provided by Cosmos DB. This option is misleading and incorrect.

D

Distractor review

Azure Cache for Redis

Azure Cache for Redis is a caching service based on Redis, not a document database. It does not support MongoDB APIs, multi-region writes, or conflict resolution.

Common exam trap

Common exam trap: NAT rules depend on direction and matching traffic

NAT is not only about the public address. The inside/outside interface roles and the ACL or rule that matches traffic are just as important.

Technical deep dive

How to think about this question

NAT questions usually test address translation, overload/PAT behaviour, static mappings and whether the right traffic is being translated. Read the interface direction and address terms carefully.

KKey Concepts to Remember

  • Static NAT maps one inside address to one outside address.
  • PAT allows many inside hosts to share one public address using ports.
  • Inside local and inside global describe the private and translated addresses.
  • NAT ACLs identify traffic for translation, not always security filtering.

TExam Day Tips

  • Identify inside and outside interfaces first.
  • Check whether the scenario needs static NAT, dynamic NAT or PAT.
  • Do not confuse NAT matching ACLs with normal packet-filtering intent.

Related practice questions

Related AZ-305 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this AZ-305 question test?

Static NAT maps one inside address to one outside address.

What is the correct answer to this question?

The correct answer is: Azure Cosmos DB with the API for MongoDB — Azure Cosmos DB is a globally distributed, multi-model database service. It supports the MongoDB API (wire protocol compatibility) and offers multi-region writes with automatic conflict resolution. It also provides low-latency reads and writes, schema flexibility (JSON documents), and multiple consistency levels. Azure SQL Database is relational and does not support MongoDB API. Azure Database for MongoDB is not a native Azure service (the correct name is Azure Cosmos DB API for MongoDB). Azure Cache for Redis is a caching layer, not a primary database.

What should I do if I get this AZ-305 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.