Microsoft Designing and Implementing Microsoft DevOps Solutions - AZ-400무료 덤프문제 풀어보기
You have an Azure subscription that contains 50 virtual machines.
You manage the configuration of the virtual machines by using Azure Automation State Configuration.
You need to ensure that Windows Defender is installed on each virtual machine and the Windows Defender service is running.
How should you complete the Desired State Configuration (DSC) code? 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 thesplit bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.

You manage the configuration of the virtual machines by using Azure Automation State Configuration.
You need to ensure that Windows Defender is installed on each virtual machine and the Windows Defender service is running.
How should you complete the Desired State Configuration (DSC) code? 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 thesplit bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.

정답:

Explanation:

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 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 deployment fail if the approvals take longer than two hours.
You need to ensure that the deployments only fail if the approvals take longer than eight hours.
Solution: From Post-deployment conditions, you modify the Timeout setting for post-deployment approvals.
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 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 deployment fail if the approvals take longer than two hours.
You need to ensure that the deployments only fail if the approvals take longer than eight hours.
Solution: From Post-deployment conditions, you modify the Timeout setting for post-deployment approvals.
Does this meet the goal?
정답: B
설명: (Fast2test 회원만 볼 수 있음)
You plan to use Desired State Configuration (DSC) to maintain the configuration of a server that runs Windows Server 2022. The server must have the following features installed:
* A web server
* An email server
How should you complete the DSC configuration file? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

* A web server
* An email server
How should you complete the DSC configuration file? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

정답:

Explanation:

