dc dotCreds
Designing and Implementing Microsoft DevOps Solutions

AZ-400 Practice Test

Start today’s free 10-question AZ-400 set with source-backed explanations, local progress, and a fresh rotation every morning.

10 Free Daily Questions Source-backed Explanations 200 Verified Questions

Questions updated at Aug 6, 2026, 10:37 PM CDT

Go Pro - One Time Unlock

Unlock the full AZ-400 bank

200 verified questions Exam Mode Practice Mode Detailed explanations Weak-area review No subscription - one-time unlock

Get the complete source-backed bank with Interview Questions, the full Study Guide, full Course Notes, detailed explanations, weak-area review, and exam-style practice.

Interview Questions Full Study Guide Full Course Notes Exam Mode Practice Mode Guided Course Detailed explanations Weak-area review No subscription
$4.99 One-time payment
See bundle and PDF options

We will confirm your site email in one quick checkout step.

Why DotCreds?

Practice with explanations that teach.

Source links for every answer Every wrong answer explained Guided Course included Practice and Exam Mode Weak-area tracking Same verified bank across web practice

What you get with free practice

10 Free Questions Daily Fresh set every day from the live bank
Detailed Explanations Learn with clear source-backed answers
Track Your Progress Daily history and performance insights
Upgrade Anytime Unlock the full bank when you are ready
Today's 10 AZ-400 questions

Use this AZ-400 practice test to review Designing and Implementing Microsoft DevOps Solutions. Questions rotate daily and each answer links back to the source used to write it.

Today’s Set
10 questions
Rotates at 10:00 AM local time
Progress
0/10
Answered on this page
Accuracy
0%
Loading countdown…

200 verified questions are in the live bank. Free daily questions are selected from a rotating sample set. Unlock Pro to access the full question bank.

Preparing today’s free questions... Ordering the final locked-bank set before showing the practice cards.
Question 1 of 10
Objective Design and implement pipelines Design and implement build and release pipelines

A reusable YAML template deploys to multiple environments. Teams call it from ordinary jobs and pass a secret as a parameter, so there is no environment history and the secret can appear in expanded output. What redesign is required?

Concept tested:
Question 2 of 10
Objective Design and implement deployments Design and implement build and release pipelines

A team is deploying a new API to an AKS workload. It wants to start with 10 percent of the workload, route traffic to each increment, run health checks after routing, and stop the rollout if those checks fail. Which Azure Pipelines strategy should the team configure?

Concept tested:
Question 3 of 10
Objective Design and implement authentication and authorization methods Develop a security and compliance plan

A user can edit a repository but cannot run the deployment pipeline, and the pipeline can run but receives Azure authorization denied. Which investigation is correct?

Concept tested:
Question 4 of 10
Objective Configure collaboration and communication Design and implement processes and communications

Release notes are generated from raw commit messages and posted only to chat. They omit approved work and disappear from view, while the wiki stays stale. What communication design is better?

Concept tested:
Question 5 of 10
Objective Configure monitoring for a DevOps environment Implement an instrumentation strategy

Application Insights shows separate traces for an API and worker that communicate through a queue. The team also needs request, dependency, exception, and performance evidence. Which fix is complete?

Concept tested:
Question 6 of 10
Objective Automate security and compliance scanning Develop a security and compliance plan

A container image contains a critical OS package vulnerability and an embedded credential. CodeQL reports no source finding, so the team approves it. Which gate is required?

Concept tested:
Question 7 of 10
Objective Configure and manage repositories Design and implement a source control strategy

Design files must remain versioned, but each is several gigabytes. The team enables Git LFS after years of ordinary commits. Which statement is accurate?

Concept tested:
Question 8 of 10
Objective Design and implement appropriate metrics and queries for DevOps Design and implement processes and communications

A team improves deployment frequency by splitting every change into trivial releases, but failure rate and customer value worsen. What should leadership do?

Concept tested:
Question 9 of 10
Objective Analyze metrics from instrumentation Implement an instrumentation strategy

Average latency remains 300 ms, but the 99th percentile rises to six seconds. Distributed traces show one storage dependency consuming five seconds for slow requests. What should the team conclude?

Concept tested:
Question 10 of 10
Objective Design and implement branching strategies for source code Design and implement a source control strategy

Developers need to push feature branches, but main must require reviewers and build validation. Only release managers may bypass a policy during an emergency. Which controls should be assigned?

Concept tested:
Locked preview

You are viewing today’s free 10. Unlock 190 more questions.

Unlock full bank
Daily sample Rotating practice Free daily questions are selected from a rotating sample set.
Pro bank Full access Unlock Pro to access the full question bank, Exam Mode, Practice Mode, and random tests.
AZ-400 Pro $4.99 one-time

Best if you only need this one certification.

50 Exam Practice Test $1.99 one-time

A 50-question AZ-400 PDF for short review sessions. Questions come first, then the answer review and explanations later in the file.

