← All AZ-400 Flashcard Decks

Continuous Integration 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 Continuous Integration flashcards as text
  1. Which tool integrated with Azure Pipelines performs static application security testing (SAST) by scanning source code for vulnerabilities?

    Answer: Microsoft Security DevOps (MSDO) / Defender for DevOps

    Microsoft Security DevOps (part of Defender for DevOps) runs SAST tools like Bandit, ESLint, and Credential Scanner within Azure Pipelines to surface code-level security issues.

  2. What is the effect of enabling 'batch' mode on an Azure Pipelines CI trigger?

    Answer: Waits for the current run to finish before starting a new run with all accumulated commits

    With batch: true, if a run is in progress when new commits arrive, the pipeline queues one more run that includes all commits pushed since the current run started, rather than queuing one per commit.

  3. A .NET project uses a private NuGet feed hosted in Azure Artifacts. What task should be added to a CI pipeline to authenticate before restoring packages?

    Answer: NuGetAuthenticate

    The NuGetAuthenticate task configures NuGet credential providers so that subsequent restore commands can access private Azure Artifacts feeds without manual credential setup.

  4. In Azure Pipelines YAML, what is the purpose of the 'resources.pipelines' block?

    Answer: Declares another pipeline whose artifacts or triggers this pipeline can consume

    The resources.pipelines block lets a pipeline reference artifacts from—and optionally trigger on completions of—another Azure Pipeline.

  5. What does 'flaky test' mean, and how should a CI pipeline handle it?

    Answer: A test that passes and fails non-deterministically; it should be quarantined and tracked separately

    Flaky tests produce inconsistent results across identical runs due to timing, environment, or external dependencies, and should be quarantined to prevent false CI failures while being investigated.

  6. Which Azure Pipelines concept lets you define a reusable set of steps with input parameters, similar to a function in code?

    Answer: Step templates with parameters

    Step templates accept parameters and can be included in multiple pipelines, allowing teams to standardize common step sequences (like build-test-publish) with customizable inputs.

  7. A team wants the CI pipeline to fail fast if any linting errors are found, before running longer-running tests. How should the pipeline be structured?

    Answer: Place linting in an earlier stage that the test stage depends on

    Placing linting in a separate earlier stage with the test stage listing it in dependsOn ensures tests only start if linting passes, saving compute time on failed linting.