AZ-400試験無料問題集「Microsoft Designing and Implementing Microsoft DevOps Solutions 認定」
You use Azure Pipelines to automate Continuous Integration/Continuous Deployment (CI/CD) for an Azureweb app named WebApp1.
You configure an Azure Monitor alert that is triggered when WebApp1 generates an error.
You need to configure the alert to forward details of the error to a third-party system. The solution must minimize administrative effort.
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 configure an Azure Monitor alert that is triggered when WebApp1 generates an error.
You need to configure the alert to forward details of the error to a third-party system. The solution must minimize administrative effort.
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.
正解:

Box 1: Create an Azure logic app.
Box 2: Select the HTTP request trigger.
Box 3: Updated the action group in Azure Monitor.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/alerts/action-groups-logic-app
Your company creates a web application.
You needto recommend a solution that automatically sends to Microsoft Teams a daily summary of the exceptions that occur in the application.
Which two Azure services should you recommend? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
You needto recommend a solution that automatically sends to Microsoft Teams a daily summary of the exceptions that occur in the application.
Which two Azure services should you recommend? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
正解:C,D
解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
Task 6
You have an Azure function hosted in an App Service plan named az400-38443478-funct You need to configure az400 38443478-funcl lo update the functions automatically whenever new code is committedto the main branch of https://githubcom/Azure-Samples/functions-quickstart.
NOTE: Access to GitHub is blocked in the exam environment. Access to GitHub is NOT required to complete the task successfully.
You have an Azure function hosted in an App Service plan named az400-38443478-funct You need to configure az400 38443478-funcl lo update the functions automatically whenever new code is committedto the main branch of https://githubcom/Azure-Samples/functions-quickstart.
NOTE: Access to GitHub is blocked in the exam environment. Access to GitHub is NOT required to complete the task successfully.
正解:
See the solution below in explanation.
Explanation:
To configure your Azure Functionaz400-38443478-functto automatically update whenever new code is committed to the main branch of the specified GitHub repository, you can use GitHub Actions for continuous deployment. Here's how to set it up:
Create a GitHub Actions Workflow:
In your GitHub repository, navigate to the.github/workflows/directory.
Create a new file for your workflow (e.g.,azure-function-cd.yml).
Define the Workflow:
In the workflow file, define the steps for the build and deployment process.
Use theAzure/functions-actionto deploy to your Azure Function App.
Set up triggers for themainbranch to initiate the workflow on every commit.
Generate Deployment Credentials:
In the Azure Portal, navigate to your Function Appaz400-38443478-funct.
Download the publish profile from theOverviewsection by clicking onGet publish profile.
Store the Publish Profile as a GitHub Secret:
In your GitHub repository, go toSettings>Secrets and variables>Actions.
Create a new secret (e.g.,AZURE_FUNCTIONAPP_PUBLISH_PROFILE) and paste the content of the publish profile.
Configure the Workflow to Use the Secret:
In the workflow file, reference the secret to authenticate the deployment to Azure.
Here's a sample GitHub Actions workflow snippet:
name: Deploy Azure Function
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python version
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Deploy to Azure Functions
uses: Azure/functions-action@v1
with:
app-name: az400-38443478-funct
publish-profile: ${{ secrets.AZURE_FUNCTIONAPP_PUBLISH_PROFILE }}
package: .
Replace theapp-namewith the name of your Azure Function App and ensure the Python version and dependencies match your application's requirements.
By following these steps, yourAzure Function will automatically update whenever new code is pushed to the main branch of the GitHub repository. This setup minimizes manual effort and ensures that your function app is always running the latest code.
Explanation:
To configure your Azure Functionaz400-38443478-functto automatically update whenever new code is committed to the main branch of the specified GitHub repository, you can use GitHub Actions for continuous deployment. Here's how to set it up:
Create a GitHub Actions Workflow:
In your GitHub repository, navigate to the.github/workflows/directory.
Create a new file for your workflow (e.g.,azure-function-cd.yml).
Define the Workflow:
In the workflow file, define the steps for the build and deployment process.
Use theAzure/functions-actionto deploy to your Azure Function App.
Set up triggers for themainbranch to initiate the workflow on every commit.
Generate Deployment Credentials:
In the Azure Portal, navigate to your Function Appaz400-38443478-funct.
Download the publish profile from theOverviewsection by clicking onGet publish profile.
Store the Publish Profile as a GitHub Secret:
In your GitHub repository, go toSettings>Secrets and variables>Actions.
Create a new secret (e.g.,AZURE_FUNCTIONAPP_PUBLISH_PROFILE) and paste the content of the publish profile.
Configure the Workflow to Use the Secret:
In the workflow file, reference the secret to authenticate the deployment to Azure.
Here's a sample GitHub Actions workflow snippet:
name: Deploy Azure Function
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python version
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Deploy to Azure Functions
uses: Azure/functions-action@v1
with:
app-name: az400-38443478-funct
publish-profile: ${{ secrets.AZURE_FUNCTIONAPP_PUBLISH_PROFILE }}
package: .
Replace theapp-namewith the name of your Azure Function App and ensure the Python version and dependencies match your application's requirements.
By following these steps, yourAzure Function will automatically update whenever new code is pushed to the main branch of the GitHub repository. This setup minimizes manual effort and ensures that your function app is always running the latest code.
You useGet for source control.
You delete a file, commit the changes, and continue to work.
You need to recover the deleted file.
Which three commands should you run in sequence? To answer, move the appropriate commands from the list of commands to the answer area and arrange them in the correct order.

