MicrosoftProfessional levelAZ-400Page 2 of 4

AZ-400 exam dumps: questions 101 to 200 of 306

Page 2 of the free AZ-400 question bank for the Designing and Implementing Microsoft DevOps Solutions exam. Questions 101 to 200 are listed below, the first 5 in full with answers and explanations. Back to page 1 for the exam overview and FAQ.

Question bank last updated May 2025

Free AZ-400 practice questions

Questions 101 to 105 of 306

Pick an answer before you open the explanation. Each question also has its own page with a permalink.

AZ-400 Question 101

Single answer

You are configuring Azure Artifacts feeds for an organization that develops multiple .NET services. The team wants to store internal packages in a dedicated feed while also retrieving stable packages directly from NuGet.org. However, they need to ensure no pre-release packages from NuGet.org are exposed to the broader development team. Which approach should you take to achieve this requirement?

  1. A

    Create one feed in Azure Artifacts and set NuGet.org as an upstream source. Then configure separate package views (e.g., @Prerelease and @Release) to expose stable packages to most developers while isolating pre-release builds in another view.

  2. B

    Create two separate feeds: the first for local packages only, and the second that directly references NuGet.org. Require each developer to switch feeds manually based on whether they want stable or pre-release packages.

  3. C

    Enable public package consumption in the local feed without configuring any upstream sources. Use NuGet CLI to clone stable packages from NuGet.org into the local feed whenever required.

  4. D

    Use Azure Repos to store internal packages in version control, then configure a single feed in Azure Artifacts pointing only to NuGet.org without any views.

Show answer and explanation

Correct answer: A

Explanation

Using Azure Artifacts with upstream sources allows an organization to consume packages from public and private feeds seamlessly. Configuring separate views such as @Prerelease and @Release is a recommended best practice, as documented by Microsoft (e.g., docs.microsoft.com/azure/devops/artifacts). This approach ensures only stable packages reach production pipelines or the broader development team, while pre-release versions are isolated for testing and experimentation.

  • A. Correct.

    Option 1 is correct. A single feed with upstream sources and views is the recommended approach to manage both internal and upstream packages in Azure Artifacts. By creating multiple views, such as @Release for stable packages and @Prerelease for experimental versions, you can control which packages are visible to different groups. This setup avoids any pre-release packages leaking into the main release view.

  • B. Incorrect.

    Option 2 is incorrect. While two separate feeds can technically work, it complicates the process by forcing developers to toggle between feeds for stable or pre-release versions. It also does not streamline the package lifecycle since these feeds do not share package views, making management more cumbersome.

  • C. Incorrect.

    Option 3 is incorrect. Manually cloning packages from NuGet.org is error-prone and unsustainable. It defeats the purpose of configuring an upstream source for automatic updates and does not provide a reliable way to filter out pre-release packages.

  • D. Incorrect.

    Option 4 is incorrect. Storing packages in Azure Repos is not a best practice for binaries, and failing to configure upstream sources or views means you cannot effectively control which packages (stable vs. pre-release) flow into the feed.

AZ-400 Question 102

Select 2

Your organization manages a private npm feed in Azure Artifacts. You also want to incorporate the public npm registry as an upstream source so developers can access external packages without manually connecting to npmjs.com. However, you need to separate prerelease versions from stable releases and ensure that only stable versions from the public registry are used in production. Which two actions should you take to set up your feed and views correctly?

  1. A

    Add the public npm registry as an upstream source, then create a 'PreRelease' and 'Release' view in your Azure Artifacts feed.

  2. B

    Configure the feed to only store stable versions from the public registry by filtering out prerelease tagged versions, then associate that upstream with a 'Release' view.

  3. C

    Enable 'Inherit feed permissions' in the public view to automatically hide prerelease packages from downstream consumers.

  4. D

    Create an additional feed specifically for prerelease packages, disallowing any upstream connections to the public registry.

Show answer and explanation

Correct answers: A, B

Explanation

