Microsoft AZ-400 Practice Test - Questions Answers, Page 35
List of questions
Related questions
DRAG DROP
You have an Azure Repos repository that contains large PSD files. You need to configure get LFS to manage all the files. How should you complete the script? To answer, drag the appropriate access levels to the correct groups. Each access level 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 have an Azure subscription that contains multiple Azure pipelines.
You need to deploy a monitoring solution for the pi*lines. The solution must meet the following requirements:
Parse logs from multiple sources. identify the root cause of issues.
What advanced feature of a monitoring tool should include in the solution?
Your team uses Azure Pipelines to deploy applications.
You need to ensure that when a failure occurs during the build or release process. all the team members are notified by using Microsoft Teams. The solution must minimize development effort. What should you do?
DRAG DROP
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 src directory.
Exclude scanning of markdown files
DRAG DROP
You have app named App1. You have a Log Analytics workspace named Workspace1 that contains two tables named Events and Logs. App1 manage events in multiple locations and writes logs to Workspace1. You need to query Workspace1 for all log entries related to Asia that occurred during the last two days. In which order should you arrange the query statements?
DRAG DROP
You have web app named App1 that uses Application Insights in Azure Monitor to Store log dat a. App1 has users in multiple locations. You need to query App1 requests from London and Paris that return error. The solution must meet the following requirements:
Return the timestamp, url, resultCode, and duration fields.
Only requests made the last hour.
How shout you complete the query?
DRAG DROP
You have an Azure subscription that uses Azure Monitor and contains a Log Analytics workspace.
You have an encryption key.
You need to configure Azure Monitor to use the key to encrypt log data
HOTSPOT
You use get for source control.
You need to optimize the performance of a repository. The solution must meet the following requirements:
Permanently remove all items referenced only in the reflog.
Remove history that is NOT in any current branch.
How should you complete the command? To answer, select the appropriate options in the answer area.
You have an Azure subscription that contains the resources shown in the following table.
Project1 produces 9pm packages that are published to Feed 1. Feed1 is consumed by multiple projects. You need to ensure that only tested packages are available for consumption. The solution must
minimize development effort.
What should you do?
Your company has an Azure DevOps project that produces Node Package Manager (npm) packages.
Multiple projects consume the packages.
You need to minimize the amount of disk space used by older packages in Azure Artifacts.
What should you modify?
Question