DP-420 Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB (beta)

Loading demo links...

Showing 4–6 of 10 questions

Question 4 (New Update)

You have an Azure Cosmos DB for NoSQL account named account1 that supports an application named App1. App1 uses the consistent prefix consistency level.

You configure account1 to use a dedicated gateway and integrated cache.

You need to ensure that App1 can use the integrated cache.

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

NOTE: Each correct selection is worth one point.

Select all that apply, then click Submit answer.

  • Change the connection mode to direct

  • Change the account endpoint to https://account1.sqlx.cosmos.azure.com.

  • Change the consistency level of requests to strong.

  • Change the consistency level of requests to session.

  • Change the account endpoint to https://account1.documents.azure.com

Question 5 (Mixed Questions)

You need to configure an Apache Kafka instance to ingest data from an Azure Cosmos DB Core (SQL) API account. The data from a container named telemetry must be added to a Kafka topic named iot. The solution must store the data in a compact binary format.

Which three configuration items should you include in the solution? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Select all that apply, then click Submit answer.

  • "connector.class": "com.azure.cosmos.kafka.connect.source.CosmosDBSourceConnector"

  • "key.converter": "org.apache.kafka.connect.json.JsonConverter"

  • "key.converter": "io.confluent.connect.avro.AvroConverter"

  • "connect.cosmos.containers.topicmap": "iot#telemetry"

  • "connect.cosmos.containers.topicmap": "iot"

  • "connector.class": "com.azure.cosmos.kafka.connect.source.CosmosDBSinkConnector"

Question 6 (Mixed Questions)

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.

Select all that apply, then click Submit answer.

  • In an Apache Spark pool in Azure Synapse, create a table that uses cosmos.olap as the data source.

  • Create a private endpoint connection to the account.

  • In an Azure Synapse Analytics serverless SQL pool, create a view that uses OPENROWSET and the CosmosDB provider.

  • Enable Azure Synapse Link for the account and Analytical store on the container.

  • In an Apache Spark pool in Azure Synapse, create a table that uses cosmos.oltp as the data source.