Spring Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

AZ-400 Leak Questions

Page: 4 / 27
Total 609 questions

Microsoft Azure DevOps Solutions Questions and Answers

Question 13

You have a GitHub Actions workflow named workflow! that is used to deploy an app name Appl. You need to ensure that App1 is deployed only when the following conditions are met:

• A pull request is merged to the main branch.

• The change includes a JavaScript file.

Solution. You configure the YAML file of workflowl to include the following.

Does this meet the goal?

Options:

A.

Yes

B.

No

Question 14

Task 6

Initialize the default main branch, if it does not exist already.

For Project 1, you need to implement branch merging restrictions to enable squash merge for all changes merged into the main branch.

Options:

Question 15

You have an Azure DevOps pipeline named Pipeline1.

You need to track the stability of code changes in Pipeline1.

Which metric should you use?

Options:

A.

test pass rate

B.

deployment frequency (DT)

C.

lead time for changes (LT)

D.

time to detect (TTD)

Question 16

You have a GitHub repository named repol.

You commit a change to repol.

You need to update the commit message. The solution must ensure that the version number remains the same.

Which command should you run?

Options:

A.

git commit --patch

B.

git commit --amend

C.

git status --renames

D.

git restore --patch

Page: 4 / 27
Total 609 questions