최신 AZ-400 무료덤프 - Microsoft Designing and Implementing Microsoft DevOps Solutions
You have an Azure Resource Manager (ARM) template that contains the following expression.

You need to migrate the template to Bicep.
Which expression should you run?

You need to migrate the template to Bicep.
Which expression should you run?
정답: B
You have a free tier of anAzure DevOps organization named Contoso. Contoso contains 10 private projects.
Each project has multiple jobs with no dependencies.
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?
Each project has multiple jobs with no dependencies.
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?
정답: B
설명: (DumpTOP 회원만 볼 수 있음)
You are implementing a newproject in Azure DevOps.
You need to assess the performance of the protect. The solution must identity the following metrics:
*How long it takes to complete a work item
* The percentage of defects found in production
Which DevOps KPI should you review for each metric? To answer drag the appropriate KPIs to the correct metric. Each KPI may be used once, more than once, or not at all. You may need to drag the spirt bar between panes or scroll to view content.
NOTEEach correct selection is worthone point.

You need to assess the performance of the protect. The solution must identity the following metrics:
*How long it takes to complete a work item
* The percentage of defects found in production
Which DevOps KPI should you review for each metric? To answer drag the appropriate KPIs to the correct metric. Each KPI may be used once, more than once, or not at all. You may need to drag the spirt bar between panes or scroll to view content.
NOTEEach correct selection is worthone point.

정답:

Explanation:

You have a GitHub repository named repo1 and an Azure key vault named kv1.
In repo1, you plan to create a workflow named Workflow 1 that will deploy adatabase server by using credentials stored in kv1.
You need to ensure that Workflow1 can retrieve the credentials from kv1.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answerarea and arrange them in the correct order.

In repo1, you plan to create a workflow named Workflow 1 that will deploy adatabase server by using credentials stored in kv1.
You need to ensure that Workflow1 can retrieve the credentials from kv1.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answerarea and arrange them in the correct order.

정답:

