Mixed Deck — All AZ-400 Topics Flashcards
100 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 20 Mixed Deck — All AZ-400 Topics flashcards as text
What role does peer review play in the AZ-400 design process?
Answer: It provides independent verification, catches errors, and enhances overall quality
Peer review is a valuable quality control mechanism that provides independent verification of design work, catches errors that the original designer might overlook, and enhances overall quality through diverse perspectives and expertise.
What is the key benefit of using release variables scoped to a specific stage in Azure Pipelines?
Answer: They allow stage-specific values like environment URLs without duplicating pipelines
Stage-scoped variables let you define environment-specific values (e.g., connection strings, URLs) that override pipeline-level variables only within that stage.
Which Azure DevOps concept tracks deployment records, approvals, and health checks for a group of resources such as a Kubernetes namespace?
Answer: Environment
An Azure DevOps environment represents a deployment target (like a K8s namespace or VM group) and records all deployments, approvals, and checks against it.
In Azure Pipelines, which variable scope takes the highest precedence when the same variable is defined at multiple levels?
Answer: Queue-time variables
Queue-time (run-time) variables set when manually triggering a pipeline override all other variable scopes including stage and job definitions.
A container in your AKS pod fails its readiness probe repeatedly. What is the immediate effect on traffic routing?
Answer: The pod is removed from Service endpoints until the probe passes
A failing readiness probe causes Kubernetes to remove the pod from the Service's endpoint slice, stopping traffic from reaching it without restarting the container.
What is the effect of setting 'trigger: none' in an Azure Pipelines YAML file?
Answer: The pipeline never runs automatically and must be triggered manually or via API
Setting 'trigger: none' disables all automatic CI triggers, requiring the pipeline to be run manually, via the API, or through a pipeline resource trigger.
Which Azure Artifacts concept allows you to mark a specific package version as the approved production version, protecting it from retention policy deletion?
Answer: Promoting to a view (e.g., @Release)
Promoting a package version to a view (such as @Prerelease or @Release) marks it as approved for that stage and protects it from automatic deletion by retention policies.
A team wants to enforce a coding standard by failing the CI build when SonarQube reports critical issues. What mechanism enables this?
Answer: SonarQube quality gate checked by the 'SonarQubePublish' task after analysis
The SonarQubePublish task polls the SonarQube server for the quality gate result and fails the pipeline if the gate status is 'Failed'.
What role does collaboration play in source control for AZ-400 professionals?
Answer: It enhances outcomes through diverse perspectives and shared expertise
Collaboration leverages diverse perspectives and combined expertise to achieve better outcomes than any individual could alone.
Which foundational principle is MOST important for success in the Microsoft Azure DevOps Engineer profession?
Answer: Commitment to continuous learning, ethical practice, and quality outcomes
Success in any professional field requires a commitment to continuous learning to stay current, ethical practice to maintain trust and integrity, and a focus on quality outcomes that serve stakeholders and the public interest.
A developer wants to see real-time telemetry while debugging a locally running service instrumented with Application Insights. Which feature streams live data?
Answer: Live Metrics Stream
Live Metrics Stream in Application Insights provides near-real-time telemetry (within 1 second) from a running application for immediate feedback.
What is the primary purpose of a 'quality gate' in a CI pipeline?
Answer: To enforce minimum quality thresholds before allowing progression
Quality gates enforce defined thresholds (e.g., code coverage, test pass rate) and block pipeline progression if the code does not meet them.
What is the most important professional competency for AZ-400 certification in continuous integration?
Answer: Deep knowledge combined with practical application skills
Professional competency requires both deep knowledge of the subject matter and the ability to apply that knowledge in practical situations.
You want to track the mean time to restore (MTTR) for production incidents. Which Azure DevOps capability directly surfaces this DORA metric?
Answer: Azure DevOps Analytics DORA metrics report
The DORA metrics report in Azure DevOps Analytics provides out-of-the-box tracking of deployment frequency, lead time, change failure rate, and MTTR.
In an Azure Pipelines YAML file, what is the effect of setting `condition: always()` on a pipeline step?
Answer: The step runs even if previous steps failed or were cancelled
`condition: always()` causes the step to execute regardless of whether previous steps succeeded, failed, or were cancelled—useful for cleanup steps.
Which Azure DevOps release gate type allows you to pause a deployment until a work item query returns zero results?
Answer: Query Work Items
The 'Query Work Items' gate checks an Azure Boards query and blocks deployment if active items (e.g., open bugs) remain.
What is the purpose of 'Protected Resources' in Azure Pipelines?
Answer: To control which pipelines are authorized to use sensitive resources like environments and service connections
Protected Resources allow administrators to control which specific pipelines are authorized to use sensitive resources like environments, service connections, agent pools, and variable groups.
What is the benefit of continuous integration in AZ-400 workflows?
Answer: It detects integration issues early through frequent builds and tests
Continuous integration detects integration issues early by automatically building and testing code whenever changes are committed.
Which Azure Pipelines feature allows you to reuse pipeline logic across multiple pipelines without duplication?
Answer: Template references
Template references let you define reusable YAML blocks (steps, jobs, or stages) in separate files and include them across multiple pipelines.
A pipeline consuming a private npm package from Azure Artifacts fails with '401 Unauthorized'. The pipeline uses a service connection. What is the most likely fix?
Answer: Add the feed URL to .npmrc and authenticate using the pipeline's service connection credential
You must configure .npmrc with the Azure Artifacts feed URL and use the npm Authenticate task to inject credentials from the service connection.