You delete a file, commit the changes, and continue to work.
You need to recover the deleted file.
Which three commands should you run in sequence? To answer, move the appropriate commands from the list of commands to the answer area and arrange them in the correct order.

正解:

Explanation:

Your company uses a Git repository in Azure Repos lo manage the source code of a web application. The master branch is protected from direct updates. Developers work on new features in the topic branches.
Because of the high volume of requested features, it is difficult to follow the history of the changes to the master branch.
You need to enforce a pull request merge strategy. The strategy must meet the following requirements:
* Consolidate commit histories
* Merge tie changes into a tingle commit
Which merge strategy should you use in the branch policy?
Because of the high volume of requested features, it is difficult to follow the history of the changes to the master branch.
You need to enforce a pull request merge strategy. The strategy must meet the following requirements:
* Consolidate commit histories
* Merge tie changes into a tingle commit
Which merge strategy should you use in the branch policy?
正解:B
解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
You have a GitHub organization named org1 and an Azure tenant named Tenant1.
You need to enable single sign-on (SSO) in Azure Active Directory (Azure AD) for the users in org1.
Which URIs should you use for the SAML configuration in Azure AD? To answer, drag the appropriate URIs to the correct settings. Each URImay 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 enable single sign-on (SSO) in Azure Active Directory (Azure AD) for the users in org1.
Which URIs should you use for the SAML configuration in Azure AD? To answer, drag the appropriate URIs to the correct settings. Each URImay 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:

Reference:
https://docs.microsoft.com/en-us/azure/active-directory/saas-apps/github-tutorial
You have an Azure DevOps project named Project1 and an Azure subscription named Sub1. Sub1 contains an Azure virtual machine scale set named VMSS1. VMSS1 hosts a web application named WebApp1. WebApp1 uses state full sessions.
The WebApp1installation is managed by using the Custom Script extension. The script resides in an Azure Storage account named sa1.
You plan to make a minor change to a UI element of WebApp1 and to gather user feedback about the change.
You need to implement limiteduser testing for the new version of WebApp1 on VMSS1.
Which three actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
The WebApp1installation is managed by using the Custom Script extension. The script resides in an Azure Storage account named sa1.
You plan to make a minor change to a UI element of WebApp1 and to gather user feedback about the change.
You need to implement limiteduser testing for the new version of WebApp1 on VMSS1.
Which three actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
正解:A,C,D
解答を投票する
You have an Azure subscription linked to a tenant in Microsoft Azure Active Directory (Azure AD), part of Entrap. The tenant is licensed for Azure AD Premium Plan 1.
A securityreview indicates that too many users have privileged access to resources.
You need to deploy a privileged access management solution that meets the following requirements:
* Enforces time limits on the use of privileged access
* Requires approval to activate privileged access
* Minimizes costs
What should you do first?
A securityreview indicates that too many users have privileged access to resources.
You need to deploy a privileged access management solution that meets the following requirements:
* Enforces time limits on the use of privileged access
* Requires approval to activate privileged access
* Minimizes costs
What should you do first?
正解:D
解答を投票する
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 inthis section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
Your company has a project in Azure DevOps for a new web application.
You need to ensure that when code is checked in, a build runsautomatically.
Solution: From the Pre-deployment conditions settings of the release pipeline, you selectAfter stage.
Does this meet the goal?
After you answer a question inthis section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
Your company has a project in Azure DevOps for a new web application.
You need to ensure that when code is checked in, a build runsautomatically.
Solution: From the Pre-deployment conditions settings of the release pipeline, you selectAfter stage.
Does this meet the goal?
正解:A
解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
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/
Your company plans to use an agile approach to software development
You need to recommendan application to provide communication between members of the development team who work in locations around the world. The application must meet the following requirements:
* Provide the ability to isolate the members of efferent project teams into separate communication channels and to keep a history of the chats within those channels.
* Be available on Windows 10, Mac OS, iOS, and Android operating systems.
* Provide the ability to add external contractors and suppliers to projects.
* Integrate directlywith Azure DevOps.
What should you recommend?
You need to recommendan application to provide communication between members of the development team who work in locations around the world. The application must meet the following requirements:
* Provide the ability to isolate the members of efferent project teams into separate communication channels and to keep a history of the chats within those channels.
* Be available on Windows 10, Mac OS, iOS, and Android operating systems.
* Provide the ability to add external contractors and suppliers to projects.
* Integrate directlywith Azure DevOps.
What should you recommend?
正解:A
解答を投票する
解説: (GoShiken メンバーにのみ表示されます)