Explanation:
Create a service principal in Microsoft Entra ID.
# Needed for authentication between GitHub Actions and Azure.
* Grant secret permissions to kv1.# Allows the service principal to read secrets from Key Vault.
* Create a personal access token (PAT) in GitHub.# Required for GitHub to authenticate securely and use the service principal in the workflow.
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure pipeline that is used to deploy a web app. The pipeline includes a test suite named TestSuite1. TestSuite1 is used to validate the operations of the web app.
TestSuite1 fails intermittently.
You identify that the failures are unrelated to changes in the source code and execution environment.
You need to minimize troubleshooting effort for the TestSuite1 failures.
Solution: You increase code coverage.
Does this meet the goal?
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure pipeline that is used to deploy a web app. The pipeline includes a test suite named TestSuite1. TestSuite1 is used to validate the operations of the web app.
TestSuite1 fails intermittently.
You identify that the failures are unrelated to changes in the source code and execution environment.
You need to minimize troubleshooting effort for the TestSuite1 failures.
Solution: You increase code coverage.
Does this meet the goal?
정답: A
You have an Azure Kubernetes Service (AKSJ pod that hosts an app named App1.
You need to configure the AKS container to restart automatically if the container stops responding. The solution must check the status of App1 once every three seconds.
How should you complete the deployment? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content NOTE: Each correct selection is worth one point.

You need to configure the AKS container to restart automatically if the container stops responding. The solution must check the status of App1 once every three seconds.
How should you complete the deployment? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content NOTE: Each correct selection is worth one point.

정답:

Explanation:

You have an Azure subscription that uses Azure Monitor and contains a Log Analytics workspace.
Youhave an encryption key.
You need to configure Azure Monitor to use the key to encrypt log data

Youhave an encryption key.
You need to configure Azure Monitor to use the key to encrypt log data

정답:

Explanation:

Task 6
Initialize the default main branch, if it does not exist already.
For Project 1, you need to implement branch merging restrictions to enable squash merge for all changes merged into the main branch.
Initialize the default main branch, if it does not exist already.
For Project 1, you need to implement branch merging restrictions to enable squash merge for all changes merged into the main branch.
정답:
See the solution below in explanation.
Explanation:
Step 1: Initialize the Default Main Branch
* Navigate to Azure DevOps:
* Go to Azure DevOps and sign in with your credentials.
* Select Your Project:
* Choose Project1 from your list of projects.
* Initialize the Main Branch:
* Goto Repos > Files.
* If the main branch does not exist, you will see an option to initialize it. Click on Initialize and follow the prompts to create the main branch1.
Step 2: Enable Squash Merge for the Main Branch
* Navigate to Branch Policies:
* Go to Repos > Branches.
* Find the main branch and click on the ... (ellipsis) next to it.
* Select Branch policies.
* Enable Squash Merge:
* Under Policies, scroll down to the Merge strategy section.
* Select Squash merge as the required mergestrategy2.
* Save Changes:
* Click on Save changes to apply the policies.
Step 3: Verify the Squash Merge Policy
* Create a Pull Request:
* Make achange in a branch and create a pull request to merge it into the main branch.
* Complete the Pull Request:
* Ensure that the pull request uses thesquash merge strategy by selecting Squash commit under the Merge type in the Complete pull request dialog
Explanation:
Step 1: Initialize the Default Main Branch
* Navigate to Azure DevOps:
* Go to Azure DevOps and sign in with your credentials.
* Select Your Project:
* Choose Project1 from your list of projects.
* Initialize the Main Branch:
* Goto Repos > Files.
* If the main branch does not exist, you will see an option to initialize it. Click on Initialize and follow the prompts to create the main branch1.
Step 2: Enable Squash Merge for the Main Branch
* Navigate to Branch Policies:
* Go to Repos > Branches.
* Find the main branch and click on the ... (ellipsis) next to it.
* Select Branch policies.
* Enable Squash Merge:
* Under Policies, scroll down to the Merge strategy section.
* Select Squash merge as the required mergestrategy2.
* Save Changes:
* Click on Save changes to apply the policies.
Step 3: Verify the Squash Merge Policy
* Create a Pull Request:
* Make achange in a branch and create a pull request to merge it into the main branch.
* Complete the Pull Request:
* Ensure that the pull request uses thesquash merge strategy by selecting Squash commit under the Merge type in the Complete pull request dialog
You have several Azure virtual machines that run Windows Server 2019.
You need to identify the distinct event IDs of each virtual machine as shown in the following table.
How should you complete the Azure Monitor query? To answer, drag the appropriate values to the correct locations. Each value may be used once, more than once, or not at all. You may need todrag the split bar between panes or scroll to view content.

You need to identify the distinct event IDs of each virtual machine as shown in the following table.
How should you complete the Azure Monitor query? To answer, drag the appropriate values to the correct locations. Each value may be used once, more than once, or not at all. You may need todrag the split bar between panes or scroll to view content.

정답:

Explanation:

You can use makelist to pivot data by the order of values in a particular column. For example, you may want to explore the most common order events take place on your machines. You can essentially pivot the data by the order of EventIDs on each machine.
Example:
Event
| where TimeGenerated > ago(12h)
| order by TimeGenerated desc
| summarize makelist(EventID) by Computer
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/log-query/advanced-aggregations
You have an AzureDevOps organization named Contoso and an Azure subscription. The subscription contains an Azure virtual machine scale set named VMSS1 that is configured for auto scaling.
You have a project m Azure DevOps named Project 1. Project! is used to build a web app named App1 and deploy App1 to VMSSt.
You need to ensure that an email alert is generated whenever VMSS1 scales in or out.
Solution: From Azure Monitor, configure the auto scale settings.
Does this meet the goal?
You have a project m Azure DevOps named Project 1. Project! is used to build a web app named App1 and deploy App1 to VMSSt.
You need to ensure that an email alert is generated whenever VMSS1 scales in or out.
Solution: From Azure Monitor, configure the auto scale settings.
Does this meet the goal?
정답: A
Note: This question n part of a series of questions that present the samescenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution After you answer a question in this section, you will NOT be able to return to it. As a result these questions will not appear in the review screen.
You have an approval process that contains a condition. The condition requires that releases be approved by a team leader before they are deployed.
You have a policy stating that approvals must occur within eight hours.
You discover that deployments fail if the approvals lake longer than two hours.
You need to ensure that the deployments only fail if the approvals take longer than eight hours.
Solution: From Pre-deployment conditions, you modify the Timeout setting for pre-deployment approvals.
Does this meet the goal?
You have an approval process that contains a condition. The condition requires that releases be approved by a team leader before they are deployed.
You have a policy stating that approvals must occur within eight hours.
You discover that deployments fail if the approvals lake longer than two hours.
You need to ensure that the deployments only fail if the approvals take longer than eight hours.
Solution: From Pre-deployment conditions, you modify the Timeout setting for pre-deployment approvals.
Does this meet the goal?
정답: A
설명: (DumpTOP 회원만 볼 수 있음)
You mc configuring Azure DevOps build pipelines.
You plan to use hosted build agents.
Which build agent pool should you use to compile each application type? To answer, drag the appropriate built agent pools to the correct application types. Each butt agent pool may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.

You plan to use hosted build agents.
Which build agent pool should you use to compile each application type? To answer, drag the appropriate built agent pools to the correct application types. Each butt agent pool may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.

정답:

Explanation:

Box 1: Hosted macOS
HostedmacOS pool (Azure Pipelines only): Enables you to build and release on macOS without having to configure a self-hosted macOS agent. This option affects where your data is stored.
Box 2: Hosted
Hosted pool (Azure Pipelines only): The Hosted pool is the built-in pool that is a collection of Microsoft- hosted agents.
References:https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-osx
After you answer a question in this section, you will NOT be able to return to it As a result, these questions will not appear in the review screen.
You use Azure Pipelines to build and test a React js application
You have a pipeline that has a single job.
You discover thatinstalling JavaScript packages from npm lakes approximately five minutes each time you run the pipeline.
You need to recommend a solution to reduce the pipeline execution time.
Solution: You recommend enabling pipeline caching.
Does this meet the goal?
You use Azure Pipelines to build and test a React js application
You have a pipeline that has a single job.
You discover thatinstalling JavaScript packages from npm lakes approximately five minutes each time you run the pipeline.
You need to recommend a solution to reduce the pipeline execution time.
Solution: You recommend enabling pipeline caching.
Does this meet the goal?
정답: B
설명: (DumpTOP 회원만 볼 수 있음)
You administer an Azure DevOps project that includes package feeds.
You need to ensure that developers can unlist and deprecate packages. The solution must use the principle of least privilege.
Which access level should you grant to the developers?
You need to ensure that developers can unlist and deprecate packages. The solution must use the principle of least privilege.
Which access level should you grant to the developers?
정답: B
설명: (DumpTOP 회원만 볼 수 있음)
You plan to create alerts that will be triggered based on the page load performance of a home page.
You have the Application Insights log queryshown in the following exhibit.

Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
You have the Application Insights log queryshown in the following exhibit.

Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
정답:

Explanation:

Box 1: percentile_duration_95
Box 2: success
For example -
requests
| project name, url, success
| where success == "False"
This will return all the failed requests in my App Insights within the specified time range.
Reference:
https://devblogs.microsoft.com/premier-developer/alerts-based-on-analytics-query-using-custom-log-search/
You have GitHub repository named repo1 that stores the code of named App1.
You need deploy workflow for repo1 by using GitHub Actions. The solution must meet the following requirements:
* Scan on pushes to the main branch.
* Scan on pull requests to the main branch.
* Scan on pull requests to any branch that has a prefix of releases/.
* Scan all the files in subdirectories of the scan directory.
* Exclude scanning of markdown files

You need deploy workflow for repo1 by using GitHub Actions. The solution must meet the following requirements:
* Scan on pushes to the main branch.
* Scan on pull requests to the main branch.
* Scan on pull requests to any branch that has a prefix of releases/.
* Scan all the files in subdirectories of the scan directory.
* Exclude scanning of markdown files

정답:

Explanation:
