โ† All AZ-204 Flashcard Decks

Professional Standards & Competencies 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 Professional Standards & Competencies flashcards as text
  1. A developer is implementing health checks for an Azure App Service. What is the professional best practice for the health check endpoint?

    Answer: Return HTTP 200 only when the database and downstream dependencies are reachable

    A meaningful health check validates that the app and its dependencies are fully operational, allowing App Service to route away from unhealthy instances.

  2. When using Azure Event Grid for event-driven architecture, what professional practice ensures event delivery reliability?

    Answer: Using dead-letter destinations and retry policies for undelivered events

    Configuring dead-letter destinations and retry policies ensures that undeliverable events are captured for investigation rather than silently dropped.

  3. An AZ-204 developer must enforce API throttling to protect a backend service. Which Azure API Management policy implements per-subscription rate limiting?

    Answer: rate-limit-by-key policy using subscription key

    The rate-limit-by-key policy restricts the number of calls per time window for a given key such as the subscription key, protecting the backend from overload.

  4. A developer is adopting trunk-based development for an Azure DevOps project. What professional standard does this practice support?

    Answer: Continuous Integration by committing small changes frequently to the main branch

    Trunk-based development encourages frequent, small commits to the main branch, enabling continuous integration and reducing merge conflicts.

  5. An Azure developer wants to ensure container images are free of known vulnerabilities before deployment. Which Azure service provides automated image scanning?

    Answer: Azure Container Registry with Microsoft Defender for Containers

    Microsoft Defender for Containers integrates with Azure Container Registry to automatically scan images for OS and application vulnerabilities.

  6. A developer needs to implement idempotent message processing in Azure Service Bus. Which design pattern achieves this?

    Answer: Track processed message IDs in a store and skip duplicates on redelivery

    Storing processed message IDs and skipping duplicates on redelivery ensures the consumer handles the same message multiple times without side effects.

  7. A developer is designing an Azure Function with a timer trigger for a nightly batch job. Which professional practice prevents overlapping executions if a run takes longer than expected?

    Answer: Setting SingletonAttribute with Mode.Function to ensure only one instance runs

    Applying [Singleton(Mode = SingletonMode.Function)] prevents concurrent executions of the same function, ensuring the timer job runs sequentially.