Microsoft Access $6.99/month

Unlock Microsoft, Azure, Power Platform, Copilot, and AI practice exams.

Why it fitsUnlock Microsoft, Azure, Power Platform, Copilot, and AI practice exams, Includes current and future Microsoft practice banks on dotCreds, Best for learners taking more than one Microsoft exam, PDF downloads sold separately where available

Choose an unlock option to continue. We will confirm your site email in one quick checkout step.

Secure checkout powered by Stripe. Source-backed questions. Not brain dumps. Checkout stays on this page and unlocks the same Pro builder on this practice page.

Purchase options

Unlock the full AZ-400 bank.

Get the full bank, Exam Mode, Practice Mode, question sets, random tests, readiness tracking, saved box scores, and review tools for this exam.

The PDF versions keep questions first and move the answer review, explanations, and distractor notes to the back of the file.

200 verified exam-style questions Every choice explained Exam Mode and Practice Mode Question sets and random tests Readiness score and trends Previous test box scores

You've answered 0/10 questions in today's set.

Locked: 190 more questions in the full bank.

Locked: exam simulation mode, practice mode, readiness tracking, and saved review history.

Checkout stays on this page, so you can keep practicing, unlock the full bank, and start Exam Mode or Practice Mode when you are ready.

Cheat Sheets

7-day score keeper

Answer questions today and this will become a rolling 7-day scorecard.

Local history
Optional progress sync

Keep today’s practice moving

Guest progress saves automatically on this device. Add an email later when you want a magic link that keeps your daily AZ-400 practice in sync across browsers.

Guest progress saves on this device automatically

Guest progress is available without an account.

Source-backed answer review

The free daily AZ-400 set includes crawlable question text, answer choices, correct answer labels, objective mapping, and source links. Only the first SEO card includes answer explanations and any extra learning features. Pro-only bank questions stay locked; this section mirrors only the 10 free daily questions already shown on this page.

Question 1 A reusable YAML template deploys to multiple environments. Teams call it from ordinary jobs and pass a secret as a parameter, so there is no environment history and the secret can appear in expanded output. What redesign is required?

Answer choices

  1. A. Add more callers without changing the template
  2. B. Use a deployment job targeting the environment, keep reusable structure in the template, and supply secrets through protected runtime values
  3. C. Convert each environment to a trigger
  4. D. Print the parameter after expansion so masking can find it

Correct answer

Use a deployment job targeting the environment, keep reusable structure in the template, and supply secrets through protected runtime values

Reusable templates can centralize structure, but environment history requires a deployment job. Secrets belong in protected runtime channels rather than expansion-time parameters or printed output.

Wrong-answer review

  • A. Add more callers without changing the template: More callers multiply both defects rather than correcting them.
  • C. Convert each environment to a trigger: Triggers decide when runs start and do not represent deployment targets.
  • D. Print the parameter after expansion so masking can find it: Printing sensitive data increases exposure and cannot retroactively make it safe.

Extra learning features

Why candidates miss this

The distractor ‘Add more callers without changing the template’ is tempting because it seems like a simple solution. The decisive clue is that it would multiply defects, not correct them. Likely wrong answer: Add more callers without changing the template Review focus: YAML schema reference for Azure Pipelines

Why this matters

Uncontrolled secrets in deployment templates expose sensitive data, potentially leading to unauthorized access and data breaches, demanding immediate remediation to protect sensitive information and maintain system security. This is a critical consequence of insecure template design. (34 words)

Objective/domain: Design and implement build and release pipelines

Source: YAML schema reference for Azure Pipelines

Question 2 A team is deploying a new API to an AKS workload. It wants to start with 10 percent of the workload, route traffic to each increment, run health checks after routing, and stop the rollout if those checks fail. Which Azure Pipelines strategy should the team configure?

Answer choices

  1. A. A rolling deployment that replaces all virtual-machine instances in one batch.
  2. B. A canary deployment with increments, postRouteTraffic health checks, and an on: failure hook.
  3. C. A runOnce deployment with no post-deployment hook.
  4. D. A continuous-integration trigger that gates the rollout by branch name.

Correct answer

A canary deployment with increments, postRouteTraffic health checks, and an on: failure hook.

Objective/domain: Design and implement build and release pipelines

Source: Deployment jobs - Azure Pipelines

Question 3 A user can edit a repository but cannot run the deployment pipeline, and the pipeline can run but receives Azure authorization denied. Which investigation is correct?

Answer choices

  1. A. Repository write permission automatically grants pipeline and Azure access
  2. B. Check repository permission, pipeline resource authorization, service connection permission, and Azure RBAC as separate layers
  3. C. Make the repository public to grant Azure access
  4. D. Add a Git tag because tags authorize deployments

Correct answer

Check repository permission, pipeline resource authorization, service connection permission, and Azure RBAC as separate layers

Objective/domain: Develop a security and compliance plan

Source: Azure Resource Manager service connection with workload identity federation

