AZ-400試験無料問題集「Microsoft Designing and Implementing Microsoft DevOps Solutions 認定」
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.
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?
正解:C
解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
You have a .NET app named App1.
You need to upload App1 to GitHub Packages.
How should you complete the command? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
You need to upload App1 to GitHub Packages.
How should you complete the command? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
正解:
Explanation:
You need to recommend an integration strategy for the build process of a Java application. The solution must meet the following requirements:
* The builds must access an on-premises dependency management system.
* The build outputs must be stored as Server artifacts in Azure DevOps.
* The source code must be stored in a Git repository in Azure DevOps.
Solution: Configure the build pipeline to use a Microsoft-hosted agent pool running a Linux image. Include the Java Tool Installer task in the build pipeline.
Does this meet the goal?
* The builds must access an on-premises dependency management system.
* The build outputs must be stored as Server artifacts in Azure DevOps.
* The source code must be stored in a Git repository in Azure DevOps.
Solution: Configure the build pipeline to use a Microsoft-hosted agent pool running a Linux image. Include the Java Tool Installer task in the build pipeline.
Does this meet the goal?
正解:B
解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
Task 12
You need to create a personal access token (PAT) named Token! that has only the following capabilities
* Read write, and manage code
* Read and execute builds
* Read releases
Token1 must expire in 60 days.
You need to create a personal access token (PAT) named Token! that has only the following capabilities
* Read write, and manage code
* Read and execute builds
* Read releases
Token1 must expire in 60 days.
正解:
See the solution below in explanation.
Explanation:
Step 1: Navigate to Personal Access Tokens
* Sign in to Azure DevOps:
* Go to Azure DevOps and sign in with your credentials.
* Access User Settings:
* Click on your profile picture in the top right corner.
* Select User settings.
* Open Personal Access Tokens:
* In the user settings menu, select Personal access tokens.
Step 2: Create a New Personal Access Token
* Create a New Token:
* Click on + New Token.
* Configure the Token:
* Name: Enter Token1.
* Organization: Select the organization where you want to use the token.
* Expiration: Set the expiration to 60 days.
* Set Scopes:
* Code: Select Read, Write, & Manage.
* Build: Select Read & Execute.
* Release: Select Read.
* Create the Token:
* Click on Create.
Step 3: Save the Token
* Copy the Token:
* Once the token is created, copy it immediately as it will not be displayed again.
* Store the token in a secure location.
By following these steps, you will have successfully created a personal access token named Token1 with the specified capabilities and a 60-day expiration
Explanation:
Step 1: Navigate to Personal Access Tokens
* Sign in to Azure DevOps:
* Go to Azure DevOps and sign in with your credentials.
* Access User Settings:
* Click on your profile picture in the top right corner.
* Select User settings.
* Open Personal Access Tokens:
* In the user settings menu, select Personal access tokens.
Step 2: Create a New Personal Access Token
* Create a New Token:
* Click on + New Token.
* Configure the Token:
* Name: Enter Token1.
* Organization: Select the organization where you want to use the token.
* Expiration: Set the expiration to 60 days.
* Set Scopes:
* Code: Select Read, Write, & Manage.
* Build: Select Read & Execute.
* Release: Select Read.
* Create the Token:
* Click on Create.
Step 3: Save the Token
* Copy the Token:
* Once the token is created, copy it immediately as it will not be displayed again.
* Store the token in a secure location.
By following these steps, you will have successfully created a personal access token named Token1 with the specified capabilities and a 60-day expiration
You plane to store signed images in an Azure Container Registry instance named az4009940427acr1.
You need to modify the SKU for az4009940427acr1 to support the planned images. The solution must minimize costs.
To complete this task, sign in to the Microsoft Azure portal.
You need to modify the SKU for az4009940427acr1 to support the planned images. The solution must minimize costs.
To complete this task, sign in to the Microsoft Azure portal.
正解:
See solution below.
Explanation:
1. Open Microsoft Azure Portal, and select the Azure Container Registry instance named az4009940427acr1.
2. Under Policies, select Content Trust > Enabled > Save.
References:
https://docs.microsoft.com/en-us/azure/container-registry/container-registry-content-trust
Explanation:
1. Open Microsoft Azure Portal, and select the Azure Container Registry instance named az4009940427acr1.
2. Under Policies, select Content Trust > Enabled > Save.
References:
https://docs.microsoft.com/en-us/azure/container-registry/container-registry-content-trust
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unit 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 if the review screen.
You use an Azure Pipelines pipeline to build and release web apps.
You need to configure the pipeline to meet the following requirements:
* Only run when there is a change in the /webapp folder.
* Only run when a pr is created.
Solution: You configure the pipeline definition by using the following elements.
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 if the review screen.
You use an Azure Pipelines pipeline to build and release web apps.
You need to configure the pipeline to meet the following requirements:
* Only run when there is a change in the /webapp folder.
* Only run when a pr is created.
Solution: You configure the pipeline definition by using the following elements.
Does this meet the goal?
正解:B
解答を投票する
You have an Azure DevOps organization named Contoso and an Azure DevOps project named Project1.
You plan to use Microsoft-hosted agents to build container images that will host full Microsoft .NET Framework apps in a YAML pipeline in Project1.
What are two possible virtual machine images that you can use for the Microsoft-hosted agent pool? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
You plan to use Microsoft-hosted agents to build container images that will host full Microsoft .NET Framework apps in a YAML pipeline in Project1.
What are two possible virtual machine images that you can use for the Microsoft-hosted agent pool? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
正解:A,E
解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
You are integrating Azure Pipelines and Microsoft Teams.
You install the Azure Pipelines app in Microsoft Teams.
You have an Azure DevOps organization named Contoso that contains a project name Project1.
You subscribe to Project1 in Microsoft Teams.
You need to ensure that you only receive events about failed builds in Microsoft Teams.
What should you do first?
You install the Azure Pipelines app in Microsoft Teams.
You have an Azure DevOps organization named Contoso that contains a project name Project1.
You subscribe to Project1 in Microsoft Teams.
You need to ensure that you only receive events about failed builds in Microsoft Teams.
What should you do first?
正解:D
解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
You have a project in Azure DevOps that contains a release pipeline. The pipeline contains two stages named QA and Prod. QA deploys code to an Azure web app named webapp1. Prod deploys code to an Azure web app named webapp2.
You need to ensure that code deployments to webapp2 are blocked if Azure Application Insights generates Failed requests alerts following the deployment of new code to webapp1.
What should you do for each stage? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
You need to ensure that code deployments to webapp2 are blocked if Azure Application Insights generates Failed requests alerts following the deployment of new code to webapp1.
What should you do for each stage? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
正解:
Task 5
You plan to stoic signed images in an Azure Container Registry instance named az40038443478act1.
You need to modify the SKU for az40038443478aa1 to support the planned images. The solution must minimize costs.
You plan to stoic signed images in an Azure Container Registry instance named az40038443478act1.
You need to modify the SKU for az40038443478aa1 to support the planned images. The solution must minimize costs.
正解:
See the solution below in explanation.
Explanation:
To store signed images in an Azure Container Registry (ACR) instance and support your planned images while minimizing costs, you need to modify the SKU of your ACR instance to one that supports content trust and image signing. Here's how you can do it:
* Determine the Appropriate SKU:
* Content trust and image signing are features of the Premium service tier of Azure Container Registry1.
* If cost minimization is a priority, ensure that the Premium tier is necessary for your use case. If you require content trust, the Premium tier is the appropriate choice.
* Modify the SKU of the ACR Instance:
* Navigate to the Azure Portal.
* Go to your ACR instance az40038443478act1.
* Select Update from the overview pane.
* Choose the Premium SKU from the SKU drop-down menu2.
* Review the changes and pricing, then save the configuration.
By upgrading to the Premium SKU, you'll be able to store signed images in your ACR instance. Remember to monitor your usage and costs to ensure they align with your budget and requirements.
Explanation:
To store signed images in an Azure Container Registry (ACR) instance and support your planned images while minimizing costs, you need to modify the SKU of your ACR instance to one that supports content trust and image signing. Here's how you can do it:
* Determine the Appropriate SKU:
* Content trust and image signing are features of the Premium service tier of Azure Container Registry1.
* If cost minimization is a priority, ensure that the Premium tier is necessary for your use case. If you require content trust, the Premium tier is the appropriate choice.
* Modify the SKU of the ACR Instance:
* Navigate to the Azure Portal.
* Go to your ACR instance az40038443478act1.
* Select Update from the overview pane.
* Choose the Premium SKU from the SKU drop-down menu2.
* Review the changes and pricing, then save the configuration.
By upgrading to the Premium SKU, you'll be able to store signed images in your ACR instance. Remember to monitor your usage and costs to ensure they align with your budget and requirements.
You use Extra beam Fusion SIEM and the Azure cloud platform.
You need to integrate Extra beam and Azure. The solution must use OAuth authentication.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
You need to integrate Extra beam and Azure. The solution must use OAuth authentication.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
正解:
Your company has an on-premises Bitbucket Server that is used for Git-based source control. The server is protected by a firewall that blocks inbound Internet traffic.
You plan to use Azure DevOps to manage the build and release processes
Which two components are required to integrate Azure DevOps and Bitbucket?
Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one port.
You plan to use Azure DevOps to manage the build and release processes
Which two components are required to integrate Azure DevOps and Bitbucket?
Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one port.
正解:B,C
解答を投票する
解説: (GoShiken メンバーにのみ表示されます)