Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

DP-420 practice questions: database solutions

“Design and develop database solutions” is about 43% of the DP-420 exam. Try a question below.

Ten free questions a day, no card. Full access to every exam is one pass: $29.99 a year.

The topics in this domain

Evaluate resource models and SDK solutionsEvaluate consistency levelsEvaluate Request Unit (RU) consumption requirementsEvaluating and configuring appropriate throughputConfigure account-level and container-level settingsCreate and manage database and containersInitialize SDK clients and connectionsImplement database operationsImplement queries, parameterized queries, paging, and continuation tokensImplement point read operationsImplement create, replace, update, patch and delete operationsImplement bulk, batch, and transactional operationsConfigure Time to Live (TTL)Implement concurrency control mechanismsDesign and implement data models and partitioning strategiesDesign data models for access patterns and operational requirementsDesign and select partition keys based on cardinality, access patterns, and write distribution requirementsDetermine when to embed or reference related dataEvaluate the impact of partition key selection on scalability and performanceImplement hierarchical partition keys (HPKs) and multi-tenant partitioning strategiesImplement synthetic partition keysIdentify partitioning anti-patterns and partitioning issues during solution reviewsEstimate workload cost requirementsImplement change feedImplement change feed operationsDifferentiate between change feed processor and pull mode modelsConfigure lease containersImplement change feed processing using latest mode or all versions and deleteImplement copy container jobsDesign and implement Azure Cosmos DB solutions by using AI-assisted toolsImplement Agent Kit to follow Azure Cosmos DB development recommended solutionsImplement Agent Kit to accelerate AI application development

You can practise any single topic in the app.

Try one

An ASP.NET Core minimal API uses the Microsoft.Azure.Cosmos .NET SDK with DefaultAzureCredential to read items from the product container in the cosmicworks database. Requirements:

  1. The process must use exactly one CosmosClient for its whole lifetime.
  2. The first incoming request must not pay the connection setup and routing discovery cost.
  3. The client must be disposed when the host stops.

How should you create and register the client in Program.cs?

Choose one answer.

  1. Create a client with CreateAndInitializeAsync for product inside each request handler, wrapped in a using declaration
  2. Create it with CreateAndInitializeAsync for product, register it with AddSingleton(client), and keep its using scope alive until the host stops
  3. Register AddSingleton<CosmosClient> with a factory delegate that constructs the client and calls GetContainer for product
  4. Create it with CreateAndInitializeAsync for product, register it with AddSingleton(client), and add no shutdown code
  5. Register AddSingleton<CosmosClient> with a factory delegate that calls the CosmosClient constructor, and add no shutdown code
See answers explained in the sample test, no account

Ten questions a day gets you there.

Start free