Microsoft Designing and Implementing Microsoft DevOps Solutions (AZ-400日本語版) - AZ-400日本語 Exam Practice Test
注:この質問は、同じシナリオを提示する一連の質問の一部です。 シリーズの各質問には、記載された目標を達成する可能性のある独自のソリューションが含まれています。 一部の質問セットには複数の正しい解決策がある場合もあれば、正しい解決策がない場合もあります。
このセクションの質問に回答すると、その質問に戻ることはできません。 その結果、これらの質問はレビュー画面に表示されません。
Azure DevOpsでプロジェクトを管理します。
プロジェクトの構成が時間とともに変化しないようにする必要があります。
ソリューション:プロジェクトの継続的保証を実装します。
これは目標を達成していますか?
このセクションの質問に回答すると、その質問に戻ることはできません。 その結果、これらの質問はレビュー画面に表示されません。
Azure DevOpsでプロジェクトを管理します。
プロジェクトの構成が時間とともに変化しないようにする必要があります。
ソリューション:プロジェクトの継続的保証を実装します。
これは目標を達成していますか?
Correct Answer: B
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
複数の Azure パイプラインを含む Azure サブスクリプションをお持ちです。
パイプラインの監視ソリューションを導入する必要があります。ソリューションは以下の要件を満たす必要があります。
複数のソースからのログを解析する。
問題の根本原因を特定する。
監視ツールの高度な機能として、どのようなものを含めるべきでしょうか?
パイプラインの監視ソリューションを導入する必要があります。ソリューションは以下の要件を満たす必要があります。
複数のソースからのログを解析する。
問題の根本原因を特定する。
監視ツールの高度な機能として、どのようなものを含めるべきでしょうか?
Correct Answer: D
注:この質問は、同じシナリオを提示する一連の質問の一部です。 シリーズの各質問には、記載された目標を達成する可能性のある独自のソリューションが含まれています。 一部の質問セットには複数の正しい解決策がある場合もあれば、正しい解決策がない場合もあります。
このセクションの質問に回答すると、その質問に戻ることはできません。 その結果、これらの質問はレビュー画面に表示されません。
Azure DevOpsプロジェクトがあります。
ビルドプロセスにより、いくつかのアーティファクトが作成されます。
成果物をオンプレミスサーバーに展開する必要があります。
ソリューション:Kubernetesクラスターをオンプレミスに展開します。 Helmエージェントをクラスターにデプロイします。 ダウンロードビルドアーティファクトタスクを展開パイプラインに追加します。
これは目標を達成していますか?
このセクションの質問に回答すると、その質問に戻ることはできません。 その結果、これらの質問はレビュー画面に表示されません。
Azure DevOpsプロジェクトがあります。
ビルドプロセスにより、いくつかのアーティファクトが作成されます。
成果物をオンプレミスサーバーに展開する必要があります。
ソリューション:Kubernetesクラスターをオンプレミスに展開します。 Helmエージェントをクラスターにデプロイします。 ダウンロードビルドアーティファクトタスクを展開パイプラインに追加します。
これは目標を達成していますか?
Correct Answer: A
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
タスク4
デフォルトのメインブランチが存在しない場合は、初期化します。
Azure DevOps プロジェクト Userl-42147509 では、デフォルトのメインブランチに対する承認プロセスを実装する必要があります。
このプロセスでは、4つの目による承認原則を採用し、各反復作業において少なくとも1つの承認を得る必要がある。
デフォルトのメインブランチが存在しない場合は、初期化します。
Azure DevOps プロジェクト Userl-42147509 では、デフォルトのメインブランチに対する承認プロセスを実装する必要があります。
このプロセスでは、4つの目による承認原則を採用し、各反復作業において少なくとも1つの承認を得る必要がある。
Correct Answer:
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:
Go to Repos > Files.
If themain branch does not exist, you will see an option to initialize it. Click on Initialize and follow the prompts to create the main branch.
Step 2: Implement an Approval Process for the Main Branch
Navigate to Branch Policies:
Go to Repos > Branches.
Findthe main branch and click on the ... (ellipsis) next to it.
Select Branch policies.
Enable Required Reviewers:
Under Policies, enable Minimum number of reviewers.
Set the minimum number of reviewers to 2 to enforce the four-eyes principle.
Add RequiredReviewers:
Add the users who should review the changes. Ensure that at least one approval is required on every iteration.
Enable Reset Code Reviewer Votes:
Enable the Reset code reviewer votes when there are new changes option to ensure that any new changes require re-approval.
Save Changes:
Click on Save changes to apply the policies.
Step 3: Verify the Approval Process
Create a Pull Request:
Make a change in a branch and create a pull request to merge it into the main branch.
Review and Approve:
Ensurethat the pull request requires at least two reviewers to approve it before it can be merged.
By following these steps, you will have successfully initialized themain branch and implemented an approval process that adheres to the four-eyes principle, ensuring that every iteration has at least one approval
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:
Go to Repos > Files.
If themain branch does not exist, you will see an option to initialize it. Click on Initialize and follow the prompts to create the main branch.
Step 2: Implement an Approval Process for the Main Branch
Navigate to Branch Policies:
Go to Repos > Branches.
Findthe main branch and click on the ... (ellipsis) next to it.
Select Branch policies.
Enable Required Reviewers:
Under Policies, enable Minimum number of reviewers.
Set the minimum number of reviewers to 2 to enforce the four-eyes principle.
Add RequiredReviewers:
Add the users who should review the changes. Ensure that at least one approval is required on every iteration.
Enable Reset Code Reviewer Votes:
Enable the Reset code reviewer votes when there are new changes option to ensure that any new changes require re-approval.
Save Changes:
Click on Save changes to apply the policies.
Step 3: Verify the Approval Process
Create a Pull Request:
Make a change in a branch and create a pull request to merge it into the main branch.
Review and Approve:
Ensurethat the pull request requires at least two reviewers to approve it before it can be merged.
By following these steps, you will have successfully initialized themain branch and implemented an approval process that adheres to the four-eyes principle, ensuring that every iteration has at least one approval
現在の技術的な問題を解決するには、Register-AzureRmAutomationDscNode コマンドに対してどのような操作を行うべきですか?
Correct Answer: C
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
アプリケーションをホストするには、Azure Kubernetes Service (AKS) をデプロイする必要があります。ソリューションは以下の要件を満たす必要があります。
* コンテナは内部でのみ公開する必要があります。
* AKSクラスターは、Azure内でコンテナを作成および管理できる必要があります。
それぞれの要件に対して、何を使用すべきでしょうか?回答するには、回答欄で適切なオプションを選択してください。
注:正解ごとに1ポイントが加算されます。

