Câu 14: DP-420: Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB
You maintain a relational database for a book publisher. The database contains the following tables. The most common query lists the books for a given authorId. You need to develop a non-relational data model for Azure Cosmos DB Core (SQL) API that will replace the relational database. The solution must minimize laten…
Nội dung câu hỏi
You maintain a relational database for a book publisher. The database contains the following tables. The most common query lists the books for a given authorId. You need to develop a non-relational data model for Azure Cosmos DB Core (SQL) API that will replace the relational database. The solution must minimize latency and read operation costs. What should you include in the solution?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. Create a container for Author and a container for Book. In each Author document, embed bookId for each book by the author. In each Book document embed authorId of each author.
- B. Create Author, Book, and Bookauthorlnk documents in the same container.
- C. Create a container that contains a document for each Author and a document for each Book. In each Book document, embed authorId. — đáp án hiện tại
- D. Create a container for Author and a container for Book. In each Author document and Book document embed the data from Bookauthorlnk.
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.