Questions
- Say you are migrating an existing web application to use EF Core; however, there isn't any change in the database schema and an existing one can be used as is. What is the preferable mode to use EF Core?
a. Database-first
b. Code-first
c. Both
- If we are building a recommendation system for our e-commerce application and we are using Azure Cosmos DB, what API is best recommended in this scenario?
a. The Core (SQL) API
b. The Mongo API
c. The Cassandra API
d. The Gremlin (graph) API
- I created a container in SQL API-based databases to store user profile information and defined
Email
as the partition key. My system has 100 unique emails. How many logical partitions will my container have?a. 1.
b. 0.
c. 100.
d. Azure Cosmos DB does not support logical partitions.
- Which of the following classes is derived from the
TextWriter
class?a.
StreamWriter
b.
BinaryWriter
c.
XMLWriter