Declarative vs Imperative Operations Quiz

5 questions Pass: 70% +25 pts

Quiz covering DevOps Implementation

Declarative vs Imperative Operations Quiz

5 questions | Pass: 70% | Earn 25 points

Questions in this quiz

A preview of the 5 questions covered. Start the quiz above to answer them, check your score, and read the explanations.

  1. 1

    Which of the following best describes an imperative approach to managing Azure Cosmos DB resources?

  2. 2

    You are tasked with ensuring that your Cosmos DB infrastructure deployment is repeatable and version-controlled. Which approach should you prioritize?

  3. 3

    What is a primary advantage of using a declarative approach (e.g., Bicep) over an imperative approach (e.g., Azure CLI) for Cosmos DB?

  4. 4

    Your team is migrating from manual portal updates to a DevOps pipeline. You need to ensure that if a developer accidentally deletes a container, the next pipeline run automatically recreates it. Which method is most effective?

  5. 5

    When using Bicep to manage Cosmos DB, you notice that your deployment fails because the resource already exists, but the properties in the template differ from the live resource. What is the most likely cause?