← All AZ-204 Flashcard Decks

Quality Control & Assurance Flashcards

7 cards from real AZ-204 practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 7 Quality Control & Assurance flashcards as text
  1. Which Azure DevOps work item type is most appropriate for tracking a defect found during QA testing?

    Answer: Bug

    The 'Bug' work item type is designed to capture defects, including reproduction steps, expected vs actual behavior, and priority, making it the standard QA tracking artifact.

  2. You are implementing chaos engineering for an Azure-hosted microservice. Which Azure service provides built-in fault injection experiments such as CPU pressure and network latency?

    Answer: Azure Chaos Studio

    Azure Chaos Studio lets you define experiments that inject faults—CPU stress, network delay, pod failures—into Azure resources to validate application resilience.

  3. In an Azure Pipelines YAML file, what is the correct way to publish test results so they appear in the pipeline summary?

    Answer: Use the 'PublishTestResults' task with the appropriate resultFormat and searchFolder

    The PublishTestResults task parses test result files (JUnit, NUnit, VSTest, etc.) and displays pass/fail counts, duration, and failure details in the pipeline UI.

  4. A team discovers that their Azure Function app silently swallows exceptions and returns HTTP 200 even on errors. Which Application Insights configuration helps detect this anti-pattern?

    Answer: Create an alert on the 'exceptions/count' metric and review the Failures blade for logged exceptions

    Tracking 'exceptions/count' in Application Insights and reviewing the Failures blade surfaces unhandled or explicitly logged exceptions even when the HTTP status code is 200.

  5. When using Azure Key Vault references in App Service application settings, which quality check should be part of the deployment pipeline to catch misconfigured secret URIs?

    Answer: Run 'az webapp config appsettings list' and verify each @Microsoft.KeyVault() reference resolves successfully

    Listing and resolving Key Vault references after deployment confirms that the Managed Identity has correct access and the secret URI is valid, catching misconfiguration before it reaches users.

  6. Which testing methodology validates that independently tested microservices integrate correctly by testing only the contract between a consumer and a provider?

    Answer: Contract testing (e.g., using Pact)

    Contract testing verifies that the consumer's expectations (the contract) are met by the provider without requiring a live deployment of both services simultaneously.

  7. You need to validate that your Azure Blob Storage event-driven pipeline correctly processes every uploaded file. Which Azure tool helps you replay missed or failed events for debugging?

    Answer: Azure Event Grid dead-letter destination combined with Azure Storage redelivery scripts

    Configuring a dead-letter destination for Event Grid subscriptions captures undelivered events in a storage container, allowing you to inspect and replay them to diagnose processing failures.