* コンテナは内部でのみ公開する必要があります。
* AKSクラスターは、Azure内でコンテナを作成および管理できる必要があります。
それぞれの要件に対して、何を使用すべきでしょうか?回答するには、回答欄で適切なオプションを選択してください。
注:正解ごとに1ポイントが加算されます。

Correct Answer:

Explanation:

Box 1: Azure Container Registry
Azure services like Azure Container Registry (ACR) and Azure Container Instances (ACI) can be used and connected from independent container orchestrators like kubernetes (k8s). You can set up a custom ACR and connect it to an existing k8s cluster to ensure images will be pulled from the private container registry instead of the public docker hub.
Box 2: An Azure service principal
When you ' re using Azure Container Registry (ACR) with Azure Kubernetes Service (AKS), an authentication mechanism needs to be established. You can set up AKS and ACR integration during the initial creation of your AKS cluster. To allow an AKS cluster to interact with ACR, an Azure Active Directory service principal is used.
References:
https://thorsten-hans.com/how - to-use-private-azure-container-registry-with-kubernetes
https://docs.microsoft.com/en-us/azure/aks/cluster-contain er -registry-integration
Azure DevOps を使用して、Java ベースのアプリケーションのビルド プロセスを自動化しています。
コード カバレッジ テストを追加し、結果をパイプラインに公開する必要があります。
何を使うべきですか?
コード カバレッジ テストを追加し、結果をパイプラインに公開する必要があります。
何を使うべきですか?
Correct Answer: B
Project1という名前のAzure DevOpsプロジェクトと、Sub1という名前のAzureサブスクリプションがあります。 Sub1には、VMSS1という名前のAzure仮想マシンスケールセットが含まれています。 VMSS1は、WebApp1という名前のWebアプリケーションをホストします。
WebApp1はステートフルセッションを使用します。
WebApp1のインストールは、カスタムスクリプト拡張機能を使用して管理されます。 スクリプトは、sa1という名前のAzureストレージアカウントにあります。
WebApp1のUI要素に小さな変更を加え、変更に関するユーザーフィードバックを収集する予定です。
VMSS1でWebApp1の新しいバージョンの限定ユーザーテストを実装する必要があります。
どの3つのアクションを実行する必要がありますか? それぞれの正解はソリューションの一部を示しています。
注:それぞれの正しい選択には1ポイントの価値があります。
WebApp1はステートフルセッションを使用します。
WebApp1のインストールは、カスタムスクリプト拡張機能を使用して管理されます。 スクリプトは、sa1という名前のAzureストレージアカウントにあります。
WebApp1のUI要素に小さな変更を加え、変更に関するユーザーフィードバックを収集する予定です。
VMSS1でWebApp1の新しいバージョンの限定ユーザーテストを実装する必要があります。
どの3つのアクションを実行する必要がありますか? それぞれの正解はソリューションの一部を示しています。
注:それぞれの正しい選択には1ポイントの価値があります。
Correct Answer: A,B,C
注:この問題は、同じシナリオを提示する一連の問題の一部です。このシリーズの各問題には、提示された目標を満たす可能性のある独自の解答が含まれています。問題セットによっては、複数の正解がある場合もあれば、正解がない場合もあります。
このセクションの質問に回答すると、後から戻って回答を修正することはできません。そのため、これらの質問は復習画面には表示されません。
Javaアプリケーションのビルドプロセスにおける統合戦略を提案する必要があります。提案するソリューションは、以下の要件を満たす必要があります。
* ビルドは、オンプレミスの依存関係管理システムにアクセスする必要があります。
* ビルド出力は、Azure DevOps のサーバー成果物として保存する必要があります。
* ソースコードは、Azure DevOps の get リポジトリに保存する必要があります。
解決策:ビルドパイプラインを構成して、Microsoftがホストするエージェントプールで実行されるWindows Server 2022とVisual Studio 2022イメージを使用するようにし、Javaツールインストーラータスクをビルドパイプラインに含めます。
これは目標を達成していると言えるでしょうか?
このセクションの質問に回答すると、後から戻って回答を修正することはできません。そのため、これらの質問は復習画面には表示されません。
Javaアプリケーションのビルドプロセスにおける統合戦略を提案する必要があります。提案するソリューションは、以下の要件を満たす必要があります。
* ビルドは、オンプレミスの依存関係管理システムにアクセスする必要があります。
* ビルド出力は、Azure DevOps のサーバー成果物として保存する必要があります。
* ソースコードは、Azure DevOps の get リポジトリに保存する必要があります。
解決策:ビルドパイプラインを構成して、Microsoftがホストするエージェントプールで実行されるWindows Server 2022とVisual Studio 2022イメージを使用するようにし、Javaツールインストーラータスクをビルドパイプラインに含めます。
これは目標を達成していると言えるでしょうか?
Correct Answer: A
お客様は、50台の仮想マシンを含むAzureサブスクリプションを所有しています。
Azure Automation State Configuration を使用することで、仮想マシンの構成を管理できます。
各仮想マシンにWindows Defenderがインストールされ、Windows Defenderサービスが実行されていることを確認する必要があります。
希望状態構成(DSC)コードをどのように完成させるべきでしょうか? 回答するには、適切な値を正しいターゲットにドラッグしてください。各値は、1回、複数回、またはまったく使用しない場合があります。コンテンツを表示するには、ペイン間の分割バーをドラッグするか、スクロールする必要がある場合があります。
注:正解ごとに1ポイントが加算されます。