Question 4 Release notes are generated from raw commit messages and posted only to chat. They omit approved work and disappear from view, while the wiki stays stale. What communication design is better?

Answer choices

  1. A. Use every commit message as authoritative release scope
  2. B. Replace the wiki with more chat channels
  3. C. Write notes manually from memory after each incident
  4. D. Generate notes from governed work and version evidence, publish durable documentation, and have chat notifications link to it

Correct answer

Generate notes from governed work and version evidence, publish durable documentation, and have chat notifications link to it

Objective/domain: Design and implement processes and communications

Source: Service hooks overview

Question 5 Application Insights shows separate traces for an API and worker that communicate through a queue. The team also needs request, dependency, exception, and performance evidence. Which fix is complete?

Answer choices

  1. A. Instrument both components and propagate correlation context through the queue so Application Insights can join their telemetry
  2. B. Monitor only queue length
  3. C. Assign the same static operation ID to every request
  4. D. Use deployment history as distributed tracing

Correct answer

Instrument both components and propagate correlation context through the queue so Application Insights can join their telemetry

Objective/domain: Implement an instrumentation strategy

Source: Application Insights overview

Question 6 A container image contains a critical OS package vulnerability and an embedded credential. CodeQL reports no source finding, so the team approves it. Which gate is required?

Answer choices

  1. A. License analysis only
  2. B. A source tag that marks the image reviewed
  3. C. CodeQL rerun after production deployment
  4. D. Pre-promotion image and secret scanning with severity policy, credential revocation, and governed exceptions

Correct answer

Pre-promotion image and secret scanning with severity policy, credential revocation, and governed exceptions

Objective/domain: Develop a security and compliance plan

Source: Configure GitHub Advanced Security for Azure DevOps features

Question 7 Design files must remain versioned, but each is several gigabytes. The team enables Git LFS after years of ordinary commits. Which statement is accurate?

Answer choices

  1. A. LFS deletes all historical large blobs as soon as tracking is enabled
  2. B. Branch protection converts prior commits to pointers
  3. C. Future tracked commits use pointer files and external LFS storage, while old history needs a deliberate coordinated migration
  4. D. Release tags move the large content out of Git

Correct answer

Future tracked commits use pointer files and external LFS storage, while old history needs a deliberate coordinated migration

Objective/domain: Design and implement a source control strategy

Source: Manage large files with Git LFS

Question 8 A team improves deployment frequency by splitting every change into trivial releases, but failure rate and customer value worsen. What should leadership do?

Answer choices

  1. A. Reward the frequency increase because one metric defines DevOps success
  2. B. Pair the metric with outcome and reliability measures and use separate queries for delivery, quality, security, and operations decisions
  3. C. Combine all signals into an undocumented success score
  4. D. Stop measuring outcomes and count commits instead

Correct answer

Pair the metric with outcome and reliability measures and use separate queries for delivery, quality, security, and operations decisions

Objective/domain: Design and implement processes and communications

Source: Configure lead time and cycle time widgets - Azure DevOps

Question 9 Average latency remains 300 ms, but the 99th percentile rises to six seconds. Distributed traces show one storage dependency consuming five seconds for slow requests. What should the team conclude?

Answer choices

  1. A. The average proves users are unaffected
  2. B. Top-level duration is enough and dependency spans add no value
  3. C. Scale CPU because every latency problem is compute
  4. D. Tail users are affected, and the dependency span localizes the dominant delay for targeted investigation

Correct answer

Tail users are affected, and the dependency span localizes the dominant delay for targeted investigation

Objective/domain: Implement an instrumentation strategy

Source: Application Insights overview

Question 10 Developers need to push feature branches, but main must require reviewers and build validation. Only release managers may bypass a policy during an emergency. Which controls should be assigned?

Answer choices

  1. A. Grant release managers and developers force push on main
  2. B. Use only repository read permission because it defines merge checks
  3. C. Put reviewers in a variable group
  4. D. Use branch permissions for contribution and narrow bypass authority, plus branch policies for reviewer and build gates

Correct answer

Use branch permissions for contribution and narrow bypass authority, plus branch policies for reviewer and build gates

Objective/domain: Design and implement a source control strategy

Source: Branch policies in Azure Repos

Where to go after the daily web set

How are AZ-400 questions generated?

dotCreds builds AZ-400 practice questions from public exam objectives and Microsoft Learn and exam-objective references. The questions are written for realistic study practice, not copied from exam dumps.

How are explanations sourced?

Each question includes an explanation and, when available, a source link back to the provider documentation or reference used to validate the answer. That keeps the practice tied to study material you can actually review.

What score do I get?

The page tracks today's answered count and accuracy for the 10-question daily set, then saves a 7-day score history on this device so you can see your recent practice trend.

Why use this site?

The site is the fastest way to start AZ-400 practice without installing anything. It is built for daily recall, quick weak-topic discovery, and source-backed explanations you can review immediately.