nerdexam
Microsoft

AZ-204 · Question #134

You are designing a web application to manage user satisfaction surveys. The number of questions that a survey includes is variable. Application users must be able to display results for a survey as…

The correct answer is D. Table API. For a web application managing user satisfaction surveys with a variable number of questions, where quick display and statistical computation are critical, the Azure Cosmos DB Table API is the most suitable choice.

Submitted by anjalisingh· Mar 30, 2026Develop for Azure storage

Question

You are designing a web application to manage user satisfaction surveys. The number of questions that a survey includes is variable. Application users must be able to display results for a survey as quickly as possible. Users must also be able to quickly compute statistical measures including average values across various groupings of answers. Which Azure Cosmos 06 API should you use for the application?

Options

  • ACore
  • BMongo DB
  • CGremlin
  • DTable API

How the community answered

(23 responses)
  • A
    4% (1)
  • B
    4% (1)
  • C
    17% (4)
  • D
    74% (17)

Why each option

For a web application managing user satisfaction surveys with a variable number of questions, where quick display and statistical computation are critical, the Azure Cosmos DB Table API is the most suitable choice.

ACore

The Core (SQL) API is document-oriented and while flexible, the Table API can offer a simpler and potentially more cost-effective solution for schema-less data with straightforward key-value access patterns.

BMongo DB

The MongoDB API is a document database, similar to the Core API, and while suitable for flexible schemas, the Table API might be a more direct fit for simple key-value-like survey data with a focus on fast retrieval by keys.

CGremlin

The Gremlin API is for graph databases, focused on relationships between data points, which is not the primary requirement for storing isolated survey responses and computing statistics.

DTable APICorrect

The Azure Cosmos DB Table API is optimized for storing schema-less, key-value data with high throughput and low latency, making it ideal for survey responses with variable questions. Its simple entity model allows for fast retrieval based on PartitionKey and RowKey, facilitating quick display of results and efficient aggregation for statistical computations.

Concept tested: Azure Cosmos DB API selection for schema-less data

Source: https://learn.microsoft.com/en-us/azure/cosmos-db/table-introduction

Topics

#Cosmos DB#Table API#key-value storage#data modeling

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice