● MS Designing and Implementing Microsoft DevOps Solutions (AZ-400) Exam Materials

● Over 1 Students Passed Designing and Implementing Microsoft DevOps Solutions (AZ-400) Using This Dump – Join Them Today!

● Over 70 Verified Questions for the Designing and Implementing Microsoft DevOps Solutions Dump (AZ-400 Dump)

● 100% Score in the Real Designing and Implementing Microsoft DevOps Solutions Exam (AZ-400 Exam) at the Pearson VUE Testing Center





Question #1
Comment Image Comment Image Comment Image

You use GitHub for source control.

A file that contains sensitive data is committed accidentally to the Git repository of a project.

You need to delete the file and its history from the repository.

Which two options can you use? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point. (Choose two answers)

  • A. GitHub Desktop
  • B. the git filter-branch command
  • C. BFG Repo-Cleaner
  • D. the git rebase command
Question #2
Comment Image Comment Image Comment Image

You use an Azure Pipelines pipeline to build and deploy an app named App1.

You need to ensure that before App1 is deployed, all the code for the app passes a security validation by using a custom tool.

What should you do? (Choose one answer)

  • A. Limit the job authorization scope to the current project for all the release pipelines.
  • B. Add a status check to the policies of the branch used by your company's development department.
  • C. Add a service hook to the project.
  • D. Add a status check to the policies of the main branch.
Question #3
Comment Image Comment Image Comment Image

You have a project Azure DevOps that contains a pipeline named Pipeline1 and two teams named Team1 and Team2.

You need ensure that only the members of Team1 can update the passwords used in Pipeline1. The solution must meet the following requirements:

• Prevent the members of Team2 from viewing the passwords.
• Minimize administrative effort.

What should you use to store the passwords? (Choose one answer)

  • A. Azure App Configuration secrets
  • B. secret variables
  • C. secure files
  • D. Azure Key Vault
Question #4
Comment Image Comment Image Comment Image

You have a free tier of an Azure DevOps organization named Contoso. Contoso contains 10 private projects. Each project has multiple jobs with no dependencies. The build process requires access to resource files located in an on-premises file system.

You frequently run the jobs on five self-hosted agents but experience long build times and frequently queued builds.

You need to minimize the number of queued builds and the time it takes to run the builds.

What should you do? (Choose one answer)

  • A. Purchase self-hosted parallel jobs.
  • B. Register additional self-hosted agents.
  • C. Configure the pipelines to use the Microsoft-hosted agents.
  • D. Purchase Microsoft-hosted parallel jobs.
Question #5
Comment Image Comment Image Comment Image

You have an Azure DevOps subscription that contains two projects named Project1 and Project2. The projects contain the jobs shown in the following table.

You purchase two parallel jobs.

At 10:00 AM, you queue JobA and JobB. At 10:05 AM, you queue JobC.

When will JobC run? (Choose one answer)

  • A. 10:05 AM
  • B. 10:10 AM
  • C. 10:15 AM
  • D. 10:20 AM
Question #6
Comment Image Comment Image Comment Image

You use GitHub Enterprise to manage source code and deployments.

From GitHub Actions, you create a reusable workflow named workflow1.

You need to ensure that the secrets defined in the calling workflow are passed to workflow1.

What should you include in the YAML file for the calling workflow? (Choose one answer)

  • A. on:
    workflow_dispatch:
    inputs:
    secrets: all
  • B. with:
    secrets: all
  • C. parent_workflow:
    secrets: inherit
  • D. on:
    workflow_call:
    secrets:
    inherit: true
Question #7
Comment Image Comment Image Comment Image

Your company has an Azure DevOps project that produces Node Package Manager (npm) packages. Multiple projects consume the packages.

You need to minimize the amount of disk space used by older packages in Azure Artifacts.

What should you modify? (Choose one answer)

  • A. the retention settings of the project's release
  • B. the retention policy settings of the Azure Artifacts feed
  • C. the retention settings of the company pipeline
  • D. the retention settings of the project's tests
Question #8
Comment Image Comment Image Comment Image

You have Azure Pipelines and GitHub integrated as a source code repository.

The build pipeline has continuous integration enabled.

You plan to trigger an automated build whenever code changes are committed to the repository.

You need to ensure that the system will wait until a build completes before queuing another build.

What should you implement? (Choose one answer)

  • A. scheduled builds
  • B. batch changes
  • C. path filters
  • D. branch filters
Question #9
Comment Image Comment Image Comment Image

You have an Azure subscription that contains 20 virtual machines.

You plan to deploy an Azure infrastructure by using Bicep files. The files will be deployed by using self-hosted GitHub runners on the virtual machines.

You need to ensure that the GitHub runners can authenticate to Azure. The solution must minimize administrative effort.

What should you use? (Choose one answer)

  • A. system-assigned managed identities
  • B. SSH keys
  • C. user-assigned managed identities
  • D. service principals
Question #10
Comment Image Comment Image Comment Image

You are developing an Azure Pipelines pipeline.

You need to configure a check in the pipeline that will query Azure Boards ensure that there are no active work item issues before the pipeline deploys a build to production.

Which type of check should you implement? (Choose one answer)

  • A. post-deployment approvals
  • B. manual validations
  • C. pre-deployment approvals
  • D. pre-deployment gates