Question 143 of 213
Single answerHOTSPOT -You are developing an Azure-hosted e-commerce web application. The application will use Azure Cosmos DB to store sales orders. You are using the latest SDK to manage the sales orders in the database.You create a new Azure Cosmos DB instance. You include a valid endpoint and valid authorization key to an appSettings.json file in the code project.You are evaluating the following application code: (Line number are included for reference only.)For each of the following statements, select Yes if the statement is true. Otherwise, select No.NOTE: Each correct selection is worth one point.Hot Area:
✓A Box 1: Yes -The createDatabaseIfNotExistsAsync method checks if a database exists, and if it doesn't, create it.The Database.CreateContainerAsync method creates a container as an asynchronous operation in the Azure Cosmos service.Box 2: Ye
BRefer to simulation panel
✓
Correct Answer: A
Box 1: Yes -The createDatabaseIfNotExistsAsync method checks if a database exists, and if it doesn't, create it.The Database.CreateContainerAsync method creates a container as an asynchronous operation in the Azure Cosmos service.Box 2: Ye
▥
Explanation
The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of Microsoft certification topics.