Azure Automation State Configuration を使用することで、仮想マシンの構成を管理できます。
各仮想マシンにWindows Defenderがインストールされ、Windows Defenderサービスが実行されていることを確認する必要があります。
希望状態構成(DSC)コードをどのように完成させるべきでしょうか? 回答するには、適切な値を正しいターゲットにドラッグしてください。各値は、1回、複数回、またはまったく使用しない場合があります。コンテンツを表示するには、ペイン間の分割バーをドラッグするか、スクロールする必要がある場合があります。
注:正解ごとに1ポイントが加算されます。

Correct Answer:

Explanation:

Azure DevOps にプロジェクトがあります。
以下の指標に関する情報を提供するダッシュボードを設定する必要があります。
作業項目を完了するのにかかる時間
* 完了したバックログ項目の数
障害が発生したサービスの復旧にかかる時間
各指標にはどのタイプのウィジェットを使用すべきでしょうか?回答するには、適切なウィジェットタイプを正しい指標にドラッグしてください。各ウィジェットタイプは、1回、複数回、またはまったく使用しない場合があります。コンテンツを表示するには、ペイン間の分割バーをドラッグするか、スクロールする必要がある場合があります。注:正解ごとに1ポイントが加算されます。

以下の指標に関する情報を提供するダッシュボードを設定する必要があります。
作業項目を完了するのにかかる時間
* 完了したバックログ項目の数
障害が発生したサービスの復旧にかかる時間
各指標にはどのタイプのウィジェットを使用すべきでしょうか?回答するには、適切なウィジェットタイプを正しい指標にドラッグしてください。各ウィジェットタイプは、1回、複数回、またはまったく使用しない場合があります。コンテンツを表示するには、ペイン間の分割バーをドラッグするか、スクロールする必要がある場合があります。注:正解ごとに1ポイントが加算されます。