Azure Artifacts supports adding external package sources (e.g., npmjs.com) as upstreams and using views to segment different package versions or states (such as pre-release vs. release). Following official Microsoft documentation (https://learn.microsoft.com/azure/devops/artifacts/) ensures best practices for configuring multiple views and filtering packages so that only stable versions flow into production, while prerelease packages remain in development or testing environments.

  • A. Correct.

    Correct: By adding the public npm registry as an upstream source, you can seamlessly consume both local and external packages. Creating separate views (e.g., 'PreRelease' and 'Release') allows you to segregate prerelease packages from production-ready versions, matching common best practices in Azure Artifacts.

  • B. Correct.

    Correct: You can filter out prerelease versions when configuring the feed's upstream source, so only stable releases from npmjs.com are cached. Associating the upstream source with a 'Release' view ensures that only stable versions are displayed in that view, keeping development and production packages organized.

  • C. Incorrect.

    Incorrect: 'Inherit feed permissions' does not specifically hide or filter prerelease packages. This option manages permission inheritance, not package filtering. Relying on inherited permissions alone will not achieve the requirement of separating prerelease from stable packages.

  • D. Incorrect.

    Incorrect: Creating an entirely separate feed for prerelease packages without allowing upstream connections to npmjs.com ignores the need to pull external prerelease packages if needed. Additionally, you lose the capability to manage stable and prerelease packages within a single feed structure that uses multiple views.

AZ-400 Question 103

Select 2

Your DevOps team manages several internal libraries that are currently versioned using Semantic Versioning (SemVer). However, you are introducing a new, more frequent release cycle aligned with monthly sprints and plan to move to a date-based versioning (CalVer) scheme. You must also ensure that any backward-incompatible changes are easily identifiable to consumers of these libraries. Which two approaches should you adopt to achieve these goals?

  1. A

    Adopt CalVer but discontinue SemVer increments, even when introducing breaking changes.

  2. B

    Adopt a hybrid approach: apply date-based tags for monthly releases and maintain SemVer rules for indicating compatibility.

  3. C

    Overwrite existing packages in your artifact repository to unify version numbering with the new CalVer approach.

  4. D

    Keep both the date-based label and increment the major version if changes break compatibility or require a migration path.

Show answer and explanation

Correct answers: B, D

Explanation

When migrating to a date-based versioning strategy (CalVer), it is best practice to still follow SemVer guidelines for changes that affect compatibility. This ensures that new releases are easily tracked by date, while major version increments clearly indicate when consumers must prepare for potential code changes. Refer to official documentation on Semantic Versioning (semver.org) and Microsoft DevOps best practices to learn more about combining these approaches effectively.

  • A. Incorrect.

    Option 1 is incorrect. Completely abandoning SemVer increments means you lose clear signaling of backward-incompatible changes, which can confuse consumers about when they must adjust their code.

  • B. Correct.

    Option 2 is correct. Many teams use a hybrid strategy: the date-based version conveys the release timestamp, while SemVer rules ensure clarity on whether an update introduces breaking changes or bug fixes.

  • C. Incorrect.

    Option 3 is incorrect. Overwriting existing packages undermines traceability and can break existing builds that rely on previously acquired packages.

  • D. Correct.

    Option 4 is correct. Even when employing CalVer for release cadence, you should still bump the major version to indicate breaking changes, which is essential to maintain compatibility awareness for your consumers.

AZ-400 Question 104

Single answer

Your development team maintains multiple shared libraries used by various internal applications. You release new features at the end of each quarter and sometimes introduce breaking changes that require a major version increment. However, senior leadership wants a straightforward way to identify the release timeframe from the library version itself. Which single versioning approach best meets these needs?

  1. A

    Use strict Semantic Versioning (SemVer) for every release cycle without incorporating dates.

  2. B

    Adopt standard date-based versioning (CalVer) and ignore the concept of major/minor increments.

  3. C

    Combine SemVer for major/minor/patch increments while integrating the date of release within a build metadata or pre-release label.

  4. D

    Issue the release date as the patch version number and only use major increments when forced to by policy.

Show answer and explanation

Correct answer: C

Explanation

Microsoft DevOps best practices recommend maintaining clear versioning conventions that highlight breaking changes as well as release cycles. Semantic Versioning (SemVer) helps inform users about incompatibility risks, while date-based (CalVer) markers make it easy to identify when a release occurred. By blending the two�employing SemVer� major/minor/patch increments and adding date information in a pre-release or metadata segment�you balance clarity for both dependency management and release timelines. For reference, see official guidance on Semantic Versioning (https://semver.org/) and versioning strategies in Microsoft Docs (https://learn.microsoft.com/azure/devops/pipelines/library/versioning-strategies).

  • A. Incorrect.

    Option 1: Incorrect. While SemVer is good for communicating breaking changes, it does not incorporate release date information, which is specifically requested by leadership.

  • B. Incorrect.

    Option 2: Incorrect. CalVer simplifies date-based identification but lacks the clarity needed for conveying breaking changes, which is a primary concern when managing shared libraries.

  • C. Correct.

    Option 3: Correct. Combining SemVer with date information (e.g., using a pre-release label such as '1.2.0-2023.10') captures both the semantic meaning (major/minor/patch) and the release timeframe. This meets leadership desires and maintains clarity about breaking changes.

  • D. Incorrect.

    Option 4: Incorrect. Using the release date as a patch version can become confusing (e.g., '1.2.202310'), as it conflates patch increments with date identifiers and fails to cleanly distinguish truly minor fixes from major or minor SemVer changes.

AZ-400 Question 105

Single answer

Your organization has a microservices architecture where each service depends on a common shared library. Historically, the library used Semantic Versioning (SemVer) to communicate backward-incompatible changes. However, your leadership wants to release new modules and enhancements on a time-based schedule every quarter. They are discussing switching entirely to date-based versioning (CalVer) for all code assets. Which strategy best meets both the need to indicate breaking changes and the need for predictable release timelines?

  1. A

    Adopt a pure date-based versioning model (CalVer) for every release, replacing SemVer completely to focus on scheduled milestones.

  2. B

    Use SemVer for all builds but reset the major version number every quarter to reflect the scheduled release cycle.

  3. C

    Continue using SemVer for libraries to clearly indicate breaking changes, while attaching date-based version identifiers at the CI/CD pipeline level or as release metadata.

  4. D

    Maintain parallel versioning schemes for every release�one using SemVer for developers to track compatibility and another using CalVer for management oversight.

Show answer and explanation

Correct answer: C

Explanation

In most real-world DevOps scenarios, Semantic Versioning (SemVer) is critical for communicating to consumers of a library when a release contains potentially breaking changes. However, teams often also want to align their release cycles with predictable schedules. The recommended practice is to maintain SemVer for compatibility signaling while using date-based markers (CalVer) at the pipeline or metadata level to align with organizational release plans. Refer to semver.org and official Azure DevOps documentation for more on best practices regarding semantic and date-based versions.

  • A. Incorrect.

    Incorrect: While date-based versioning can simplify scheduling, removing SemVer entirely makes it difficult for developers to quickly identify backward-incompatible changes. Relying only on dates could lead to confusion about compatibility.

  • B. Incorrect.

    Incorrect: Resetting the major version regularly undermines SemVer� core principle of indicating breaking changes. This approach may cause confusion because a new major version might not always introduce incompatibilities.

  • C. Correct.

    Correct: SemVer remains the best option for signaling backward-incompatible changes and forcing clients to acknowledge potential breaking updates. Date-based identifiers can be appended at the pipeline level to meet scheduled release needs without losing the benefits of SemVer.

  • D. Incorrect.

    Incorrect: Having two distinct production-facing version systems on the same artifact can be unnecessarily complex. This might confuse consumers who are unsure which version scheme to track for compatibility and updates.

Timed practice exam

Take a AZ-400 practice test under exam conditions

70 questions in 90 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam

AZ-400 practice questions 101 to 200 of 306

Every question has a page with the answer and explanation. Numbers are stable, so you can bookmark or share them. The bank is split into 4 pages of up to 100 questions.

  1. 101.You are configuring Azure Artifacts feeds for an organization that develops multiple .NET services. The team...
  2. 102.Your organization manages a private npm feed in Azure Artifacts. You also want to incorporate the public npm...
  3. 103.Your DevOps team manages several internal libraries that are currently versioned using Semantic Versioning...
  4. 104.Your development team maintains multiple shared libraries used by various internal applications. You release...
  5. 105.Your organization has a microservices architecture where each service depends on a common shared library....
  6. 106.Your team maintains a multi-stage Azure DevOps pipeline for a microservices application. Each build produces...
  7. 107.You manage an internal NuGet feed in Azure DevOps for your company's .NET microservices. Each pipeline...
  8. 108.You are leading an effort to implement a versioning strategy for a Docker image built in an Azure DevOps...
  9. 109.Your team maintains an Azure DevOps pipeline to build, test, and deploy a microservices-based application....
  10. 110.Your team is building a microservices-based .NET Core application. You have an Azure DevOps pipeline that...
  11. 111.You are designing an Azure Pipelines process for a microservices application based on .NET. The organization...
  12. 112.You are a DevOps Engineer at Contoso. You maintain an Azure DevOps release pipeline that deploys...
  13. 113.You manage an Azure DevOps release pipeline for a web application that must pass stringent security...
  14. 114.You are implementing an Azure DevOps release pipeline for a microservices application. The security team...
  15. 115.You are designing a DevOps pipeline for a microservices-based e-commerce platform deployed to Azure. The...
  16. 116.You support a microservices-based application hosted in Azure. The development team wants rapid feedback...
  17. 117.You are working with a development team that builds a microservices-based application. They need a...
  18. 118.You are configuring a new Azure DevOps YAML pipeline for a .NET application. Your team wants to ensure that...
  19. 119.You maintain a .NET Core application whose tests are triggered by an Azure DevOps YAML pipeline. After...
  20. 120.You are creating a CI pipeline in Azure DevOps for a .NET 6 application stored in Azure Repos. The pipeline...
  21. 121.You are implementing an Azure DevOps pipeline for a .NET solution that includes unit tests. The team wants to...
  22. 122.You are configuring an Azure DevOps pipeline for a .NET 6 project that uses MSTest for unit testing. The team...
  23. 123.Your team is building a .NET 6 application in Azure DevOps, and they want to collect and view code coverage...
  24. 124.You are configuring a multi-stage YAML pipeline in Azure DevOps to build and deploy your organization's web...
  25. 125.Your organization uses Azure DevOps with multiple microservices stored across separate repositories. You need...
  26. 126.You are designing a multi-stage YAML pipeline in Azure DevOps for a .NET web application. The pipeline...
  27. 127.Your development team stores all microservices code in GitHub and wants to automate continuous deployment for...
  28. 128.Your organization stores its source code in GitHub and wants to leverage existing self-hosted build agents...
  29. 129.You are the lead DevOps engineer for a multi-tier Node.js application. The source code is stored in a private...
  30. 130.You are a DevOps lead for a financial services company that processes high-volume transactions in a secure...
  31. 131.Your organization hosts containerized applications in a private data center. You plan to introduce GitHub...
  32. 132.Your organization needs to set up a scalable infrastructure for self-hosted Azure DevOps agents or GitHub...
  33. 133.You are configuring a YAML-based build pipeline in Azure Pipelines that is integrated with a GitHub...
  34. 134.You are setting up a continuous integration process in Azure Pipelines using a GitHub repository. Your...
  35. 135.Your team hosts all code in a single GitHub repository for a Node.js application. They want to set up a...
  36. 136.You are developing a web application and have created a YAML pipeline in Azure DevOps. You want the pipeline...
  37. 137.You have an Azure DevOps pipeline that builds and deploys an application from the 'main' branch. Currently,...
  38. 138.You manage a monorepo in Azure DevOps containing multiple microservices. You need a YAML pipeline for...
  39. 139.You are configuring an Azure DevOps multi-stage pipeline using YAML to build a .NET application and run...
  40. 140.You manage an Azure DevOps repository that includes a multi-stage pipeline for an ASP.NET Core application....
  41. 141.You are designing a YAML-based pipeline in Azure DevOps for building and deploying a .NET Core application....
  42. 142.You maintain an Azure DevOps YAML pipeline for a microservices application. The pipeline is divided into four...
  43. 143.You are configuring a multi-stage Azure DevOps YAML pipeline for a web application. The pipeline has four...
  44. 144.You need to configure an Azure DevOps multi-stage pipeline with four stages: Build, UnitTests,...
  45. 145.Your company is implementing a new CI/CD pipeline in Azure DevOps. The first stage performs a build on a...
  46. 146.Your team needs to run a specialized code-scanning task on an on-premises environment that hosts a...
  47. 147.Your company has a .NET application that requires specialized software running on a Linux VM behind your...
  48. 148.Your team has several microservices that follow the same build and deployment steps. Each microservice�...
  49. 149.Your team maintains several pipelines in Azure DevOps for deploying a web application to multiple...
  50. 150.You maintain multiple YAML pipelines across different projects, each requiring the same set of infrastructure...
  51. 151.You are configuring a YAML-based pipeline in Azure DevOps to deploy to a 'Production' environment. A new...
  52. 152.You have a YAML-based Azure DevOps pipeline that deploys to three environments: Dev, QA, and Production. Your...
  53. 153.You are configuring an Azure DevOps pipeline that deploys to two YAML-based environments: 'Staging' and...
  54. 154.You manage an e-commerce .NET application hosted on Azure App Service. The business demands minimal downtime...
  55. 155.You are a DevOps engineer for a company hosting a critical web application on Azure App Service. The team...
  56. 156.You manage an Azure App Service hosting a critical ASP.NET Core application. You have a CI/CD pipeline in...
  57. 157.Your team manages a microservice-based e-commerce platform. You want to release new features gradually to...
  58. 158.You are the lead DevOps engineer for an e-commerce platform that is introducing a new recommendation...
  59. 159.Your DevOps team at an e-commerce company is preparing to release a new microservice that significantly...
  60. 160.You manage an Azure DevOps multi-stage YAML pipeline to deploy three microservices: Microservice A,...
  61. 161.You manage a multi-stage YAML pipeline in Azure DevOps that deploys a new schema to an Azure SQL Database and...
  62. 162.You are deploying both an Azure SQL Database and an Azure App Service that depends on it. You want to ensure...
  63. 163.Your organization hosts a mission-critical e-commerce platform on Azure App Service. You need to deploy a new...
  64. 164.An e-commerce company runs a mission-critical Azure Cloud Service that must remain accessible 24/7. They plan...
  65. 165.You manage a mission-critical web application running on Azure App Service with multiple instances behind a...
  66. 166.Your team is responsible for maintaining a critical web application running in production. A high-severity...
  67. 167.Your enterprise e-commerce platform is experiencing a severe bug that impacts checkout for all customers. The...
  68. 168.Your DevOps team frequently encounters critical production bugs requiring immediate fixes ahead of the...
  69. 169.You are deploying a mission-critical web service to Azure that must remain accessible to users at all times....
  70. 170.Your company hosts a mission-critical web application on Azure App Service. To minimize downtime and enable...
  71. 171.You manage a microservices-based application running on Azure Kubernetes Service (AKS) with strict uptime...
  72. 172.You are developing a .NET microservice named MyService that uses Azure App Configuration Feature Manager to...
  73. 173.You administer an Azure App Configuration resource that stores multiple feature flags, including one named...
  74. 174.You are a DevOps engineer for a company that deploys a .NET 5 web application to Azure App Service. You have...
  75. 175.Your team maintains a .NET Core application that is traditionally compiled into binaries and stored in an...
  76. 176.Your organization is deploying a containerized web service to multiple environments (Dev, Test, and...
  77. 177.You are creating a multi-stage Azure DevOps pipeline to deploy a .NET microservice to an Azure Kubernetes...
  78. 178.You are designing a multi-stage Azure DevOps pipeline to deploy both a .NET web application and its...
  79. 179.You manage a multi-stage Azure DevOps pipeline for a .NET Core web application that relies on an Azure SQL...
  80. 180.You are a DevOps engineer for a financial services company that hosts an application in Azure. The...
  81. 181.You work at a company that deploys Azure infrastructure across multiple environments using Infrastructure as...
  82. 182.You are a DevOps engineer at Tailwind Traders. The organization wants to roll out an Infrastructure as Code...
  83. 183.Your company is adopting a multi-environment Infrastructure as Code (IaC) solution using Terraform in Azure...
  84. 184.Your organization manages a mixed environment of Windows and Linux virtual machines in Azure. You need to...
  85. 185.You are designing a DevOps strategy for your organization, which hosts both Linux and Windows virtual...
  86. 186.You are supporting a line-of-business application that runs across multiple Windows and Linux virtual...
  87. 187.Your company maintains a fleet of Windows-based application servers both on-premises and in Azure. You need...
  88. 188.You are implementing a configuration management strategy for an Azure-based application. The application...
  89. 189.You are a DevOps engineer for a company deploying a microservices-based application across Development, Test,...
  90. 190.Your organization is transitioning to an Infrastructure as Code (IaC) approach to manage Azure resources. You...
  91. 191.You are a lead DevOps engineer responsible for defining an Infrastructure as Code (IaC) strategy for your...
  92. 192.You are responsible for defining an Infrastructure as Code (IaC) strategy for a growing organization, where...
  93. 193.Your organization needs to ensure consistent configuration across all Windows virtual machines running in...
  94. 194.Your team is planning to deploy and maintain a consistent Windows OS baseline for new and existing Azure VMs,...
  95. 195.Your security team mandates that all existing and newly provisioned Windows and Linux virtual machines in...
  96. 196.You are a DevOps engineer at a fast-growing company that wants to adopt Azure Deployment Environments to...
  97. 197.Your organization wants to provide developers with on-demand, self-service dev/test environments in Azure....
  98. 198.You are a DevOps engineer at an organization that wants to provide on-demand self-deployment of ephemeral...
  99. 199.You are responsible for an Azure DevOps pipeline that is triggered automatically whenever new code is pushed...
  100. 200.You are responsible for an Azure DevOps pipeline that builds and deploys a containerized application to an...