Which database and authorization types are used?

Posted by: Pdfprep Category: DP-200 Tags: , ,

HOTSPOT

You develop data engineering solutions for a company. An application creates a database on Microsoft Azure.

You have the following code:

Which database and authorization types are used? To answer, select the appropriate option in the answer area. NOTE: Each correct selection is worth one point.

Answer:

Explanation:

Box 1: Azure Cosmos DB

The DocumentClient.CreateDatabaseAsync(Database, RequestOptions) method creates a database resource as an asychronous operation in the Azure Cosmos DB service.

Box 2: Master Key

Azure Cosmos DB uses two types of keys to authenticate users and provide access to its data and resources: Master Key, Resource Tokens

Master keys provide access to the all the administrative resources for the database account. Master keys:

✑ Provide access to accounts, databases, users, and permissions.

✑ Cannot be used to provide granular access to containers and documents.

✑ Are created during the creation of an account.

✑ Can be regenerated at any time.

Leave a Reply

Your email address will not be published.