Correct Answer:

Explanation:
To configure a dashboard that will provide information on the metrics you mentioned, you can use the following types of widgets:
* How long it takes to close a work item: Cycle time . This widget shows the average time it takes for work items to go from a specified start state to a specified end state 1 .
* The number of completed backlog items: Velocity . This widget shows the amount of work delivered by a team within a sprint or iteration 2 .
* How long it takes to restore failed services: Lead time . This widget shows the average time it takes for work items to go from creation to completion 3 .
貴社では、ソースコード管理にGitHubを使用しています。GitHubリポジトリには、ソースコードとプロセス文書が保存されています。プロセス文書はMicrosoft Word文書として保存され、その中に.bmpファイルとして保存されたシンプルなフローチャートが含まれています。
プロセス文書とフローチャートの統合とバージョン管理を最適化する必要があります。ソリューションは以下の要件を満たす必要があります。
* 文書をプレーンテキストとして保存する。
* 管理する必要のあるファイルの数を最小限に抑える。
フローチャートの変更、統合、再利用を簡素化する。
文書の修正、統合、再利用を簡素化する。
解答には何を含めるべきですか?回答するには、回答欄で適切なオプションを選択してください。注:
正解ごとに1ポイント獲得できます。

プロセス文書とフローチャートの統合とバージョン管理を最適化する必要があります。ソリューションは以下の要件を満たす必要があります。
* 文書をプレーンテキストとして保存する。
* 管理する必要のあるファイルの数を最小限に抑える。
フローチャートの変更、統合、再利用を簡素化する。
文書の修正、統合、再利用を簡素化する。
解答には何を含めるべきですか?回答するには、回答欄で適切なオプションを選択してください。注:
正解ごとに1ポイント獲得できます。

