โ† All AZ-400 Flashcard Decks

Deployment Patterns Flashcards

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

Read the first 7 Deployment Patterns flashcards as text
  1. Which Azure Pipelines built-in task is used to deploy an ARM template to a resource group?

    Answer: AzureResourceManagerTemplateDeployment@3

    The AzureResourceManagerTemplateDeployment task (ARM template deployment) deploys ARM JSON templates to an Azure resource group.

  2. What is the key difference between 'rolling' and 'recreate' deployment strategies in Kubernetes?

    Answer: Recreate terminates all old pods before starting new ones; rolling gradually replaces them

    Recreate causes downtime by killing all existing pods first, while RollingUpdate replaces pods incrementally to maintain availability.

  3. An Azure release pipeline stage has an 'Invoke Azure Function' gate configured. When does this gate run?

    Answer: Automatically before and/or after the deployment stage at configured intervals

    Invoke Azure Function gates run on a polling interval before or after a stage and the stage proceeds only when the function returns a success response.

  4. You want to ensure that a deployment to production automatically rolls back if the error rate exceeds 5% within 10 minutes of release. Which Azure service pair best supports this?

    Answer: Application Insights + Azure Monitor alerts with auto-rollback action group

    Application Insights detects error rate spikes and Azure Monitor alert rules can trigger action groups that initiate a rollback via webhooks or Logic Apps.

  5. In GitOps-style deployments using Azure Arc-enabled Kubernetes, what acts as the source of truth for the desired cluster state?

    Answer: A Git repository configured as a flux configuration

    GitOps with Azure Arc uses Flux to continuously reconcile the cluster state against manifests stored in a Git repository, which is the single source of truth.

  6. Which deployment pattern is most appropriate when you need to test a new payment service with only users in the US Pacific timezone?

    Answer: Geographic or user-segment canary deployment

    A canary deployment scoped to a specific user segment (geography, timezone, or attribute) lets you validate the payment service with a targeted subset before wider rollout.

  7. What does the 'maxSurge' parameter control in a Kubernetes RollingUpdate deployment strategy?

    Answer: Maximum number of extra pods that can exist above the desired count during the update

    maxSurge sets how many additional pods (above the desired replica count) can be created during a rolling update, controlling update speed.