ExamGecko
Home / Microsoft / DP-420 / List of questions
Ask Question

Microsoft DP-420 Practice Test - Questions Answers, Page 4

Add to Whishlist

List of questions

Question 31

Report Export Collapse

You have an Azure Cosmos DB Core (SQL) API account.

You configure the diagnostic settings to send all log information to a Log Analytics workspace.

You need to identify when the provisioned request units per second (RU/s) for resources within the account were modified.

You write the following query.

AzureDiagnostics

| where Category == "ControlPlaneRequests"

What should you include in the query?

Become a Premium Member for full access
  Unlock Premium Member

Question 32

Report Export Collapse

You have a database in an Azure Cosmos DB Core (SQL) API account. The database is backed up every two hours.

You need to implement a solution that supports point-in-time restore.

What should you do first?

Become a Premium Member for full access
  Unlock Premium Member

Question 33

Report Export Collapse

You have a database in an Azure Cosmos DB Core (SQL) API account.

You need to create an Azure function that will access the database to retrieve records based on a variable named accountnumber. The solution must protect against SQL injection attacks.

How should you define the command statement in the function?

Become a Premium Member for full access
  Unlock Premium Member

Question 34

Report Export Collapse

You have an Azure Cosmos DB Core (SQL) API account that is used by 10 web apps.

You need to analyze the data stored in the account by using Apache Spark to create machine learning models. The solution must NOT affect the performance of the web apps.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Become a Premium Member for full access
  Unlock Premium Member

Question 35

Report Export Collapse

You have an Azure Cosmos DB for NoSQL account.

The change feed is enabled on a container named invoice.

You create an Azure function that has a trigger on the change feed.

What is received by the Azure function?

Become a Premium Member for full access
  Unlock Premium Member

Question 36

Report Export Collapse

You have an Azure Cosmos DB database named databaset contains a container named container1.

The container1 container store product data and has the following indexing policy.

Microsoft DP-420 image Question 28 90160 10022024015919000000

Which path will be indexed?

Become a Premium Member for full access
  Unlock Premium Member

Question 37

Report Export Collapse

You have an Azure Cosmos DB account named account1.

You have several apps that connect to account1 by using the account's secondary key.

You then configure the apps to authenticate by using service principals.

You need to ensure that account1 will only allow apps to connect by using an Azure AD identity.

Which account property should you modify?

Become a Premium Member for full access
  Unlock Premium Member

Question 38

Report Export Collapse

You have a container named container! in an Azure Cosmos DB for NoSQL account.

You need to provide a user named User1 with the ability to insert items into container1 by using rolebased access The solution must use the principle of least privilege.

Which roles should you assign to User1?

Become a Premium Member for full access
  Unlock Premium Member

Question 39

Report Export Collapse

You have an Azure Cosmos DB for NoSQL account that has multiple write regions.

You need to receive an alert when requests that target the database exceed the available request units per second (RU/s).

Which Azure Monitor signal should you use?

Become a Premium Member for full access
  Unlock Premium Member

Question 40

Report Export Collapse

You have an Azure Cosmos DB for NoSQL account1 that is configured for automatic failover. The account1 account has a single read-write region in West US and a and a read region in East US.

You run the following PowerShell command.

Microsoft DP-420 image Question 32 90164 10022024015919000000

What is the effect of running the command?

Become a Premium Member for full access
  Unlock Premium Member
Total 139 questions
Go to page: of 14
Search

Related questions