Correct Answer:

Explanation:

Box 1: Markdown (.md)
Github understands several text formats, including .txt and .md. .md stands for a file written in Markdown.
Box 2: Mermaid diagrams
Mermaid lets you create diagrams and visualizations using text and code.
It is a Javascript based diagramming and charting tool that renders Markdown-inspired text definitions to create and modify diagrams dynamically.
Reference:
https:// ourcodingclub.github.io/tutorials/git/
https://mermaid-js.github.io/mermaid/#/
タスク10
以下の変数とデフォルト値を含む、varGroup1という名前の変数グループを作成する必要があります。
* ユーザー名: Userl-48901628
* パスワード: aFpJ2j+6M!
PASSWORD変数は秘密にする必要があります。
以下の変数とデフォルト値を含む、varGroup1という名前の変数グループを作成する必要があります。
* ユーザー名: Userl-48901628
* パスワード: aFpJ2j+6M!
PASSWORD変数は秘密にする必要があります。
Correct Answer:
See explanation below
Explanation:
Task 10: Create a Variable Group in Azure DevOps
Step 1: Navigate to Library
* In your Azure DevOps Project (Project1), click on the Pipelines section in the left menu.
* In the Pipelines submenu, click on Library .
Step 2: Create a New Variable Group
* Click on the + Variable group button.
* Enter the Name :
nginx
Copy
varGroup1
Step 3: Add Variables
Add the first variable:
* Click Add .
* In the Name field, enter:
nginx
Copy
username
* In the Value field, enter:
Copy
Userl-48901628
Add the second variable:
* Click Add again.
* In the Name field, enter:
nginx
Copy
password
* In the Value field, enter:
Copy
aFpJ2j+6M!
* Check the box Keep this value secret .
Step 4: Save the Variable Group
* Click Save at the top to save the variable group.
Explanation:
Task 10: Create a Variable Group in Azure DevOps
Step 1: Navigate to Library
* In your Azure DevOps Project (Project1), click on the Pipelines section in the left menu.
* In the Pipelines submenu, click on Library .
Step 2: Create a New Variable Group
* Click on the + Variable group button.
* Enter the Name :
nginx
Copy
varGroup1
Step 3: Add Variables
Add the first variable:
* Click Add .
* In the Name field, enter:
nginx
Copy
username
* In the Value field, enter:
Copy
Userl-48901628
Add the second variable:
* Click Add again.
* In the Name field, enter:
nginx
Copy
password
* In the Value field, enter:
Copy
aFpJ2j+6M!
* Check the box Keep this value secret .
Step 4: Save the Variable Group
* Click Save at the top to save the variable group.
NuGetパッケージを作成しています。
あなたは、そのパッケージを開発チームに非公開で配布する予定です。
パッケージを共有し、そのパッケージが利用可能かどうかをテストする必要があります。
どの4つの行動を順番に実行すべきでしょうか?回答するには、行動リストから適切な行動を回答欄に移動させ、正しい順序に並べ替えてください。

あなたは、そのパッケージを開発チームに非公開で配布する予定です。
パッケージを共有し、そのパッケージが利用可能かどうかをテストする必要があります。
どの4つの行動を順番に実行すべきでしょうか?回答するには、行動リストから適切な行動を回答欄に移動させ、正しい順序に並べ替えてください。

Correct Answer:

Explanation:

Step 1: Configure a self-hosted agent.
The build will run on a Microsoft hosted agent.
Step 2: Create a new Azure Artifacts feed
Microsoft offers an official extension for publishing and managing your private NuGet feeds.
Step 3: Publish the package.
Publish, pack and push the built project to your NuGet feed.
Step 4: Connect to an Azure Artifacts feed.
With the package now available, you can point Visual Studio to the feed, and download the newly published package References:
http s://medium.com/ @dan.cokely/crea ting-nuget-packages-in-azure-devo ps-with-azure-p ipeli nes-and-yaml- d6fa30f0f15e