ExamGecko
Home Home / Microsoft / AZ-400

Microsoft AZ-400 Practice Test - Questions Answers, Page 35

Question list
Search
Search

List of questions

Search

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.


Question 341
Correct answer: Question 341

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?

A.
directed monitoring
A.
directed monitoring
Answers
B.
synthetic monitoring
B.
synthetic monitoring
Answers
C.
analytics
C.
analytics
Answers
D.
Alert Management
D.
Alert Management
Answers
Suggested answer: B

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?

A.
Use Azure Automation to connect to the Azure DevOps REST API and notify the team members.
A.
Use Azure Automation to connect to the Azure DevOps REST API and notify the team members.
Answers
B.
Install the Azure Pipelines app for Teams and configure a subscription to receive notifications in a channel.
B.
Install the Azure Pipelines app for Teams and configure a subscription to receive notifications in a channel.
Answers
C.
Install the Azure Boards app for Teams and configure a subscription to receive notifications in a channel.
C.
Install the Azure Boards app for Teams and configure a subscription to receive notifications in a channel.
Answers
D.
Use an Azure function to connect to the Azure DevOps REST API and notify the team members.
D.
Use an Azure function to connect to the Azure DevOps REST API and notify the team members.
Answers
Suggested answer: C

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


Question 344
Correct answer: Question 344

Explanation:

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?


Question 345
Correct answer: Question 345

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?


Question 346
Correct answer: Question 346

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


Question 347
Correct answer: Question 347

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.


Question 348
Correct answer: Question 348

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?

A.
Create a feed view named @default. After the 9pm packages test successfully, configure a release pipeline that promotes a package to the @default view.
A.
Create a feed view named @default. After the 9pm packages test successfully, configure a release pipeline that promotes a package to the @default view.
Answers
B.
Create a feed view named release and set @release as the default view. After the 9pm packages test successfully, configure a release pipeline that promotes a package to the @release View.
B.
Create a feed view named release and set @release as the default view. After the 9pm packages test successfully, configure a release pipeline that promotes a package to the @release View.
Answers
C.
Create a feed view named @release and set @release as the default view. After the 9pm packages test successfully, configure a release pipeline that tags the packages as release.
C.
Create a feed view named @release and set @release as the default view. After the 9pm packages test successfully, configure a release pipeline that tags the packages as release.
Answers
D.
Create a feed view named @default. After the 9pm packages test successfully. configure a release pipeline that tags the packages as release.
D.
Create a feed view named @default. After the 9pm packages test successfully. configure a release pipeline that tags the packages as release.
Answers
Suggested answer: C

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?

A.
the retention settings of the project's pipeline
A.
the retention settings of the project's pipeline
Answers
B.
the retention settings of the project's release
B.
the retention settings of the project's release
Answers
C.
the retention settings of the project's tests
C.
the retention settings of the project's tests
Answers
D.
the retention settings of the company pipeline
D.
the retention settings of the company pipeline
Answers
Suggested answer: B

Explanation:

To minimize the amount of disk space used by older packages in Azure Artifacts, you should modify the retention settings of the project's release. This can be done by navigating to the project's release settings and adjusting the retention policy. For more information, please refer to the Microsoftdocumentation.

Total 482 questions
Go to page: of 49