ExamGecko
Home Home / Microsoft / AZ-400

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

Question list
Search
Search

List of questions

Search

Related questions











HOTSPOT

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.

Question 381
Correct answer: Question 381

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?

A.
micro
A.
micro
Answers
B.
minor
B.
minor
Answers
C.
major
C.
major
Answers
D.
modifier
D.
modifier
Answers
Suggested answer: D

You have a GitHub repository that contains multiple versions of an Azure Pipelines template. You plan to deploy multiple pipelines that will use a template stored in the repository. You need to ensure that you use a fixed version of the template. What should you use to reference which version of the template repository to use?

A.
the runner
A.
the runner
Answers
B.
the branch
B.
the branch
Answers
C.
the SHA-based hashes
C.
the SHA-based hashes
Answers
D.
the serial
D.
the serial
Answers
Suggested answer: B

You have a project in Azure DevOps named Project1 that references an Azure Artifacts feed named Feed1. You have a package named Package1 that has the versions shown in the following table.

You need to perform a build of Project1. Which version of Package1 will be used?

A.
1.0.3
A.
1.0.3
Answers
B.
1.4.0
B.
1.4.0
Answers
C.
2.0.0
C.
2.0.0
Answers
D.
2.3.1
D.
2.3.1
Answers
Suggested answer: D

HOTSPOT

You have an Azure web app named webapp1 that uses the .NET Core runtime slack. You have an Azure Application insights resource named Applnsights1 that collects telemetry data generated by webapp1

You plan to deploy webapp1 by using an Azure DevOps pipeline.

You need to modify the sampling rate of the telemetry data processed by Applnsights1 without having to redeploy webapp1 after each modification.

What should you do? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question 385
Correct answer: Question 385

You are creating a dashboard in Azure Boards.

You need to visualize the time from when work starts on a work item until the work item is closed.

Which type of widget should you use?

A.
cycle time
A.
cycle time
Answers
B.
velocity
B.
velocity
Answers
C.
cumulative flow
C.
cumulative flow
Answers
D.
lead time
D.
lead time
Answers
Suggested answer: D

You manage a project by using Azure Boards. You manage the project code by using GitHub.

You have three work items that have IDs of 456. 457. and 458.

You need to create a pull request that will be linked to all the work items. The solution must set the state of work item 456 to done.

What should you add to the commit message?

A.
Done #456, #457, #A53
A.
Done #456, #457, #A53
Answers
B.
Fixes #456, #457, #458
B.
Fixes #456, #457, #458
Answers
C.
Fixes #AB456, #AB457, #AB4S8
C.
Fixes #AB456, #AB457, #AB4S8
Answers
D.
#AB456, #AB457, #AB458 Completed #AB456
D.
#AB456, #AB457, #AB458 Completed #AB456
Answers
Suggested answer: C

HOTSPOT

You have an Azure subscription.

You need to create a storage account by using a Bicep file.

How should you complete the file? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question 388
Correct answer: Question 388

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 need to recommend an integration strategy for the build process of a Java application. The solution must meet the following requirements:

• The builds must access an on-premises dependency management system.

• The build outputs must be stored as Server artifacts m Azure DevOps.

• The source code must be stored in a get repository in Azure DevOps.

Solution: Configure the build pipeline to use a Microsoft-hosted agent pool running the Windows Server 2022 with Visual Studio 2022 image, include the Java Tool installer task in the build pipeline.

Does this meet the goal?

A.
Yes
A.
Yes
Answers
B.
No
B.
No
Answers
Suggested answer: A

Explanation:


DRAG DROP

You have an Azure Repos Git repository named repo1.

You need to ensure that you can authenticate to repo1 by using SSH.

Which four 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.

Question 390
Correct answer: Question 390
Total 482 questions
Go to page: of 49