nerdexam
Huawei

H13-821_V3.0 · Question #314

When operating HUAWEI CLOUD games, the game rankings can be stored in a document database, and information about users and players, such as user equipment and user points, can be stored in the cache…

The correct answer is B. False. Option B is correct because the statement has the storage types reversed. Game rankings, which require fast, frequently-updated sorted data, are best suited for a cache database (such as Redis, which offers sorted sets ideal for leaderboards) - not a document database…

Database and Application Solution Design on Huawei Cloud

Question

When operating HUAWEI CLOUD games, the game rankings can be stored in a document database, and information about users and players, such as user equipment and user points, can be stored in the cache data.

Options

  • ATrue
  • BFalse

How the community answered

(33 responses)
  • A
    15% (5)
  • B
    85% (28)

Explanation

Option B is correct because the statement has the storage types reversed. Game rankings, which require fast, frequently-updated sorted data, are best suited for a cache database (such as Redis, which offers sorted sets ideal for leaderboards) - not a document database. Conversely, user and player information like equipment and points is persistent, structured data that should be stored in a document database (or relational database), not in cache, because cache is volatile and not designed for long-term data retention.

Option A is wrong because it accepts the reversed mapping as correct, which would lead to rankings being stored inefficiently in a document database and user data being lost when cache expires or resets.

Memory tip: Think "rankings are temporary and fast, so cache; player profiles are permanent, so database." If the statement swaps these, it is false.

Topics

#Database selection#Cache vs persistence#User data storage#Data architecture patterns

Community Discussion

No community discussion yet for this question.

Full H13-821_V3.0 Practice