You use Calendar Versioning (CalVer) for code assets.
You need to store an optional tag of beta as part of the version.
Which part of the version should you use for the tag?
You need to store an optional tag of beta as part of the version.
Which part of the version should you use for the tag?
정답: B
Task 5
For Project1, you need to create a project wiki named Wiki1 that uses the Mermaid syntax to render a diagram A sample of the desired output is stored in C:\Resources\TCPHandshake.png.
For Project1, you need to create a project wiki named Wiki1 that uses the Mermaid syntax to render a diagram A sample of the desired output is stored in C:\Resources\TCPHandshake.png.
정답:
See the solution below in explanation.
Explanation:
Step 1: Create a Project Wiki
Navigate to Azure DevOps:
Go to Azure DevOps and sign inwith your credentials.
Select Your Project:
Choose Project1 from your list of projects.
Create a Wiki:
In the left-hand menu, select Wiki.
Click on Create project wiki.
Enter the name Wiki1 and click Create.
Step 2: Add Mermaid Syntax to Render a Diagram
Open the Wiki Page:
Navigate to the newly created Wiki1.
Edit the Wiki Page:
Click on Edit to start editing the wiki page.
Insert Mermaid Diagram:
Use the following Mermaid syntax to render a diagram. For example, to render a simple flowchart, you canuse:
```mermaid
graph TD;
A-- > B;
A-- > C;
B-- > D;
C-- > D;
Save the Page:
Click on Save to save your changes.
Step 3: Render the TCP Handshake Diagram
Convert TCPHandshake.png to Mermaid Syntax:
Since you have a sample diagram in C:\Resources\TCPHandshake.png, you need to convert this diagram into Mermaid syntax. Here's an example of how a TCP handshake might look in Mermaid syntax:
```mermaid
sequenceDiagram
participant Client
participant Server
Client- > > Server: SYN
Server-- > > Client: SYN-ACK
Client- > > Server: ACK
Add the Diagram to the Wiki:
Replace the sample Mermaid syntax with the TCP handshake diagram syntax in the wiki page.
Save the Page:
Click on Save to save your changes.
By following these steps, you will have created a project wiki named Wiki1 and used Mermaid syntax to render a diagram
Explanation:
Step 1: Create a Project Wiki
Navigate to Azure DevOps:
Go to Azure DevOps and sign inwith your credentials.
Select Your Project:
Choose Project1 from your list of projects.
Create a Wiki:
In the left-hand menu, select Wiki.
Click on Create project wiki.
Enter the name Wiki1 and click Create.
Step 2: Add Mermaid Syntax to Render a Diagram
Open the Wiki Page:
Navigate to the newly created Wiki1.
Edit the Wiki Page:
Click on Edit to start editing the wiki page.
Insert Mermaid Diagram:
Use the following Mermaid syntax to render a diagram. For example, to render a simple flowchart, you canuse:
```mermaid
graph TD;
A-- > B;
A-- > C;
B-- > D;
C-- > D;
Save the Page:
Click on Save to save your changes.
Step 3: Render the TCP Handshake Diagram
Convert TCPHandshake.png to Mermaid Syntax:
Since you have a sample diagram in C:\Resources\TCPHandshake.png, you need to convert this diagram into Mermaid syntax. Here's an example of how a TCP handshake might look in Mermaid syntax:
```mermaid
sequenceDiagram
participant Client
participant Server
Client- > > Server: SYN
Server-- > > Client: SYN-ACK
Client- > > Server: ACK
Add the Diagram to the Wiki:
Replace the sample Mermaid syntax with the TCP handshake diagram syntax in the wiki page.
Save the Page:
Click on Save to save your changes.
By following these steps, you will have created a project wiki named Wiki1 and used Mermaid syntax to render a diagram
Task 1
Navigate to aex.dev.azure.com and specify the following credentials:
* [email protected]
* Password: aFpJ2j-6M!
Use the default setting to sign up for Azure DevOps and create an Azure DevOps organization. Once the organization is created. create a private project named Project1.
You need to ensure that the maximum file size for all the Azure DevOps repositories of Project1 is 2 MB.
Navigate to aex.dev.azure.com and specify the following credentials:
* [email protected]
* Password: aFpJ2j-6M!
Use the default setting to sign up for Azure DevOps and create an Azure DevOps organization. Once the organization is created. create a private project named Project1.
You need to ensure that the maximum file size for all the Azure DevOps repositories of Project1 is 2 MB.
정답:
See explanation below
Explanation:
Step 1: Access Azure DevOps
* Open your browser and navigate to https://aex.dev.azure.com .
* You will be prompted to sign in. Enter the following credentials:
* Username: [email protected]
* Password: aFpJ2j-6M!
* Click Next or Sign in to proceed.
Note: If you see any Microsoft security challenge (like phone or email verification), follow the instructions to complete it.
Step 2: Sign Up for Azure DevOps
* After signing in, you'll see a prompt to sign up for Azure DevOps.
* Use the default settings provided by Azure DevOps for the sign-up process (region, default name, etc.).
* Click Continue or Start free with Azure DevOps.
An Azure DevOps Organization is a container for your projects and resources. Default settings are usually fine for new organizations.
Step 3: Create the Organization
* Enter a name for your organization. Azure DevOps will suggest a default name (like yourname or org- name), but you can change it if you prefer.
* Verify the region is correct.
* Click Continue to create the organization.
Your Azure DevOps organization is now created. It's the top-level container for all your projects.
Step 4: Create a Private Project Named Project1
* In your Azure DevOps portal, find the " New Project " button and click it.
* Enter the following details:
* Project Name: Project1
* Description: (optional)
* Visibility: Private
* Click Create.
A private project means that only users you add can see or access it. This is important for security and privacy.
Step 5: Enforce Maximum File Size for Repositories
By default, Azure DevOps allows files up to 100 MB to be pushed. To ensure the maximum file size for repositories in Project1 is 2 MB, you can enforce this using a pipeline validation.
Azure DevOps does not provide a direct setting for file size limits. However, you can create a pipeline to validate file size on pull requests and block changes if a file exceeds 2 MB.
Here's how to do it:
Option 1: Enforce with a pipeline validation for pull requests
* In your Project1, create a new pipeline.
* Use the following YAML for the pipeline:
yaml
Copy
trigger: none
pr:
branches:
include:
- " * "
jobs:
- job: CheckFileSize
pool:
vmImage: ' ubuntu-latest '
steps:
- script: |
echo " Checking file sizes in the PR... "
git fetch origin +refs/pull/*/merge:refs/remotes/origin/pr/*
large_files=$(git diff --cached --name-only | xargs -I{} du -b {} | awk ' $1 > 2097152 {print $2} ' ) if [ -n " $large_files " ]; then echo " Error: The following files exceed 2 MB: " echo " $large_files " exit 1 fi displayName: ' Check file sizes in PR ' This pipeline will:
* Run on pull requests only.
* Check the size of all files in the pull request.
* If any file is larger than 2 MB (2,097,152 bytes), it will fail the pipeline and block the PR.
Option 2: Local Git configuration (for each developer)
On each developer's machine, run this command in their local repository:
bash
Copy
git config --local core.bigFileThreshold 2M
This limits the file threshold for checkout, but does not prevent large files from being pushed. Using the pipeline validation (Option 1) is more secure for team environments.
Explanation:
Step 1: Access Azure DevOps
* Open your browser and navigate to https://aex.dev.azure.com .
* You will be prompted to sign in. Enter the following credentials:
* Username: [email protected]
* Password: aFpJ2j-6M!
* Click Next or Sign in to proceed.
Note: If you see any Microsoft security challenge (like phone or email verification), follow the instructions to complete it.
Step 2: Sign Up for Azure DevOps
* After signing in, you'll see a prompt to sign up for Azure DevOps.
* Use the default settings provided by Azure DevOps for the sign-up process (region, default name, etc.).
* Click Continue or Start free with Azure DevOps.
An Azure DevOps Organization is a container for your projects and resources. Default settings are usually fine for new organizations.
Step 3: Create the Organization
* Enter a name for your organization. Azure DevOps will suggest a default name (like yourname or org- name), but you can change it if you prefer.
* Verify the region is correct.
* Click Continue to create the organization.
Your Azure DevOps organization is now created. It's the top-level container for all your projects.
Step 4: Create a Private Project Named Project1
* In your Azure DevOps portal, find the " New Project " button and click it.
* Enter the following details:
* Project Name: Project1
* Description: (optional)
* Visibility: Private
* Click Create.
A private project means that only users you add can see or access it. This is important for security and privacy.
Step 5: Enforce Maximum File Size for Repositories
By default, Azure DevOps allows files up to 100 MB to be pushed. To ensure the maximum file size for repositories in Project1 is 2 MB, you can enforce this using a pipeline validation.
Azure DevOps does not provide a direct setting for file size limits. However, you can create a pipeline to validate file size on pull requests and block changes if a file exceeds 2 MB.
Here's how to do it:
Option 1: Enforce with a pipeline validation for pull requests
* In your Project1, create a new pipeline.
* Use the following YAML for the pipeline:
yaml
Copy
trigger: none
pr:
branches:
include:
- " * "
jobs:
- job: CheckFileSize
pool:
vmImage: ' ubuntu-latest '
steps:
- script: |
echo " Checking file sizes in the PR... "
git fetch origin +refs/pull/*/merge:refs/remotes/origin/pr/*
large_files=$(git diff --cached --name-only | xargs -I{} du -b {} | awk ' $1 > 2097152 {print $2} ' ) if [ -n " $large_files " ]; then echo " Error: The following files exceed 2 MB: " echo " $large_files " exit 1 fi displayName: ' Check file sizes in PR ' This pipeline will:
* Run on pull requests only.
* Check the size of all files in the pull request.
* If any file is larger than 2 MB (2,097,152 bytes), it will fail the pipeline and block the PR.
Option 2: Local Git configuration (for each developer)
On each developer's machine, run this command in their local repository:
bash
Copy
git config --local core.bigFileThreshold 2M
This limits the file threshold for checkout, but does not prevent large files from being pushed. Using the pipeline validation (Option 1) is more secure for team environments.
You are building a Microsoft ASP.NET application that requires authentication.
You need to authenticate users by using Azure Active Directory (Azure AD). What should you do first?
You need to authenticate users by using Azure Active Directory (Azure AD). What should you do first?
정답: A
설명: (Fast2test 회원만 볼 수 있음)
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 create a Microsoft ASP.NET Core application.
You plan to use Azure Key Vault to provide secrets to the application as configuration data.
You need to create a Key Vault access policy to assign secret permissions to the application. The solution must use the principle of least privilege.
Which secret permissions should you use?
You plan to use Azure Key Vault to provide secrets to the application as configuration data.
You need to create a Key Vault access policy to assign secret permissions to the application. The solution must use the principle of least privilege.
Which secret permissions should you use?
정답: C
설명: (Fast2test 회원만 볼 수 있음)
Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. You must determine whether the solution meets the stated goals.
More than one solution in the set might solve the problem. It is also possible that none of the solutions in the set solve the problem.
After you answer a question in this section, you will NOT be able to return. As a result, these questions do not appear on the Review Screen.
You have an on-premises web server named Server1.
You need to ensure that you can build .NET apps and deploy the apps to Server1 by using Azure Pipelines.
Solution: You deploy Managed DevOps Pools and select the Ubuntu Server 22.04 LTS - x64 Gen 2 image.
Does this meet the goal?
More than one solution in the set might solve the problem. It is also possible that none of the solutions in the set solve the problem.
After you answer a question in this section, you will NOT be able to return. As a result, these questions do not appear on the Review Screen.
You have an on-premises web server named Server1.
You need to ensure that you can build .NET apps and deploy the apps to Server1 by using Azure Pipelines.
Solution: You deploy Managed DevOps Pools and select the Ubuntu Server 22.04 LTS - x64 Gen 2 image.
Does this meet the goal?
정답: B
You have an Azure subscription that contains an Azure key vault named Vault1. an Azure pipeline named Pipeline1, and an Azure SQL database named DB1.
Pipeline1 is used to deploy an app that will authenticate to DB1 by using a password.
You need to store the password in Vault1. The solution must ensure that the password can be accessed by Pipeline1.
What should you do? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Pipeline1 is used to deploy an app that will authenticate to DB1 by using a password.
You need to store the password in Vault1. The solution must ensure that the password can be accessed by Pipeline1.
What should you do? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

정답:

Explanation:
